I am Working on a entity bean in WEblogic server 5.1. I get the following error, stating that could not open the connection pool. I have checked the same. I am new to this, please, do any one have idea on this
This is the following error message.
java.rmi.UnmarshalException: Weblogic RemoteException(weblogic.rjvm.PeerGoneException) remapped from:weblogic.rjvm.PeerGoneException:
- with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unsolicited error response for #-1weblogic.rmi.UnmarshalException: Failed to marshal error response: 'weblogic.ejb.common.DeploymentException: Could not setup the persistence store for this bean.; nested exception is:
weblogic.cmp.rdbms.ConnectionPoolException: Could not open connection pool named 'oraclepool'. Cannot deploy CMP Entity Bean.' because exception
- with nested exception:
[java.io.NotSerializableException: weblogic.ejb.deployment.dd.EntityBeanDescriptor] ]]; nested exception is:
weblogic.rjvm.PeerGoneException:
- with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unsolicited error response for #-1weblogic.rmi.UnmarshalException: Failed to marshal error response: 'weblogic.ejb.common.DeploymentException: Could not setup the persistence store for this bean.; nested exception is:
weblogic.cmp.rdbms.ConnectionPoolException: Could not open connection pool named 'oraclepool'. Cannot deploy CMP Entity Bean.' because exception
- with nested exception:
[java.io.NotSerializableException: weblogic.ejb.deployment.dd.EntityBeanDescriptor] ]]
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unsolicited error response for #-1weblogic.rmi.UnmarshalException: Failed to marshal error response: 'weblogic.ejb.common.DeploymentException: Could not setup the persistence store for this bean.; nested exception is:
weblogic.cmp.rdbms.ConnectionPoolException: Could not open connection pool named 'oraclepool'. Cannot deploy CMP Entity Bean.' because exception
- with nested exception:
[java.io.NotSerializableException: weblogic.ejb.deployment.dd.EntityBeanDescriptor] ]
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:776)
at weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.java:34)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:630)
at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
--------------- nested within: ------------------
weblogic.rjvm.PeerGoneException:
- with nested exception:
[weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Unsolicited error response for #-1weblogic.rmi.UnmarshalException: Failed to marshal error response: 'weblogic.ejb.common.DeploymentException: Could not setup the persistence store for this bean.; nested exception is:
weblogic.cmp.rdbms.ConnectionPoolException: Could not open connection pool named 'oraclepool'. Cannot deploy CMP Entity Bean.' because exception
- with nested exception:
[java.io.NotSerializableException: weblogic.ejb.deployment.dd.EntityBeanDescriptor] ]]
at weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.java:76)
at weblogic.ejb.common.EJBManager_WLStub.deploy(EJBManager_WLStub.java:304)
at weblogic.ejb.ui.deployer.WLSDeployAgent$DeployThread.run(WLSDeployAgent.java:328)
Deployment failed.
Ranjit
-
cannot open Connection pool - Weblogic 5.1 (2 messages)
- Posted by: Ranjit Damodaran
- Posted on: October 18 2000 10:07 EDT
Threaded Messages (2)
- cannot open Connection pool - Weblogic 5.1 by Vid Desibhatla on October 18 2000 11:22 EDT
- cannot open Connection pool - Weblogic 5.1 by Vid Desibhatla on October 18 2000 11:42 EDT
-
cannot open Connection pool - Weblogic 5.1[ Go to top ]
- Posted by: Vid Desibhatla
- Posted on: October 18 2000 11:22 EDT
- in response to Ranjit Damodaran
Here are some checkpoints:
1. Check to see if the database driver is in your weblogic classpath.
2. When you start weblogic server, look at the console messages to see if the connection pool has been created.
3. Make sure that you datasource points correctly to this pool in your bean.
javax.sql.DataSource ds = (javax.sql.DataSource) initCtx.lookup("java:comp/env/jdbc/oraclePool");
-
cannot open Connection pool - Weblogic 5.1[ Go to top ]
- Posted by: Vid Desibhatla
- Posted on: October 18 2000 11:42 EDT
- in response to Vid Desibhatla
In the message above, point # 3 is meant for BMP.