Anirban
Anirban

Reputation: 949

Start JBoss EAP 7.2 in background

I am new to JBoss EAP administration. I know how to start JBoss EAP. In linux environment I run

sh standalone.sh

and the JBoss server starts. The problem is when I disconnect the session i.e. close the putty window from which sh command has been run, the server also stops. So how will I be able to start and stop JBoss EAP in background so that it won't stop when the putty window is closed, but rather I can start or stop it myself?

Upvotes: 0

Views: 1583

Answers (1)

James R. Perkins
James R. Perkins

Reputation: 17840

The simplest solution is to add a & at the end of the command. Something like sh standalone.sh &.

For a better approach have a look at the EAP documentation for running EAP as a service.

Upvotes: 1

Related Questions