0 Replies Latest reply on Apr 23, 2003 7:35 PM by Craig Andrews-Jones

    shutdown.sh gives Connection refused error

    Craig Andrews-Jones Newbie

      Hello,

      I am running JSDK 1.4.1_01.
      I unzipped jboss-3.0.7_jakarta-tomcat-4.1.24.zip.
      I started jboss with $JBOSS_HOME/bin/run.sh
      I stopped jboss with $JBOSS_HOME/bin/shutdown.sh
      I have tried giving the server and port to shutdown.sh.
      I always get a connection refused exception and stack trace (see below).

      Any suggestions? Should I ignore this Exception?

      Thanks,
      Craig.

      KINGLOUIE:/cygdrive/d/jboss-3.0.7_jakarta-tomcat-4.1.24/bin> ./shutdown.sh
      Shutting down server http://localhost:8080
      http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.s
      ystem%3Atype%3DServer&methodName=shutdown
      java.net.ConnectException: Connection refused: connect
      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:426)
      at java.net.Socket.connect(Socket.java:376)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:710)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
      nection.java:583)
      at java.net.URLConnection.getContent(URLConnection.java:582)
      at org.jboss.Shutdown.shutdown(Shutdown.java:105)
      at org.jboss.Shutdown.main(Shutdown.java:81)
      Shutdown complete