0 Replies Latest reply on Mar 29, 2006 11:31 PM by Justin Chang

    problem starting up JBoss AS

    Justin Chang Newbie

      I have been using 4.0.3SP1 on XP for a few months. It has been running fine with the EJB3 application. Yesterday, it suddenly had a problem starting up. There is no regular INFO messages showing up when the run.bat is executed. See the following. I checked the log4j.xml in the conf directory and the root logger and Console appender and the log level are all correct. By using "netstat", port 1099, 1098, and 4444 will start listening right after starting up. But apparently Tomcat is not; neither can my EJB client program talk to the app server which was working fine. I reinstalled JBoss without my EJB module on different directory, but the problem still persists. Does anybod have any idea? I don't see any new message in the log file either. I did a Ctrl-Break to get a thread dump. All the threads are in Object.wait. see the below. Thanks!

      C:\Java\jboss-4.0.3SP1\bin>run
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\Java\jboss-4.0.3SP1\bin\\..
      .
      JAVA: C:\java\JDK\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: C:\java\JDK\lib\tools.jar;C:\Java\jboss-4.0.3SP1\bin\\run.jar
      .
      ===============================================================================
      .
      Shutting down
      Shutdown complete
      Halting VM
      Terminate batch job (Y/N)? y

      ---------------------------------------------------------

      Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode):

      "JBossLifeThread" prio=6 tid=0x27907f78 nid=0xccc in Object.wait() [0x2828f000..
      0x2828f9e8]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x02ce2798> (a java.lang.Object)
      at java.lang.Object.wait(Unknown Source)
      at org.jboss.system.server.ServerImpl$LifeThread.run(ServerImpl.java:900
      )
      - locked <0x02ce2798> (a java.lang.Object)

      "UILServerILService Accept Thread" prio=6 tid=0x278867d0 nid=0xfbc runnable [0x2
      824f000..0x2824fa68]
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      - locked <0x033100a8> (a java.net.SocksSocketImpl)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:1
      37)
      at java.lang.Thread.run(Unknown Source)

      "TimeoutFactory" daemon prio=6 tid=0x27141e50 nid=0xc18 in Object.wait() [0x2820
      f000..0x2820fae8]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x03310228> (a org.jboss.util.timeout.TimeoutFactory)
      at org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:511)

      - locked <0x03310228> (a org.jboss.util.timeout.TimeoutFactory)
      at org.jboss.util.timeout.TimeoutFactory.access$300(TimeoutFactory.java:
      30)
      at org.jboss.util.timeout.TimeoutFactory$1.run(TimeoutFactory.java:566)

      "JCA PoolFiller" prio=6 tid=0x270d9438 nid=0xaf8 in Object.wait() [0x281cf000..0
      x281cfb68]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x033102a0> (a java.util.LinkedList)
      at java.lang.Object.wait(Unknown Source)
      at org.jboss.resource.connectionmanager.PoolFiller.run(PoolFiller.java:8
      2)
      - locked <0x033102a0> (a java.util.LinkedList)
      at java.lang.Thread.run(Unknown Source)

      "Timer-2" daemon prio=6 tid=0x27886578 nid=0x908 in Object.wait() [0x2818f000..0
      x2818fbe8]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x03310330> (a java.util.TaskQueue)
      at java.util.TimerThread.mainLoop(Unknown Source)
      - locked <0x03310330> (a java.util.TaskQueue)
      at java.util.TimerThread.run(Unknown Source)

      "HSQLDB Timer @1a40247" daemon prio=6 tid=0x278863f0 nid=0xc4c in Object.wait()
      [0x2804f000..0x2804fc68]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x05dd4310> (a org.hsqldb.lib.HsqlTimer)
      at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source)
      - locked <0x05dd4310> (a org.hsqldb.lib.HsqlTimer)
      at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      "PooledInvokerAcceptor#0-4445" prio=6 tid=0x26e71b30 nid=0x648 runnable [0x2800f
      000..0x2800fd68]
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      - locked <0x05aa1000> (a java.net.SocksSocketImpl)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at org.jboss.invocation.pooled.server.PooledInvoker.run(PooledInvoker.ja
      va:240)
      at java.lang.Thread.run(Unknown Source)

      "RMI TCP Accept-4444" daemon prio=6 tid=0x27040538 nid=0xbd4 runnable [0x27fcf00
      0..0x27fcf9e8]
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      - locked <0x05a8e6d0> (a java.net.SocksSocketImpl)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      "PooledInvokerAcceptor#0-4446" prio=6 tid=0x26f187f0 nid=0x7f4 runnable [0x27f8f
      000..0x27f8fa68]
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      - locked <0x05a8e8c0> (a java.net.SocksSocketImpl)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at org.jboss.invocation.pooled.server.PooledInvoker.run(PooledInvoker.ja
      va:240)
      at java.lang.Thread.run(Unknown Source)

      "RMI TCP Accept-4447" daemon prio=6 tid=0x271168c8 nid=0xfd4 runnable [0x27f4f00
      0..0x27f4fae8]
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      - locked <0x05a8ea88> (a java.net.SocksSocketImpl)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      "JBoss System Threads(1)-2" daemon prio=6 tid=0x27890680 nid=0x4d8 runnable [0x2
      7f0f000..0x27f0fb68]
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      - locked <0x05a8ec78> (a java.net.SocksSocketImpl)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at org.jnp.server.Main$AcceptHandler.run(Main.java:417)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper
      .java:134)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
      utor.java:743)
      at java.lang.Thread.run(Unknown Source)

      "GC Daemon" daemon prio=2 tid=0x26fe0008 nid=0xb14 in Object.wait() [0x27ecf000.
      .0x27ecfce8]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x05a92198> (a sun.misc.GC$LatencyLock)
      at sun.misc.GC$Daemon.run(Unknown Source)
      - locked <0x05a92198> (a sun.misc.GC$LatencyLock)

      "RMI Reaper" prio=6 tid=0x26fb0008 nid=0xd1c in Object.wait() [0x27e8f000..0x27e
      8fbe8]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x05a8eea0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(Unknown Source)
      - locked <0x05a8eea0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(Unknown Source)
      at sun.rmi.transport.ObjectTable$Reaper.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      "Timer-1" daemon prio=6 tid=0x277ebd40 nid=0x324 in Object.wait() [0x27e4f000..0
      x27e4fc68]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x05a8ef30> (a java.util.TaskQueue)
      at java.lang.Object.wait(Unknown Source)
      at java.util.TimerThread.mainLoop(Unknown Source)
      - locked <0x05a8ef30> (a java.util.TaskQueue)
      at java.util.TimerThread.run(Unknown Source)

      "RMI TCP Accept-1098" daemon prio=6 tid=0x2782dc90 nid=0x7e4 runnable [0x27e0f00
      0..0x27e0fce8]
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      - locked <0x05a8efe8> (a java.net.SocksSocketImpl)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      "JBossMQ Cache Reference Softner" daemon prio=6 tid=0x277f8a78 nid=0x8b0 in Obje
      ct.wait() [0x27d9f000..0x27d9fd68]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x057c43b8> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(Unknown Source)
      - locked <0x057c43b8> (a java.lang.ref.ReferenceQueue$Lock)
      at org.jboss.mq.server.MessageCache.run(MessageCache.java:232)
      at java.lang.Thread.run(Unknown Source)

      "JBoss System Threads(1)-1" daemon prio=6 tid=0x277cbbc8 nid=0x688 runnable [0x2
      7d5f000..0x27d5f9e8]
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      - locked <0x055957e0> (a java.net.SocksSocketImpl)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at org.jboss.web.WebServer.run(WebServer.java:310)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper
      .java:134)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
      utor.java:743)
      at java.lang.Thread.run(Unknown Source)

      "SocketServerInvoker#0-3873" prio=6 tid=0x2757adb8 nid=0xc30 runnable [0x27d1f00
      0..0x27d1fa68]
      at java.net.PlainSocketImpl.socketAccept(Native Method)
      at java.net.PlainSocketImpl.accept(Unknown Source)
      - locked <0x0531cd80> (a java.net.SocksSocketImpl)
      at java.net.ServerSocket.implAccept(Unknown Source)
      at java.net.ServerSocket.accept(Unknown Source)
      at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketSer
      verInvoker.java:377)
      at java.lang.Thread.run(Unknown Source)

      "ScannerThread" daemon prio=6 tid=0x274382c0 nid=0x528 waiting on condition [0x2
      7cbf000..0x27cbfae8]
      at java.lang.Thread.sleep(Native Method)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:209)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:182)

      "Timer-0" daemon prio=6 tid=0x2737e1a8 nid=0xb28 in Object.wait() [0x2747f000..0
      x2747fb68]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x05248c38> (a java.util.TaskQueue)
      at java.lang.Object.wait(Unknown Source)
      at java.util.TimerThread.mainLoop(Unknown Source)
      - locked <0x05248c38> (a java.util.TaskQueue)
      at java.util.TimerThread.run(Unknown Source)

      "DestroyJavaVM" prio=6 tid=0x00036988 nid=0xd24 waiting on condition [0x00000000
      ..0x0007fae8]

      "Low Memory Detector" daemon prio=6 tid=0x00973f58 nid=0xc60 runnable [0x0000000
      0..0x00000000]

      "CompilerThread0" daemon prio=10 tid=0x009729e8 nid=0x52c waiting on condition [
      0x00000000..0x26d7f74c]

      "Signal Dispatcher" daemon prio=10 tid=0x00971cd8 nid=0x304 waiting on condition
      [0x00000000..0x00000000]

      "Finalizer" daemon prio=8 tid=0x00969050 nid=0xe84 in Object.wait() [0x26cff000.
      .0x26cff9e8]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x051809f0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(Unknown Source)
      - locked <0x051809f0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(Unknown Source)
      at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

      "Reference Handler" daemon prio=10 tid=0x00967bb8 nid=0x878 in Object.wait() [0x
      26cbf000..0x26cbfae8]
      at java.lang.Object.wait(Native Method)
      - waiting on <0x05180220> (a java.lang.ref.Reference$Lock)
      at java.lang.Object.wait(Unknown Source)
      at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
      - locked <0x05180220> (a java.lang.ref.Reference$Lock)

      "VM Thread" prio=10 tid=0x00963a30 nid=0xeb0 runnable

      "VM Periodic Task Thread" prio=10 tid=0x00975138 nid=0x8bc waiting on condition