Update Repository List in Plugin portlet does not display error message when 
geronimo.apache.org is down
--------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-4575
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4575
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: console
    Affects Versions: 2.1.3, 2.2
            Reporter: Donald Woods
            Priority: Minor
             Fix For: 2.2


Just noticed that when geronimo.apache.org is down or cannot be reached, that 
the Plugins portlet does not display a error message when the Update Repository 
List link is used, but throws an exception in the console -
{noformat}
2009-03-06 13:46:15,268 ERROR [PluginRepositoryDownloader] Unable to save 
download repositories
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.Socket.connect(Socket.java:520)
        at java.net.Socket.connect(Socket.java:470)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
        at sun.net.www.http.HttpClient.New(HttpClient.java:304)
        at sun.net.www.http.HttpClient.New(HttpClient.java:321)
        at 
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
...
{noformat}

We should use the new CommonMessage feature to display the error.


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

Reply via email to