geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject Re: Geronimo 2.1.1 hangs on Stop Application
Date Mon, 04 Aug 2008 21:20:23 GMT
Looks like you are starting the server via GShell and so the thread
dump you attached is of the GShell process (server runs in a separate
process when started via GShell). Please start the server using
"geronimo.bat run" and get thread dump of that process.

Jarek

On Mon, Aug 4, 2008 at 4:58 PM, chi.botron <cfong@benefitsxml.com> wrote:
>
> I am running Geronimo 2.1.1 on JDK 1.5.0_16 on a Windows XP machine at a 512M
> heap size.
>
> One of my applications hangs the server when I try to Stop it through the
> console, Uninstall it from the console, Stop through the command line, or
> Uninstall from the command line.  When I say "hangs" I mean that I do not
> get a response indefinitely.
>
> I did a Thread dump and got this:
>
> Full thread dump Java HotSpot(TM) Client VM (1.5.0_16-b02 mixed mode,
> sharing):
>
> "Thread-8" daemon prio=6 tid=0x02e50d88 nid=0x1154 waiting on condition
> [0x03daf000..0x03dafae8]
>        at java.lang.Thread.sleep(Native Method)
>        at
> com.sun.jmx.remote.internal.ClientCommunicatorAdmin$Checker.run(ClientCommunicatorAdmin.java:154)
>        at java.lang.Thread.run(Thread.java:595)
>
> "Timer-0" daemon prio=6 tid=0x02ef0d88 nid=0x18c in Object.wait()
> [0x03d6f000..0x03d6fb68]
>        at java.lang.Object.wait(Native Method)
>        - waiting on <0x23486408> (a java.util.TaskQueue)
>        at java.lang.Object.wait(Object.java:474)
>        at java.util.TimerThread.mainLoop(Timer.java:483)
>        - locked <0x23486408> (a java.util.TaskQueue)
>        at java.util.TimerThread.run(Timer.java:462)
>
> "GC Daemon" daemon prio=2 tid=0x03158d40 nid=0x157c in Object.wait()
> [0x03cef000..0x03cefc68]
>        at java.lang.Object.wait(Native Method)
>        - waiting on <0x23486478> (a sun.misc.GC$LatencyLock)
>        at sun.misc.GC$Daemon.run(GC.java:100)
>        - locked <0x23486478> (a sun.misc.GC$LatencyLock)
>
> "RMI RenewClean-[192.168.0.152:9999]" daemon prio=6 tid=0x03156e58
> nid=0x1368 in Object.wait() [0x03caf000..0x03cafce8]
>        at java.lang.Object.wait(Native Method)
>        - waiting on <0x234864e0> (a java.lang.ref.ReferenceQueue$Lock)
>        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
>        - locked <0x234864e0> (a java.lang.ref.ReferenceQueue$Lock)
>        at
> sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:501)
>        at java.lang.Thread.run(Thread.java:595)
>
> "Thread-5" daemon prio=6 tid=0x030c2cb0 nid=0x930 runnable
> [0x03c2f000..0x03c2fa68]
>        at java.io.FileInputStream.readBytes(Native Method)
>        at java.io.FileInputStream.read(FileInputStream.java:177)
>        at
> org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:92)
>        at java.lang.Thread.run(Thread.java:595)
>
> "Thread-4" daemon prio=6 tid=0x030c2b28 nid=0x96c runnable
> [0x03bef000..0x03befae8]
>        at java.io.FileInputStream.readBytes(Native Method)
>        at java.io.FileInputStream.read(FileInputStream.java:194)
>        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>        at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
>        at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
>        - locked <0x2347e528> (a java.io.BufferedInputStream)
>        at java.io.FilterInputStream.read(FilterInputStream.java:90)
>        at
> org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:92)
>        at java.lang.Thread.run(Thread.java:595)
>
> "Geronimo Server Runner" prio=6 tid=0x03097d90 nid=0xbfc runnable
> [0x03b5d000..0x03b5fbe8]
>        at java.lang.ProcessImpl.waitFor(Native Method)
>        at org.apache.tools.ant.taskdefs.Execute.waitFor(Execute.java:549)
>        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:480)
>        at org.apache.tools.ant.taskdefs.Java.fork(Java.java:767)
>        at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:194)
>        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:104)
>        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:585)
>        at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>        at org.apache.tools.ant.Task.perform(Task.java:348)
>        at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:174)
>        at
> groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:153)
>        at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:135)
>        at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
>        at
> org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:102)
>        at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:79)
>        at
> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:74)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:158)
>        at
> org.apache.geronimo.commands.StartServerCommand$_doExecute_closure2.doCall(StartServerCommand.groovy:113)
>        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:585)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
>        at
> org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:58)
>        at
> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:66)
>        at
> org.apache.geronimo.commands.StartServerCommand$_doExecute_closure2.doCall(StartServerCommand.groovy)
>        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:585)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
>        at
> org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:58)
>        at
> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:761)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:589)
>        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:585)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:127)
>        at
> org.codehaus.groovy.runtime.metaclass.StdMetaMethod.invoke(StdMetaMethod.java:18)
>        at
> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:589)
>        at
> org.codehaus.groovy.runtime.Invoker.invokePojoMethod(Invoker.java:87)
>        at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:75)
>        at
> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:74)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:158)
>        at
> org.apache.geronimo.commands.ProcessLauncher.invokeMethod(ProcessLauncher.groovy)
>        at
> groovy.lang.MetaClassImpl.invokeMethodOnGroovyObject(MetaClassImpl.java:781)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:731)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:66)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:99)
>        at
> org.apache.geronimo.commands.ProcessLauncher$_launch_closure1.doCall(ProcessLauncher.groovy:63)
>        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:585)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
>        at
> org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:58)
>        at
> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:66)
>        at
> org.apache.geronimo.commands.ProcessLauncher$_launch_closure1.doCall(ProcessLauncher.groovy)
>        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:585)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
>        at
> org.codehaus.groovy.runtime.metaclass.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:58)
>        at
> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:589)
>        at groovy.lang.Closure.call(Closure.java:290)
>        at groovy.lang.Closure.call(Closure.java:285)
>        at groovy.lang.Closure.run(Closure.java:366)
>        at java.lang.Thread.run(Thread.java:595)
>
> "Low Memory Detector" daemon prio=6 tid=0x00a71e58 nid=0x1014 runnable
> [0x00000000..0x00000000]
>
> "CompilerThread0" daemon prio=10 tid=0x00a70ad0 nid=0xe1c waiting on
> condition [0x00000000..0x02bcfa48]
>
> "Signal Dispatcher" daemon prio=10 tid=0x00a45de8 nid=0xd90 waiting on
> condition [0x00000000..0x00000000]
>
> "Finalizer" daemon prio=8 tid=0x00a42408 nid=0x16dc in Object.wait()
> [0x02b4f000..0x02b4fa68]
>        at java.lang.Object.wait(Native Method)
>        - waiting on <0x23069ba0> (a java.lang.ref.ReferenceQueue$Lock)
>        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120)
>        - locked <0x23069ba0> (a java.lang.ref.ReferenceQueue$Lock)
>        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136)
>        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
>
> "Reference Handler" daemon prio=10 tid=0x0003e020 nid=0xd8c in Object.wait()
> [0x02b0f000..0x02b0fae8]
>        at java.lang.Object.wait(Native Method)
>        - waiting on <0x23069c28> (a java.lang.ref.Reference$Lock)
>        at java.lang.Object.wait(Object.java:474)
>        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
>        - locked <0x23069c28> (a java.lang.ref.Reference$Lock)
>
> "main" prio=6 tid=0x000350d0 nid=0x13a4 in Object.wait()
> [0x0007e000..0x0007fc40]
>        at java.lang.Object.wait(Native Method)
>        - waiting on <0x2342a6a8> (a java.lang.Thread)
>        at java.lang.Thread.join(Thread.java:1095)
>        - locked <0x2342a6a8> (a java.lang.Thread)
>        at java.lang.Thread.join(Thread.java:1148)
>        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:585)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:127)
>        at
> org.codehaus.groovy.runtime.metaclass.StdMetaMethod.invoke(StdMetaMethod.java:18)
>        at
> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:589)
>        at
> org.codehaus.groovy.runtime.Invoker.invokePojoMethod(Invoker.java:87)
>        at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:75)
>        at
> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:74)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:158)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:201)
>        at
> org.apache.geronimo.commands.ProcessLauncher.launch(ProcessLauncher.groovy:122)
>        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:585)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
>        at
> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:127)
>        at
> org.codehaus.groovy.runtime.metaclass.StdMetaMethod.invoke(StdMetaMethod.java:18)
>        at
> org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:589)
>        at
> org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:98)
>        at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:79)
>        at
> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:74)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:158)
>        at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:201)
>        at
> org.apache.geronimo.commands.StartServerCommand.doExecute(StartServerCommand.groovy:188)
>        at
> org.apache.geronimo.gshell.command.CommandSupport.execute(CommandSupport.java:101)
>        at
> org.apache.geronimo.gshell.plugin.PlexusCommandWrapper.execute(PlexusCommandWrapper.java:71)
>        at
> org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:209)
>        at
> org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:96)
>        at
> org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17)
>        at
> org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:57)
>        at
> org.apache.geronimo.gshell.ExecutingVisitor.visit(ExecutingVisitor.java:79)
>        at
> org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17)
>        at
> org.apache.geronimo.gshell.DefaultCommandLineBuilder$1.execute(DefaultCommandLineBuilder.java:95)
>        at
> org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:86)
>        at
> org.apache.geronimo.gshell.DefaultShell.execute(DefaultShell.java:123)
>        at org.apache.geronimo.gshell.GShell.execute(GShell.java:120)
>        at org.apache.geronimo.gshell.cli.Main.boot(Main.java:246)
>        at org.apache.geronimo.gshell.cli.Main.main(Main.java:266)
>        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:585)
>        at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>        at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>        at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>        at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
>        at
> org.apache.geronimo.gshell.bootstrap.Launcher.main(Launcher.java:59)
>
> "VM Thread" prio=10 tid=0x00a6d7f0 nid=0x145c runnable
>
> "VM Periodic Task Thread" prio=10 tid=0x00a731c8 nid=0x110c waiting on
> condition
>
>
> This has to do with something about the application ear that I am stopping
> as I do not have a problem with any other applications, but I can't figure
> out what it is that is wrong with my application that is causing this.
>
> Does anyone know if there is some setting or something that could be causing
> this hang?
> --
> View this message in context: http://www.nabble.com/Geronimo-2.1.1-hangs-on-Stop-Application-tp18819695s134p18819695.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message