[jboss-user] [Beginners Corner] - Problem shuting down

obarcelona do-not-reply at jboss.com
Wed Jul 30 06:06:01 EDT 2008


Hi we have a problem shutting down a Jboss server. We use the following command:
shutdown -S -s : -u  -p 

We don't know what happens with ip beacuse we are specifing a internet ip like 80.2.3.x but always the server refuse the connection on ip 127.0.0.1
Note that there are two internet ip's on that machine and perhaps i think there are a problem with operative system configuration (nat?)

here the stack trace of the error: 
Shutting down JBoss Application Server 4.2.2  [2008-07-30 10:04:17]
  | Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
  | 	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
  | 	at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | 	at org.jboss.Shutdown.main(Shutdown.java:214)
  | Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]
  | 	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274)
  | 	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533)
  | 	... 4 more
  | Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]
  | 	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248)
  | 	... 5 more
  | Caused by: java.net.ConnectException: Connection refused: connect
  | 	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.SocksSocketImpl.connect(SocksSocketImpl.java:366)
  | 	at java.net.Socket.connect(Socket.java:519)
  | 	at java.net.Socket.connect(Socket.java:469)
  | 	at java.net.Socket.<init>(Socket.java:366)
  | 	at java.net.Socket.<init>(Socket.java:267)
  | 	at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
  | 	at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
  | 	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244)
  | 	... 5 more
  | Shutdown JBoss Application Server 4.2.2  service [2008-07-30 10:04:19]


thanks a lot and sorry for my english :(

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167563#4167563

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167563



More information about the jboss-user mailing list