LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2013, 04:26 AM   #1
jags1984
Member
 
Registered: Mar 2013
Posts: 83

Rep: Reputation: Disabled
JBOSS - starting and stopping individual application on linux


Hi,

I was going through some documents on web for starting and stopping JBOSS application on linux.

I am deploying a war file on JBOSS server in the path $JBOSS_HOME/jboss-as-web/server/$PROFILE/deploy

I am using the following command for starting and stopping the server
./run.sh and ./shutdown.sh –S but this will start and stop the whole server.

How to stop/start individual application using JBOSS on linux??
 
Old 05-14-2013, 06:58 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
it is quite easy to do with jboss-cli.sh; also it is even more easy to write a wrapper shell script if needed
 
Old 05-14-2013, 07:37 AM   #3
jags1984
Member
 
Registered: Mar 2013
Posts: 83

Original Poster
Rep: Reputation: Disabled
I will be starting and stopping server or individual for different IP (Machine). So I cant write a wrapper for each machine, this stop/start activity is performed from Admin server by logging into the JBOSS server.

JBOSS server may not be same everytime.

I need a generic command for starting and stopping individual application in linux.
 
Old 05-14-2013, 01:29 PM   #4
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
to start the application JBOSS uses a lot of information from its own config, how do you expect a «generic linux way» to work with it?
 
Old 05-15-2013, 01:42 AM   #5
jags1984
Member
 
Registered: Mar 2013
Posts: 83

Original Poster
Rep: Reputation: Disabled
Yes generic linux way, I will be starting and stopping individual applications in different Machine where JBOSS is running.
 
Old 05-15-2013, 04:40 AM   #6
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
starting/stopping JBOSS applications with jboss-cli.sh is the best choice; «kill» is enough to stop them though
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start and stop the tomcat individual application in linux ?? jags1984 Linux - Server 2 04-20-2013 11:45 AM
How to start and stop the tomcat individual application in linux ?? jags1984 Linux - Newbie 9 04-18-2013 02:28 PM
problem stopping jboss mjp053000 Linux - Software 1 09-17-2007 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration