[jboss-user] [JCA/JBoss] - JBoss error:Trying to return an unknown connection2!.....Unr
liujw2001
do-not-reply at jboss.com
Thu Oct 18 04:41:24 EDT 2007
Hello:
when I run my jca through EJB, jboss dissplays the following Info:
16:18:29,312 INFO [NoTxConnectionManager] Throwable from unregisterConnection
| java.lang.IllegalStateException: Trying to return an unknown connection2! null
| at org.jboss.resource.connectionmanager.CachedConnectionManager.unregisterConnection(CachedConnectionManager.java:342)
| at org.jboss.resource.connectionmanager.NoTxConnectionManager$NoTxConnectionEventListener.connectionClosed(NoTxConnectionManager.java:88)
| at com.jca.FileManagedConnection.connectionClosedEvent(FileManagedConnection.java:178)
| at com.jca.FileConnectionImpl.close(FileConnectionImpl.java:20)
| at com.ejb.FileEJB.getTextFile(FileEJB.java:39)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| ............
| 16:18:29,359 INFO [NoTxConnectionManager] Unregistered handle that was not registered! null for managedConnection: com.jca.FileManagedConnection at 1618248
| 16:18:46,421 INFO [CachedConnectionManager] Closing a connection for you. Please close them yourself: com.jca.FileConnectionImpl at 1a014e1
| java.lang.Throwable: STACKTRACE
| at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:400)
| at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812)
| at com.jca.FileConnectionFactoryImpl.getConnection(FileConnectionFactoryImpl.java:47)
| at com.ejb.FileEJB.getTextFile(FileEJB.java:37)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| ........
|
Can somebody help me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096430#4096430
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096430
More information about the jboss-user
mailing list