ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Lyon" <m...@stargus.com>
Subject ejbjar weblogic task failure under Ant 1.5.1
Date Tue, 07 Jan 2003 17:14:59 GMT
Hi,

I have an ejbjar weblogic task that works fine under Ant 1.5. However, I've been trying to
upgrade to Ant 1.5.1 and I am encountering problems with this same task. It appears that Ant's
JVM cannot create the weblogic.ejbc20 process without bombing out. I saw some similar recent
errors reported to the list, but no real conclusive solution to the issue. Any help would
be greatly appreciated!

Matt

The following is a -debug error snippet:


     [ejbc] java.io.IOException: CreateProcess: javac -nowarn -classpath C:\mast
er\starman\build\ejbcgen;C:\jdk1.3.1_06\jre\lib\rt.jar;C:\jdk1.3.1_06\jre\lib\i1
8n.jar;C:\jdk1.3.1_06\jre\lib\sunrsasign.jar;C:\jdk1.3.1_06\jre\classes;C:\maste
r\starman\build\classes;C:\master\starman\modules\lib\weblogic.jar;C:\master\sta
rman\modules\lib\ejb20.jar -d C:\master\starman\build\ejbcgen C:\master\starman\
build\ejbcgen\com\stargus\platform\services\event\*.java error=2
     [ejbc]     at java.lang.Win32Process.create(Native Method)
     [ejbc]     at java.lang.Win32Process.<init>(Win32Process.java:61)
     [ejbc]     at java.lang.Runtime.execInternal(Native Method)
     [ejbc]     at java.lang.Runtime.exec(Runtime.java:546)
     [ejbc]     at java.lang.Runtime.exec(Runtime.java:472)
     [ejbc]     at java.lang.Runtime.exec(Runtime.java:438)
     [ejbc]     at weblogic.utils.Executable.exec(Executable.java:209)
     [ejbc]     at weblogic.utils.Executable.exec(Executable.java:134)
     [ejbc]     at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp
ilerInvoker.java:545)
     [ejbc]     at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
er.java:372)
     [ejbc]     at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
er.java:363)
     [ejbc]     at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:2
46)
     [ejbc]     at weblogic.ejbc20.runBody(ejbc20.java:360)
     [ejbc]     at weblogic.utils.compiler.Tool.run(Tool.java:79)
     [ejbc]     at weblogic.ejbc20.main(ejbc20.java:460)
     [ejbc] Exec failed .. exiting

BUILD FAILED
file:C:/master/starman/build/build.xml:1016: Exception while calling weblogic.ej
bc20. Details: Ejbc reported an error
        at org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool.bui
ldWeblogicJar(WeblogicDeploymentTool.java:633)
        at org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool.wri
teJar(WeblogicDeploymentTool.java:651)
        at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc
essDescriptor(GenericDeploymentTool.java:478)
        at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java
:592)
        at org.apache.tools.ant.Task.perform(Task.java:319)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
--- Nested Exception ---
Ejbc reported an error
        at org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool.bui
ldWeblogicJar(WeblogicDeploymentTool.java:627)
        at org.apache.tools.ant.taskdefs.optional.ejb.WeblogicDeploymentTool.wri
teJar(WeblogicDeploymentTool.java:651)
        at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc
essDescriptor(GenericDeploymentTool.java:478)
        at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java
:592)
        at org.apache.tools.ant.Task.perform(Task.java:319)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 7 seconds
C:\master\starman\build>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message