aspose file tools*
The moose likes BEA/Weblogic and the fly likes EJB deploy error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "EJB deploy error" Watch "EJB deploy error" New topic
Author

EJB deploy error

H. J. Yoshi
Greenhorn

Joined: Jul 21, 2006
Posts: 29
Though I can build the EAR successfully,I get the following error try to deploy the same in Weblogic 8.1-

.....
Deployer:149033]preparing application TellerReferralApplication on myserver
[Deployer:149033]failed application TellerReferralApplication on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application TellerReferralApplication on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for TellerReferral.jar
Module: TellerReferral.jar Error: Exception preparing module: EJBModule(TellerReferral.jar,status=NEW)
Unable to deploy EJB: C:\bea\user_projects\domains\grnds\.\myserver\.wlnotdelete\TellerReferralApplication\TellerReferral.jar from TellerReferral.jar:
weblogic.ejb20.WLDeploymentException: [EJB:010106]EJB : AssociateGoalManagerBean .Unable to initialize method info for remote or home interface. The error is java.lang.NoClassDefFoundError: [Lcom/bofa/tellerreferral/vo/AssociateGoalVO;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
at java.lang.Class.privateGetPublicMethods(Class.java:1655)
at java.lang.Class.getMethods(Class.java:815)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.initializeMethodInfos(ClientDrivenBeanInfoImpl.java:1224)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfoImpl.java:266)
at weblogic.ejb20.deployer.SessionBeanInfoImpl.<init>(SessionBeanInfoImpl.java:74)
at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:364)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:548)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:232)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
.
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.initializeMethodInfos(ClientDrivenBeanInfoImpl.java:1230)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfoImpl.java:266)
at weblogic.ejb20.deployer.SessionBeanInfoImpl.<init>(SessionBeanInfoImpl.java:74)
at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:364)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:548)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:232)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1262)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
..

I am not sure what's the cause..
Pls help..
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
weblogic.ejb20.WLDeploymentException: [EJB:010106]EJB : AssociateGoalManagerBean .Unable to initialize method info for remote or home interface. The error is java.lang.NoClassDefFoundError: [Lcom/bofa/tellerreferral/vo/AssociateGoalVO;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
at java.lang.Class.privateGetPublicMethods(Class.java:1655)
at java.lang.Class.getMethods(Class.java:815)


Seems to me that your AssociateGoalManagerBean trying to invoke a non-existing method in the AssociateGoalVO.


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
H. J. Yoshi
Greenhorn

Joined: Jul 21, 2006
Posts: 29
Hi,

Thanks for the reply.
I checked AssociateGoalManagerBean.java if it tries to access any method that does not exist in AssociateGoalVO.java but this is not the case.

Anything else you think could be the cause ??

Regards,
Himadri
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

I havent used Weblogic, but the NoClassDefFoundError suggests that the classes/jars referred by your com/bofa/tellerreferral/vo/AssociateGoalVO (either through import statements or through extends statements or some other means) are *not* present in the classpath. Make sure that the classes/jars required by com/bofa/tellerreferral/vo/AssociateGoalVO are made available in the classpath.


[My Blog] [JavaRanch Journal]
 
wood burning stoves
 
subject: EJB deploy error