Well i must use shutdown.sh for linux, anyway my result is:
[root@maq01 bin]# ./shutdown.sh -s service:jmx:rmi:///jndi/rmi://localhost:1090/jmxrmi
Exception in thread "main" java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
[root@maq01 bin]# ./shutdown.sh -s service:jmx:rmi:///jndi/rmi://localhost:8080/jmxrmi
Exception in thread "main" java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
[root@maq01 bin]# ./shutdown.sh -s service:jmx:rmi:///jndi/rmi://xxx.xxx.xxx.xxx:8080/jmxrmi
Exception in thread "main" java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]
Not much new information in the link, but thank you anyway.
Having used run.sh -c all -b x.x.x.x:8080 to start it. Any more ideas please?