Skip navigation
Currently Being Moderated

Problem with Livecycle ES - Connection failure

May 6, 2008 8:23 AM

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:6 6)
at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILServ ice.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:34 5)
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:6 6)
at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILServ ice.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:34 5)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketTimeoutException: Read timed out

Sincerely
Kim Christensen
 
Replies
  • Currently Being Moderated
    May 6, 2008 10:14 AM   in reply to kc@dafolo.dk
    re-start MySQL (if that is your database).
     
    |
    Mark as:
  • Currently Being Moderated
    Jul 28, 2008 12:39 AM   in reply to kc@dafolo.dk
    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?
     
    |
    Mark as:
  • Currently Being Moderated
    Jul 28, 2008 1:33 AM   in reply to kc@dafolo.dk
    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:6 6)
    at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
    at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILServ ice.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:34 5)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.EOFException
    at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt ream.java:2666)
    at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)
    at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:29 0)
    ... 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:6 6)
    at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
    at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILServ ice.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:34 5)
    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(NotifyingBuff eredInputStream.java:67)
    at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java :2196)
    at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Object InputStream.java:2376)
    at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStre am.java:2443)
    at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream .java:2515)
    at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt ream.java:2664)
    at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)
    at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:29 0)
    ... 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:6 6)
    at org.jboss.mq.Connection.asynchFailure(Connection.java:437)
    at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILServ ice.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:34 5)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.EOFException
    at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt ream.java:2666)
    at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)
    at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:29 0)
    ... 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:6 6)
    at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.ja va: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(JMSCo ntainerInvoker.java:987)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.r un(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:6 6)
    at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.ja va: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(ServiceMBeanSu pport.java:300)
    at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:19 1)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStopDelivery(JMSCo ntainerInvoker.java:998)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.r un(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
     
    |
    Mark as:
  • Currently Being Moderated
    Jan 21, 2009 10:44 AM   in reply to kc@dafolo.dk
    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
     
    |
    Mark as:
  • Currently Being Moderated
    Jan 24, 2010 8:03 PM   in reply to kc@dafolo.dk

    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
     
    |
    Mark as:
  • Currently Being Moderated
    Jan 24, 2010 8:38 PM   in reply to Songvit

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 24, 2010 10:27 PM   in reply to $Nith$

    Hi $Nith$,

     

    Thank you so much for you help, i will checking before & fix it.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2010 6:52 PM   in reply to kc@dafolo.dk

    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</c onnection-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

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 2, 2010 6:15 AM   in reply to eiwah

    Hi all,

     

    You can findhow to connect LC with different data sources. It includes sample xmls and JDBC drivers for MsSql, Oracle and AS400. All tested..

     

    http://muratkuru.com.tr/?p=118

     

    Murat

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)