activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher G. Stach II" <...@ldsys.net>
Subject Re: ActiveMQ Broker dying
Date Tue, 20 Feb 2007 18:58:24 GMT
GaryG wrote:
> I'm getting the feeling that my session terminal closing does have something
> to do with it.
> 
> So, would you recommend using that JSW service?  You said in the previous
> posts that it has problems, so should I even other trying?
> 
> Our Linux guys are telling me to run it like this instead:
> 
> "nohup /opt/activemq-4.1.0/bin/activemq > /dev/null &" 
> 
> Perhaps that should be put in your documentation as the only way to make
> sure the broker can be ran from command line as a background process without
> dying.

Try either configuring JSW (better idea) or running your broker like this:

nohup blahblah/bin/activemq start > /dev/null 2>&1 &

The JSW packaged with 4.1.0 is out of date and the example wrapper.conf
is pretty broken.  There are some web pages about fixing the JSW config,
though.  Google for org.tanukisoftware.wrapper.WrapperStartStopApp and
activemq, maybe.

-- 
Christopher G. Stach II


Mime
View raw message