This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB not deploying

 
Sidd Kulk
Ranch Hand
Posts: 152
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey folk can you post your MessageDrivenEJBHome code and even bean which is implementing this interface.

Cheers !!!
Sumit Malik
 
Sidd Kulk
Ranch Hand
Posts: 152
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 84
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 152
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 152
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic