Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ejbc error

843833Jul 16 2007
Hello,
I'm student in computer science (master degree )and my summer job consist on deploiement of an J2EE EJB2 aplication on WEBLOGIC 8.1 in a first time , and in second time i would like to migrate this application on GLASSFISH application server and EJB3.
During the weblogic deploiement this error appears in my console view.
Can you help me.

Buildfile: /usr/local/bea8.1/user_projects/domains/realisis/Realisis/04_Development/server/build_wl8.xml jar_ejb: ejbc: [echo] /usr/local/bea8.1/user_projects/domains/mydomain/applications [echo] /usr/local/bea8.1/weblogic81 [java] ERROR: Error from ejbc: Unable to load a class specified in your ejb-jar.xml: com.jnj.realisis.bo.NavigatorBean [java] weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: com.jnj.realisis.bo.NavigatorBean [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos (MBeanDeploymentInfoImpl.java:548) [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.(MBeanDeploymentInfoImpl.java:232) [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:155) [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB (EJBCompiler.java:415) [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397) [java] at weblogic.ejbc20.runBody(ejbc20.java:519) [java] at weblogic.utils.compiler.Tool.run(Tool.java:146) [java] at weblogic.utils.compiler.Tool.run (Tool.java:103) [java] at weblogic.ejbc.main(ejbc.java:29) [java] ERROR: ejbc couldn't invoke compiler BUILD FAILED /usr/local/bea8.1/user_projects/domains/realisis/Realisis/04_Development/server/build_wl8.xml:238: Java returned: 1 Total time: 2 seconds Tache ANT

this is the ant task which was executed:

<!-- Run ejbc to create the deployable jar file -->
<target name="ejbc" depends="jar_ejb">
<echo message="${WL_APP}"/>
<echo message="${WL_HOME}"/>
<java classname="weblogic.ejbc" fork="yes" failonerror="on" >
<sysproperty key="weblogic.home" value="${WL_HOME}/server"/>
<arg line="-basicClientJar -verbose -compiler javac dist/realejb.jar"/>
<classpath>
<pathelement path="${WL_HOME}/server/lib/weblogic.jar"/>
<pathelement path="lib/daylight.jar"/>
<pathelement path="../common/lib/MarvinBeans.jar"/>
</classpath>
</java>
</target>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2007
Added on Jul 16 2007
0 comments
125 views