Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-402

In certain situations createQueueConnection can hang

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.3.0.GA
    • None
    • System
    • None
    • Release Notes

      Under certain conditions in JBoss Remoting an infinite loop can occur which causes createQueueConnection to hang.

      [junit] "main" prio=1 tid=0x000000004011a5e0 nid=0x33b9 runnable [0x00007fff3c82b000..0x00007fff3c82d280]
      [junit] at java.net.SocketInputStream.socketRead0(Native Method)
      [junit] at java.net.SocketInputStream.read(SocketInputStream.java:129)
      [junit] at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      [junit] at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
      [junit] - locked <0x00002b467be64b60> (a java.io.BufferedInputStream)
      [junit] at java.io.FilterInputStream.read(FilterInputStream.java:66)
      [junit] at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.readVersion(MicroSocketClientInvoker.java:1000)
      [junit] at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:574)
      [junit] at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:413)
      [junit] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
      [junit] at org.jboss.remoting.Client.invoke(Client.java:1634)
      [junit] at org.jboss.remoting.Client.invoke(Client.java:548)
      [junit] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:167)
      [junit] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
      [junit] at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:83)
      [junit] at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
      [junit] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
      [junit] at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
      [junit] at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
      [junit] at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
      [junit] at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
      [junit] at org.jboss.ejb3.test.strictpool.unit.StrictPoolUnitTestCase.testMessageDriven(StrictPoolUnitTestCase.java:87)

        1. thread-dump.log
          131 kB
        2. jboss-remoting.jar
          838 kB
        3. jboss-remoting.jar
          839 kB
        4. jboss-remoting.jar
          838 kB
        5. dump.log
          115 kB
        6. BisocketClientInvoker.java
          20 kB

              rsigal@redhat.com Ronald Sigal
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: