-
1. Re: Shutdown JBoss AS 6.1
ymaraner Sep 20, 2011 8:54 AM (in response to javapenguin)Have you verified that it isn't a firewall issue?
-
2. Re: Shutdown JBoss AS 6.1
javapenguin Sep 21, 2011 1:03 AM (in response to ymaraner)gary-desktop is my localhost
-
3. Re: Shutdown JBoss AS 6.1
wdfink Sep 21, 2011 6:09 AM (in response to javapenguin)What if you use a IP directly?
Maybe it is a naming issue and gary-desktop will be resolved different.
You might see the IP address within the bot or server logfile.
-
4. Re: Shutdown JBoss AS 6.1
javapenguin Sep 21, 2011 8:04 AM (in response to wdfink)I am running in a corparate environment and I am running multiple instances of jboss on the same server. I HAVE to use hostnames, and they all worked fine with jboss 4 & 5. I do not have the authority to change the environment setup. I am trying to get jboss 6.1 working the same way we have been using jboss 4 & 5 for the last 3 years.
-
5. Re: Shutdown JBoss AS 6.1
ymaraner Sep 21, 2011 8:41 AM (in response to javapenguin)If this is a Windows machine, I believe that the Windows firewall may still block ports if you don't specify "localhost" explicitly.
I know that we have had issues with connections from one process to another on the same machine when the machine name is used in the connection info.
-
6. Re: Shutdown JBoss AS 6.1
javapenguin Sep 22, 2011 1:36 AM (in response to ymaraner)Nope this is a linux machine
-
7. Re: Shutdown JBoss AS 6.1
wdfink Sep 22, 2011 4:33 AM (in response to javapenguin)Do you see the bind address within the logfiles.
also you might use netstat to see a bit more.
Is http accessable at 8080?
Check boot.log server.log or the startup messages.
-
8. Re: Shutdown JBoss AS 6.1
sureshbc Sep 23, 2011 3:20 AM (in response to wdfink)1 of 1 people found this helpfulHi....
Check your conf folder bindings-jboss-beans.xml ,what is the RMI port is configured for the description [RMI/JRMP socket for connecting to the JMX MBeanServer].You have to use the same port(if u r using default) otherwise you have to sum this value to the port offset value and replace the below syntax and check.
Below is the geneal syntax if you are using the default mode.
./shutdown.sh --host=localhost --server=service:jmx:rmi:///jndi/rmi://localhost:1090/jmxrmi --port=1090
Try with localhost first otherwise change it to IP address and check.I am suspecting the problem with the port not the hostname.
Regards,
Suresh
-
9. Re: Shutdown JBoss AS 6.1
javapenguin Sep 23, 2011 3:32 AM (in response to sureshbc)Thanks
I eventualy got it sorted.
Like I mentioned above I have six jboss instances running on the one machine with jboss versions 4,5 and now 6. We are in the process of upgrading all to jboss 6.1, but I had to get the first one running along side the rest.
It was not one problme but a combination of hostnames and ports.
Configuring bindings manualy and shutting down with: ./shutdown.sh -S --host=gary-desktop --server=service:jmx:rmi:///jndi/rmi://gary-desktop:1090/jmxrmi --port=1090
Seems to work.
-
10. Re: Shutdown JBoss AS 6.1
wdfink Sep 23, 2011 5:38 AM (in response to javapenguin)an other option is to shutdown the JBoss graceful with the SIG_TERM signal, you might use 'kill <the JVMs PID>' for this. It will be the same as if you call shutdown.sh