Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b70
    • Fix Version/s: 4.0_b73
    • Component/s: OSGi
    • Labels:
      None

      Description

      ss141213@Sahoo:~/software/knopflerfish_osgi_tiny_3.5.0/osgi$ KNOPFLERFISH_HOME=/home/ss141213/software/knopflerfish_osgi_3.5.0/osgi/ GlassFish_Platform=Knopflerfish java $DEBUG_N -jar /space/ss141213/WS/gf/v3/appserver/distributions/glassfish/target/stage/glassfish3/glassfish/modules/glassfish.jar

      ...

      Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@d1bb86 in service registry.
      Found populator: com.sun.enterprise.v3.server.GFDomainXml
      Feb 03, 2013 12:07:37 PM org.glassfish.security.services.impl.authorization.AuthorizationServiceImpl initialize
      INFO: Authorization Service has successfully initialized.

      #!## LogManagerService.postConstruct : rootFolder=/space/ss141213/WS/gf/trunk/appserver/distributions/glassfish/target/stage/glassfish3/glassfish
      #!## LogManagerService.postConstruct : templateDir=/space/ss141213/WS/gf/trunk/appserver/distributions/glassfish/target/stage/glassfish3/glassfish/lib/templates
      #!## LogManagerService.postConstruct : src=/space/ss141213/WS/gf/trunk/appserver/distributions/glassfish/target/stage/glassfish3/glassfish/lib/templates/logging.properties
      #!## LogManagerService.postConstruct : dest=/space/ss141213/WS/gf/trunk/appserver/distributions/glassfish/target/stage/glassfish3/glassfish/domains/domain1/config/logging.properties
      Setting multiline mode=false
      Setting multiline mode=false
      [#|2013-02-03T12:07:37.479+0530|INFO|glassfish 4.0|javax.enterprise.logging|_ThreadID=1;_ThreadName=main;_TimeMillis=1359873457479;_LevelValue=800;_MessageID=NCLS-LOGGING-00009;|Running GlassFish Version: GlassFish Server Open Source Edition 4.0 (build ss141213-private)|#]

      [#|2013-02-03T12:07:37.481+0530|INFO|glassfish 4.0|javax.enterprise.logging|_ThreadID=1;_ThreadName=main;_TimeMillis=1359873457481;_LevelValue=800;_MessageID=NCLS-LOGGING-00010;|Server log file is using Formatter class: com.sun.enterprise.server.logging.UniformLogFormatter|#]

      It hangs here. jstack output is given below:

      ss141213@Sahoo:/space/ss141213/WS/gf/trunk$ jstack `jps-gf`
      2013-02-03 12:07:53
      Full thread dump Java HotSpot(TM) Server VM (23.6-b04 mixed mode):

      "Attach Listener" daemon prio=10 tid=0x09238800 nid=0x171e waiting on condition [0x00000000]
      java.lang.Thread.State: RUNNABLE

      "Thread-2" daemon prio=10 tid=0x09231c00 nid=0x16f5 waiting on condition [0x7d4f5000]
      java.lang.Thread.State: WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)

      • parking to wait for <0xac2cf790> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
        at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:374)
        at com.sun.enterprise.server.logging.GFFileHandler.log(GFFileHandler.java:774)
        at com.sun.enterprise.server.logging.GFFileHandler$3.run(GFFileHandler.java:487)

      "pool-1-thread-1" daemon prio=10 tid=0x09397000 nid=0x16f4 waiting on condition [0x7d5cd000]
      java.lang.Thread.State: TIMED_WAITING (parking)
      at sun.misc.Unsafe.park(Native Method)

      • parking to wait for <0xabc9a7c8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
        at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)
        at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:807)
        at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)

      "BundleStart #161" daemon prio=10 tid=0x09409000 nid=0x16f0 waiting for monitor entry [0x7d635000]
      java.lang.Thread.State: BLOCKED (on object monitor)
      at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetDescriptor(ServiceLocatorImpl.java:845)

      • waiting to lock <0xa7fb32a8> (a java.lang.Object)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:565)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:555)
        at com.sun.enterprise.naming.util.NamingActivator.start(NamingActivator.java:62)
        at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:356)
        at org.knopflerfish.framework.BundleThread.run(BundleThread.java:107)
      • locked <0x863af358> (a java.lang.Object)

      "startlevel job" prio=10 tid=0x7dbf9c00 nid=0x16ef in Object.wait() [0x7e4b5000]
      java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x85560dc0> (a org.knopflerfish.framework.Queue)
        at org.knopflerfish.framework.Queue.removeWait(Queue.java:112)
      • locked <0x85560dc0> (a org.knopflerfish.framework.Queue)
        at org.knopflerfish.framework.StartLevelController.run(StartLevelController.java:201)
        at java.lang.Thread.run(Thread.java:722)

      "AsyncEventThread#0" daemon prio=10 tid=0x092cfc00 nid=0x16ed in Object.wait() [0x7e464000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x85516c68> (a java.util.LinkedList)
        at java.lang.Object.wait(Object.java:503)
        at org.knopflerfish.framework.Listeners$AsyncEventThread.run(Listeners.java:507)
      • locked <0x85516c68> (a java.util.LinkedList)

      "Service Thread" daemon prio=10 tid=0x7e84b400 nid=0x16ea runnable [0x00000000]
      java.lang.Thread.State: RUNNABLE

      "C2 CompilerThread1" daemon prio=10 tid=0x7e849400 nid=0x16e9 waiting on condition [0x00000000]
      java.lang.Thread.State: RUNNABLE

      "C2 CompilerThread0" daemon prio=10 tid=0x7e847400 nid=0x16e8 waiting on condition [0x00000000]
      java.lang.Thread.State: RUNNABLE

      "JDWP Event Helper Thread" daemon prio=10 tid=0x7e845800 nid=0x16e7 runnable [0x00000000]
      java.lang.Thread.State: RUNNABLE

      "JDWP Transport Listener: dt_socket" daemon prio=10 tid=0x7e843000 nid=0x16e6 runnable [0x00000000]
      java.lang.Thread.State: RUNNABLE

      "Signal Dispatcher" daemon prio=10 tid=0x7e83ac00 nid=0x16e5 runnable [0x00000000]
      java.lang.Thread.State: RUNNABLE

      "Finalizer" daemon prio=10 tid=0x7e800800 nid=0x16e4 in Object.wait() [0x7e959000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x855ba690> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
      • locked <0x855ba690> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)

      "Reference Handler" daemon prio=10 tid=0x09115400 nid=0x16e3 in Object.wait() [0x7e9aa000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x855ba218> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:503)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
      • locked <0x855ba218> (a java.lang.ref.Reference$Lock)

      "main" prio=10 tid=0x08fee400 nid=0x16df in Object.wait() [0xb7804000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x8546d150> (a org.knopflerfish.framework.Packages)
        at java.lang.Object.wait(Object.java:503)
        at org.knopflerfish.framework.BundleThread.startAndWait(BundleThread.java:165)
        at org.knopflerfish.framework.BundleThread.callStart0(BundleThread.java:140)
        at org.knopflerfish.framework.BundleImpl.finalizeActivation(BundleImpl.java:306)
      • locked <0x8546d150> (a org.knopflerfish.framework.Packages)
        at org.knopflerfish.framework.PermissionOps.callFinalizeActivation(PermissionOps.java:227)
        at org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:269)
      • locked <0x8546d150> (a org.knopflerfish.framework.Packages)
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:215)
      • locked <0x86251f50> (a org.jvnet.hk2.osgiadapter.OSGiModuleImpl)
        at org.jvnet.hk2.osgiadapter.OsgiPopulatorPostProcessor$1.loadClass(OsgiPopulatorPostProcessor.java:79)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.loadClass(ServiceLocatorImpl.java:1579)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.reifyDescriptor(ServiceLocatorImpl.java:358)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.narrow(ServiceLocatorImpl.java:1634)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetDescriptor(ServiceLocatorImpl.java:851)
      • locked <0xa7fb32a8> (a java.lang.Object)
        at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:565)
        at org.jvnet.hk2.internal.IterableProviderImpl.get(IterableProviderImpl.java:87)
        at org.glassfish.kernel.javaee.MEJBService.postConstruct(MEJBService.java:82)
        at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:243)
        at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:280)
        at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:429)
        at org.glassfish.hk2.runlevel.internal.RunLevelContext.findOrCreate(RunLevelContext.java:119)
        at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:1872)
        at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
      • locked <0xac32e160> (a java.lang.Object)
        at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$DefaultActivator.activate(RunLevelControllerImpl.java:376)
        at com.sun.enterprise.v3.server.AppServerStartup$AppServerActivator.activate(AppServerStartup.java:403)
        at com.sun.enterprise.v3.server.AppServerStartup$InitActivator.activate(AppServerStartup.java:464)
        at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$Worker.activateRunLevel(RunLevelControllerImpl.java:820)
        at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$Worker.upActiveRecorder(RunLevelControllerImpl.java:776)
        at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$Worker.run(RunLevelControllerImpl.java:671)
        at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl$SyncProceedToWorker.proceedTo(RunLevelControllerImpl.java:938)
        at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl.proceedTo(RunLevelControllerImpl.java:577)
        at org.glassfish.hk2.runlevel.utilities.RunLevelControllerImpl.proceedTo(RunLevelControllerImpl.java:351)
        at com.sun.enterprise.v3.server.AppServerStartup.proceedTo(AppServerStartup.java:366)
        at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:255)
        at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:174)
        at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:165)
      • locked <0xab65eec8> (a com.sun.enterprise.v3.server.AppServerStartup)
        at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
      • locked <0xab665788> (a com.sun.enterprise.glassfish.bootstrap.GlassFishImpl)
        at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
        at com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl.start(EmbeddedOSGiGlassFishImpl.java:73)
        at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
        at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:71)
        at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
        at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)

      "VM Thread" prio=10 tid=0x0910fc00 nid=0x16e2 runnable

      "GC task thread#0 (ParallelGC)" prio=10 tid=0x08ff8400 nid=0x16e0 runnable

      "GC task thread#1 (ParallelGC)" prio=10 tid=0x08ff9c00 nid=0x16e1 runnable

      "VM Periodic Task Thread" prio=10 tid=0x7e84d400 nid=0x16eb waiting on condition

      JNI global references: 2264

        Activity

        Hide
        Sanjeeb Sahoo added a comment -

        r59065 | ss141213 | 2013-02-03 20:16:09 +0530 (Sun, 03 Feb 2013) | 5 lines

        Show
        Sanjeeb Sahoo added a comment - r59065 | ss141213 | 2013-02-03 20:16:09 +0530 (Sun, 03 Feb 2013) | 5 lines

          People

          • Assignee:
            Sanjeeb Sahoo
            Reporter:
            Sanjeeb Sahoo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: