[jboss-user] [JCA/JBoss] - Re: Dedicated connection without connection pooling

chavali do-not-reply at jboss.com
Mon Feb 18 01:27:11 EST 2008


Hi,

The exception we are getting is during the managed connection close to the backend EIS(legacy c++) system. Can you please help us in making the managed connection close to the backend system. Please help us in avoiding the problem.
We are using JBoss4.2.0-GA. Please help us. 


We are getting the following exception after getting the response from the backend C++ server. We are not calling the connection.close() explicitly , but JBoss is trying to call the close connection and throwing the below exception.
BELOW IS THE COMPLETE STACKTRACE DURING OUR JCA use.

11:40:24,890 INFO  [CachedConnectionManager] Closing a connection for you.  Please close them yourself: com.ericsson.jca.connector.impl.CSTAConnectionImpl at 134d246
java.lang.Throwable: STACKTRACE
        at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290)
        at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
        at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
        at com.ericsson.jca.connector.impl.CSTAConnectionFactoryImpl.getConnection(CSTAConnectionFactoryImpl.java:55)
        at xlink.ConnectionCreation.getConnection(ConnectionCreation.java:39)
        at xlink.MonitoringServicesServerMessageReceiverInOut.invokeBusinessLogic(MonitoringServicesServerMessageReceiverInOut.java:90)
        at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:144)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:279)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:116)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:595)
11:40:24,890 INFO  [STDOUT] in CSTAConnectionImpl.close-This is Synchronized method
11:40:24,890 INFO  [STDOUT] in CSTAManagedConnection.close-This is synchronized method
11:40:24,890 INFO  [NoTxConnectionManager] Unregistered handle that was not registered! null for managedConnection: com.ericsson.jca.connector.impl.CSTAManagedConnection at 1664f1a
11:40:24,890 INFO  [STDOUT] The application server has placed the connection back to the connection pool



Regards,
Chavali



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130010#4130010

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130010



More information about the jboss-user mailing list