./bin/init.d/jboss-as-standalone.sh hangs while calling via SSH
Issue
Trying to start Jboss as service from remote machine using below command:
ssh root@myserver service jboss-as-standalone.sh start
The server starts up normally, but SSH hangs. It seems it isn't able to close the connection. Control doesn't return to local system:
[abhumbe@abhumbe ~]$ ssh root@10.10.10.10 service jboss-as-standalone.sh start
root@10.10.10.10's password:
Starting jboss-as: [ OK ]
^CKilled by signal 2.
Environment
Red Hat JBoss Enterprise Application Platform (EAP)
- 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.