1 Reply Latest reply on Aug 7, 2003 8:24 AM by Jan Nielsen

    Exception on shutdown?

    Jan Nielsen Newbie

      I use the shutdown.sh script to shut down my JBoss 3.0.8 server but often, I'm presented with the exception below. Does anyone have a clue what this means? The server shuts down ok and there are no exceptions in my server log, so what goes wrong in the shutdown client?

      Shutting down server http://localhost:80
      http://localhost:80/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.sys
      tem%3Atype%3DServer&methodName=shutdown
      java.net.ConnectException: Connection refused
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:452)
      at java.net.Socket.connect(Socket.java:402)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
      at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:814)
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
      nection.java:624)
      at java.net.URLConnection.getContent(URLConnection.java:585)
      at org.jboss.Shutdown.shutdown(Shutdown.java:105)
      at org.jboss.Shutdown.main(Shutdown.java:81)
      Shutdown complete