<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Shell Script to Start and Stop JBoss</title>
	<link>http://www.techmasala.com/2008/03/26/shell-script-to-start-and-stop-jboss/</link>
	<description>TechMasala is a mixture of everything around information technology world. It is more for audience who want to keep in pace with what is happening in the internet world, for the newbies to the industry and know what foundations they should possess, some tips and tricks, latest in the web world.</description>
	<pubDate>Wed, 08 Feb 2012 11:48:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.1</generator>

	<item>
		<title>by: Jansi</title>
		<link>http://www.techmasala.com/2008/03/26/shell-script-to-start-and-stop-jboss/#comment-46593</link>
		<pubDate>Thu, 31 Dec 2009 11:32:44 +0000</pubDate>
		<guid>http://www.techmasala.com/2008/03/26/shell-script-to-start-and-stop-jboss/#comment-46593</guid>
					<description>Hello,
   The jboss-server.pid file do user want to create or if jboss is installed it will be present in the system

Jansi</description>
		<content:encoded><![CDATA[<p>Hello,<br />
   The jboss-server.pid file do user want to create or if jboss is installed it will be present in the system</p>
<p>Jansi
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Syam</title>
		<link>http://www.techmasala.com/2008/03/26/shell-script-to-start-and-stop-jboss/#comment-42069</link>
		<pubDate>Tue, 30 Jun 2009 03:08:26 +0000</pubDate>
		<guid>http://www.techmasala.com/2008/03/26/shell-script-to-start-and-stop-jboss/#comment-42069</guid>
					<description>Hi Ramesh,

Very good effort. BTW,
Jboss-4.2.3 onwards, there were scripts in JBOSS_HOME/bin for each flavor of OS to start and stop JBoss, as an example, the below is for Redhat.

jboss_init_redhat.sh 

All needs to be done is to modify the above scripts as per JBoss and Java installation and run the script, jboss.sh start or jboss.sh stop. I have renamed the script to jboss.sh.

I have tested running the above script using ANT sshexec and it works.

You can run it as root or non root user by just modifying one parameter in the script. You can also copy the script to /etc/init.d and start jboss as a service such as service jboss start. 

Thanks much!</description>
		<content:encoded><![CDATA[<p>Hi Ramesh,</p>
<p>Very good effort. BTW,<br />
Jboss-4.2.3 onwards, there were scripts in JBOSS_HOME/bin for each flavor of OS to start and stop JBoss, as an example, the below is for Redhat.</p>
<p>jboss_init_redhat.sh </p>
<p>All needs to be done is to modify the above scripts as per JBoss and Java installation and run the script, jboss.sh start or jboss.sh stop. I have renamed the script to jboss.sh.</p>
<p>I have tested running the above script using ANT sshexec and it works.</p>
<p>You can run it as root or non root user by just modifying one parameter in the script. You can also copy the script to /etc/init.d and start jboss as a service such as service jboss start. </p>
<p>Thanks much!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ramesh</title>
		<link>http://www.techmasala.com/2008/03/26/shell-script-to-start-and-stop-jboss/#comment-13391</link>
		<pubDate>Wed, 28 May 2008 21:52:17 +0000</pubDate>
		<guid>http://www.techmasala.com/2008/03/26/shell-script-to-start-and-stop-jboss/#comment-13391</guid>
					<description>Hi Lakshmi,
Yes run.sh/run.bat will help start JBoss, the only disadvantage is that you can leave it to run the process or run it in background. If you are running it directly you cannot close the terminal or the window, because that would kill the JBoss process as well. If you run it as a background, to stop the server you have to find out the PID and then kill it. I find this difficult especially when I run multiple instances of JBoss for different applications on the same box.
Hope it helps.
Ramesh</description>
		<content:encoded><![CDATA[<p>Hi Lakshmi,<br />
Yes run.sh/run.bat will help start JBoss, the only disadvantage is that you can leave it to run the process or run it in background. If you are running it directly you cannot close the terminal or the window, because that would kill the JBoss process as well. If you run it as a background, to stop the server you have to find out the PID and then kill it. I find this difficult especially when I run multiple instances of JBoss for different applications on the same box.<br />
Hope it helps.<br />
Ramesh
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Lakshmi Narasimhan</title>
		<link>http://www.techmasala.com/2008/03/26/shell-script-to-start-and-stop-jboss/#comment-13231</link>
		<pubDate>Sat, 26 Apr 2008 11:54:31 +0000</pubDate>
		<guid>http://www.techmasala.com/2008/03/26/shell-script-to-start-and-stop-jboss/#comment-13231</guid>
					<description>Hi,

Isn't run.sh supposed to do this? in the bin directory, run.sh in all versions of unix and run.bat in windows will start JBOSS server.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Isn&#8217;t run.sh supposed to do this? in the bin directory, run.sh in all versions of unix and run.bat in windows will start JBOSS server.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

