javax.ejb.ObjectNotFoundException: Exception raised while finding bean with prim
ary key: '0001' in home: 'Ta'
java.sql.SQLException: READ_COMMITTED and SERIALIZABLE are the only valid transa
ction levels
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:219)
at oracle.jdbc.driver.OracleConnection.setTransactionIsolation(OracleCon
nection.java:716)
at weblogic.jdbcbase.jts.Connection.setTransactionIsolation(Connection.j
ava:389)
at weblogic.jdbcbase.jts.Connection.openConnectionIfNecessary(Connection
java:626)
at weblogic.jdbcbase.jts.Connection.prepareStatement(Connection.java:135
)
at com.mtc.test.TaEJBPSWebLogic_CMP_RDBMS.refreshByPrimaryKey(TaEJBPSWeb
Logic_CMP_RDBMS.java:485)
at com.mtc.test.TaEJBPSWebLogic_CMP_RDBMS.loadByPrimaryKey(TaEJBPSWebLog
ic_CMP_RDBMS.java:466)
at com.mtc.test.TaEJBPSWebLogic_CMP_RDBMS.findByPrimaryKey(TaEJBPSWebLog
ic_CMP_RDBMS.java:438)
at com.mtc.test.TaEJBHomeImpl.findByPrimaryKey(TaEJBHomeImpl.java:64)
at com.mtc.test.TaEJBHomeImpl_ServiceStub.findByPrimaryKey(TaEJBHomeImpl
_ServiceStub.java:149)
at com.mtc.test.SaEJB.handler(SaEJB.java:78)
at com.mtc.test.SaEJBEOImpl.handler(SaEJBEOImpl.java:55)
at com.mtc.test.SaEJBEOImpl_WLSkel.invoke(SaEJBEOImpl_WLSkel.java:126)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
jectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
tHandler.java:77)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
at com.mtc.test.TaEJBPSWebLogic_CMP_RDBMS.findByPrimaryKey(TaEJBPSWebLog
ic_CMP_RDBMS.java:454)
at com.mtc.test.TaEJBHomeImpl.findByPrimaryKey(TaEJBHomeImpl.java:64)
at com.mtc.test.TaEJBHomeImpl_ServiceStub.findByPrimaryKey(TaEJBHomeImpl
_ServiceStub.java:149)
at com.mtc.test.SaEJB.handler(SaEJB.java:78)
at com.mtc.test.SaEJBEOImpl.handler(SaEJBEOImpl.java:55)
at com.mtc.test.SaEJBEOImpl_WLSkel.invoke(SaEJBEOImpl_WLSkel.java:126)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
jectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
tHandler.java:77)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
Tue Aug 07 10:35:32 PDT 2001:<I> <RJVM> Signaling peer 2648168446091542635C192.1
68.10.24 gone: weblogic.rjvm.PeerGoneException:
- with nested exception:
[java.net.SocketException: Connection reset by peer]
> I set a session bean's isolation level to TRANSACTION_READ_UNCOMMITTED in wls5.1
> sp8 w/ oracle 8.1.6i. Then get an error "java.sql.SQLException: READ_COMMITTED
> and SERIALIZABLE are the only valid transaction levels". How can I get TRANSACTION_READ_UNCOMMITTED
> level?
You can't -- Oracle only supports read committed and serializable isolation levels. Are you trying to
mix CMP and JDBC in the same transaction?
Cheers,
Alex
No, i let container take over transaction controls.
eric