3 Replies Latest reply on Sep 11, 2014 6:23 AM by Kuldeep Sharma

    jboss hang

    Neetha Lokanath Newbie

      hello All,

       

      Our jboss application is going in hung state for every 2 hour or so. when check the logs we found the below error everytime. But the connection is not encrypted between jboss and DB and SSL is not enable here. Still we are not able to figure why the below error. Can anybody pls help

       

      014-09-09 09:19:55,797 ERROR (203.117.206.147:93904) [com.apc.rms.rmdevlink.APCRMDevLinkBean] A client has disconnected before processing was complete.

      2014-09-09 09:19:57,435 ERROR () [com.apc.rms.ejb.facade.AssetFacadeBean] Cannot open connection

      org.hibernate.exception.GenericJDBCException: Cannot open connection

        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)

        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)

        at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)

        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)

        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)

        at org.hibernate.loader.Loader.doQuery(Loader.java:673)

        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)

        at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)

        at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)

        at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)

        at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3049)

        at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:399)

        at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)

        at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)

        at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:98)

        at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)

        at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:836)

        at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:66)

        at org.hibernate.Hibernate.initialize(Hibernate.java:306)

        at com.apc.rms.dao.impl.AssetDaoImpl.getAssetWithData(AssetDaoImpl.java:243)

        at com.apc.rms.ejb.facade.AssetFacadeBean.getAssetWithData(AssetFacadeBean.java:550)

        at sun.reflect.GeneratedMethodAccessor530.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

        at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

        at com.apc.rms.ejb.interceptor.CurrentContextInterceptor.injectMap(CurrentContextInterceptor.java:43)

        at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

        at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

        at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)

        at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:115)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

        at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)

        at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)

        at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)

        at com.sun.proxy.$Proxy90.getAssetWithData(Unknown Source)

        at com.apc.rms.web.zk.EmailsWorker.build(EmailsWorker.java:61)

        at com.apc.rms.web.zk.EmailsWorker.run(EmailsWorker.java:155)

      Caused by: org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".))

        at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)

        at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)

        ... 58 more

      Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".)

        at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:190)

        at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:619)

        at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:264)

        at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:613)

        at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347)

        at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330)

        at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)

        at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)

        at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)

        ... 60 more

      Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1368)

        at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1412)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1058)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:833)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:716)

        at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:841)

        at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:172)

        ... 68 more

      Caused by: java.io.IOException: Connection reset by peer: socket write error

        at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload(IOBuffer.java:500)

        at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.readInternal(IOBuffer.java:570)

        at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.read(IOBuffer.java:562)

        at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.readInternal(IOBuffer.java:757)

        at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.read(IOBuffer.java:745)

        at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422)

        at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)

        at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1379)

        ... 73 more

      2014-09-09 09:19:57,544 ERROR () [com.apc.rms.web.zk.EmailsWorker] org.hibernate.exception.GenericJDBCException: Cannot open connection

      javax.ejb.EJBException: org.hibernate.exception.GenericJDBCException: Cannot open connection

        at com.apc.rms.ejb.facade.AssetFacadeBean.getAssetWithData(AssetFacadeBean.java:553)

        at sun.reflect.GeneratedMethodAccessor530.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

        at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

        at com.apc.rms.ejb.interceptor.CurrentContextInterceptor.injectMap(CurrentContextInterceptor.java:43)

        at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

        at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

        at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)

        at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:115)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

        at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

        at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)

        at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)

        at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)

        at com.sun.proxy.$Proxy90.getAssetWithData(Unknown Source)

        at com.apc.rms.web.zk.EmailsWorker.build(EmailsWorker.java:61)

        at com.apc.rms.web.zk.EmailsWorker.run(EmailsWorker.java:155)

      Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection

        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)

        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)

        at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)

        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)

        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)

        at org.hibernate.loader.Loader.doQuery(Loader.java:673)

        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)

        at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)

        at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)

        at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)

        at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3049)

        at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:399)

        at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)

        at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)

        at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:98)

        at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)

        at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:836)

        at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:66)

        at org.hibernate.Hibernate.initialize(Hibernate.java:306)

        at com.apc.rms.dao.impl.AssetDaoImpl.getAssetWithData(AssetDaoImpl.java:243)

        at com.apc.rms.ejb.facade.AssetFacadeBean.getAssetWithData(AssetFacadeBean.java:550)

        ... 39 more

      Caused by: org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".))

        at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)

        at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)

        ... 58 more

      Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".)

        at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:190)

        at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:619)

        at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:264)

        at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:613)

        at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:347)

        at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330)

        at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:402)

        at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)

        at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)

        ... 60 more

      Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1368)

        at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1412)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1058)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:833)

        at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:716)

        at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:841)

        at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:172)

        ... 68 more

      Caused by: java.io.IOException: Connection reset by peer: socket write error

        at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload(IOBuffer.java:500)

        at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.readInternal(IOBuffer.java:570)

        at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.read(IOBuffer.java:562)

        at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.readInternal(IOBuffer.java:757)

        at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.read(IOBuffer.java:745)

        at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422)

        at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199)

        at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1379)

        • 1. Re: jboss hang
          Kuldeep Sharma Novice

          It seems issue with DB connections. Try to tune your DB pool settings and make sure that your application is closing unused connections.

           

          Thanks!!

          • 2. Re: jboss hang
            Neetha Lokanath Newbie

            thank u kuldeep.

            but we have the below settings for dB.

             

            <connection-property name="sendStringParametersAsUnicode">true</connection-property>

                <connection-property name="useUnicode">true</connection-property>

                <connection-property name="characterEncoding">UTF-8</connection-property>

                <transaction-isolation>TRANSACTION_READ_UNCOMMITTED</transaction-isolation>

                <min-pool-size>20</min-pool-size>

                <max-pool-size>500</max-pool-size>

             

            we tried changing the max pool size 1000. Even then no use.

             

            our connection for app to DB is not ssl enabled. so we donno why the SSL issue is coming up

            • 3. Re: jboss hang
              Kuldeep Sharma Novice

              During the issue Please check your pool statistics using :

               

              /subsystem=datasources/data-source=DS_NAME/statistics=pool:read-resource(include-runtime=true)

              There are few things that you need to check:

              1.) How many concurrent users are using application.

              2.) Have you verified that application is closing unused connections?

               

              Regarding SSL error, I think its from your SQL drivers which have inbuilt SSL encryption enabled while trying to connection to Server. Nothing to worry about this.

               

              Thanks!!