You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Matthias Roth <ma...@impart.ch> on 2003/09/06 17:38:00 UTC

ConnectionProxy is closed

Hi,
I trie to use datasources on websphere 5.0.
I get every time the following error message if ojb try to
Get some data:
[org.apache.ojb.broker.accesslayer.StatementsForClassImpl] ERROR: class
com.ibm.ejs.cm.proxy.ConnectionProxy is closed
[06.09.03 16:30:04:378 GMT+01:00]  4bfa5f2 SystemErr     R
com.ibm.websphere.ce.cm.StaleConnectionException: class
com.ibm.ejs.cm.proxy.ConnectionProxy is closed
[06.09.03 16:30:04:378 GMT+01:00]  4bfa5f2 SystemErr     R at
com.ibm.ejs.cm.proxy.ConnectionProxy.prepareStatement(ConnectionProxy.java:3
81)
[06.09.03 16:30:04:378 GMT+01:00]  4bfa5f2 SystemErr     R at
org.apache.ojb.broker.util.WrappedConnection.prepareStatement(WrappedConnect
ion.java:205)

my repository.xml settings:
<jdbc-connection-descriptor
      jcd-alias="MyDB"
      default-connection="true"
      jndi-datasource-name="jdbc/ds2"
      platform="Db2"
      jdbc-level="2.0"
      driver="COM.ibm.db2.jdbc.app.DB2Driver"
      protocol="jdbc"
      subprotocol="db2"
      dbalias="AVAMPROT"
      username="db2admin"
      password="db2admin"
      batch-mode="false"
    useAutoCommit="0"
    ignoreAutoCommitExceptions="false"
>

Thanks for your help

Regards
Matthias Roth