Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > EJB
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
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
__________________
ravi sharma
Reply With Quote
  #2 (permalink)  
Old April 20th, 2007, 02: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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off



All times are GMT -4. The time now is 03:14 AM.


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