Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > EJB
| Search | Today's Posts | Mark Forums Read
EJB Be sure to indicate the version you use.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the EJB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 30th, 2006, 04:12 AM
Registered User
 
Join Date: Dec 2006
Location: delhi, delhi, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old April 20th, 2007, 01:36 PM
Authorized User
 
Join Date: Apr 2005
Location: , , India.
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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








Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.