jdev
jdev

Reputation: 159

Start JBOSS using putty

I am trying to run JBOSS using putty, I used this command

 ./standalone.sh -Djboss.bind.address=0.0.0.0 -Djboss.bind.address.management=0.0.0.0 &

but when close the putty, server is closing down

please help

Upvotes: 1

Views: 3853

Answers (2)

Martin
Martin

Reputation: 11

You need to use nohup. This will prevent the JBOSS server being killed when you exit putty.

nohup ./standalone.sh -Djboss.bind.address=0.0.0.0 -Djboss.bind.address.management=0.0.0.0 &

Upvotes: 1

Safwan Hijazi
Safwan Hijazi

Reputation: 2089

I think there is no problem with your command, but make sure to add & at the end, try to run this command in JBOSS bin folder:

 ./standalone.sh &

so JBOSS will not be terminated when the putty is closed.

Upvotes: 2

Related Questions