[jira] Assigned: (GERONIMO-3881) geronimo/stop-server dumps ConnectException: Connection refused: connect when server's stopped yet Shutdown request has been issued
[ https://issues.apache.org/jira/browse/GERONIMO-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarek Gawor reassigned GERONIMO-3881: - Assignee: Jarek Gawor > geronimo/stop-server dumps ConnectException: Connection refused: connect when > server's stopped yet Shutdown request has been issued > --- > > Key: GERONIMO-3881 > URL: https://issues.apache.org/jira/browse/GERONIMO-3881 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) >Reporter: Jacek Laskowski >Assignee: Jarek Gawor > > The stack trace should not be printed out, but a error message. The Shutdown > request has been issued message's a little misleading. > [EMAIL PROTECTED] /cygdrive/c/geronimo-jetty6-javaee5-2.1 > $ ./bin/gsh > Apache Geronimo (2.1) > Type 'help' for more information. > > [EMAIL PROTECTED]:/> geronimo/stop-server > Stopping Geronimo server: localhost:1099 > Username: systen > Password: > 23:22:20,156 WARN [ServerProxy] Unable to shutdown the server > java.io.IOException: Failed to retrieve RMIServer stub: > javax.naming.ServiceUnavailableException [Root exception is > java.rmi.ConnectException: Connection refused to host: localhost; nes > ted exception is: > java.net.ConnectException: Connection refused: connect] > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:317) > at > javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) > at > org.apache.geronimo.commands.ServerProxy.getConnection(ServerProxy.java:102) > at > org.apache.geronimo.commands.ServerProxy.invoke(ServerProxy.java:219) > at > org.apache.geronimo.commands.ServerProxy.invoke(ServerProxy.java:230) > at > org.apache.geronimo.commands.ServerProxy.invoke(ServerProxy.java:234) > at > org.apache.geronimo.commands.ServerProxy.shutdown(ServerProxy.java:202) > 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.StopServerCommand.doExecute(StopServerCommand.groovy:72) > 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.DefaultShell$1.execute(DefaultShell.java:155) >
[jira] Assigned: (GERONIMO-3881) geronimo/stop-server dumps ConnectException: Connection refused: connect when server's stopped yet Shutdown request has been issued
[ https://issues.apache.org/jira/browse/GERONIMO-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dillon reassigned GERONIMO-3881: -- Assignee: (was: Jason Dillon) > geronimo/stop-server dumps ConnectException: Connection refused: connect when > server's stopped yet Shutdown request has been issued > --- > > Key: GERONIMO-3881 > URL: https://issues.apache.org/jira/browse/GERONIMO-3881 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) >Reporter: Jacek Laskowski > > The stack trace should not be printed out, but a error message. The Shutdown > request has been issued message's a little misleading. > [EMAIL PROTECTED] /cygdrive/c/geronimo-jetty6-javaee5-2.1 > $ ./bin/gsh > Apache Geronimo (2.1) > Type 'help' for more information. > > [EMAIL PROTECTED]:/> geronimo/stop-server > Stopping Geronimo server: localhost:1099 > Username: systen > Password: > 23:22:20,156 WARN [ServerProxy] Unable to shutdown the server > java.io.IOException: Failed to retrieve RMIServer stub: > javax.naming.ServiceUnavailableException [Root exception is > java.rmi.ConnectException: Connection refused to host: localhost; nes > ted exception is: > java.net.ConnectException: Connection refused: connect] > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:317) > at > javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) > at > org.apache.geronimo.commands.ServerProxy.getConnection(ServerProxy.java:102) > at > org.apache.geronimo.commands.ServerProxy.invoke(ServerProxy.java:219) > at > org.apache.geronimo.commands.ServerProxy.invoke(ServerProxy.java:230) > at > org.apache.geronimo.commands.ServerProxy.invoke(ServerProxy.java:234) > at > org.apache.geronimo.commands.ServerProxy.shutdown(ServerProxy.java:202) > 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.StopServerCommand.doExecute(StopServerCommand.groovy:72) > 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.DefaultShell$1.execute(DefaultShell.java:155) > at org.apache.ge