FWIW - I ran into the same error message. I'm running W2K and had set JAVA_HOME, ANT_HOME, and updated my Path environment variables under the 'User' Environment Variables area. I got this error whenever these environment variables /were not/ picked up during log in. A quick refresh of the environment variables fixed the problem.
HTH! Mel Riffe -----Original Message----- From: Matt McAuliffe [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 3:20 PM To: 'Ant Users List' Subject: RE: ebjc errors All- Thanks for all of your suggestions. The problem still exists, however, if I go back to Ant 1.5alpha or lower it works fine. Here is the target and I still get the same error as below. <ejbjar srcdir="${pls.build}" descriptordir="${pls.build}" classpath="${pls.classpath}" naming="ejb-name" flatdestdir="true"> <weblogic destdir="${pls.deployment.ejb}" keepgeneric="no" rebuild="false" classpath="${pls.build}" newCMP="true"> </weblogic> <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" location="${wls.home}/classes/weblogic/ejb/deployment/xml/ejb-jar.dtd"/> <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN" location="${wls.home}/classes/weblogic/ejb/deployment/xml/weblogic-ejb-jar.d td"/> <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB RDBMS Persistence//EN" location="${wls.home}/classes/weblogic/ejb/deployment/xml/weblogic-rdbms-per sistence.dt d"/> <include name="**/ejb-jar.xml"/> <exclude name="**/*weblogic*.xml"/> </ejbjar> -----Original Message----- From: Matt McAuliffe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 8:51 PM To: Ant User List (E-mail) Subject: ebjc errors Hi All- I've been racking my brain all day on this one and I'm probably overlooking something really simple. Has anyone seen a similar error building ejb's as below. I'm using Ant 1.5 and JDK 1.3.1. Thanks in advance, ejbs: [echo] --(DT)--> Generating ejbs [copy] Copying 8 files to M:\mmcauliffe_lms_401_view\presentation\build [copy] Copying 2 files to M:\mmcauliffe_lms_401_view\presentation\build [ejbjar] building TagEntity.jar with 6 files [ejbc] java.io.IOException: CreateProcess: javac -classpath M:\mmcauliffe_lms_401_view\presenta tion\ejbcgen;M:\mmcauliffe_lms_401_view\3rdpty\winnt\jdk1.3.1\jre\lib\rt.jar ;M:\mmcauliffe_lms_401_v iew\3rdpty\winnt\jdk1.3.1\jre\lib\i18n.jar;M:\mmcauliffe_lms_401_view\3rdpty \winnt\jdk1.3.1\jre\lib\ sunrsasign.jar;M:\mmcauliffe_lms_401_view\3rdpty\winnt\jdk1.3.1\jre\classes; M:\mmcauliffe_lms_401_vi ew\presentation\build;M:\mmcauliffe_lms_401_view\presentation;M:\mmcauliffe_ lms_401_view\3rdpty\winn t\jdk1.3.1\jre\lib\rt.jar;M:\mmcauliffe_lms_401_view\3rdpty\weblogic\5.1.0\l ib\weblogic510sp12.jar;M :\mmcauliffe_lms_401_view\3rdpty\weblogic\5.1.0\lib\weblogicaux.jar;M:\mmcau liffe_lms_401_view\3rdpt y\weblogic\5.1.0\classes;M:\mmcauliffe_lms_401_view\3rdpty\jars\jdbc50.jar;M :\mmcauliffe_lms_401_vie w\3rdpty\jars\xerces.jar;M:\mmcauliffe_lms_401_view\3rdpty\jars\xml4j.jar;M: \mmcauliffe_lms_401_view \3rdpty\jars\jce1_2.jar;M:\mmcauliffe_lms_401_view\presentation\deployment\w ls\pls\ejb\TagEntity-gen eric.jar -d M:\mmcauliffe_lms_401_view\presentation\ejbcgD [ejbc] at java.lang.Win32Process.create(Native Method) [ejbc] at java.lang.Win32Process.<init>(Win32Process.java:66) [ejbc] at java.lang.Runtime.execInternal(Native Method) [ejbc] at java.lang.Runtime.exec(Runtime.java:551) [ejbc] at java.lang.Runtime.exec(Runtime.java:477) [ejbc] at java.lang.Runtime.exec(Runtime.java:443) [ejbc] at weblogic.utils.Executable.exec(Executable.java:179) [ejbc] at weblogic.utils.Executable.exec(Executable.java:116) [ejbc] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.jav a:458 ) [ejbc] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:263) [ejbc] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:254) [ejbc] at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:378) [ejbc] at weblogic.ejbc.runBody(ejbc.java:326) [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:80) [ejbc] at weblogic.ejbc.main(ejbc.java:379) [ejbc] Exec failed .. exiting -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ************************************************************************** The information transmitted herewith is sensitive information intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
