You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "YunFeng Ma (JIRA)" <ji...@apache.org> on 2008/05/20 08:20:55 UTC

[jira] Created: (GERONIMO-4036) Warning message after running gsh geronimo/stop-server

Warning message after running gsh geronimo/stop-server
------------------------------------------------------

                 Key: GERONIMO-4036
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4036
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: commands
    Affects Versions: 2.1.2, 2.1.x, 2.2
         Environment: Windows
            Reporter: YunFeng Ma
             Fix For: 2.1.2


About 10 seconds after running geronimo/stop-server successfully, got the following warning messages in the gsh console:

{noformat}
MaYunFeng@TH-9418A58D694:/> 2008-5-20 13:51:12 ClientCommunicatorAdmin restart
Warning: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
        java.net.ConnectException: Connection refused: connect]
2008-5-20 13:51:13 RMIConnector RMIClientCommunicatorAdmin-doStop
Warning: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.186.117.32; nested exception is:
        java.net.ConnectException: Connection refused: connect
2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
Warning: Failed to check connection: java.net.ConnectException: Connection refused: connect
2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
Warning: stopping
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-4036) Warning message after running gsh geronimo/stop-server

Posted by "Jason Warner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Warner reassigned GERONIMO-4036:
--------------------------------------

    Assignee: Jason Warner

> Warning message after running gsh geronimo/stop-server
> ------------------------------------------------------
>
>                 Key: GERONIMO-4036
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4036
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.2, 2.1.x, 2.2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Warner
>             Fix For: 2.1.2
>
>
> About 10 seconds after running geronimo/stop-server successfully, got the following warning messages in the gsh console:
> {noformat}
> MaYunFeng@TH-9418A58D694:/> 2008-5-20 13:51:12 ClientCommunicatorAdmin restart
> Warning: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused: connect]
> 2008-5-20 13:51:13 RMIConnector RMIClientCommunicatorAdmin-doStop
> Warning: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.186.117.32; nested exception is:
>         java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: Failed to check connection: java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: stopping
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-4036) Warning message after running gsh geronimo/stop-server

Posted by "Jason Warner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Warner updated GERONIMO-4036:
-----------------------------------

    Fix Version/s: 2.2

> Warning message after running gsh geronimo/stop-server
> ------------------------------------------------------
>
>                 Key: GERONIMO-4036
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4036
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.2, 2.1.x, 2.2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Warner
>             Fix For: 2.1.2, 2.2
>
>
> About 10 seconds after running geronimo/stop-server successfully, got the following warning messages in the gsh console:
> {noformat}
> MaYunFeng@TH-9418A58D694:/> 2008-5-20 13:51:12 ClientCommunicatorAdmin restart
> Warning: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused: connect]
> 2008-5-20 13:51:13 RMIConnector RMIClientCommunicatorAdmin-doStop
> Warning: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.186.117.32; nested exception is:
>         java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: Failed to check connection: java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: stopping
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-4036) Warning message after running gsh geronimo/stop-server

Posted by "Jason Warner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Warner resolved GERONIMO-4036.
------------------------------------

    Resolution: Fixed

rev. 664148 in branches/2.1
rev. 664243 in trunk

Many thanks to Jarek for his incredibly helpful suggestions.

> Warning message after running gsh geronimo/stop-server
> ------------------------------------------------------
>
>                 Key: GERONIMO-4036
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4036
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.2, 2.1.x, 2.2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Warner
>             Fix For: 2.1.2, 2.2
>
>
> About 10 seconds after running geronimo/stop-server successfully, got the following warning messages in the gsh console:
> {noformat}
> MaYunFeng@TH-9418A58D694:/> 2008-5-20 13:51:12 ClientCommunicatorAdmin restart
> Warning: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused: connect]
> 2008-5-20 13:51:13 RMIConnector RMIClientCommunicatorAdmin-doStop
> Warning: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.186.117.32; nested exception is:
>         java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: Failed to check connection: java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: stopping
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4036) Warning message after running gsh geronimo/stop-server

Posted by "Jason Warner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602423#action_12602423 ] 

Jason Warner commented on GERONIMO-4036:
----------------------------------------

Jarek, I attempted your suggestion with the same results that YunFeng reported.  I thought I understood what was going on but now I'm not so sure.  I'll have to look into what's actually happening further

> Warning message after running gsh geronimo/stop-server
> ------------------------------------------------------
>
>                 Key: GERONIMO-4036
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4036
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.2, 2.1.x, 2.2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Warner
>             Fix For: 2.1.2
>
>
> About 10 seconds after running geronimo/stop-server successfully, got the following warning messages in the gsh console:
> {noformat}
> MaYunFeng@TH-9418A58D694:/> 2008-5-20 13:51:12 ClientCommunicatorAdmin restart
> Warning: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused: connect]
> 2008-5-20 13:51:13 RMIConnector RMIClientCommunicatorAdmin-doStop
> Warning: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.186.117.32; nested exception is:
>         java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: Failed to check connection: java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: stopping
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4036) Warning message after running gsh geronimo/stop-server

Posted by "Jason Warner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601191#action_12601191 ] 

Jason Warner commented on GERONIMO-4036:
----------------------------------------

The warning's are a result of the connection to the server being closed when the server succesfully shut's down.  There's no way to avoid it that I know of.  I'm not sure if there's a way to hide those warning messages.  Is anyone aware of how to do that?

> Warning message after running gsh geronimo/stop-server
> ------------------------------------------------------
>
>                 Key: GERONIMO-4036
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4036
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.2, 2.1.x, 2.2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Warner
>             Fix For: 2.1.2
>
>
> About 10 seconds after running geronimo/stop-server successfully, got the following warning messages in the gsh console:
> {noformat}
> MaYunFeng@TH-9418A58D694:/> 2008-5-20 13:51:12 ClientCommunicatorAdmin restart
> Warning: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused: connect]
> 2008-5-20 13:51:13 RMIConnector RMIClientCommunicatorAdmin-doStop
> Warning: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.186.117.32; nested exception is:
>         java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: Failed to check connection: java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: stopping
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4036) Warning message after running gsh geronimo/stop-server

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602529#action_12602529 ] 

Jarek Gawor commented on GERONIMO-4036:
---------------------------------------

Hmm... another idea: how did you start the server? Via gshell? And if so, was it the same gshell instance used to start and stop the server? I think the start-server command might not be closing its jmx connection (through ServerProxy) which then might be generating these exceptions.


> Warning message after running gsh geronimo/stop-server
> ------------------------------------------------------
>
>                 Key: GERONIMO-4036
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4036
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.2, 2.1.x, 2.2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Warner
>             Fix For: 2.1.2
>
>
> About 10 seconds after running geronimo/stop-server successfully, got the following warning messages in the gsh console:
> {noformat}
> MaYunFeng@TH-9418A58D694:/> 2008-5-20 13:51:12 ClientCommunicatorAdmin restart
> Warning: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused: connect]
> 2008-5-20 13:51:13 RMIConnector RMIClientCommunicatorAdmin-doStop
> Warning: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.186.117.32; nested exception is:
>         java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: Failed to check connection: java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: stopping
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4036) Warning message after running gsh geronimo/stop-server

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602303#action_12602303 ] 

Jarek Gawor commented on GERONIMO-4036:
---------------------------------------

Did you try closing the client connection explicitly (i.e.  what the disconnect command is doing) after successful shutdown?


> Warning message after running gsh geronimo/stop-server
> ------------------------------------------------------
>
>                 Key: GERONIMO-4036
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4036
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.2, 2.1.x, 2.2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Warner
>             Fix For: 2.1.2
>
>
> About 10 seconds after running geronimo/stop-server successfully, got the following warning messages in the gsh console:
> {noformat}
> MaYunFeng@TH-9418A58D694:/> 2008-5-20 13:51:12 ClientCommunicatorAdmin restart
> Warning: Failed to restart: java.io.IOException: Failed to get a RMI stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
>         java.net.ConnectException: Connection refused: connect]
> 2008-5-20 13:51:13 RMIConnector RMIClientCommunicatorAdmin-doStop
> Warning: Failed to call the method close():java.rmi.ConnectException: Connection refused to host: 9.186.117.32; nested exception is:
>         java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: Failed to check connection: java.net.ConnectException: Connection refused: connect
> 2008-5-20 13:51:13 ClientCommunicatorAdmin Checker-run
> Warning: stopping
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.