SushmaSharma
Programmer
Hi all,
I am newbie to WebLogic, EJB and JBuilder IDE.... I am using JBuilder 2005 Enterprise for developing EJB... I developed an entity bean Cabin. If you need I can upload the code for EJB... It's Cabin bean specified in Oreilly's Enterprise JavaBeans 2nd Edition(EJB 1.1)
I am trying to deploy this EJB on Weblogic 8.1 as specified in JBuilder 2005 Enterprise,But I am getting the following error... Please help.....
<Apr 20, 2005 1:59:35 PM CST> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "CabinServer" for domain "cabinDomain">
<Apr 20, 2005 2:00:03 PM CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application JBuilder_EjbRun_Cabin.
weblogic.management.ApplicationException: activate failed for Cabin
{
Module Name: Cabin, Error: Exception activating module: EJBModule(Cabin,status=PREPARED)
Unable to deploy EJB: Cabin from Cabin:
Null keys not supported.
Nested Exception: java.lang.IllegalArgumentException: Null keys not supported
at weblogic.utils.collections.WeakConcurrentHashMap.get(WeakConcurrentHashMap.java:189)
at weblogic.utils.wrapper.WrapperFactory.getCachedWrapperClass(WrapperFactory.java:51)
at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:183)
at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:171)
at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:146)
at weblogic.jdbc.jts.Driver.newConnection(Driver.java:674)
at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:196)
at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.getConnection(PersistenceManagerImpl.java:447)
at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.verifyDatabaseType(PersistenceManagerImpl.java:247)
at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.setup(PersistenceManagerImpl.java:143)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:253)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:154)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1322)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3127)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2081)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2062)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2010)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3108)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1656)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:372)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
at weblogic.Server.main(Server.java:32)
}
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2094)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2062)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2010)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3108)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1656)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:372)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
at weblogic.Server.main(Server.java:32)
>
I am newbie to WebLogic, EJB and JBuilder IDE.... I am using JBuilder 2005 Enterprise for developing EJB... I developed an entity bean Cabin. If you need I can upload the code for EJB... It's Cabin bean specified in Oreilly's Enterprise JavaBeans 2nd Edition(EJB 1.1)
I am trying to deploy this EJB on Weblogic 8.1 as specified in JBuilder 2005 Enterprise,But I am getting the following error... Please help.....
<Apr 20, 2005 1:59:35 PM CST> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "CabinServer" for domain "cabinDomain">
<Apr 20, 2005 2:00:03 PM CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application JBuilder_EjbRun_Cabin.
weblogic.management.ApplicationException: activate failed for Cabin
{
Module Name: Cabin, Error: Exception activating module: EJBModule(Cabin,status=PREPARED)
Unable to deploy EJB: Cabin from Cabin:
Null keys not supported.
Nested Exception: java.lang.IllegalArgumentException: Null keys not supported
at weblogic.utils.collections.WeakConcurrentHashMap.get(WeakConcurrentHashMap.java:189)
at weblogic.utils.wrapper.WrapperFactory.getCachedWrapperClass(WrapperFactory.java:51)
at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:183)
at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:171)
at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:146)
at weblogic.jdbc.jts.Driver.newConnection(Driver.java:674)
at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:196)
at weblogic.jdbc.jts.Driver.connect(Driver.java:154)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.getConnection(PersistenceManagerImpl.java:447)
at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.verifyDatabaseType(PersistenceManagerImpl.java:247)
at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.setup(PersistenceManagerImpl.java:143)
at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:253)
at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210)
at weblogic.ejb20.manager.DBManager.setup(DBManager.java:154)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057)
at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1322)
at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:610)
at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3127)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2081)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2062)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2010)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3108)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1656)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:372)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
at weblogic.Server.main(Server.java:32)
}
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2094)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2062)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2010)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3108)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1656)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:372)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
at weblogic.Server.main(Server.java:32)
>