./bin/init.d/jboss-as-standalone.sh hangs while calling via SSH

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.