[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: shutting down jboss server running on a machine having m

Mahi_nath do-not-reply at jboss.com
Tue Sep 2 02:41:38 EDT 2008


Hi again...
I got new problem in shutting down jBoss server in linux machine.
As i mentioned earlier
anonymous wrote : 
  | I have JBoss server running on a single machine having multiple IPs (say xxx.xxx.xxx.108,xxx.xxx.xxx.109,and so on), i need to bind my application only to particular IP(say xxx.xxx.xxx.108).
  | 
now i can able to bind my application to single ip in linux but i was not able to shutdown the jboss server.
Before binding my application to single IP(i.e;server is bound to all IPs)the shutdown results are as follows:
anonymous wrote : [system at bin] sh run.sh
  | [system at bin]netstat -anp | grep 9170
  | (Not all processes could be identified, non-owned process info
  | will not be shown, you would have to be root to see it all.)
  | tcp        0      0 :::53825                    :::*                        LISTEN      9170/java
  | tcp        0      0 :::33162                    :::*                        LISTEN      9170/java
  | tcp        0      0 :::33515                    :::*                        LISTEN      9170/java
  | tcp        0      0 :::8500                     :::*                        LISTEN      9170/java
  | tcp        0      0 ::ffff:127.0.0.1:57876      ::ffff:127.0.0.1:33336      ESTABLISHED 9170/java
  | tcp        0      0 ::ffff:127.0.0.1:58621      ::ffff:127.0.0.1:33336      ESTABLISHED 9170/java
  | tcp        0      0 ::ffff:127.0.0.1:57022      ::ffff:127.0.0.1:33336      ESTABLISHED 9170/java
  | tcp        0      0 ::ffff:127.0.0.1:50975      ::ffff:127.0.0.1:33336      ESTABLISHED 9170/java
  | udp        0      0 :::1514                     :::*                                    9170/java
  | unix  2      [ ]         STREAM     CONNECTED     86960  9170/java
  | [system at bin] sh shutdown.sh  [Successful]
  | 
After binding to single IP the shutdown results are shown below :
anonymous wrote : [system at bin] run.sh -c default -b 192.168.111.234
  | [system at bin]netstat -anp | grep 9444
  | (Not all processes could be identified, non-owned process info
  | will not be shown, you would have to be root to see it all.)
  | tcp        0      0 ::ffff:192.168.111.23:39360 :::*                        LISTEN      9444/java
  | tcp        0      0 ::ffff:192.168.111.23:54371 :::*                        LISTEN      9444/java
  | tcp        0      0 ::ffff:192.168.111.23:44686 :::*                        LISTEN      9444/java
  | tcp        0      0 ::ffff:192.168.111.234:8500 :::*                        LISTEN      9444/java
  | tcp        0      0 ::ffff:127.0.0.1:33209      ::ffff:127.0.0.1:33336      ESTABLISHED 9444/java
  | tcp        0      0 ::ffff:127.0.0.1:60493      ::ffff:127.0.0.1:33336      ESTABLISHED 9444/java
  | tcp        0      0 ::ffff:127.0.0.1:57899      ::ffff:127.0.0.1:33336      ESTABLISHED 9444/java
  | tcp        0      0 ::ffff:127.0.0.1:56898      ::ffff:127.0.0.1:33336      ESTABLISHED 9444/java
  | udp        0      0 :::1514                     :::*                                    9444/java
  | unix  2      [ ]         STREAM     CONNECTED     96875  9444/java
  | 
  | [system at bin] sh shutdown.sh  [ failed with ConnectException ]
  | 
Even tried with the below command : (solution which you have provided me earlier..)
anonymous wrote : [system at bin] sh shutdown.sh -S -s 192.168.111.234:<Naming Service Port> 
Still iam getting the same error i mean "failed with ConnectException"

Also i observed that after i bind to single ip , when i netstat iam not able to see the full ip in the results i dont know why?(see above in quote 3, Actually binded IP is 192.168.111.234 but it is displaying only 192.168.111.23)

Please suggest me anything with respect to this....

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

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



More information about the jboss-user mailing list