2 Replies Latest reply on Jul 18, 2005 3:52 AM by palob

    Remote messaging fails with EXCEPTION_ACCESS_VIOLATION

    palob

      I have two JBosses running on two machines. They are configured in way one uses messaging on other machine (no application is running there).

      After some time of running at least one of JBosses fails. This failure also happens nearly every time I stop JBoss with runnnig application by pressing CTR+C.

      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77F
      85C41
      Function=RtlpWaitForCriticalSection+0x60
      Library=C:\WINNT\System32\ntdll.dll
      
      Current Java thread:
       at java.net.SocketInputStream.socketRead0(Native Method)
       at java.net.SocketInputStream.read(SocketInputStream.java:129)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
       - locked <0x11c341d8> (a org.jboss.util.stream.NotifyingBufferedInputStr
      eam)
       at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBuff
      eredInputStream.java:67)
       at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java
      :2133)
       at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Object
      InputStream.java:2313)
       at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStre
      am.java:2380)
       at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream
      .java:2452)
       at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputSt
      ream.java:2601)
       at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
       at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:28
      1)
       at java.lang.Thread.run(Thread.java:534)
      
      Dynamic libraries:
      0x00400000 - 0x00406000 c:\win32app\java\j2sdk1.4.2\bin\java.exe
      0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
      0x77DB0000 - 0x77E0D000 C:\WINNT\system32\ADVAPI32.dll
      0x77E80000 - 0x77F36000 C:\WINNT\system32\KERNEL32.DLL
      0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
      0x002D0000 - 0x002F1000 C:\Program Files\Webroot\Spy Sweeper\sis.dll
      0x77E10000 - 0x77E75000 C:\WINNT\system32\user32.dll
      0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
      0x779B0000 - 0x77A4B000 C:\WINNT\system32\oleaut32.dll
      0x77A50000 - 0x77B45000 C:\WINNT\system32\ole32.dll
      0x08000000 - 0x08136000 c:\win32app\java\j2sdk1.4.2\jre\bin\client\jvm.d
      ll
      0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
      0x6BD00000 - 0x6BD0D000 C:\WINNT\System32\SYNCOR11.DLL
      0x10000000 - 0x10007000 c:\win32app\java\j2sdk1.4.2\jre\bin\hpi.dll
      0x00D50000 - 0x00D5E000 c:\win32app\java\j2sdk1.4.2\jre\bin\verify.dll
      0x00D60000 - 0x00D78000 c:\win32app\java\j2sdk1.4.2\jre\bin\java.dll
      0x00D80000 - 0x00D8D000 c:\win32app\java\j2sdk1.4.2\jre\bin\zip.dll
      0x184B0000 - 0x184BF000 C:\win32app\java\j2sdk1.4.2\jre\bin\net.dll
      0x75030000 - 0x75043000 C:\WINNT\System32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WINNT\System32\WS2HELP.DLL
      0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll
      0x77980000 - 0x779A4000 C:\WINNT\System32\DNSAPI.DLL
      0x75050000 - 0x75058000 C:\WINNT\System32\WSOCK32.DLL
      0x77340000 - 0x77353000 C:\WINNT\System32\iphlpapi.dll
      0x77520000 - 0x77525000 C:\WINNT\System32\ICMP.DLL
      0x77320000 - 0x77337000 C:\WINNT\System32\MPRAPI.DLL
      0x75150000 - 0x75160000 C:\WINNT\System32\SAMLIB.DLL
      0x75170000 - 0x751BF000 C:\WINNT\System32\NETAPI32.DLL
      0x77BE0000 - 0x77BEF000 C:\WINNT\System32\SECUR32.DLL
      0x751C0000 - 0x751C6000 C:\WINNT\System32\NETRAP.DLL
      0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL
      0x773B0000 - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL
      0x77380000 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL
      0x77830000 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL
      0x77880000 - 0x7790D000 C:\WINNT\System32\SETUPAPI.DLL
      0x77C10000 - 0x77C6E000 C:\WINNT\System32\USERENV.DLL
      0x774E0000 - 0x77512000 C:\WINNT\System32\RASAPI32.DLL
      0x774C0000 - 0x774D1000 C:\WINNT\System32\RASMAN.DLL
      0x77530000 - 0x77552000 C:\WINNT\System32\TAPI32.DLL
      0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
      0x70BD0000 - 0x70C35000 C:\WINNT\system32\SHLWAPI.DLL
      0x77360000 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL
      0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
      0x777F0000 - 0x777F5000 C:\WINNT\System32\rasadhlp.dll
      0x20B00000 - 0x20B3F000 C:\WINNT\System32\imon.dll
      0x69BF0000 - 0x69C0D000 C:\WINNT\System32\NTMARTA.DLL
      0x77800000 - 0x7781E000 C:\WINNT\System32\WINSPOOL.DRV
      0x76620000 - 0x76630000 C:\WINNT\system32\MPR.DLL
      0x77BF0000 - 0x77C01000 C:\WINNT\System32\NTDSAPI.dll
      0x74FD0000 - 0x74FED000 C:\WINNT\system32\msafd.dll
      0x68590000 - 0x685A6000 C:\WINNT\system32\rsvpsp.dll
      0x68C40000 - 0x68C49000 C:\WINNT\System32\RAPILIB.dll
      0x2C700000 - 0x2C716000 C:\WINNT\system32\nutafun4.dll
      0x2C500000 - 0x2C519000 C:\WINNT\System32\nutmsg4.dll
      0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
      0x194B0000 - 0x194B8000 C:\win32app\java\j2sdk1.4.2\jre\bin\nio.dll
      0x19790000 - 0x19795000 C:\win32app\java\j2sdk1.4.2\jre\bin\rmi.dll
      0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
      0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
      0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL
      
      Heap at VM Abort:
      Heap
       def new generation total 3968K, used 634K [0x10010000, 0x10450000, 0x104f0000
      )
       eden space 3584K, 12% used [0x10010000, 0x10082778, 0x10390000)
       from space 384K, 46% used [0x10390000, 0x103bc398, 0x103f0000)
       to space 384K, 0% used [0x103f0000, 0x103f0000, 0x10450000)
       tenured generation total 51836K, used 29100K [0x104f0000, 0x1378f000, 0x14010
      000)
       the space 51836K, 56% used [0x104f0000, 0x1215b330, 0x1215b400, 0x1378f000)
       compacting perm gen total 16384K, used 16235K [0x14010000, 0x15010000, 0x18010
      000)
       the space 16384K, 99% used [0x14010000, 0x14feae68, 0x14feb000, 0x15010000)
      
      Local Time = Fri Jul 15 15:35:46 2005
      Elapsed Time = 1733
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
      #
      # An error report file has been saved as hs_err_pid2528.log.
      # Please refer to the file for further information.
      #
      


      Error happening after CTRL+C follows (it is similar and I am posting it only with hope it might help to find what problem is, I am sorry for another long print-out):
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77f92373, pid=3724, tid=3136
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode, sharing)
      # Problematic frame:
      # C [ntdll.dll+0x12373]
      #
      
      --------------- T H R E A D ---------------
      
      Current thread (0x04bac260): JavaThread "UIL2.SocketManager.ReadTask#1 client=10.240.101.136:8093" daemon [_thread_in_native, id=3136]
      
      siginfo: ExceptionCode=0xc0000005, writing address 0x00000010
      
      Registers:
      EAX=0x00000000, EBX=0x00000000, ECX=0x03a8b77c, EDX=0x00001344
      ESP=0x05a2f0f0, EBP=0x05a2f150, ESI=0x03a8b76c, EDI=0x00000000
      EIP=0x77f92373, EFLAGS=0x00010246
      
      Top of Stack: (sp=0x05a2f0f0)
      0x05a2f0f0: 03a53f10 00000000 00000000 74fd160d
      0x05a2f100: 00001428 00001324 00000002 00000001
      0x05a2f110: 05a2f200 05a2f20c 00000001 00000800
      0x05a2f120: 05a2f1b0 00087dc0 00001428 05a2f1b0
      0x05a2f130: 05a2f1e8 00000001 00000000 00000020
      0x05a2f140: 00000000 00000000 00000000 00000000
      0x05a2f150: 05a2f1e8 77f922f8 03a8b700 20b0447e
      0x05a2f160: 03a8b76c 05a2f200 00000000 05a2f1e8
      
      Instructions: (pc=0x77f92373)
      0x77f92363: fd 77 39 5e 10 89 45 fc 0f 84 82 12 00 00 8b 06
      0x77f92373: ff 40 10 ff 75 fc 8b 06 ff 40 14 53 ff 76 10 e8
      
      
      Stack: [0x059f0000,0x05a30000), sp=0x05a2f0f0, free space=252k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [ntdll.dll+0x12373]
      C [ntdll.dll+0x122f8]
      
      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I
      J java.net.SocketInputStream.read([BII)I
      J java.io.BufferedInputStream.fill()V
      J java.io.BufferedInputStream.read()I
      J org.jboss.util.stream.NotifyingBufferedInputStream.read()I
      J java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(Z)I
      J java.io.ObjectInputStream$BlockDataInputStream.refill()V
      J java.io.ObjectInputStream$BlockDataInputStream.read()I
      J java.io.ObjectInputStream.readByte()B
      j org.jboss.mq.il.uil2.SocketManager$ReadTask.run()V+104
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub
      
      --------------- P R O C E S S ---------------
      
      Java Threads: ( => current thread )
       0x042718d0 JavaThread "JBoss Shutdown Hook" daemon [_thread_blocked, id=3100]
       0x03465078 JavaThread "SIGINT handler" daemon [_thread_blocked, id=744]
       0x041af678 JavaThread "Thread-56" daemon [_thread_blocked, id=2460]
       0x041ac0a8 JavaThread "UIL2.SocketManager.WriteTask#36 client=10.240.101.136:8093" daemon [_thread_blocked, id=2988]
       0x03647c50 JavaThread "UIL2.SocketManager.ReadTask#35 client=10.240.101.136:8093" daemon [_thread_in_native, id=2912]
       0x041ac4e0 JavaThread "Thread-55" daemon [_thread_blocked, id=2756]
       0x041aaab8 JavaThread "UIL2.SocketManager.WriteTask#34 client=10.240.101.136:8093" daemon [_thread_blocked, id=1228]
       0x041a9fe8 JavaThread "UIL2.SocketManager.ReadTask#33 client=10.240.101.136:8093" daemon [_thread_in_native, id=2408]
       0x041cb008 JavaThread "Thread-54" daemon [_thread_blocked, id=2096]
       0x041b90b0 JavaThread "UIL2.SocketManager.WriteTask#32 client=10.240.101.136:8093" daemon [_thread_blocked, id=1908]
       0x041b9d38 JavaThread "UIL2.SocketManager.ReadTask#31 client=10.240.101.136:8093" daemon [_thread_in_native, id=2572]
       0x041cca78 JavaThread "Thread-53" daemon [_thread_blocked, id=2920]
       0x041cbc40 JavaThread "UIL2.SocketManager.WriteTask#30 client=10.240.101.136:8093" daemon [_thread_blocked, id=564]
       0x041d2b68 JavaThread "UIL2.SocketManager.ReadTask#29 client=10.240.101.136:8093" daemon [_thread_in_native, id=2924]
       0x04264c90 JavaThread "Thread-52" daemon [_thread_blocked, id=1692]
       0x041cddf0 JavaThread "Thread-51" daemon [_thread_blocked, id=2424]
       0x0492c2a0 JavaThread "UIL2.SocketManager.WriteTask#28 client=10.240.101.136:8093" daemon [_thread_blocked, id=2080]
       0x0492f6a0 JavaThread "UIL2.SocketManager.ReadTask#25 client=10.240.101.136:8093" daemon [_thread_in_native, id=656]
       0x0492ead8 JavaThread "UIL2.SocketManager.WriteTask#27 client=10.240.101.136:8093" daemon [_thread_blocked, id=3108]
       0x04a5dd18 JavaThread "UIL2.SocketManager.ReadTask#26 client=10.240.101.136:8093" daemon [_thread_in_native, id=1152]
       0x04a75008 JavaThread "Thread-50" daemon [_thread_blocked, id=3736]
       0x0492a848 JavaThread "UIL2.SocketManager.WriteTask#24 client=10.240.101.136:8093" daemon [_thread_blocked, id=2484]
       0x0492a5a0 JavaThread "UIL2.SocketManager.ReadTask#23 client=10.240.101.136:8093" daemon [_thread_in_native, id=2532]
       0x0492ba70 JavaThread "Thread-49" daemon [_thread_blocked, id=916]
       0x04928348 JavaThread "Thread-48" daemon [_thread_blocked, id=2384]
       0x04bf64b0 JavaThread "UIL2.SocketManager.WriteTask#22 client=10.240.101.136:8093" daemon [_thread_blocked, id=1332]
       0x04bf6328 JavaThread "UIL2.SocketManager.ReadTask#21 client=10.240.101.136:8093" daemon [_thread_in_native, id=3076]
       0x0428ad30 JavaThread "Thread-47" daemon [_thread_blocked, id=3340]
       0x042892b0 JavaThread "UIL2.SocketManager.WriteTask#20 client=10.240.101.136:8093" daemon [_thread_blocked, id=2960]
       0x04bf9000 JavaThread "UIL2.SocketManager.ReadTask#19 client=10.240.101.136:8093" daemon [_thread_in_native, id=1880]
       0x04bf7820 JavaThread "UIL2.SocketManager.WriteTask#18 client=10.240.101.136:8093" daemon [_thread_blocked, id=3536]
       0x041bd440 JavaThread "UIL2.SocketManager.ReadTask#17 client=10.240.101.136:8093" daemon [_thread_in_native, id=3468]
       0x041bc5b0 JavaThread "Thread-46" daemon [_thread_blocked, id=724]
       0x04bbc830 JavaThread "UIL2.SocketManager.WriteTask#16 client=10.240.101.136:8093" daemon [_thread_blocked, id=920]
       0x04bbc620 JavaThread "UIL2.SocketManager.ReadTask#15 client=10.240.101.136:8093" daemon [_thread_in_native, id=2488]
       0x033bbb18 JavaThread "JMS SessionPool Worker-13" [_thread_blocked, id=3184]
       0x033bb048 JavaThread "JMS SessionPool Worker-12" [_thread_blocked, id=2724]
       0x035dec68 JavaThread "JMS SessionPool Worker-11" [_thread_blocked, id=2976]
       0x035dd9e0 JavaThread "JMS SessionPool Worker-10" [_thread_blocked, id=3480]
       0x035dd628 JavaThread "JMS SessionPool Worker-9" [_thread_blocked, id=3064]
       0x035dc2a8 JavaThread "JMS SessionPool Worker-8" [_thread_blocked, id=1024]
       0x03436a68 JavaThread "JMS SessionPool Worker-3" [_thread_blocked, id=2644]
       0x03434c68 JavaThread "JMS SessionPool Worker-2" [_thread_blocked, id=1596]
       0x03434228 JavaThread "JMS SessionPool Worker-1" [_thread_blocked, id=664]
       0x041bbc40 JavaThread "Thread-45" daemon [_thread_blocked, id=1836]
       0x041f35b8 JavaThread "UIL2.SocketManager.WriteTask#14 client=10.240.101.136:8093" daemon [_thread_blocked, id=3024]
       0x041f3430 JavaThread "UIL2.SocketManager.ReadTask#13 client=10.240.101.136:8093" daemon [_thread_in_native, id=3120]
       0x041f3bb0 JavaThread "RMI ConnectionExpiration-[10.240.101.136:1098]" daemon [_thread_blocked, id=728]
       0x04277970 JavaThread "RMI RenewClean-[10.240.101.136:1098]" daemon [_thread_blocked, id=2500]
       0x04bf5b20 JavaThread "RMI ConnectionExpiration-[10.240.101.172:4348]" daemon [_thread_blocked, id=3056]
       0x042879a0 JavaThread "RMI RenewClean-[10.240.101.172:4348]" daemon [_thread_blocked, id=600]
       0x04287818 JavaThread "RMI TCP Connection(2)-10.240.101.172" daemon [_thread_in_native, id=1576]
       0x041a7ce0 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=3636]
       0x041a7b58 JavaThread "RMI TCP Connection(1)-10.240.101.172" daemon [_thread_in_native, id=2568]
       0x03e85dd8 JavaThread "JBoss System Threads(1)-2" daemon [_thread_blocked, id=2032]
       0x0338d850 JavaThread "Thread-44" [_thread_blocked, id=3296]
       0x04cc01d0 JavaThread "TP-Monitor" daemon [_thread_blocked, id=2364]
       0x04c52598 JavaThread "TP-Processor4" daemon [_thread_in_native, id=3436]
       0x04c52008 JavaThread "TP-Processor3" daemon [_thread_blocked, id=3484]
       0x04c52cd8 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2092]
       0x04ca6d78 JavaThread "TP-Processor1" daemon [_thread_blocked, id=2964]
       0x04c9d570 JavaThread "http-0.0.0.0-8080-Monitor" [_thread_blocked, id=3432]
       0x04d20da8 JavaThread "http-0.0.0.0-8080-Processor25" daemon [_thread_in_native, id=3744]
       0x04d201b0 JavaThread "http-0.0.0.0-8080-Processor24" daemon [_thread_blocked, id=2456]
       0x04d1f510 JavaThread "http-0.0.0.0-8080-Processor23" daemon [_thread_blocked, id=2804]
       0x04d1e918 JavaThread "http-0.0.0.0-8080-Processor22" daemon [_thread_blocked, id=3528]
       0x04d1ddc8 JavaThread "http-0.0.0.0-8080-Processor21" daemon [_thread_blocked, id=620]
       0x04d1d278 JavaThread "http-0.0.0.0-8080-Processor20" daemon [_thread_blocked, id=540]
       0x04d1c5d8 JavaThread "http-0.0.0.0-8080-Processor19" daemon [_thread_blocked, id=2836]
       0x04d1ba88 JavaThread "http-0.0.0.0-8080-Processor18" daemon [_thread_blocked, id=3624]
       0x04d1af38 JavaThread "http-0.0.0.0-8080-Processor17" daemon [_thread_blocked, id=2524]
       0x04d1a500 JavaThread "http-0.0.0.0-8080-Processor16" daemon [_thread_blocked, id=3720]
       0x04c46b00 JavaThread "http-0.0.0.0-8080-Processor15" daemon [_thread_blocked, id=3704]
       0x04c45f08 JavaThread "http-0.0.0.0-8080-Processor14" daemon [_thread_blocked, id=3172]
       0x04c44ff8 JavaThread "http-0.0.0.0-8080-Processor13" daemon [_thread_blocked, id=3360]
       0x04c444d8 JavaThread "http-0.0.0.0-8080-Processor12" daemon [_thread_blocked, id=2852]
       0x04c439b8 JavaThread "http-0.0.0.0-8080-Processor11" daemon [_thread_blocked, id=1944]
       0x04c42ed0 JavaThread "http-0.0.0.0-8080-Processor10" daemon [_thread_blocked, id=3652]
       0x04c42168 JavaThread "http-0.0.0.0-8080-Processor9" daemon [_thread_blocked, id=2620]
       0x04c3f2e8 JavaThread "http-0.0.0.0-8080-Processor8" daemon [_thread_blocked, id=3068]
       0x04c3ef88 JavaThread "http-0.0.0.0-8080-Processor7" daemon [_thread_blocked, id=3612]
       0x04cb4138 JavaThread "http-0.0.0.0-8080-Processor6" daemon [_thread_blocked, id=904]
       0x04d0bd28 JavaThread "http-0.0.0.0-8080-Processor5" daemon [_thread_blocked, id=1816]
       0x04fa7d30 JavaThread "http-0.0.0.0-8080-Processor4" daemon [_thread_blocked, id=3192]
       0x04fa7ba8 JavaThread "http-0.0.0.0-8080-Processor3" daemon [_thread_blocked, id=2812]
       0x04c285a0 JavaThread "http-0.0.0.0-8080-Processor2" daemon [_thread_blocked, id=2764]
       0x04c28418 JavaThread "http-0.0.0.0-8080-Processor1" daemon [_thread_blocked, id=712]
       0x04c311b8 JavaThread "JBossLifeThread" [_thread_blocked, id=2904]
       0x04c18fc8 JavaThread "Thread-10" daemon [_thread_blocked, id=1512]
       0x04c28c78 JavaThread "Thread-9" daemon [_thread_blocked, id=3040]
       0x04c1ac40 JavaThread "Thread-8" daemon [_thread_blocked, id=3044]
       0x04c1fc30 JavaThread "Thread-7" daemon [_thread_blocked, id=1972]
       0x04c20c90 JavaThread "Thread-6" daemon [_thread_blocked, id=1360]
       0x04bc7a80 JavaThread "Thread-5" daemon [_thread_blocked, id=1368]
       0x04bc3510 JavaThread "Connection Monitor Thread" daemon [_thread_blocked, id=3176]
      =>0x04bac260 JavaThread "UIL2.SocketManager.ReadTask#1 client=10.240.101.136:8093" daemon [_thread_in_native, id=3136]
       0x04170e00 JavaThread "UILServerILService Accept Thread" [_thread_in_native, id=3380]
       0x033e2410 JavaThread "JCA PoolFiller" [_thread_blocked, id=2616]
       0x033ca850 JavaThread "IdleRemover" [_thread_blocked, id=3508]
       0x03994850 JavaThread "TimeoutFactory" daemon [_thread_blocked, id=3620]
       0x040c6f20 JavaThread "Timer-2" daemon [_thread_blocked, id=2632]
       0x039949d8 JavaThread "ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon [_thread_blocked, id=3028]
       0x033afc18 JavaThread "JBossMQ Cache Reference Softner" daemon [_thread_blocked, id=3012]
       0x0402f4d0 JavaThread "HSQLDB Timer @b6ef8" daemon [_thread_blocked, id=3292]
       0x035e2330 JavaThread "PooledInvokerAcceptor#0-4445" [_thread_in_native, id=1756]
       0x03484a98 JavaThread "RMI TCP Accept-4444" daemon [_thread_in_native, id=1300]
       0x035d6b00 JavaThread "ClassLoadingPool(2)-1" daemon [_thread_in_native, id=2672]
       0x034858d0 JavaThread "JBoss System Threads(1)-1" daemon [_thread_in_native, id=2504]
       0x03459390 JavaThread "GC Daemon" daemon [_thread_blocked, id=2952]
       0x034571d8 JavaThread "RMI Reaper" [_thread_blocked, id=3752]
       0x035d58c8 JavaThread "Timer-1" daemon [_thread_blocked, id=3776]
       0x035d55f0 JavaThread "RMI TCP Accept-1098" daemon [_thread_in_native, id=3112]
       0x035b0048 JavaThread "ScannerThread" daemon [_thread_blocked, id=3604]
       0x00f4d310 JavaThread "Timer-0" daemon [_thread_blocked, id=3216]
       0x00237c58 JavaThread "DestroyJavaVM" [_thread_blocked, id=1328]
       0x00f2e068 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3648]
       0x00f07bd8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3632]
       0x00f2cb38 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2876]
       0x00f2a920 JavaThread "Finalizer" daemon [_thread_blocked, id=2552]
       0x00f29c20 JavaThread "Reference Handler" daemon [_thread_blocked, id=2512]
      
      Other Threads:
       0x00f27398 VMThread [id=3520]
       0x00f2f6a8 WatcherThread [id=2844]
      
      VM state:not at safepoint (normal execution)
      
      VM Mutex/Monitor currently owned by a thread: None
      
      Heap
       def new generation total 4224K, used 3268K [0x23080000, 0x23510000, 0x23560000)
       eden space 3776K, 74% used [0x23080000, 0x23341320, 0x23430000)
       from space 448K, 100% used [0x23430000, 0x234a0000, 0x234a0000)
       to space 448K, 0% used [0x234a0000, 0x234a0000, 0x23510000)
       tenured generation total 53636K, used 42457K [0x23560000, 0x269c1000, 0x27080000)
       the space 53636K, 79% used [0x23560000, 0x25ed6478, 0x25ed6600, 0x269c1000)
       compacting perm gen total 22272K, used 22192K [0x27080000, 0x28640000, 0x2b080000)
       the space 22272K, 99% used [0x27080000, 0x2862c328, 0x2862c400, 0x28640000)
       ro space 8192K, 66% used [0x2b080000, 0x2b5d8580, 0x2b5d8600, 0x2b880000)
       rw space 12288K, 46% used [0x2b880000, 0x2be14aa8, 0x2be14c00, 0x2c480000)
      
      Dynamic libraries:
      0x00400000 - 0x0040c000 c:\win32app\java\jdk1.5.0\bin\java.exe
      0x77f80000 - 0x77ffb000 C:\WINNT\system32\ntdll.dll
      0x7c2d0000 - 0x7c332000 C:\WINNT\system32\ADVAPI32.dll
      0x7c4e0000 - 0x7c599000 C:\WINNT\system32\KERNEL32.DLL
      0x77d30000 - 0x77da1000 C:\WINNT\system32\RPCRT4.DLL
      0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
      0x002d0000 - 0x002f1000 C:\win32app\Spy Sweeper\sis.dll
      0x77e10000 - 0x77e75000 C:\WINNT\system32\user32.dll
      0x77f40000 - 0x77f7c000 C:\WINNT\system32\GDI32.DLL
      0x779b0000 - 0x77a4b000 C:\WINNT\system32\oleaut32.dll
      0x77a50000 - 0x77b47000 C:\WINNT\system32\ole32.dll
      0x6d6b0000 - 0x6d835000 c:\win32app\java\jdk1.5.0\jre\bin\client\jvm.dll
      0x77570000 - 0x775a0000 C:\WINNT\system32\WINMM.dll
      0x6d2f0000 - 0x6d2f8000 c:\win32app\java\jdk1.5.0\jre\bin\hpi.dll
      0x690a0000 - 0x690ab000 C:\WINNT\system32\PSAPI.DLL
      0x6d680000 - 0x6d68c000 c:\win32app\java\jdk1.5.0\jre\bin\verify.dll
      0x6d370000 - 0x6d38d000 c:\win32app\java\jdk1.5.0\jre\bin\java.dll
      0x6d6a0000 - 0x6d6af000 c:\win32app\java\jdk1.5.0\jre\bin\zip.dll
      0x6d530000 - 0x6d543000 C:\win32app\java\jdk1.5.0\jre\bin\net.dll
      0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.dll
      0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
      0x782c0000 - 0x782cc000 C:\WINNT\System32\rnr20.dll
      0x77980000 - 0x779a4000 C:\WINNT\system32\DNSAPI.DLL
      0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.DLL
      0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll
      0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.DLL
      0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL
      0x75150000 - 0x7515f000 C:\WINNT\system32\SAMLIB.DLL
      0x75170000 - 0x751bf000 C:\WINNT\system32\NETAPI32.DLL
      0x7c340000 - 0x7c34f000 C:\WINNT\system32\SECUR32.DLL
      0x751c0000 - 0x751c6000 C:\WINNT\system32\NETRAP.DLL
      0x77950000 - 0x7797a000 C:\WINNT\system32\WLDAP32.DLL
      0x773b0000 - 0x773df000 C:\WINNT\system32\ACTIVEDS.DLL
      0x77380000 - 0x773a3000 C:\WINNT\system32\ADSLDPC.DLL
      0x77830000 - 0x7783e000 C:\WINNT\system32\RTUTILS.DLL
      0x77880000 - 0x7790e000 C:\WINNT\system32\SETUPAPI.DLL
      0x7c0f0000 - 0x7c152000 C:\WINNT\system32\USERENV.DLL
      0x774e0000 - 0x77513000 C:\WINNT\system32\RASAPI32.DLL
      0x774c0000 - 0x774d1000 C:\WINNT\system32\RASMAN.DLL
      0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.DLL
      0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
      0x70bd0000 - 0x70c35000 C:\WINNT\system32\SHLWAPI.DLL
      0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL
      0x777e0000 - 0x777e8000 C:\WINNT\System32\winrnr.dll
      0x777f0000 - 0x777f5000 C:\WINNT\system32\rasadhlp.dll
      0x7ca00000 - 0x7ca23000 C:\WINNT\system32\rsaenh.dll
      0x77440000 - 0x774b8000 C:\WINNT\system32\CRYPT32.dll
      0x77430000 - 0x77440000 C:\WINNT\system32\MSASN1.DLL
      0x20b00000 - 0x20b45000 C:\WINNT\system32\imon.dll
      0x69bf0000 - 0x69c0d000 C:\WINNT\system32\NTMARTA.DLL
      0x77800000 - 0x7781e000 C:\WINNT\system32\WINSPOOL.DRV
      0x76620000 - 0x76631000 C:\WINNT\system32\MPR.DLL
      0x77bf0000 - 0x77c01000 C:\WINNT\system32\NTDSAPI.dll
      0x74fd0000 - 0x74fee000 C:\WINNT\system32\msafd.dll
      0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
      0x6d550000 - 0x6d559000 C:\win32app\java\jdk1.5.0\jre\bin\nio.dll
      0x6d660000 - 0x6d666000 C:\win32app\java\jdk1.5.0\jre\bin\rmi.dll
      
      VM Arguments:
      jvm_args: -Dhibernate.jdbc.use_streams_for_binary=true -Dprogram.name=run.bat
      java_command: org.jboss.Main
      
      Environment Variables:
      JAVA_HOME=c:\win32app\java\jdk1.5.0
      CLASSPATH=.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar
      PATH=c:\program files\sapdb\indep_prog\bin;c:\program files\sapdb\indep_prog\pgm;C:\win32app\TEX\texmf\miktex\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;c:\win32app\java\jdk1.5.0\bin;c:\win32app\develop\apache-ant-1.6.1\bin;c:\win32app\WinCvs 1.3\CVSNT;c:\win32app\GnuPG;c:\win32app\develop\NSIS;C:\win32app\gs\gs8.50\lib;C:\win32app\gs\gs8.50\bin;C:\win32app\develop\aspectj1.2\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\win32app\SecureCRT 3.0;C:\win32app\Bitvise Tunnelier
      USERNAME=pbe
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
      
      
      --------------- S Y S T E M ---------------
      
      OS: Windows 2000 Build 2195 Service Pack 4
      
      CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
      
      Memory: 4k page, physical 1046252k(254392k free), swap 2521012k(1425572k free)
      
      vm_info: Java HotSpot(TM) Client VM (1.5.0_01-b08) for windows-x86, built on Dec 6 2004 19:51:00 by "java_re" with MS VC++ 6.0
      


      I have never seen it before thus I believe it might be related to way how I configured remote messaging.
      I have JBoss 3.2.6 (tried it also on 3.2.7), Machines are (W2k and XP), Java 1.4 and 5.

      Following snippet was added to jms-ds.xml. Notice I changed JNDI port to 5099, because I have other RMI applications running on JMS machine.
       <tx-connection-factory>
       <jndi-name>RemoteJmsXA</jndi-name>
       <xa-transaction/>
       <adapter-display-name>JMS Adapter</adapter-display-name>
       <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
       <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/TapDistribJBossMQProvider</config-property>
       <security-domain-and-application>RemoteJmsXARealm</security-domain-and-application>
       </tx-connection-factory>
      
       <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
       name="jboss.mq:service=JMSProviderLoader,name=TapDistribJBossMQProvider">
       <attribute name="ProviderName">TapDistribJBossMQProvider</attribute>
       <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
       <!-- The queue connection factory -->
       <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
       <!-- The topic factory -->
       <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
       <!-- Uncomment to use HAJNDI to access JMS -->
       <attribute name="Properties">
       java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
       java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
       java.naming.provider.url=jnp://10.240.101.136:5099
       </attribute>
       -->
       </mbean>
      


      jboss.xml contain
       <invoker-proxy-bindings>
       <invoker-proxy-binding>
       <name>rem-mdb-invoker</name>
       <invoker-mbean>does-not-matter</invoker-mbean>
       <proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
       <proxy-factory-config>
       <JMSProviderAdapterJNDI>TapDistribJBossMQProvider</JMSProviderAdapterJNDI>
       <ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
       <MinimumSize>1</MinimumSize>
       <KeepAliveMillis>30000</KeepAliveMillis>
       <MaximumSize>15</MaximumSize>
       <MaxMessages>1</MaxMessages>
       <MDBConfig>
       <ReconnectIntervalSec>10</ReconnectIntervalSec>
       <DLQConfig>
       <DestinationQueue>queue/DLQ</DestinationQueue>
       <MaxTimesRedelivered>10</MaxTimesRedelivered>
       <TimeToLive>0</TimeToLive>
       </DLQConfig>
       </MDBConfig>
       </proxy-factory-config>
       </invoker-proxy-binding>
       </invoker-proxy-bindings>
      ....
       <resource-managers>
       <resource-manager>
       <res-name>connfactoryref</res-name>
       <res-jndi-name>java:/RemoteJmsXA</res-jndi-name>
       </resource-manager>
       <resource-manager>
       <res-name>tapmsgref</res-name>
      <res-jndi-name>jnp://10.240.101.136:5099/queue/TAPMessages</res-jndi-name>
       </resource-manager>
      ....
       <message-driven>
       <ejb-name>MessageMDB</ejb-name>
       <configuration-name>TAP Message Driven Bean</configuration-name>
       <destination-jndi-name>queue/TAPMessages</destination-jndi-name>
       <invoker-bindings>
       <invoker>
       <invoker-proxy-binding-name>rem-mdb-invoker</invoker-proxy-binding-name>
       </invoker>
       </invoker-bindings>
       </message-driven>
      ....
      


      For messaging machine I tried HSQLDB, Derby, SapDB and Oracle for persistence, thus I believe its configuration is not related to problem.

      Could anybody help me to solve this problem? I am despairing here.
      Thank you very much!
      Pavol