請高手指點一下啊

usersjb發表於2004-09-05
我用的是weblogic8 +jbuilderx+sql2000personal
連線池和資料來源配置都正確,
做cmp時編譯和部署都沒有錯誤,可是執行測試客戶端時總是提不出資料
丟擲例外
-- Calling getStudid()

java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.

at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)

at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:83)

-- Failed: getStudid()

at weblogic.rmi.cluster.ClusterActivatableRemoteRef.invoke(ClusterActivatableRemoteRef.java:65)

at untitled1.Student_z53p80_EOImpl_810_WLStub.getStudid(Unknown Source)

at untitled1.StudentTestClient4.getStudid(StudentTestClient4.java:320)

at untitled1.StudentTestClient4.main(StudentTestClient4.java:437)

Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.

at untitled1.Student_z53p80__WebLogic_CMP_RDBMS.getStudid(Student_z53p80__WebLogic_CMP_RDBMS.java:328)

at untitled1.Student_z53p80_EOImpl.getStudid(Student_z53p80_EOImpl.java:45)

at untitled1.Student_z53p80_EOImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:87)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:356)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:123)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:351)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

-- Return value from getStudid(): null.

studid=null

-- Calling getStuname()

java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.

at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)

at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:83)

-- Failed: getStuname()

at weblogic.rmi.cluster.ClusterActivatableRemoteRef.invoke(ClusterActivatableRemoteRef.java:65)

at untitled1.Student_z53p80_EOImpl_810_WLStub.getStuname(Unknown Source)

at untitled1.StudentTestClient4.getStuname(StudentTestClient4.java:383)

at untitled1.StudentTestClient4.main(StudentTestClient4.java:438)

Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.

at untitled1.Student_z53p80__WebLogic_CMP_RDBMS.getStuname(Student_z53p80__WebLogic_CMP_RDBMS.java:369)

at untitled1.Student_z53p80_EOImpl.getStuname(Student_z53p80_EOImpl.java:201)

at untitled1.Student_z53p80_EOImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:87)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:356)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:123)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:351)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

-- Return value from getStuname(): .

stuname=

-- Calling getLockerid()

-- Failed: getLockerid()

java.rmi.RemoteException: EJB Exception: ; nested exception is:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.

at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)

at weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:83)

at weblogic.rmi.cluster.ClusterActivatableRemoteRef.invoke(ClusterActivatableRemoteRef.java:65)

at untitled1.Student_z53p80_EOImpl_810_WLStub.getLockerid(Unknown Source)

at untitled1.StudentTestClient4.getLockerid(StudentTestClient4.java:285)

at untitled1.StudentTestClient4.main(StudentTestClient4.java:439)

Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.

at untitled1.Student_z53p80__WebLogic_CMP_RDBMS.getLockerid(Student_z53p80__WebLogic_CMP_RDBMS.java:289)

at untitled1.Student_z53p80_EOImpl.getLockerid(Student_z53p80_EOImpl.java:253)

at untitled1.Student_z53p80_EOImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:87)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:356)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:123)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:351)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

-- Return value from getLockerid(): null.

lockerid=null

這是為什麼啊?

相關文章