I cut&pasted what you wrote into my terminal and it still won't work, but this time I get an exception:

Exception in thread "main" javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: <public IP of the machine>; nested exception is:
java.net.ConnectException: Connection timed out]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.Shutdown.main(Shutdown.java:180)
Caused by: java.rmi.ConnectException: Connection refused to host: <public IP of the machine>; nested exception is:
java.net.ConnectException: Connection timed out
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)
... 3 more
Caused by: java.net.ConnectException: Connection timed out
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 java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSoc ketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSoc ketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562)
... 8 more


This is a RedHat Linux machine that I do not administer. I wonder if there is something funky going on with the firewall. Has anyone else seen this before?
-M@


On Wednesday, September 17, 2003, at 06:55 PM, Bruyn, Bill wrote:

Include the port number: e.g, ./shutdown.sh -slocalhost:1099

-----Original Message-----
From: Matthew Hixson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 6:32 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] shutting down JBoss gracefully


How do I make use of shutdown.sh to shutdown JBoss? I've seen the options, looked at the source, browsed Google, and read the javadoc for org.jboss.Shutdown. As far as I can tell I should be able to run

./shutdown.sh -s localhost

But this just sits there and does nothing.  The above is what I saw
documented in the javadoc, while the commandline output says that the
parameter to -s should be the "JNDI URL of the remote server."  I just
want to shutdown JBoss running on the local machine.
   Thanks,
     -M@



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to