*
The moose likes EJB and other Java EE Technologies and the fly likes EJB not deploying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB not deploying" Watch "EJB not deploying" New topic
Author

EJB not deploying

Sidd Kulk
Ranch Hand

Joined: Feb 20, 2007
Posts: 152
Please help me out with this:


[I]
weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: ../CSREJB/build/classes Error: Exception starting module: EJBModule(../CSREJB/build/classes,status=ACTIVATED)
Unable to deploy EJB: ../CSREJB/build/classes from ../CSREJB/build/classes:
java.lang.ExceptionInInitializerError
at java.lang.Class.newInstanceCached(I)Ljava.lang.Object;(Unknown Source)
at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(Ljavax.naming.Context Ljavax.ejb.MessageDrivenBean;(MessageDrivenEJBHome.java:220)
at weblogic.ejb20.pool.MessageDrivenPool.createBean()Ljavax.ejb.EnterpriseBean;(MessageDrivenPool.java:116)
at weblogic.ejb20.pool.Pool.createInitialBeans()V(Pool.java:254)
at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start()V(MessageDrivenBeanPoolInfoImpl.java:246)
at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans()V(EJBDeployer.java:1660)
at weblogic.ejb20.deployer.EJBDeployer.start(Z)V(EJBDeployer.java:1488)
at weblogic.ejb20.deployer.EJBModule.start()V(EJBModule.java:689)
at weblogic.j2ee.J2EEApplicationContainer.start([Lweblogic.j2ee.J2EEApplicationContainer$Component V(J2EEApplicationContainer.java:2127)
at weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic.management.configuration.ComponentMBean V(J2EEApplicationContainer.java:2168)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer()V(SlaveDeployer.java:2503)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit()V(SlaveDeployer.java:2421)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit()V(SlaveDeployer.java:2138)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit()V(SlaveDeployer.java:2237)
at weblogic.management.deploy.slave.SlaveDeployer$Task
[/I]
Sumit Malik
Ranch Hand

Joined: Jan 05, 2007
Posts: 84
Hey folk can you post your MessageDrivenEJBHome code and even bean which is implementing this interface.

Cheers !!!
Sumit Malik


If at first you don't succeed, don't try skydiving
Sidd Kulk
Ranch Hand

Joined: Feb 20, 2007
Posts: 152
Hi Sumeet, thanks for your reply.
But I am pretty new to EJB and i could not get exactly what you mean. Could you be more specific and elaborate it?
[ March 09, 2007: Message edited by: Sidd Cool ]
Sumit Malik
Ranch Hand

Joined: Jan 05, 2007
Posts: 84
Oops I did not looked in log thoroughly. Well, its look like there is some problem with deploying message driven bean. Could you post the code of message driven bean which you are about to deployed through your ejb module.

Lets see if i can assist you

Cheers !!!
Sumit Malik
Sidd Kulk
Ranch Hand

Joined: Feb 20, 2007
Posts: 152
Hi Sumit, sorry for a late reply. Actually i got this code through SVN and now i have to deploy it on my machine. So I dont know exactly where the message driven beans and all is written. Its simply not able to deploy the application. At the same time, the application has been successfully deployed on another machine. Its not working on my machine only.
Thanks in advance.

Enjoy coding!
Sid
Sidd Kulk
Ranch Hand

Joined: Feb 20, 2007
Posts: 152
I tried to deploy the application again using a jar and a war file. Still i am getting the following error:

weblogic.management.DeploymentException:
Exception:weblogic.management.ApplicationException: start() failed.
Module: CSREJB.jar Error: Exception starting module: EJBModule(CSREJB.jar,status=ACTIVATED)
Unable to deploy EJB: CSREJB.jar from CSREJB.jar:
java.lang.ExceptionInInitializerError
at java.lang.Class.newInstanceCached(I)Ljava.lang.Object;(Unknown Source)
at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(Ljavax.naming.Context Ljavax.ejb.MessageDrivenBean;(MessageDrivenEJBHome.java:220)
at weblogic.ejb20.pool.MessageDrivenPool.createBean()Ljavax.ejb.EnterpriseBean;(MessageDrivenPool.java:116)
at weblogic.ejb20.pool.Pool.createInitialBeans()V(Pool.java:254)
at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start()V(MessageDrivenBeanPoolInfoImpl.java:246)
at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans()V(EJBDeployer.java:1660)
at weblogic.ejb20.deployer.EJBDeployer.start(Z)V(EJBDeployer.java:1488)
at weblogic.ejb20.deployer.EJBModule.start()V(EJBModule.java:689)
at weblogic.j2ee.J2EEApplicationContainer.start([Lweblogic.j2ee.J2EEApplicationContainer$Component V(J2EEApplicationContainer.java:2127)
at weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic.management.configuration.ComponentMBean V(J2EEApplicationContainer.java:2168)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer()V(SlaveDeployer.java:2503)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit()V(SlaveDeployer.java:2421)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit()V(SlaveDeployer.java:2138)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit()V(SlaveDeployer.java:2237)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare()V(SlaveDeployer.java:2132)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2384)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;ZLjava.lang.StringBuffer Z(SlaveDeployer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread V(Unknown Source)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.reflect.InvocationTargetException
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(Ljava.lang.String Lorg.apache.commons


Thanks

Sid
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: EJB not deploying
 
Similar Threads
Exception:weblogic.management.ApplicationException: prepare failed for devejb
Unable to deploy EJB: content.jar from content.jar:
Stateless Session Bean Deployment error
EJB deploy error
Home & Remote interface