Bitronix Oracle Connection reset

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bitronix Oracle Connection reset

rockall81
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hello,

  When we deployed our application to Linux, we noticed connection reset issue, this does not happen with windows, does anyone know why?

   Application, standard, hibenrate 4.1, spring 3.1, BTM 2.1.3 Web application ORACLE DRIVER 11.2.0.2

   Spring Configuration

    <bean id="xaDS" class="bitronix.tm.resource.jdbc.PoolingDataSource"
                init-method="init" destroy-method="close">
                <property name="className" value="${activiti.database.xaDataSourceClassName}" />
                <property name="uniqueName" value="xaDB" />
                <property name="maxPoolSize" value="5" />
                <property name="acquisitionTimeout" value="60" />
                <property name="acquisitionInterval" value="10" />
               
                <property name="ignoreRecoveryFailures" value="true" />
                <property name="allowLocalTransactions" value="true" />
                <property name="testQuery" value="select * from dual" />
                <property name="driverProperties">
                        <props>
                                <prop key="URL">url</prop>
                                <prop key="user">username</prop>
                                <prop key="password">password</prop>
                        </props>
                </property>
        </bean>

   Error message


Caused by: java.sql.SQLException: unable to get a connection from pool of a PoolingDataSource containing an XAPool of resource xaDB with 1 connection(s) (0 still available)
        at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:262) ~[btm-2.1.3.jar:2.1.3]
        at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111) ~[spring-jdbc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:224) ~[spring-jdbc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at $Proxy55.prepareStatement(Unknown Source) ~[na:na]
        at org.apache.ibatis.executor.statement.PreparedStatementHandler.instantiateStatement(PreparedStatementHandler.java:72) ~[mybatis-3.1.1.jar:3.1.1]
        at org.apache.ibatis.executor.statement.BaseStatementHandler.prepare(BaseStatementHandler.java:82) ~[mybatis-3.1.1.jar:3.1.1]
        at org.apache.ibatis.executor.statement.RoutingStatementHandler.prepare(RoutingStatementHandler.java:54) ~[mybatis-3.1.1.jar:3.1.1]
        at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:70) ~[mybatis-3.1.1.jar:3.1.1]
        at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:56) ~[mybatis-3.1.1.jar:3.1.1]
        at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267) ~[mybatis-3.1.1.jar:3.1.1]
        at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:141) ~[mybatis-3.1.1.jar:3.1.1]
        at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:105) ~[mybatis-3.1.1.jar:3.1.1]
        at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:81) ~[mybatis-3.1.1.jar:3.1.1]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:101) ~[mybatis-3.1.1.jar:3.1.1]
        ... 94 common frames omitted
Caused by: java.sql.SQLException: IO Error: Connection reset
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:428) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:341) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.createPooledObject(XAPool.java:283) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.grow(XAPool.java:391) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getInPool(XAPool.java:371) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:123) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:91) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:258) ~[btm-2.1.3.jar:2.1.3]
        ... 107 common frames omitted
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_21]
        at oracle.net.ns.Packet.receive(Packet.java:283) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.DataPacket.receive(DataPacket.java:103) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]


   
Reply | Threaded
Open this post in threaded view
|

Re: Bitronix Oracle Connection reset

rockall81
This post has NOT been accepted by the mailing list yet.
This post was updated on .
More stack trace attached , please can some one tell me what happened here?

EBUG b.t.r.j.JdbcPooledConnection [+]  - clearing warnings of oracle.jdbc.driver.LogicalConnection@977e69
DEBUG b.t.r.c.AbstractXAStatefulHolder [+]  - state changing from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource actDb in state NOT_ACCESSIBLE with usage count 0 wrapping oracle.jdbc.driver.T4CXAConnection@123fee1
DEBUG b.t.r.c.AbstractXAStatefulHolder [+]  - notifying 2 stateChangeEventListener(s) about state changed from NOT_ACCESSIBLE to IN_POOL in a JdbcPooledConnection from datasource actDb in state IN_POOL with usage count 0 wrapping oracle.jdbc.driver.T4CXAConnection@123fee1
DEBUG b.t.r.j.JdbcPooledConnection [+]  - requeued JDBC connection of a PoolingDataSource containing an XAPool of resource actDb with 1 connection(s) (1 still available)
DEBUG b.t.r.c.XAPool [+]  - a connection's state changed to IN_POOL, notifying a thread eventually waiting for a connection
DEBUG b.t.r.c.DeferredReleaseSynchronization [+]  - DeferredReleaseSynchronization requeued a JdbcPooledConnection from datasource actDb in state IN_POOL with usage count 0 wrapping oracle.jdbc.driver.T4CXAConnection@123fee1
DEBUG o.h.e.j.s.SqlExceptionHelper [+]  - Could not open connection [n/a]
java.sql.SQLException: unable to get a connection from pool of a PoolingDataSource containing an XAPool of resource commonDb with 1 connection(s) (0 still available)
        at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:262) ~[btm-2.1.3.jar:2.1.3]
        at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:67) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:279) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:297) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:169) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.extractPhysicalConnection(ConnectionProxyHandler.java:82) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:138) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at $Proxy88.prepareStatement(Unknown Source) [na:na]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:147) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:166) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:145) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1720) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doQuery(Loader.java:828) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doList(Loader.java:2447) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doList(Loader.java:2433) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2263) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.list(Loader.java:2258) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:196) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1161) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101) [hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:252) [hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
       

        at sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at $Proxy47.getUsers(Unknown Source) [na:na]
        at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at $Proxy85.listUsers(Unknown Source) [na:na]
        at sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at $Proxy86.listUsers(Unknown Source) [na:na]
       
        at sun.reflect.GeneratedMethodAccessor397.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [servlet-api.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147) [spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:na]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina.jar:na]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) [tomcat-coyote.jar:na]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote.jar:na]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote.jar:na]
        at java.lang.Thread.run(Unknown Source) [na:1.6.0_20]
Caused by: java.sql.SQLException: IO Error: Connection reset
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:428) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:341) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.createPooledObject(XAPool.java:283) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.grow(XAPool.java:391) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getInPool(XAPool.java:371) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:123) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:91) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:258) ~[btm-2.1.3.jar:2.1.3]
        ... 108 common frames omitted
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_20]
        at oracle.net.ns.Packet.receive(Packet.java:283) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.DataPacket.receive(DataPacket.java:103) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:230) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NetInputStream.read(NetInputStream.java:175) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NetInputStream.read(NetInputStream.java:100) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.Packet.extractData(Packet.java:423) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.AcceptPacket.<init>(AcceptPacket.java:136) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NSProtocol.connect(NSProtocol.java:312) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1054) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        ... 123 common frames omitted
WARN  o.h.e.j.s.SqlExceptionHelper [+]  - SQL Error: 0, SQLState: null
ERROR o.h.e.j.s.SqlExceptionHelper [+]  - unable to get a connection from pool of a PoolingDataSource containing an XAPool of resource commonDb with 1 connection(s) (0 still available)
DEBUG o.h.e.AbstractEntityManagerImpl [+]  - Mark transaction for rollback
DEBUG b.t.BitronixTransactionManager [+]  - marking transaction as rollback only: a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=ACTIVE, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971)
DEBUG b.t.BitronixTransaction [+]  - changing transaction status to MARKED_ROLLBACK
DEBUG b.t.j.TransactionLogAppender [+]  - between 191661 and 191723, writing a Bitronix TransactionLogRecord with status=MARKED_ROLLBACK, recordLength=54, headerLength=28, time=55220813494, sequenceNumber=2693, crc32=991604306, gtrid=7061756C7354784D67725376630000000CDB6AA60900000423, uniqueNames=
DEBUG b.t.j.TransactionLogAppender [+]  - disk journal appender now at position 191723
DEBUG b.t.BitronixTransaction [+]  - transaction status is changing from ACTIVE to MARKED_ROLLBACK - executing 0 listener(s)
ERROR c.r.o.c.b.d. [+]  - org.hibernate.exception.GenericJDBCException: Could not open connection
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1360) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1288) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:261) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
       

        at sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at $Proxy47.getUsers(Unknown Source) [na:na]
       
        at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at $Proxy85.listUsers(Unknown Source) [na:na]
       
        at sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at $Proxy86.listUsers(Unknown Source) [na:na]
       
        at sun.reflect.GeneratedMethodAccessor397.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [servlet-api.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147) [spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:na]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina.jar:na]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) [tomcat-coyote.jar:na]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote.jar:na]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote.jar:na]
        at java.lang.Thread.run(Unknown Source) [na:1.6.0_20]
Caused by: org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:304) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:169) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.extractPhysicalConnection(ConnectionProxyHandler.java:82) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:138) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at $Proxy88.prepareStatement(Unknown Source) ~[na:na]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:147) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:166) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:145) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1720) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doQuery(Loader.java:828) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doList(Loader.java:2447) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doList(Loader.java:2433) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2263) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.list(Loader.java:2258) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:196) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1161) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:252) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
        ... 84 common frames omitted
Caused by: java.sql.SQLException: unable to get a connection from pool of a PoolingDataSource containing an XAPool of resource commonDb with 1 connection(s) (0 still available)
        at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:262) ~[btm-2.1.3.jar:2.1.3]
        at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:67) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:279) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:297) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        ... 105 common frames omitted
Caused by: java.sql.SQLException: IO Error: Connection reset
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:428) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:341) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.createPooledObject(XAPool.java:283) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.grow(XAPool.java:391) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getInPool(XAPool.java:371) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:123) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:91) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:258) ~[btm-2.1.3.jar:2.1.3]
        ... 108 common frames omitted
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_20]
        at oracle.net.ns.Packet.receive(Packet.java:283) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.DataPacket.receive(DataPacket.java:103) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:230) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NetInputStream.read(NetInputStream.java:175) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NetInputStream.read(NetInputStream.java:100) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.Packet.extractData(Packet.java:423) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.AcceptPacket.<init>(AcceptPacket.java:136) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NSProtocol.connect(NSProtocol.java:312) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1054) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        ... 123 common frames omitted


       
        at sun.reflect.GeneratedMethodAccessor400.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at $Proxy47.getUsers(Unknown Source) [na:na]
       
        at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at $Proxy85.listUsers(Unknown Source) [na:na]
       
        at sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.7.RELEASE.jar:3.0.7.RELEASE]
        at $Proxy86.listUsers(Unknown Source) [na:na]
       
        at sun.reflect.GeneratedMethodAccessor397.invoke(Unknown Source) ~[na:na]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_20]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_20]
        at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) [spring-webmvc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [servlet-api.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:147) [spring-orm-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
       
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:na]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina.jar:na]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) [tomcat-coyote.jar:na]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote.jar:na]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote.jar:na]
        at java.lang.Thread.run(Unknown Source) [na:1.6.0_20]
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1360) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1288) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:261) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
       
        ... 83 common frames omitted
Caused by: org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:304) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:169) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.extractPhysicalConnection(ConnectionProxyHandler.java:82) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:138) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at $Proxy88.prepareStatement(Unknown Source) ~[na:na]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:147) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:166) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:145) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1720) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doQuery(Loader.java:828) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doList(Loader.java:2447) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.doList(Loader.java:2433) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2263) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.Loader.list(Loader.java:2258) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:196) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1161) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:252) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
        ... 84 common frames omitted
Caused by: java.sql.SQLException: unable to get a connection from pool of a PoolingDataSource containing an XAPool of resource commonDb with 1 connection(s) (0 still available)
        at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:262) ~[btm-2.1.3.jar:2.1.3]
        at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:67) ~[hibernate-entitymanager-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:279) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:297) ~[hibernate-core-4.1.1.Final.jar:4.1.1.Final]
        ... 105 common frames omitted
Caused by: java.sql.SQLException: IO Error: Connection reset
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:428) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:341) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.createPooledObject(XAPool.java:283) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.grow(XAPool.java:391) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getInPool(XAPool.java:371) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:123) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:91) ~[btm-2.1.3.jar:2.1.3]
        at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:258) ~[btm-2.1.3.jar:2.1.3]
        ... 108 common frames omitted
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source) ~[na:1.6.0_20]
        at oracle.net.ns.Packet.receive(Packet.java:283) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.DataPacket.receive(DataPacket.java:103) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:230) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NetInputStream.read(NetInputStream.java:175) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NetInputStream.read(NetInputStream.java:100) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.Packet.extractData(Packet.java:423) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.AcceptPacket.<init>(AcceptPacket.java:136) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.net.ns.NSProtocol.connect(NSProtocol.java:312) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1054) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308) ~[ojdbc5-11.2.0.2.jar:11.2.0.2.0]
        ... 123 common frames omitted
DEBUG o.h.e.j.i.p.ConnectionProxyHandler [+]  - HHH000162: *** Logical connection closed ***
DEBUG b.t.BitronixTransactionManager [+]  - committing transaction a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=MARKED_ROLLBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971)
DEBUG b.t.t.TaskScheduler [+]  - cancelling transaction timeout task on a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=MARKED_ROLLBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971)
DEBUG b.t.t.TaskScheduler [+]  - removing task by a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=MARKED_ROLLBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971)
DEBUG b.t.t.TaskScheduler [+]  - cancelled a TransactionTimeoutTask on a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=MARKED_ROLLBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971) scheduled for Sat Oct 02 04:07:47 GMT 1971, total task(s) still queued: 4
DEBUG b.t.BitronixTransaction [+]  - before completion, 2 synchronization(s) to execute
DEBUG b.t.BitronixTransaction [+]  - executing synchronization a ClearContextSynchronization for a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=MARKED_ROLLBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971)
DEBUG b.t.BitronixTransaction [+]  - executing synchronization org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@4dabbb
DEBUG b.t.BitronixTransaction [+]  - transaction marked as rollback only
DEBUG b.t.t.TaskScheduler [+]  - cancelling transaction timeout task on a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=MARKED_ROLLBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971)
DEBUG b.t.t.TaskScheduler [+]  - removing task by a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=MARKED_ROLLBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971)
DEBUG b.t.t.TaskScheduler [+]  - no task found based on object a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=MARKED_ROLLBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971)
DEBUG b.t.BitronixTransaction [+]  - rolling back, 0 enlisted resource(s)
DEBUG b.t.BitronixTransaction [+]  - changing transaction status to ROLLING_BACK
DEBUG b.t.j.TransactionLogAppender [+]  - between 191723 and 191785, writing a Bitronix TransactionLogRecord with status=ROLLING_BACK, recordLength=54, headerLength=28, time=55220813536, sequenceNumber=2694, crc32=-829741972, gtrid=7061756C7354784D67725376630000000CDB6AA60900000423, uniqueNames=
DEBUG b.t.j.TransactionLogAppender [+]  - disk journal appender now at position 191785
DEBUG b.t.BitronixTransaction [+]  - transaction status is changing from MARKED_ROLLBACK to ROLLING_BACK - executing 0 listener(s)
DEBUG b.t.t.AbstractPhaseEngine [+]  - executing phase on 0 resource(s) enlisted in 0 position(s) in reverse position order
DEBUG b.t.t.Rollbacker [+]  - rollback executed on resources []
DEBUG b.t.t.Rollbacker [+]  - rollback succeeded on resources []
DEBUG b.t.BitronixTransaction [+]  - changing transaction status to ROLLEDBACK
DEBUG b.t.j.TransactionLogAppender [+]  - between 191785 and 191847, writing a Bitronix TransactionLogRecord with status=ROLLEDBACK, recordLength=54, headerLength=28, time=55220813537, sequenceNumber=2695, crc32=1839188582, gtrid=7061756C7354784D67725376630000000CDB6AA60900000423, uniqueNames=
DEBUG b.t.j.TransactionLogAppender [+]  - disk journal appender now at position 191847
DEBUG b.t.BitronixTransaction [+]  - transaction status is changing from ROLLING_BACK to ROLLEDBACK - executing 0 listener(s)
DEBUG b.t.BitronixTransaction [+]  - successfully rolled back a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=ROLLEDBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971)
DEBUG b.t.i.XAResourceManager [+]  - clearing XAResourceHolder states on 0 resource(s)
DEBUG b.t.BitronixTransaction [+]  - after completion, 2 synchronization(s) to execute
DEBUG b.t.BitronixTransaction [+]  - executing synchronization org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@4dabbb with status=ROLLEDBACK
DEBUG o.h.e.j.i.LogicalConnectionImpl [+]  - Aggressively releasing JDBC connection
DEBUG b.t.BitronixTransaction [+]  - executing synchronization a ClearContextSynchronization for a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=ROLLEDBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971) with status=ROLLEDBACK
DEBUG b.t.BitronixTransactionManager [+]  - clearing thread context: a ThreadContext with transaction a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AA60900000423], status=ROLLEDBACK, 0 resource(s) enlisted (started Sat Oct 02 04:06:47 GMT 1971), default timeout 60s
DEBUG o.h.e.t.i.TransactionCoordinatorImpl [-]  - Skipping JTA sync registration due to auto join checking
DEBUG o.h.e.t.i.TransactionCoordinatorImpl [-]  - Skipping JTA sync registration due to auto join checking
DEBUG o.h.e.t.i.TransactionCoordinatorImpl [-]  - Skipping JTA sync registration due to auto join checking
DEBUG b.t.BitronixTransactionManager [-]  - beginning a new transaction
DEBUG b.t.BitronixTransactionManager [-]  - dumping 0 transaction context(s)
DEBUG b.t.BitronixTransaction [-]  - creating new transaction with GTRID [7061756C7354784D67725376630000000CDB6AD20F00000428]
DEBUG b.t.BitronixTransactionManager [-]  - creating new thread context
DEBUG b.t.BitronixTransactionManager [-]  - changing current thread context to a ThreadContext with transaction null, default timeout 60s
DEBUG b.t.i.ThreadContext [-]  - assigning  to
DEBUG b.t.BitronixTransaction [-]  - changing transaction status to ACTIVE
DEBUG b.t.j.TransactionLogAppender [-]  - between 191847 and 191909, writing a Bitronix TransactionLogRecord with status=ACTIVE, recordLength=54, headerLength=28, time=55220818447, sequenceNumber=2696, crc32=1637015954, gtrid=7061756C7354784D67725376630000000CDB6AD20F00000428, uniqueNames=
DEBUG b.t.j.TransactionLogAppender [-]  - disk journal appender now at position 191909
DEBUG b.t.BitronixTransaction [-]  - transaction status is changing from NO_TRANSACTION to ACTIVE - executing 0 listener(s)
DEBUG b.t.t.TaskScheduler [-]  - scheduling transaction timeout task on a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AD20F00000428], status=ACTIVE, 0 resource(s) enlisted (started Sat Oct 02 04:06:58 GMT 1971) for Sat Oct 02 04:07:58 GMT 1971
DEBUG b.t.t.TaskScheduler [-]  - removing task by a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AD20F00000428], status=ACTIVE, 0 resource(s) enlisted (started Sat Oct 02 04:06:58 GMT 1971)
DEBUG b.t.t.TaskScheduler [-]  - scheduled a TransactionTimeoutTask on a Bitronix Transaction with GTRID [7061756C7354784D67725376630000000CDB6AD20F00000428], status=ACTIVE, 0 resource(s) enlisted (started Sat Oct 02 04:06:58 GMT 1971) scheduled for Sat Oct 02 04:07:58 GMT 1971, total task(s) queued: 5
DEBUG b.t.BitronixTransactionManager [-]  - begun new transaction at Sat Oct 02 04:06:58 GMT 1971
DEBUG o.a.i.t.m.ManagedTransaction [+]  - Openning JDBC Connection
DEBUG o.a.e.i.p.e.J.selectNextJobsToExecute [+]  - ooo Using Connection [Transaction-aware proxy for target Connection  from DataSource [a PoolingDataSource containing an XAPool of resource activitiDb with 1 connection(s) (1 still available)]]
DEBUG o.a.e.i.p.e.J.selectNextJobsToExecute [+]  - ==>  Preparing: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where (RES.RETRIES_ > 0) and (RES.DUEDATE_ is null or RES.DUEDATE_ < ?) and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < ?) and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) ) a where ROWNUM < ?) where rnum >= ?
DEBUG b.t.r.j.PoolingDataSource [+]  - acquiring connection from a PoolingDataSource containing an XAPool of resource activitiDb with 1 connection(s) (1 still available)
DEBUG b.t.r.c.XAPool [+]  - trying to recycle a NOT_ACCESSIBLE connection of an XAPool of resource activitiDb with 1 connection(s) (1 still available)
DEBUG b.t.r.c.XAPool [+]  - current transaction GTRID is [7061756C7354784D67725376630000000CDB6AD20F00000428]
DEBUG b.t.r.c.XAPool [+]  - no NOT_ACCESSIBLE connection enlisted in this transaction
DEBUG b.t.r.c.XAPool [+]  - getting a IN_POOL connection from an XAPool of resource activitiDb with 1 connection(s) (1 still available)
DEBUG b.t.r.c.XAPool [+]  - waiting for IN_POOL connections count to be > 0, currently is 1
DEBUG b.t.r.c.XAPool [+]  - found IN_POOL connection a JdbcPooledConnection from datasource activitiDb in state IN_POOL with usage count 0 wrapping oracle.jdbc.driver.T4CXAConnection@123fee1 from an XAPool of resource activitiDb with 1 connection(s) (1 still available)
DEBUG b.t.r.j.JdbcPooledConnection [+]  - getting connection handle from a JdbcPooledConnection from datasource activitiDb in state IN_POOL with usage count 0 wrapping oracle.jdbc.driver.T4CXAConnection@123fee1
DEBUG b.t.r.c.AbstractXAStatefulHolder [+]  - notifying 2 stateChangeEventListener(s) about state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource activitiDb in state IN_POOL with usage count 1 wrapping oracle.jdbc.driver.T4CXAConnection@123fee1
DEBUG b.t.r.c.AbstractXAStatefulHolder [+]  - state changing from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource activitiDb in state IN_POOL with usage count 1 wrapping oracle.jdbc.driver.T4CXAConnection@123fee1
DEBUG b.t.r.c.AbstractXAStatefulHolder [+]  - notifying 2 stateChangeEventListener(s) about state changed from IN_POOL to ACCESSIBLE in a JdbcPooledConnection from datasource activitiDb in state ACCESSIBLE with usage count 1 wrapping oracle.jdbc.driver.T4CXAConnection@123fee1
DEBUG b.t.r.j.JdbcPooledConnection [+]  - connection oracle.j