my dog learned polymorphism*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Null pointer in JTSConnection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Null pointer in JTSConnection" Watch "Null pointer in JTSConnection" New topic
Author

Null pointer in JTSConnection

Parameswaran Thangavel
Ranch Hand

Joined: Mar 01, 2005
Posts: 485
hi all
when i invoke the service (EJB) from my application (java client), i am getting the below exception.

Nested Exception: java.lang.NullPointerException
at weblogic.jdbc.wrapper.JTSConnection.initCopy(JTSConnection.java:197)
at weblogic.jdbc.jts.Driver.copyConnection(Driver.java:277)
at weblogic.jdbc.jts.Driver.copyLocalConnection(Driver.java:257)
at weblogic.jdbc.jts.Driver.connect(Driver.java:147)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:329)
at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)


i am calling that particular function twice and when i called for the second time i am getting the exception. is this has something to do with the previous service call transaction is not committed when i called the same service for second time. its just a browse service.
 
 
subject: Null pointer in JTSConnection
 
Similar Threads
log4j Problem - Help needed
can we have 2 pools in one application?
Mapping Exception : Could not read mappings from resource
Migrate 7 to 8 MDB connection issue
java.sql.SQLException: Connection has already been closed.