Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3537

jboss-cli freezes on connect when other process on 9999

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.1.0.CR1b, 7.1.0.Final
    • Remoting
    • None

    Description

      Downloaded snapshot from 30th January.

      Unzip as7
      cd as7
      ./bin/standalone
      <server running and responding as expected>

      ./bin/jboss-cli
      connect
      <freeze>

      thread dump:

      threaddump
      2012-02-01 12:40:04
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.4-b02-402 mixed mode):
      
      "Attach Listener" daemon prio=9 tid=7fa1f4c94800 nid=0x107814000 waiting on condition [00000000]
         java.lang.Thread.State: RUNNABLE
      
      "Remoting "management-client" write-1" prio=5 tid=7fa1f4c55800 nid=0x108a87000 runnable [108a86000]
         java.lang.Thread.State: RUNNABLE
      	at sun.nio.ch.KQueueArrayWrapper.kevent0(Native Method)
      	at sun.nio.ch.KQueueArrayWrapper.poll(KQueueArrayWrapper.java:136)
      	at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:69)
      	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
      	- locked <7f42b0188> (a sun.nio.ch.Util$2)
      	- locked <7f42b0198> (a java.util.Collections$UnmodifiableSet)
      	- locked <7f42b0140> (a sun.nio.ch.KQueueSelectorImpl)
      	at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
      	at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:84)
      	at org.xnio.nio.WorkerThread.run(WorkerThread.java:153)
      
      "Remoting "management-client" read-1" prio=5 tid=7fa1f4921800 nid=0x108984000 runnable [108983000]
         java.lang.Thread.State: RUNNABLE
      	at sun.nio.ch.KQueueArrayWrapper.kevent0(Native Method)
      	at sun.nio.ch.KQueueArrayWrapper.poll(KQueueArrayWrapper.java:136)
      	at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:69)
      	at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
      	- locked <7f4365858> (a sun.nio.ch.Util$2)
      	- locked <7f4365848> (a java.util.Collections$UnmodifiableSet)
      	- locked <7f43657b0> (a sun.nio.ch.KQueueSelectorImpl)
      	at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
      	at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:84)
      	at org.xnio.nio.WorkerThread.run(WorkerThread.java:153)
      
      "Poller SunPKCS11-Darwin" daemon prio=1 tid=7fa1f335f000 nid=0x1082f7000 waiting on condition [1082f6000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
      	at java.lang.Thread.sleep(Native Method)
      	at sun.security.pkcs11.SunPKCS11$TokenPoller.run(SunPKCS11.java:692)
      	at java.lang.Thread.run(Thread.java:680)
      
      "Reference Reaper" daemon prio=5 tid=7fa1f316d000 nid=0x108142000 in Object.wait() [108141000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7f42b02d8> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
      	- locked <7f42b02d8> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
      	at org.jboss.modules.ref.References$ReaperThread.run(References.java:68)
      
      "Low Memory Detector" daemon prio=5 tid=7fa1f4846800 nid=0x107d26000 runnable [00000000]
         java.lang.Thread.State: RUNNABLE
      
      "C2 CompilerThread1" daemon prio=9 tid=7fa1f4845800 nid=0x107c23000 waiting on condition [00000000]
         java.lang.Thread.State: RUNNABLE
      
      "C2 CompilerThread0" daemon prio=9 tid=7fa1f4845000 nid=0x107b20000 waiting on condition [00000000]
         java.lang.Thread.State: RUNNABLE
      
      "Signal Dispatcher" daemon prio=9 tid=7fa1f4844000 nid=0x107a1d000 runnable [00000000]
         java.lang.Thread.State: RUNNABLE
      
      "Surrogate Locker Thread (Concurrent GC)" daemon prio=5 tid=7fa1f4843800 nid=0x10791a000 waiting on condition [00000000]
         java.lang.Thread.State: RUNNABLE
      
      "Finalizer" daemon prio=8 tid=7fa1f3065000 nid=0x107656000 in Object.wait() [107655000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7f434a6c0> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
      	- locked <7f434a6c0> (a java.lang.ref.ReferenceQueue$Lock)
      	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
      	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
      
      "Reference Handler" daemon prio=10 tid=7fa1f4836800 nid=0x107553000 in Object.wait() [107552000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7f42b2078> (a java.lang.ref.Reference$Lock)
      	at java.lang.Object.wait(Object.java:485)
      	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
      	- locked <7f42b2078> (a java.lang.ref.Reference$Lock)
      
      "main" prio=5 tid=7fa1f4801000 nid=0x100bf1000 in Object.wait() [100bef000]
         java.lang.Thread.State: WAITING (on object monitor)
      	at java.lang.Object.wait(Native Method)
      	- waiting on <7f434aaf8> (a java.lang.Object)
      	at java.lang.Object.wait(Object.java:485)
      	at org.jboss.remoting3.spi.AbstractHandleableCloseable.close(AbstractHandleableCloseable.java:177)
      	- locked <7f434aaf8> (a java.lang.Object)
      	at org.jboss.as.protocol.StreamUtils.safeClose(StreamUtils.java:59)
      	at org.jboss.as.controller.client.impl.RemotingModelControllerClient.close(RemotingModelControllerClient.java:64)
      	- locked <7f434d438> (a org.jboss.as.controller.client.impl.RemotingModelControllerClient)
      	at org.jboss.as.protocol.StreamUtils.safeClose(StreamUtils.java:59)
      	at org.jboss.as.cli.impl.CommandContextImpl.initialConnection(CommandContextImpl.java:778)
      	at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:611)
      	at org.jboss.as.cli.handlers.ConnectHandler.doHandle(ConnectHandler.java:109)
      	at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:84)
      	at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:444)
      	at org.jboss.as.cli.impl.CommandContextImpl.processLine(CommandContextImpl.java:455)
      	at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1002)
      	at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:189)
      	at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.modules.Module.run(Module.java:260)
      	at org.jboss.modules.Main.main(Main.java:288)
      
      "VM Thread" prio=9 tid=7fa1f4832000 nid=0x107450000 runnable 
      
      "Gang worker#0 (Parallel GC Threads)" prio=9 tid=7fa1f3000800 nid=0x103f2d000 runnable 
      
      "Gang worker#1 (Parallel GC Threads)" prio=9 tid=7fa1f3001000 nid=0x104030000 runnable 
      
      "Concurrent Mark-Sweep GC Thread" prio=9 tid=7fa1f304c000 nid=0x1070f6000 runnable 
      "VM Periodic Task Thread" prio=10 tid=7fa1f3071000 nid=0x107e29000 waiting on condition 
      
      "Exception Catcher Thread" prio=10 tid=7fa1f4801800 nid=0x100d54000 runnable 
      JNI global references: 1119
      

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: