I am using JBoss 4.0.0 on Suse 9.1. I am using the jboss-init.suse.sh script to
start jboss and I am setting the bind address using the -b flag. I can no
longer stop jboss using the jboss-init-suse.sh script. It is trying to shutdown
over localhost instead of the bound address. Local hosts is set at the usual
127.0.0.1 but I am binding to the static ip on the computer for the network I
am on. Anyone know what I am doing wrong. Here is the exception I am getting.
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]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:212)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1185)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:515)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.Shutdown.main(Shutdown.java:182)
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to
server localhost:1099 [Root exception is java.net.ConnectException: Connection
refused]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:186)
... 5 more
Caused by: 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 java.net.Socket.(Socket.java:309)
at java.net.Socket.(Socket.java:211)
at
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
at
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:182)
... 5 more
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]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1200)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:515)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.Shutdown.main(Shutdown.java:182)
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]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:212)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1185)
... 4 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to
server localhost:1099 [Root exception is java.net.ConnectException: Connection
refused]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:186)
... 5 more
Caused by: 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 java.net.Socket.(Socket.java:309)
at java.net.Socket.(Socket.java:211)
at
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
at
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:182)
... 5 more
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861111#3861111
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861111
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user