Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 9.1pe
    • Fix Version/s: 4.0_b61
    • Component/s: jms
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,429
    • Status Whiteboard:
      Hide

      v2.1.1_exclude

      Show
      v2.1.1_exclude

      Description

      This appears to be a bug. Even when the connection is closed, there appears to
      be an active MQ client daemon thread which prevents the VM from exiting. Could
      you file a GlassFish issue? We shall investigate this further.

      > "Timer-0" daemon prio=1 tid=0x09b4b328 nid=0x622f in Object.wait()
      [0xa72f8000..0xa72f8f30]
      > at java.lang.Object.wait(Native Method)
      > - waiting on <0xaa780068> (a java.util.TaskQueue)
      > at java.util.TimerThread.mainLoop(Timer.java:509)
      > - locked <0xaa780068> (a java.util.TaskQueue)
      > at java.util.TimerThread.run(Timer.java:462)
      >
      > "iMQReadChannel-1" prio=1 tid=0x09b450d0 nid=0x622e runnable
      [0xa7379000..0xa7379eb0]
      > 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.read1(BufferedInputStream.java:256)
      > at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
      > - locked <0xaae3dfe8> (a java.io.BufferedInputStream)
      > at
      com.sun.messaging.jmq.io.ReadOnlyPacket.readFully(ReadOnlyPacket.java:263)
      > at
      com.sun.messaging.jmq.io.ReadOnlyPacket.readFixedHeader(ReadOnlyPacket.java:183)
      > at
      com.sun.messaging.jmq.io.ReadOnlyPacket.readPacket(ReadOnlyPacket.java:143)
      > at
      com.sun.messaging.jmq.io.ReadWritePacket.readPacket(ReadWritePacket.java:73)
      > - locked <0xaa73e1f8> (a com.sun.messaging.jmq.io.ReadWritePacket)
      > at
      com.sun.messaging.jmq.jmsclient.ProtocolHandler.readPacket(ProtocolHandler.java:1719)
      > at com.sun.messaging.jmq.jmsclient.ReadChannel.run(ReadChannel.java:1139)
      > at java.lang.Thread.run(Thread.java:595)
      >
      > "imqConnectionFlowControl-1" prio=1 tid=0x09b44c40 nid=0x622d in Object.wait()
      [0xa73fa000..0xa73fae30]
      > at java.lang.Object.wait(Native Method)
      > - waiting on <0xaae3e110> (a com.sun.messaging.jmq.jmsclient.FlowControl)
      > at com.sun.messaging.jmq.jmsclient.FlowControl.run(FlowControl.java:290)
      > - locked <0xaae3e110> (a com.sun.messaging.jmq.jmsclient.FlowControl)
      > at java.lang.Thread.run(Thread.java:595)

      Thanks
      --Siva.

        Activity

        Hide
        jicai.liu added a comment - - edited

        When i set the property "jms.jmsra.inAcc" with the value "false",it works well~
        note: in version 2

        Show
        jicai.liu added a comment - - edited When i set the property "jms.jmsra.inAcc" with the value "false",it works well~ note: in version 2
        Hide
        jthoennes added a comment -

        In reply to comment #11:
        > When i set the property "jms.jmsra.inAcc" with the value "false",it works well~

        I guess you mean "imq.jmsra.inAcc"? Shall I set this as a system property as in:

        java -Dimq.jmsra.inAcc=false
        

        Were are these system properties documented?

        Show
        jthoennes added a comment - In reply to comment #11: > When i set the property "jms.jmsra.inAcc" with the value "false",it works well~ I guess you mean "imq.jmsra.inAcc"? Shall I set this as a system property as in: java -Dimq.jmsra.inAcc= false Were are these system properties documented?
        Hide
        claus_list added a comment - - edited

        java -Dimq.jmsra.inAcc=false

        Works on my consumer but not on the producer. (same setup standalone clients according to the tutorial)

        Does not work for me. Is there another system property ?

        Show
        claus_list added a comment - - edited java -Dimq.jmsra.inAcc=false Works on my consumer but not on the producer. (same setup standalone clients according to the tutorial) Does not work for me. Is there another system property ?
        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.
        Hide
        David Zhao added a comment -

        Fixed.

        Show
        David Zhao added a comment - Fixed.

          People

          • Assignee:
            David Zhao
            Reporter:
            oleksiys
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: