On Wed, 2004-04-21 at 15:54, Rupen wrote: > Hi all, > > I get the following error when I try to do ejbc. Attached herewith is > my build.xml file.
Again, I suspect this is nothing to do with XDoclet. The error is produced by Weblogic's EJB Compiler; although it's possible that ejbc is objecting to something about the EJB classes XDoclet has generated, there's nothing in the error message to indicate this. More likely, judging by the "IOException: CreateProcess: javac", it's a similar problem to your other message - at some point, ejbc tries to call the java compiler to compile the stubs & skeletons it's generated, and isn't able to do so. A better place to ask would be a weblogic support forum or mailing list; they should be able to tell you what "error=2" means, and what's wrong with your configuration and/or the bean source files. *If* it's a problem with what XDoclet has generated, then let us know and/or raise an issue in JIRA (http://opensource.atlassian.com/projects/xdoclet/) Andrew. > > Thanks > > Rupen > > > ejbc: > [java] java.io.IOException: CreateProcess: javac -nowarn > -classpath C:\Misc > \General\workspace\EJBTest\ejbcgen;C:\bea\jdk131\jre\lib\rt.jar;C:\bea\jdk131\jr > e\lib\i18n.jar;C:\bea\jdk131\jre\lib\sunrsasign.jar;C:\bea\jdk131\jre\classes;C: > \bea\wlserver6.1\lib\j2ee12.jar;C:\bea\wlserver6.1\lib\weblogic.jar -d > C:\Misc\G > eneral\workspace\EJBTest\ejbcgen > C:\Misc\General\workspace\EJBTest\ejbcgen\conve > rter\*.java C:\Misc\General\workspace\EJBTest\ejbcgen\count\*.java > C:\Misc\Gener > al\workspace\EJBTest\ejbcgen\customer\*.java error=2 > [java] at java.lang.Win32Process.create(Native Method) > [java] at java.lang.Win32Process.<init>(Win32Process.java:61) > [java] at java.lang.Runtime.execInternal(Native Method) > [java] at java.lang.Runtime.exec(Runtime.java:546) > [java] at java.lang.Runtime.exec(Runtime.java:472) > [java] at java.lang.Runtime.exec(Runtime.java:438) > [java] at weblogic.utils.Executable.exec(Executable.java:209) > [java] at weblogic.utils.Executable.exec(Executable.java:134) > [java] at > weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp > ilerInvoker.java:572) > [java] at > weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok > er.java:373) > [java] at > weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok > er.java:364) > [java] at > weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:2 > 50) > [java] at weblogic.ejbc20.runBody(ejbc20.java:362) > [java] at weblogic.utils.compiler.Tool.run(Tool.java:79) > [java] at weblogic.ejbc.main(ejbc.java:29) > [java] Exec failed .. exiting > > > > BUILD FAILED > C:\Misc\General\workspace\EJBTest\build.xml:67: Java returned: 1 > > Total time: 6 seconds > C:\Misc\General\workspace\EJBTest> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
