Hi All

I'm currently evaluating JRockit 2.1.0 (http://www.fasterjava.com) on
Windows 2000 and Linux RedHat 7.1, both of which have Sun's JDK/JRE1.3.1
installed and both of which have jrockit set as the default JVM (as
specified in the jvm.cfg file)...
 
On both platforms, though, I'm having trouble using this version of JRockit
to run ANT build scripts, more specifically the EJB ddcreator task (in
optional.jar)...
 
On Linux, for instance, the top of the stack trace looks as follows:
 
        java.lang.IllegalThreadStateException: process has not exited
                at java.lang.UnixProcess.exitValue(Native Method)@4c017202
                at org.apache.tools.ant.taskdefs.Execute.waitFor(Compiled
Code)@4c030fa0
                at org.apache.tools.ant.taskdefs.Execute.execute(Compiled
Code)@4c0308c0
                at ...
 
(for reference, I've included the full stacktrace at the bottom of this
email...)
 
Is this a known problem of the JRockit/ANT combo?

Thanks very much,
 
Peter Vandenberk
mailto:[EMAIL PROTECTED]



> [JRockit] Detected the new and improved pthreads - no need to patch
> 1
> WARNING: This copy of JRockit will expire in 30 days!
> JRockit build 2.1.0-dax54, Thin Threads, Generational Garbage Collector,
started.
> 
> Buildfile: experimental.xml
> 
> ddcreator:
> [ddcreator] 1
> [ddcreator] [JRockit] Detected the new and improved pthreads - no need to
patch
> [ddcreator] WARNING: This copy of JRockit will expire in 30 days!
> 
> BUILD FAILED
> 
> java.lang.IllegalThreadStateException: process has not exited
>         at java.lang.UnixProcess.exitValue(Native Method)@4c017202
>         at org.apache.tools.ant.taskdefs.Execute.waitFor(Compiled
Code)@4c030fa0
>         at org.apache.tools.ant.taskdefs.Execute.execute(Compiled
Code)@4c0308c0
>         at org.apache.tools.ant.taskdefs.Java.run(Compiled Code)@4c03ca20
>         at org.apache.tools.ant.taskdefs.Java.executeJava(Compiled
Code)@4c03bd40
>         at
org.apache.tools.ant.taskdefs.optional.ejb.DDCreator.execute(Compiled
Code)@4c03b060
>         at org.apache.tools.ant.Target.execute(Compiled Code)@4c0357a0
>         at org.apache.tools.ant.Project.runTarget(Compiled Code)@4c0353a0
>         at org.apache.tools.ant.Project.executeTarget(Compiled
Code)@4c034b90
>         at org.apache.tools.ant.Project.executeTargets(Compiled
Code)@4c034af0
>         at org.apache.tools.ant.Main.runBuild(Compiled Code)@4bf009e0
>         at org.apache.tools.ant.Main.main(Compiled Code)@4bf00070
>         --- End of stack trace
> 
> Total time: 8 seconds
> [ddcreator] JRockit build 2.1.0-dax54, Thin Threads, Generational Garbage
Collector, started.
> [ddcreator]
> [ddcreator]
===================================================================
> [ddcreator] Fatal internal error in JRockit. Thread 300 died abruptly
> [ddcreator]   java.lang.NullPointerException
> [ddcreator]     --- End of stack trace
> process has not exited
> [ddcreator]
===================================================================
> java.lang.NullPointerException
>         at org.apache.tools.ant.XmlLogger.messageLogged(Compiled
Code)@4bf032a0
>         at org.apache.tools.ant.Project.fireMessageLoggedEvent(Compiled
Code)@4bf02fe0
>         at org.apache.tools.ant.Project.fireMessageLogged(Compiled
Code)@4bf0fa40
>         at org.apache.tools.ant.Project.log(Compiled Code)@4bf0fa10> 
>         at org.apache.tools.ant.Task.log(Compiled Code)@4bf0f9e0
>         at
org.apache.tools.ant.taskdefs.LogOutputStream.processLine(Compiled
Code)@4c03cf60
>         at
org.apache.tools.ant.taskdefs.LogOutputStream.processLine(Compiled
Code)@4c03cf40
>         at
org.apache.tools.ant.taskdefs.LogOutputStream.processBuffer(Compiled
Code)@4c03cef0
>         at org.apache.tools.ant.taskdefs.LogOutputStream.write(Compiled
Code)@4c03ce80
>         at java.io.OutputStream.write(Compiled Code)@4c018890
>         at org.apache.tools.ant.taskdefs.StreamPumper.run(Compiled
Code)@4c030f30
>         at java.lang.Thread.run(Compiled Code)@4be92e00
>         at java.lang.Thread.startThreadFromVM(Compiled Code)@4be92cb0
>         --- End of stack trace
> /opt/jakarta-ant-1.3/bin/ant: line 107: 26881 Killed
$JAVACMD -classpath "$LOCALCLASSPATH" -Dant.home="
> ${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main "$@"
> 


Reply via email to