p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   EJB (http://p2p.wrox.com/ejb-201/)
-   -   whati s this problem (http://p2p.wrox.com/ejb/52082-whati-s-problem.html)

ravi_abes December 30th, 2006 04:12 AM

whati s this problem
 
Exception:weblogic.management.ApplicationException : prepare failed for ravi Module: ravi Error: Exception preparing module: EJBModule(ravi,status=NEW) Unable to deploy EJB: C:\bea\user_projects\mydomain\applications\ravi from ravi: weblogic.ejb20.deployer.DeploymentDescriptorExcept ion: Unable to load a class specified in your ejb-jar.xml: com.nscorp.ejb.AddressCMP at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.in itializeBeanInfos(MBeanDeploymentInfoImpl.java:531 ) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.(M BeanDeploymentInfoImpl.java:232) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDep loyer.java:1260) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModul e.java:473) at weblogic.j2ee.J2EEApplicationContainer.prepareModu le(J2EEApplicationContainer.java:2842) at weblogic.j2ee.J2EEApplicationContainer.prepareModu les(J2EEApplicationContainer.java:1529) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2E EApplicationContainer.java:1183) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2E EApplicationContainer.java:1026) at weblogic.management.deploy.slave.SlaveDeployer$Com ponentActivateTask.prepareContainer(SlaveDeployer. java:2568) at weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.createContainer(SlaveDeployer.java:2520) at weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.prepare(SlaveDeployer.java:2450) at weblogic.management.deploy.slave.SlaveDeployer.pro cessPrepareTask(SlaveDeployer.java:829) at weblogic.management.deploy.slave.SlaveDeployer.pre pareDelta(SlaveDeployer.java:538) at weblogic.management.deploy.slave.SlaveDeployer.pre pareUpdate(SlaveDeployer.java:496) at weblogic.drs.internal.SlaveCallbackHandler$1.execu te(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:151)

[Deployer:149033]preparing application ravi on myserver
[Deployer:149033]failed application ravi on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application ravi on myserver.: Exception:weblogic.management.ApplicationException : prepare failed for ravi Module: ravi Error: Exception preparing module: EJBModule(ravi,status=NEW) Unable to deploy EJB: C:\bea\user_projects\mydomain\applications\ravi from ravi: weblogic.ejb20.deployer.DeploymentDescriptorExcept ion: Unable to load a class specified in your ejb-jar.xml: com.nscorp.ejb.AddressCMP at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.in itializeBeanInfos(MBeanDeploymentInfoImpl.java:531 ) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.(M BeanDeploymentInfoImpl.java:232) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDep loyer.java:1260) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModul e.java:473) at weblogic.j2ee.J2EEApplicationContainer.prepareModu le(J2EEApplicationContainer.java:2842) at weblogic.j2ee.J2EEApplicationContainer.prepareModu les(J2EEApplicationContainer.java:1529) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2E EApplicationContainer.java:1183) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2E EApplicationContainer.java:1026) at weblogic.management.deploy.slave.SlaveDeployer$Com ponentActivateTask.prepareContainer(SlaveDeployer. java:2568) at weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.createContainer(SlaveDeployer.java:2520) at weblogic.management.deploy.slave.SlaveDeployer$Act ivateTask.prepare(SlaveDeployer.java:2450) at weblogic.management.deploy.slave.SlaveDeployer.pro cessPrepareTask(SlaveDeployer.java:829) at weblogic.management.deploy.slave.SlaveDeployer.pre pareDelta(SlaveDeployer.java:538) at weblogic.management.deploy.slave.SlaveDeployer.pre pareUpdate(SlaveDeployer.java:496) at weblogic.drs.internal.SlaveCallbackHandler$1.execu te(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:151) .



ravi sharma

enjay April 20th, 2007 02:36 PM

Hi Ravi,

Looks like this particular class is missing from the .jar/.ear file that you are trying to deploy.

com.nscorp.ejb.AddressCMP

Open the archive (.jar/.ear) and check if this particular class is present. In case it is present, then check if it is in specified package (com.nscorp.ejb) and also check for if the class is in proper case.

Regards,
eNJay


All times are GMT -4. The time now is 07:22 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.