[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

Java Tynamo web server

Hi Guys
Hope I've not asked this in the wrong area and I do apologise if I have,
My problem is that I trying to build a project using a TINI board which utilise Java as a controlling platform. As I am totally new to java programming and indeed TINI Boards I am currently experiencing a very steep learning curve.
I have been trying to set up a web server to run on the TINI and following all the necessary instructions( I think) to set this up. but have received the following error when attempting to build the server. Now not wanting to report bugs when in all probaility it is down to my inexperience or inability to follow instruction.
I would however greatly appreciate  any help or guidance in this matter.
I do apologies again if this has been posted in the wrong area and if so please point me to the correct area.
Very best regards to all

 
C:\Project\DeviceControllerServlet\tynamo-tini-1_0>ant
Buildfile: build.xml
A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has occurred
in :
  'org/apache/tools/ant/Project.addReference (Ljava/lang/String;Ljava/lang/Objec
t;)V': Interpreting method.
  Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has occurred
in :
  'org/apache/tools/ant/Project.fireMessageLoggedEvent (Lorg/apache/tools/ant/Bu
ildEvent;Ljava/lang/String;I)V': Interpreting method.
  Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi

A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has occurred in :
  'org/apache/tools/ant/ComponentHelper.addCreatedTask (Ljava/lang/String;Lorg/a
pache/tools/ant/Task;)V': Interpreting method.
  Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
init:
check_tini_1.1:

checks:

tini_task:
A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has occurred
in :
  'org/apache/tools/ant/ComponentHelper.updateDataTypeDefinition (Lorg/apache/to
ols/ant/AntTypeDefinition;)V': Interpreting method.
  Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi

setup:

compile:

build:
    [unjar] Expanding: C:\Project\DeviceControllerServlet\tynamo-tini-1_0\lib\tw
s_core.jar into C:\Project\DeviceControllerServlet\tynamo-tini-1_0\tempdir

BUILD FAILED
C:\Project\DeviceControllerServlet\tynamo-tini-1_0\build.xml:175: java.lang.Ille
galMonitorStateException: current thread not owner

Total time: 2 seconds
C:\Project\DeviceControllerServlet\tynamo-tini-1_0>
0
trawets
Asked:
trawets
  • 2
1 Solution
 
MogalManicCommented:
I'm not exactly sure if it is the build script that is failing or your java code.  Could you send your build script?

Are you using tynamo ant tasks in the build script?
0
 
trawetsAuthor Commented:
Thank you very much for taking the time to reply.
I have however managed to correct the problem, it seems I have been using an incorrect version of JDK this has since been corrected.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4776385

I certainly dont understand what this talking about but changing the JDK seems to do the job

I thank you again for your time
0
 
MogalManicCommented:
You should probably talk to the moderator and close this question and refund your points
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now