0 Replies Latest reply on Sep 10, 2003 8:25 AM by garandi

    Installed full JBoss to use it as JMS server

    garandi

      I have installed full JBoss 4.0.0DR2 and want to use it as JMS server.
      JBoss starts fine, but when I try to shut it down using
      the command

      shutdown -s -S I get the following error.
      Wondering what is missing.



      C:\jboss-4.0.0DR2\bin>shutdown -s -S
      10:11:06,101 WARN [NamingContext] Failed to connect to -S:1099
      javax.naming.CommunicationException: Failed to connect to server -S:1099. Root
      exception is
      javax.naming.ServiceUnavailableException: Failed to connect to server -S:1099.
      Root exception is
      java.net.UnknownHostException: -S: -S
      at java.net.InetAddress.getAllByName0(InetAddress.java:948)
      at java.net.InetAddress.getAllByName0(InetAddress.java:918)
      at java.net.InetAddress.getAllByName(InetAddress.java:912)
      at java.net.InetAddress.getByName(InetAddress.java:832)
      at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory
      .java:61)
      at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:187)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1124)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:486)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:479)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jboss.Shutdown.main(Shutdown.java:185)
      Exception in thread "main" javax.naming.CommunicationException: Receive timed ou
      t. Root exception is java.net.SocketTimeoutException: Receive timed out
      at java.net.PlainDatagramSocketImpl.receive(Native Method)
      at java.net.DatagramSocket.receive(DatagramSocket.java:671)
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:10
      46)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1135)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:486)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:479)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jboss.Shutdown.main(Shutdown.java:185)
      Press any key to continue . . .