aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Unable to deploy bean problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Unable to deploy bean problem." Watch "Unable to deploy bean problem." New topic
Author

Unable to deploy bean problem.

Vikas Kumar Sahu
Ranch Hand

Joined: Dec 02, 2003
Posts: 59
Hi,
I am unalble to deploy one cmp bean in the weblogic server 7.0.0,
The following exception is coming -

Unable to deploy EJB: EccATM.jar from EccATM.jar:


Could not locate bean with ejb-name 'EccATM' in weblogic-ejb-jar.xml

at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:155)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:332)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:489)
at weblogic.ejb20.deployer.EJBDeployer.compileEJB(EJBDeployer.java:819)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1268)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:235)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:1579)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:741)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1098)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:766)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)



}
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:748)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1098)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:766)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
>

Thanx -
Vikas Sahu
Marco Barenkamp
Ranch Hand

Joined: Aug 27, 2001
Posts: 94
Each EJB that is declared in the ejb-jar.xml file needs an entry
in the appr. weblogic dd.
Search for each <ejb-name> Element in ejb-jar.xml and check whether
the name is listed in weblogic.xml and you should see that (at least)
one is missing.


Marco Barenkamp<br />_ _ _ _ _ ________________________ _ _ _ _ _ <br />L M I N T E R N E T S E R V I C E S AG<br /> <br />Head of Software Development<br /> <br /> <br />BEA Certified Enterprise Developer<br />Sun Certified Programmer for the Java2 Platform<br />Sun Certified Web Component Developer for the Java2 Platform<br />Sun Certified Developer for the Java 2 Platform <br />Sun Certified Business Component Developer for the Java 2 Platform <br />Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition<br /> <br />LMIS AG
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to deploy bean problem.
 
Similar Threads
Problem in Deploying the ejb jar in WL 7.0
Error while deploying ejb
Problem in deploying HelloWold applicaton
Stateless Session Bean Deployment error
Exception:weblogic.management.ApplicationException: prepare failed for devejb