Highlighted

Problem with Livecycle ES - Connection failure

kc

06-05-2008

Hi all,



I keep getting this error - what does it mean, and what can I do to fix it?



2008-05-06 18:19:12,147 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect

org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.net.SocketTimeoutException: Read timed out)

at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)

at org.jboss.mq.Connection.asynchFailure(Connection.java:437)

at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)

at java.lang.Thread.run(Thread.java:619)

Caused by: java.net.SocketTimeoutException: Read timed out

2008-05-06 18:19:26,065 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:

org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.net.SocketTimeoutException: Read timed out)

at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)

at org.jboss.mq.Connection.asynchFailure(Connection.java:437)

at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)

at java.lang.Thread.run(Thread.java:619)

Caused by: java.net.SocketTimeoutException: Read timed out



Sincerely

Kim Christensen

Replies

Highlighted

kc

06-05-2008

Hi again,



Thanks for your reply, I really appreciate it.



I have tried restarting both MySQL and JBOSS, when it has restarted the error occurs again.



What is the cause of the error, I have never seen this happen before.



Could it have anything to do with an anti virus program blocking something for JBOSS/MySQL?



Sincerely

Kim Christensen
Highlighted

Avatar

Guest

28-07-2008

I have the same problem. the tool is installed on several machines. The problem of connection is published the same day on all these machines and am unable to make disappear.



Someone has a solution?
Highlighted

Avatar

Guest

28-07-2008

Hi !

I Work with BrunoD and We've got 4 differents messages :



##### MESSAGE 1 #####



2008-07-28 00:30:49,472 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:

org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.io.EOFException)

at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)

at org.jboss.mq.Connection.asynchFailure(Connection.java:437)

at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)

at java.lang.Thread.run(Thread.java:595)

Caused by: java.io.EOFException

at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2666)

at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)

... 1 more



2008-07-28 00:45:08,467 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:

org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.net.SocketTimeoutException: Read timed out)

at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)

at org.jboss.mq.Connection.asynchFailure(Connection.java:437)

at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)

at java.lang.Thread.run(Thread.java:595)

Caused by: java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(SocketInputStream.java:129)

at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

at java.io.BufferedInputStream.read(BufferedInputStream.java:235)

at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67)

at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196)

at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2376)

at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2443)

at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2515)

at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2664)

at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)

... 1 more



##### MESSAGE 2 #####



2008-07-28 00:30:49,472 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle th

is error and reconnect

org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.io.EOFException)

at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)

at org.jboss.mq.Connection.asynchFailure(Connection.java:437)

at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:156)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:413)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:345)

at java.lang.Thread.run(Thread.java:595)

Caused by: java.io.EOFException

at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2666)

at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)

at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:290)

... 1 more



##### MESSAGE 3 #####



2008-07-28 00:30:49,481 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could not stop JMS connection

org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - nested throwable: (java.io.IOException: Client is not

connected)

at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)

at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)

at org.jboss.mq.Connection.doStop(Connection.java:1235)

at org.jboss.mq.Connection.stop(Connection.java:696)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:987)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1447)

at java.lang.Thread.run(Thread.java:595)

Caused by: java.io.IOException: Client is not connected

at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238)

at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:206)

at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:197)

at org.jboss.mq.Connection.doStop(Connection.java:1231)

... 4 more



##### MESSAGE 4 #####



2008-07-28 00:30:49,482 WARN [org.jboss.ejb.plugins.jms.DLQHandler] Stopping failed DLQHandler

org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - nested throwable: (java.io.IOException: Client is not

connected)

at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)

at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)

at org.jboss.mq.Connection.doStop(Connection.java:1235)

at org.jboss.mq.Connection.stop(Connection.java:696)

at org.jboss.ejb.plugins.jms.DLQHandler.stopService(DLQHandler.java:177)

at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:300)

at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:191)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSContainerInvoker.java:998)

at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1447)

at java.lang.Thread.run(Thread.java:595)

Caused by: java.io.IOException: Client is not connected

at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238)

at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:206)

at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:197)

at org.jboss.mq.Connection.doStop(Connection.java:1231)

... 7 more



##### #####



We also tried, on support first recomandation to restart both MySQL and JBOSS, but the error occurs again.



I'm not directly the administrator of the machines, but I don't see any change on the same date such like an Anti virus deployment. I don't think it is the explication but we're really disarmed on the subject.

Can somebody help us ?

thanks by advance
Highlighted

johnqdaily

21-01-2009

Kim,



Have you been able to find a fix for this? I am running into the same issue with SQL Server 2005 and JBoss.



Thanks,



John
Highlighted

Songvit

24-01-2010

i have same this problem too.

It write this warnning message every 1 minutes. My LiveCycle ES server is not installed on the same machine with MSSQL Server.

  • 2009-08-11 02:38:54,312 WARN  [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
    org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.)
    at org.jboss.mq.Connection$PingTask.run(Connection.java:1325)
    at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.IOException: ping timeout.
    ... 3 more
  • 2009-08-11 02:39:54,321 WARN  [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
    org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.)
    at org.jboss.mq.Connection$PingTask.run(Connection.java:1325)
    at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.IOException: ping timeout.
    ... 3 more
  • 2009-08-11 02:40:54,360 WARN  [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
    org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.)
    at org.jboss.mq.Connection$PingTask.run(Connection.java:1325)
    at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.IOException: ping timeout.
    ... 3 more
  • 2009-08-11 02:41:54,368 WARN  [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
    org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.)
    at org.jboss.mq.Connection$PingTask.run(Connection.java:1325)
    at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.IOException: ping timeout.
    ... 3 more
  • 2009-08-11 02:42:54,377 WARN  [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
    org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.)
    at org.jboss.mq.Connection$PingTask.run(Connection.java:1325)
    at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.IOException: ping timeout.
    ... 3 more
Highlighted

_Nith_

24-01-2010

This usually happens due to improper JMS Configuration.

I have attached the installation guide in this post. See page 63 of the document (Configuring JMS with Microsoft SQL Server for JBoss  version SP1)

Note: Depending on your JBoss version, you need to configure the JMS data source.

Good Luck!

Nith

Highlighted

eiwah

24-08-2010

I got that error also .When i encrypted the password for DB and changed at mssql-ds.xml file like that.


<datasources>
  <local-tx-datasource>
    <jndi-name>DefaultDS</jndi-name>
    <connection-url>jdbc:sqlserver://dbserver:1433;DatabaseName=dbname</connection-url>

<!--Replace with security domain below -->
   
    <security-domain>EncryptDBPassword</security-domain>

        <!-- sql to call when connection is created
        <new-connection-sql>some arbitrary sql</new-connection-sql>
        -->

        <!-- sql to call on an existing pooled connection when it is obtained from pool
        <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
        -->

      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
      <metadata>
         <type-mapping>MS SQLSERVER2000</type-mapping>
      </metadata>
  </local-tx-datasource>
</datasources>

and then i got error for

1.      [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected:

2.

      [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' …

That why I got error

[org.jboss.security.auth.spi.UsersRolesLoginModule] Failed to load users/passwords/role files

Do you all have any suggestion to solve those case?

Thanks