请高手指点一下啊

04-09-05 usersjb
我用的是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

这是为什么啊?

猜你喜欢