Hello everyone,

strange things are happening when I'm trying to shut down a JBoss node with:

  | shutdown.sh -S
  | 

The result I get is this:


  | 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:1242)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:527)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
  |         at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |         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:215)
  |         at 
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1227)
  |         ... 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:189)
  |         ... 5 more
  | Caused by: java.net.ConnectException: Connection refused
  |         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:364)
  |         at java.net.Socket.connect(Socket.java:507)
  |         at java.net.Socket.connect(Socket.java:457)
  |         at java.net.Socket.<init>(Socket.java:365)
  |         at java.net.Socket.<init>(Socket.java:265)
  |         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:185)
  |         ... 5 more
  | 

These are the ports opened by JBoss, and as you will notice, port 1099 is among 
them:


  | tcp        0      0 10.207.1.28:1100        0.0.0.0:*               LISTEN  
    11323/java
  | tcp        0      0 10.207.1.28:4059        0.0.0.0:*               LISTEN  
    11323/java
  | tcp        0      0 10.207.1.28:7800        0.0.0.0:*               LISTEN  
    11323/java
  | tcp        0      0 10.207.1.28:8080        0.0.0.0:*               LISTEN  
    11323/java
  | tcp        0      0 10.207.1.28:4445        0.0.0.0:*               LISTEN  
    11323/java
  | tcp        0      0 10.207.1.28:4444        0.0.0.0:*               LISTEN  
    11323/java
  | tcp        0      0 10.207.1.28:8083        0.0.0.0:*               LISTEN  
    11323/java
  | tcp        0      0 10.207.1.28:1099        0.0.0.0:*               LISTEN  
    11323/java
  | tcp        0      0 10.207.1.28:1098        0.0.0.0:*               LISTEN  
    11323/java
  | udp        0      0 0.0.0.0:1102            0.0.0.0:*                       
    11323/java
  | 

However, there seems to be *something* wrong, since I can't even connect via 
telnet:


  | # telnet localhost 1099
  | Trying 127.0.0.1...
  | telnet: Unable to connect to remote host: Connection refused
  | 

My JBoss version is 4.0.1, JDK is 1.5.0_01, running on a Debian 3.0 with Linux 
kernel 2.2.20, no firewall actiaved.

I hope somebody can give me a clue on this issue. Thanks in advance!

Torben Giesselmann


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

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


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to