You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Hu...@capgroup.com on 2000/12/26 20:34:53 UTC
weblogic.ejbc problem
Hello-
I am trying to use weblogic.ejbc to build an ejb jar file.
I am getting the following exception:
Loaded java/lang.Win32Process from c:\apps\JavaSoft\JRE\1.3\lib\rt.jar
java.io.IOException: CreateProcess ........
RatingServerBeanEOImpl.java error =2 ...
Has anyone have any idea why it might be happening?
The attached is from my build.xml file.
<target name="ejbjars"
depends="compileServer"
description="Create deployable jar files from the EJB class
files,
deployment descriptors, and the ejbc compiler">
<jar jarfile="rawRating.jar">
<fileset dir="${destDir}"
includes="com/capgroup/opac/server/rating/*.class" />
<fileset dir="${srcDir}/com/capgroup/opac/server/rating"
includes="META-INF/*.xml" />
</jar>
<!-- can't seem to control weblogic.ejbc classpath without forking -->
<java classname="weblogic.ejbc"
fork="yes"
maxmemory="256"
classpathref="project.class.path">
<arg value="rawRating.jar"/>
<arg value="rating.jar"/>
<jvmarg value="-verbose" />
</java>
</target>
Re: weblogic.ejbc problem
Posted by "B.C. Holmes" <bc...@roxton.com>.
Hulya_Peker@capgroup.com wrote:
>
> Hello-
> I am trying to use weblogic.ejbc to build an ejb jar file.
> I am getting the following exception:
>
> Loaded java/lang.Win32Process from c:\apps\JavaSoft\JRE\1.3\lib\rt.jar
>
> java.io.IOException: CreateProcess ........
> RatingServerBeanEOImpl.java error =2 ...
>
> Has anyone have any idea why it might be happening?
<sifts through old memories>
I believe I've seen this problem happen if you haven't included
the Java Runtime Environment in your PATH -- basically, the EJBC is
trying to run the javac tool, but the javac tool can't be found.
BCing you
--
B.C. Holmes \u2625 http://www.bcholmes.org/
"Some guy designed the room I'm standing in;
Another one built it with his own tools.
Who says I like right angles?
These are not my laws, these are not my rules."
- Ani Difranco, "I'm no Heroine"