Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sample CMP bean deployment on WL 7.0

Status
Not open for further replies.

anshulgoswami

Programmer
Oct 17, 2002
1
US
Hi, I am trying to deploy ejb20_basic_containerManaged.jar provided in the weblogic 7.0 samples. I have created the connection pool and the data source but at the time of ejb deployment I am getting the following error:

Unable to deploy EJB: containerManaged from ejb20_basic_containerManaged.jar:

weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: examples-dataSource-demoPool could not be located. Please
ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:130)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:214)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:186)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:161)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:936)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1302)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:342)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:991)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:928)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:611)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:368)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:812)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:294)
at weblogic.Server.main(Server.java:31)

Is there any body who can provide a solution to me. Thanks in advance....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top