ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Levine <BLev...@BlueRipple.com>
Subject Error executing weblogic.ejbc from ejbjar task
Date Thu, 07 Sep 2000 21:40:07 GMT

Hi,

I'm using the ejbjar task from the 9/7 nightly build  OS is Win200.  My
build.xml file is:

<project name="main" default="all" basedir="." >
	<target name="all" >
		<ejbjar srcdir='.' descriptordir='.'>
			<weblogic  keepgeneric='true' destdir='..\dest'
classpath='e:\weblogic\lib\weblogic510sp5.jar;e:\weblogic\classes;e:\web
logic\lib\weblogicaux.jar' />
			<include name='**/*-jar.xml'/>
			<exclude name='**/*weblogic*.xml'/>
		</ejbjar>
	</target>
</project>


I get an error from weblogic.ejbc which is shown in the ant log extract
included below.  Any help would be appreciated.

-brian


   [ejbjar] building ejb.jar with 6 files
     [java] java.io.IOException: CreateProcess: javac -classpath
"D:\vcafe4\Projects\ejb\files\ejbcgen;C:\Program
Files\JavaSoft\JRE\1.2\lib\rt.jar;C:\Program
Files\JavaSoft\JRE\1.2\lib\i18n.jar;C:\Program
Files\JavaSoft\JRE\1.2\classes;E:\weblogic\lib\weblogic510sp5.jar;E:\web
logic\classes;E:\weblogic\lib\weblogicaux.jar;D:\vcafe4\Projects\ejb\des
t\ejbcgen\META-INF\ejb-generic.jar" -d
D:\vcafe4\Projects\ejb\files\ejbcgen
D:\vcafe4\Projects\ejb\files\ejbcgen\com\mybean\Bean1EJBHomeImpl.java
D:\vcafe4\Projects\ejb\files\ejbcgen\com\mybean\Bean1EJBEOImpl.java
error=2
     [java] 	at java.lang.Win32Process.create(Native Method)
     [java] 	at java.lang.Win32Process.<init>(Win32Process.java:64)
     [java] 	at java.lang.Runtime.execInternal(Native Method)
     [java] 	at java.lang.Runtime.exec(Runtime.java:272)
     [java] 	at java.lang.Runtime.exec(Runtime.java:219)
     [java] 	at weblogic.utils.Executable.exec(Executable.java,
Compiled Code)
     [java] ERROR: Error from ejbc: Compiler failed
executable.exec([Ljava.lang.String;[javac, -classpath,
"D:\vcafe4\Projects\ejb\files\ejbcgen;C:\Program
Files\JavaSoft\JRE\1.2\lib\rt.jar;C:\Program
Files\JavaSoft\JRE\1.2\lib\i18n.jar;C:\Program
Files\JavaSoft\JRE\1.2\classes;E:\weblogic\lib\weblogic510sp5.jar;E:\web
logic\classes;E:\weblogic\lib\weblogicaux.jar;D:\vcafe4\Projects\ejb\des
t\ejbcgen\META-INF\ejb-generic.jar", -d,
D:\vcafe4\Projects\ejb\files\ejbcgen,
D:\vcafe4\Projects\ejb\files\ejbcgen\com\mybean\Bean1EJBHomeImpl.java,
D:\vcafe4\Projects\ejb\files\ejbcgen\com\mybean\Bean1EJBEOImpl.java])
     [java] weblogic.utils.compiler.ToolFailureException: ERROR: ejbc
found errors
     [java] 	at weblogic.ejbc.runBody(ejbc.java, Compiled Code)
     [java] 	at weblogic.utils.Executable.exec(Executable.java:88)
     [java] 	at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [java] 	at weblogic.ejbc.main(ejbc.java:365)
     [java] 	at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker
.java, Compiled Code)
     [java] 	at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:218
)
     [java] 	at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:209
)
     [java] 	at
weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java, Compiled
Code)
     [java] 	at weblogic.ejbc.runBody(ejbc.java, Compiled Code)
     [java] 	at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [java] 	at weblogic.ejbc.main(ejbc.java:365)
     [java] Java Result: 1

Mime
View raw message