• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Help needed

 
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
While deploying to weblogic 7.0 server, i'm getting the following error message. I've created a connection pool,txDataSource and it is deployed to examplesserver.
preparing application Cabin on examplesServer
prepared application Cabin on examplesServer
activating application Cabin on examplesServer
Exception caught for task Activate application Cabin on examplesServer: activate failed for Cabin
Module, Cabin, reported error: Exception activating module: EJBModule(Cabin,status=PREPARED)

Unable to deploy EJB: Cabin from Cabin.jar:
weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: Bean.Cabin 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:138)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:211)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:181)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:945)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1296)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:349)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1592)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1029)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1016)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1112)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:732)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
Please help me
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Check out in file : config.xml whether the entry target=myserver is present for the data source created.
-- bksella.
 
Grishma Dube
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using sun.jdbc.odbc.JdbcOdbcDriver(Type 1 driver)..I have created a Connection Pool by name CabinPool and my JNDI Name is Bean.Cabin..Pls see my config.xml file and let me know wht changes should be made in this file.

[ September 02, 2003: Message edited by: Grishma Dube ]
 
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic