0 Replies Latest reply on Jan 16, 2017 5:28 AM by Saurabh Patel

    CachedConnectionManager.closeConnection is taking time

    Saurabh Patel Newbie

      During performance testing of the Application,I have found that CachedConnectionManager.closeConnection is taking more time than other methods.I am using JMC(Java Mission Control) for analysis and Jboss version is 6.x.Please help to find out the reason.

      Here is the full stack-trace:

       

       

      org.jboss.logmanager.handlers.WriterHandler.doPublish(ExtLogRecord)

      org.jboss.logmanager.ExtHandler.publish(LogRecord)

      org.jboss.logmanager.LoggerNode.publish(ExtLogRecord)

      org.jboss.logmanager.LoggerNode.publish(ExtLogRecord)

      org.jboss.logmanager.LoggerNode.publish(ExtLogRecord)

      org.jboss.logmanager.LoggerNode.publish(ExtLogRecord)

      org.jboss.logmanager.LoggerNode.publish(ExtLogRecord)

      org.jboss.logmanager.LoggerNode.publish(ExtLogRecord)

      org.jboss.logmanager.Logger.logRaw(ExtLogRecord)

      org.jboss.logmanager.Logger.log(String, Level, String, ExtLogRecord$FormatStyle, Object[], Throwable)

      org.jboss.logmanager.Logger.log(String, Level, String, Throwable)

      org.jboss.logging.JBossLogManagerLogger.doLog(Logger$Level, String, Object, Object[], Throwable)

      org.jboss.logging.Logger.info(Object, Throwable)

      org.jboss.resource.connectionmanager.CachedConnectionManager.closeConnection(Object)

      org.jboss.resource.connectionmanager.CachedConnectionManager.access$000(CachedConnectionManager, Object)

      org.jboss.resource.connectionmanager.CachedConnectionManager$CloseConnectionSynchronization.afterCompletion(int)

      org.jboss.resource.connectionmanager.TransactionSynchronizer.invokeAfter(Synchronization, int)

      org.jboss.resource.connectionmanager.TransactionSynchronizer.afterCompletion(int)

      com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(int)

      com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(int)

      com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(boolean)

      com.arjuna.ats.arjuna.AtomicAction.commit(boolean)

      com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate()

      com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit()

      com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit()

      org.jboss.ejb3.tx2.impl.CMTTxInterceptor.endTransaction(TransactionManager, Transaction)

      org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(TransactionalInvocationContext, TransactionManager)

      org.jboss.ejb3.tx2.impl.CMTTxInterceptor.required(TransactionalInvocationContext)

      org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invoke(TransactionalInvocationContext)

      org.jboss.ejb3.tx2.aop.CMTTxInterceptorWrapper.invoke(Invocation)