6 Replies Latest reply on Jul 24, 2003 12:10 AM by vettori

    JNDIView partially empty

    vettori

      Hi,

      I've two EJB applications i run on JBoss 3.2.1.
      One runs with no problem. The other seems to have some JNDI problem.

      Looking at JNDIView, I found that only one bean is filled with informations, the other are present but empty. Even in the Global section, i found referenced only one bean.
      The application that work doesn't exibith this problem.

      Can anyone give me a hint to understand what's happening. I haven't posted ejb-jar.xml and jboss.xml because they are very long.

      Thank you

      ---------------------- partial output of JNDIView ---------------------------------

      Ejb Module: ecf-server.jar

      java:comp namespace of the UserEJB bean:

      +- env (class: org.jnp.interfaces.NamingContext)
      | +- redbits (class: org.jnp.interfaces.NamingContext)
      | | +- ecf (class: org.jnp.interfaces.NamingContext)
      | | | +- user (class: org.jnp.interfaces.NamingContext)
      | | | | +- sequencename (class: java.lang.String)
      | +- ejb (class: org.jnp.interfaces.NamingContext)
      | | +- SequenceManagerLocalHome[link -> SequenceManagerLocalHome] (class: javax.naming.LinkRef)


      java:comp namespace of the GroupEJB bean:


      java:comp namespace of the RoleEJB bean:


      java:comp namespace of the UserInfoEJB bean:


      java:comp namespace of the UserInfoAddressEJB bean:


      java:comp namespace of the UserInfoContactMethodEJB bean:


      java:comp namespace of the UserInfoOtherEJB bean:


      java:comp namespace of the UserInfoPreferenceEJB bean:


      java:comp namespace of the SequenceManagerEJB bean:


      java:comp namespace of the UserSearchManagerEJB bean:


      java:comp namespace of the AuthManagerEJB bean:


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

        • 1. Re: JNDIView partially empty

          My guess is they didn't deploy correctly.
          Look at the log for errors.

          Regards,
          Adrian

          • 2. Re: JNDIView partially empty
            vettori

            Hi,

            the deploy is succesful, no errors are shown.

            By the way, I noted that if I try to lookup names that are shown as empty in JNDIView, after the NameNotFoundException, JBoss won't re-deploy the jar if I put a fresh copy in the deploy directory.

            Moreover, the jmx console stop to answer requests and if I stop JBoss with ctrl-C on the console, it freezes at some point when undeploying packages (don't remember the package, something starting with URL).

            Please help, I can't find anything different from the other application that works.

            • 3. Re: JNDIView partially empty

              Try getting a threaddump ctrl-break on windows
              kill -3 pid on unix. Sounds like a deadlock.

              Regards,
              Adrian

              • 4. Re: JNDIView partially empty
                vettori

                Here is the kill -3 output.
                I can read some "locked" marks but I really don't understand what they means.
                Thanks for your help!

                Full thread dump Java HotSpot(TM) Server VM (1.4.1_01-b01 mixed mode):

                "RMI LeaseChecker" daemon prio=1 tid=0x0x83773e0 nid=0x692 waiting on condition [6ce03000..6ce03840]
                at java.lang.Thread.sleep(Native Method)
                at sun.rmi.transport.DGCImpl$LeaseChecker.run(DGCImpl.java:307)
                at java.lang.Thread.run(Thread.java:536)

                "JNP Server" prio=1 tid=0x0x81a5250 nid=0x68e runnable [6cd82000..6cd82840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x47e626f0> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.jnp.server.Main.run(Main.java:257)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-26" daemon prio=1 tid=0x0x84e5130 nid=0x67f in Object.wait() [6cd01000..6cd01840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x486a88e8> (a java.util.TaskQueue)
                at java.util.TimerThread.mainLoop(Timer.java:429)
                - locked <0x486a88e8> (a java.util.TaskQueue)
                at java.util.TimerThread.run(Timer.java:382)

                "Thread-25" prio=1 tid=0x0x6aaea7a0 nid=0x67d in Object.wait() [6cc80000..6cc80840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x48617610> (a java.lang.Object)
                at java.lang.Object.wait(Object.java:426)
                at org.jboss.system.server.ServerImpl$LifeThread.run(ServerImpl.java:731)
                - locked <0x48617610> (a java.lang.Object)

                "StandardManager[/web-console]" daemon prio=1 tid=0x0x6bc3f508 nid=0x67c waiting on condition [6c6f7000..6c6f7840]
                at java.lang.Thread.sleep(Native Method)
                at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:810)
                at org.apache.catalina.session.StandardManager.run(StandardManager.java:869)
                at java.lang.Thread.run(Thread.java:536)

                "UILServerILService Accept Thread" prio=1 tid=0x0x699d0e30 nid=0x67b runnable [6c5e7000..6c5e7840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x486a9c60> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:118)
                at java.lang.Thread.run(Thread.java:536)

                "OIL2 Worker Server" prio=1 tid=0x0x699b9af8 nid=0x67a runnable [6c566000..6c566840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x486a9df8> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.jboss.mq.il.oil2.OIL2ServerILService.run(OIL2ServerILService.java:366)
                at java.lang.Thread.run(Thread.java:536)

                "UIL Worker" prio=1 tid=0x0x6bc2a8b8 nid=0x679 runnable [6c4e5000..6c4e5840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x486a9f18> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.jboss.mq.il.uil.UILServerILService.run(UILServerILService.java:184)
                at java.lang.Thread.run(Thread.java:536)

                "OIL Worker Server" prio=1 tid=0x0x6bc2a670 nid=0x678 runnable [6c464000..6c464840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x486aa040> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:471)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-24" prio=1 tid=0x0x8470188 nid=0x677 runnable [6c3e3000..6c3e3840]
                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 <0x486aa998> (a java.io.BufferedInputStream)
                at java.io.DataInputStream.readInt(DataInputStream.java:392)
                at org.hsqldb.ServerConnection.run(Unknown Source)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-23" prio=1 tid=0x0x846f650 nid=0x676 runnable [6c362000..6c362840]
                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 <0x486ab278> (a java.io.BufferedInputStream)
                at java.io.DataInputStream.readInt(DataInputStream.java:392)
                at org.hsqldb.ServerConnection.run(Unknown Source)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-22" prio=1 tid=0x0x836ac08 nid=0x675 runnable [6c2e1000..6c2e1840]
                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 <0x486abb58> (a java.io.BufferedInputStream)
                at java.io.DataInputStream.readInt(DataInputStream.java:392)
                at org.hsqldb.ServerConnection.run(Unknown Source)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-21" prio=1 tid=0x0x84e5f28 nid=0x674 runnable [6c260000..6c260840]
                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 <0x486ac438> (a java.io.BufferedInputStream)
                at java.io.DataInputStream.readInt(DataInputStream.java:392)
                at org.hsqldb.ServerConnection.run(Unknown Source)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-20" prio=1 tid=0x0x69b018b8 nid=0x673 in Object.wait() [6c1df000..6c1df840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x486ac4d8> (a java.util.LinkedList)
                at java.lang.Object.wait(Object.java:426)
                at org.jboss.resource.connectionmanager.PoolFiller$1.run(PoolFiller.java:75)
                - locked <0x486ac4d8> (a java.util.LinkedList)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-19" prio=1 tid=0x0x87a3460 nid=0x672 runnable [6c15e000..6c15e840]
                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 <0x486acd78> (a java.io.BufferedInputStream)
                at java.io.DataInputStream.readInt(DataInputStream.java:392)
                at org.hsqldb.ServerConnection.run(Unknown Source)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-18" prio=1 tid=0x0x6aaa40a0 nid=0x671 in Object.wait() [6c0dd000..6c0dd840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x486ace18> (a java.util.ArrayList)
                at org.jboss.resource.connectionmanager.IdleRemover$1.run(IdleRemover.java:66)
                - locked <0x486ace18> (a java.util.ArrayList)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-17" daemon prio=1 tid=0x0x6bc29ee8 nid=0x670 in Object.wait() [6c05c000..6c05c840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x486ace88> (a org.jboss.util.timeout.TimeoutFactory)
                at org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:503) - locked <0x486ace88> (a org.jboss.util.timeout.TimeoutFactory)
                at org.jboss.util.timeout.TimeoutFactory.access$300(TimeoutFactory.java:27)
                at org.jboss.util.timeout.TimeoutFactory$1.run(TimeoutFactory.java:542)
                "JBossMQ Cache Reference Softner" daemon prio=1 tid=0x0x6ae44818 nid=0x66f in Object.wait() [6bfdb000..6bfdb840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x486acee8> (a java.lang.ref.ReferenceQueue$Lock)
                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
                - locked <0x486acee8> (a java.lang.ref.ReferenceQueue$Lock)
                at org.jboss.mq.server.MessageCache.run(MessageCache.java:233)
                at java.lang.Thread.run(Thread.java:536)

                "StandardManager[/jbossmq-httpil]" daemon prio=1 tid=0x0x6ae0f4f8 nid=0x66e waiting on condition [6bf5a000..6bf5a840]
                at java.lang.Thread.sleep(Native Method)
                at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:810)
                at org.apache.catalina.session.StandardManager.run(StandardManager.java:869)
                at java.lang.Thread.run(Thread.java:536)

                "StandardManager[/jmx-console]" daemon prio=1 tid=0x0x6ae36e28 nid=0x66d waiting on condition [6bed9000..6bed9840]
                at java.lang.Thread.sleep(Native Method)
                at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:810)
                at org.apache.catalina.session.StandardManager.run(StandardManager.java:869)
                at java.lang.Thread.run(Thread.java:536)

                "StandardManager[/struts-documentation]" daemon prio=1 tid=0x0x6aaa4718 nid=0x66c waiting on condition [6bd80000..6bd80840]
                at java.lang.Thread.sleep(Native Method)
                at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:810)
                at org.apache.catalina.session.StandardManager.run(StandardManager.java:869)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-16" daemon prio=1 tid=0x0x6aaf8b90 nid=0x66b in Object.wait() [6b68e000..6b68e840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x481bbd40> (a java.util.TaskQueue)
                at java.util.TimerThread.mainLoop(Timer.java:429)
                - locked <0x481bbd40> (a java.util.TaskQueue)
                at java.util.TimerThread.run(Timer.java:382)

                "Thread-15" prio=1 tid=0x0x6a2ec4e0 nid=0x66a runnable [6b60d000..6b60d840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x481bbde8> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.jboss.invocation.pooled.server.PooledInvoker.run(PooledInvoker.java:216)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-14" prio=1 tid=0x0x8516e78 nid=0x669 sleeping[6b58c000..6b58c840]
                at java.lang.Thread.sleep(Native Method)
                at org.hsqldb.Log.run(Unknown Source)
                at java.lang.Thread.run(Thread.java:536)

                "hypersonic-default" prio=1 tid=0x0x69bad3a8 nid=0x668 runnable [6b50b000..6b50b840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x481bbfa8> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.hsqldb.Server.run(Unknown Source)
                at org.hsqldb.Server.main(Unknown Source)
                at org.jboss.jdbc.HypersonicDatabase$2.run(HypersonicDatabase.java:250)
                "RMI TCP Accept-0" daemon prio=1 tid=0x0x6aaa00f0 nid=0x667 runnable [6b48a000..6b48a840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x47f40cf0> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:334)
                at java.lang.Thread.run(Thread.java:536)

                "StandardManager[/invoker]" daemon prio=1 tid=0x0x69b10470 nid=0x666 waiting on condition [6b409000..6b409840]
                at java.lang.Thread.sleep(Native Method)
                at org.apache.catalina.session.StandardManager.threadSleep(StandardManager.java:810)
                at org.apache.catalina.session.StandardManager.run(StandardManager.java:869)
                at java.lang.Thread.run(Thread.java:536)

                "MonitorRunnable" daemon prio=1 tid=0x0x69952bc8 nid=0x665 in Object.wait() [6b388000..6b388840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47fd3328> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
                at org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:503)
                - locked <0x47fd3328> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-12" daemon prio=1 tid=0x0x69bd0e40 nid=0x664 runnable [6b307000..6b307840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x47fd33a8> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:268)
                at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:531)
                at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:660)
                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-11" daemon prio=1 tid=0x0x69bd0390 nid=0x663 in Object.wait() [6b286000..6b286840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47fd35a0> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Object.wait(Object.java:426)
                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:595)
                - locked <0x47fd35a0> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-10" daemon prio=1 tid=0x0x69bcf8e0 nid=0x662 in Object.wait() [6b205000..6b205840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47fd3618> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Object.wait(Object.java:426)
                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:595)
                - locked <0x47fd3618> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-9" daemon prio=1 tid=0x0x69bcee50 nid=0x661 in Object.wait() [6b184000..6b184840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47fd3690> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Object.wait(Object.java:426)
                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:595)
                - locked <0x47fd3690> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Thread.run(Thread.java:536)

                "MonitorRunnable" daemon prio=1 tid=0x0x69b88468 nid=0x660 in Object.wait() [6b103000..6b103840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47fd36f8> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
                at org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:503)
                - locked <0x47fd36f8> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-7" daemon prio=1 tid=0x0x69b79778 nid=0x65f runnable [6b082000..6b082840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x47fd3778> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:107)
                at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:356)
                at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-6" daemon prio=1 tid=0x0x69b9ac70 nid=0x65e in Object.wait() [6b001000..6b001840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47fd38d8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Object.wait(Object.java:426)
                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:595)
                - locked <0x47fd38d8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-5" daemon prio=1 tid=0x0x6aaf8e30 nid=0x65d in Object.wait() [6af80000..6af80840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47fd3950> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Object.wait(Object.java:426)
                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:595)
                - locked <0x47fd3950> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-4" daemon prio=1 tid=0x0x699af670 nid=0x65c in Object.wait() [6ad80000..6ad80840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47fd39c8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Object.wait(Object.java:426)
                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:595)
                - locked <0x47fd39c8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
                at java.lang.Thread.run(Thread.java:536)

                "GC Daemon" daemon prio=1 tid=0x0x699f4a18 nid=0x659 in Object.wait() [6a826000..6a826840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47e5d868> (a sun.misc.GC$LatencyLock)
                at sun.misc.GC$Daemon.run(GC.java:100)
                - locked <0x47e5d868> (a sun.misc.GC$LatencyLock)

                "RMI Reaper" prio=1 tid=0x0x69b78f18 nid=0x658 in Object.wait() [6a7a5000..6a7a5840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47e5cc98> (a java.lang.ref.ReferenceQueue$Lock)
                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
                - locked <0x47e5cc98> (a java.lang.ref.ReferenceQueue$Lock)
                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
                at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:330)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-3" daemon prio=1 tid=0x0x699a1f90 nid=0x657 in Object.wait() [6a724000..6a724840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47e5cf98> (a java.util.TaskQueue)
                at java.lang.Object.wait(Object.java:426)
                at java.util.TimerThread.mainLoop(Timer.java:403)
                - locked <0x47e5cf98> (a java.util.TaskQueue)
                at java.util.TimerThread.run(Timer.java:382)

                "RMI TCP Accept-0" daemon prio=1 tid=0x0x69bbfa20 nid=0x656 runnable [6a6a3000..6a6a3840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x47e5ccf8> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:334)
                at java.lang.Thread.run(Thread.java:536)

                "Thread-2" daemon prio=1 tid=0x0x69bbf6d0 nid=0x655 runnable [6a5fe000..6a5fe840]
                at java.net.PlainSocketImpl.socketAccept(Native Method)
                at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
                - locked <0x47e59d90> (a java.net.PlainSocketImpl)
                at java.net.ServerSocket.implAccept(ServerSocket.java:439)
                at java.net.ServerSocket.accept(ServerSocket.java:410)
                at org.jboss.web.WebServer.run(WebServer.java:258)
                at org.jboss.web.ThreadPool$Worker.run(ThreadPool.java:163)

                "ScannerThread" daemon prio=1 tid=0x0x699f4240 nid=0x654 runnable [6a57c000..6a57d840]
                at java.net.SocketInputStream.socketRead0(Native Method)
                at java.net.SocketInputStream.read(SocketInputStream.java:129)
                at com.sap.dbtech.rte.comm.SocketComm.receiveData(SocketComm.java:518)
                at com.sap.dbtech.rte.comm.SocketComm.receive(SocketComm.java:429)
                at com.sap.dbtech.rte.comm.JdbcCommunication.execute(JdbcCommunication.java:44)
                at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:359) - locked <0x48a25600> (a com.sap.dbtech.jdbc.ConnectionSapDB)
                at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:302) at com.sap.dbtech.jdbc.ConnectionSapDB.doConnect(ConnectionSapDB.java:263)
                at com.sap.dbtech.jdbc.ConnectionSapDB.(ConnectionSapDB.java:79)
                at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:199)
                at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:147)
                at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnection(InternalManagedConnectionPool.java:352)
                at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:151)
                at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool.getConnection(JBossManagedConnectionPool.java:643)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:413)
                at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:331)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:488)
                at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:798)
                at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
                at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:39) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:119)
                at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:438)
                at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372)
                at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:170)
                at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:339) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
                at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
                at $Proxy11.start(Unknown Source)
                at org.jboss.system.ServiceController.start(ServiceController.java:392) - locked <0x47d1f510> (a org.jboss.system.ServiceController)
                at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy30.start(Unknown Source)
                at org.jboss.ejb.EjbModule.startService(EjbModule.java:329)
                at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
                at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
                at $Proxy11.start(Unknown Source)
                at org.jboss.system.ServiceController.start(ServiceController.java:392) - locked <0x47d1f510> (a org.jboss.system.ServiceController)
                at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy19.start(Unknown Source)
                at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:540)
                - locked <0x47e14170> (a org.jboss.ejb.EJBDeployer)
                at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
                at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:324)
                at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy7.deploy(Unknown Source)
                at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
                at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
                - locked <0x47e25e38> (a org.jboss.deployment.scanner.URLDeploymentScanner)
                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)

                "Thread-1" daemon prio=1 tid=0x0x699f5e08 nid=0x652 in Object.wait() [6a4b6000..6a4b6840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47df2068> (a java.util.TaskQueue)
                at java.util.TimerThread.mainLoop(Timer.java:429)
                - locked <0x47df2068> (a java.util.TaskQueue)
                at java.util.TimerThread.run(Timer.java:382)

                "DestroyJavaVM" prio=1 tid=0x0x81182b0 nid=0x608 waiting on condition [0..bfffd610]

                "Signal Dispatcher" daemon prio=1 tid=0x0x80b16f0 nid=0x60f waiting on condition [0..0]

                "Finalizer" daemon prio=1 tid=0x0x80ab020 nid=0x60c in Object.wait() [68778000..68778840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47cb0338> (a java.lang.ref.ReferenceQueue$Lock)
                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
                - locked <0x47cb0338> (a java.lang.ref.ReferenceQueue$Lock)
                at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
                at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

                "Reference Handler" daemon prio=1 tid=0x0x80aabd8 nid=0x60b in Object.wait() [686f7000..686f7840]
                at java.lang.Object.wait(Native Method)
                - waiting on <0x47cb0260> (a java.lang.ref.Reference$Lock)
                at java.lang.Object.wait(Object.java:426)
                at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113)
                - locked <0x47cb0260> (a java.lang.ref.Reference$Lock)

                "VM Thread" prio=1 tid=0x0x80a8198 nid=0x60a runnable

                "VM Periodic Task Thread" prio=1 tid=0x0x80b0238 nid=0x60d waiting on condition
                "Suspend Checker Thread" prio=1 tid=0x0x80b0c88 nid=0x60e runnable

                • 5. Re: JNDIView partially empty

                  The deployment thread is stuck in the database
                  trying to start one of your entity beans.

                  I'd guess from the fixTableName it is trying to
                  retrieve the metadata rules about what is valid
                  for a table name.

                  Check your database log.

                  "ScannerThread" daemon prio=1 tid=0x0x699f4240 nid=0x654 runnable [6a57c000..6a57d840]
                  at java.net.SocketInputStream.socketRead0(Native Method)
                  at java.net.SocketInputStream.read(SocketInputStream.java:129)
                  at com.sap.dbtech.rte.comm.SocketComm.receiveData(SocketComm.java:518)
                  at com.sap.dbtech.rte.comm.SocketComm.receive(SocketComm.java:429)
                  at com.sap.dbtech.rte.comm.JdbcCommunication.execute(JdbcCommunication.java:44)
                  at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:359) - locked <0x48a25600> (a com.sap.dbtech.jdbc.ConnectionSapDB)
                  at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:302) at com.sap.dbtech.jdbc.ConnectionSapDB.doConnect(ConnectionSapDB.java:263)
                  at com.sap.dbtech.jdbc.ConnectionSapDB.(ConnectionSapDB.java:79)
                  at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:199)
                  at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:147)
                  at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnection(InternalManagedConnectionPool.java:352)
                  at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:151)
                  at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool.getConnection(JBossManagedConnectionPool.java:643)
                  at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:413)
                  at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:331)
                  at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:488)
                  at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:798)
                  at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
                  at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:39) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:119)
                  at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:438)
                  at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372)
                  at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:170)
                  at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:339) at

                  Regards,
                  Adrian

                  • 6. Re: JNDIView partially empty
                    vettori

                    Solved.

                    The problem was the database log full.

                    Very hard to find for me, since no messages are printed in the "normal" log.

                    Thank you very much