Wrox Home  
Search P2P Archive for: Go

  Return to Index  

j2ee thread: Re: ejb deploy problems in weblogic server


Message #1 by "josefina duran" <josefinaduran@y...> on Tue, 18 Feb 2003 14:37:03
I have the same error. Could you help me to solve the problem??

Thanks.
> 
> Hi ,
> 
> I'm trying some example given in wrox's  J2ee with BEA weblogic 
server.=20
> 
> I've got some problems in deploying ejb's .=20
> 
> I'm working on chapter 4 stateless session bean examples.
> 
> I could compile using weblogic.ejbc from command line and got the =
> deployable jar file
> 
> But, While starting the server i get the following error in the startup
> 
> 
> 
> Thu Aug 16 11:58:36 GMT+05:30 2001:<E> <EJB> Could not deploy: =
> 'd:/weblogic/myserver/OrderServicesSLBean.jar': file is not a valid jar =
> file, or does not
>  contain a valid bean
> 
> weblogic.ejb.common.DeploymentException: DeploymentException opening JAR 
=
> file d:\weblogic\myserver\OrderServicesSLBean.jar; nested exception 
is:=20
>  weblogic.ejb.deployment.JarLoadException - with nested exception:
> [weblogic.ejb.common.DeploymentException: Problem creating deployment =
> d:/weblogic/myserver/OrderServicesSLBean.jar from =
> d:\weblogic\myserver\OrderServicesSLBean.jar; nested exception is:=20
>  java.lang.NoClassDefFoundError: jsw/c04a/P2GException]
> weblogic.ejb.common.DeploymentException: Problem creating deployment =
> d:/weblogic/myserver/OrderServicesSLBean.jar from =
> d:\weblogic\myserver\OrderServicesSLBean.jar; nested exception is:=20
>  java.lang.NoClassDefFoundError: jsw/c04a/P2GException
> java.lang.NoClassDefFoundError: jsw/c04a/P2GException
>  at java.lang.Class.getMethods0(Native Method)
>  at java.lang.Class.getMethods(Unknown Source)
>  at =
> weblogic.ejb.deployment.dd.DeploymentUnit.initializeMethodInfos
(Deploymen=
> tUnit.java, Compiled Code)
>  at =
> weblogic.ejb.internal.EJBJarLoader.initializeMethodInfos
(EJBJarLoader.jav=
> a:126)
>  at =
> weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java, =
> Compiled Code)
>  at =
> weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:211)
>  at =
> weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:182)
>  at =
> weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:164)
>  at =
> weblogic.ejb.internal.EJBDeploymentImpl.<init>
(EJBDeploymentImpl.java:172=
> )
>  at =
> weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:122)
>  at =
> weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:112)
>  at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:305)
>  at =
> weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java, =
> Compiled Code)
>  at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:242)
>  at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
>  at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
>  at java.lang.reflect.Method.invoke(Native Method)
>  at weblogic.Server.startServerDynamically(Server.java:140)
>  at weblogic.Server.main(Server.java, Compiled Code)
>  at weblogic.Server.main(Server.java:58)
>  at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
>  at java.lang.Thread.run(Unknown Source)
> 
> 
> I also get one error saying that java.lang.NoClassDefFoundError =
> :jsw/c04a/Offer
> 
> 
> besided the make file given by the author doesn't seem to work. I have =
> included c:\wlsbook=20
> 
> ie the place the make file is in the path.
> 
> 
> Can you guys help me out in this=20
> 
> Regards,
> 
> Guna
> 
> 
> 
> 

  Return to Index