activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blweiner <blwei...@gmail.com>
Subject Re: problem starting/stopping activemq in 4.2 snapshot
Date Wed, 02 May 2007 21:06:04 GMT

Thanks for replying James,

Which is the service: /bin/linux/activemq or /bin/activemq-admin?

My question is essentially, how do I translate these two lines (don't have
original scripts on me now) from 4.1.1:

daemon -c /bin/activemq start
/bin/shutdown

to the two lines I'll need to start and stop the 4.2 snapshot as a
daemon--so I don't have pray my ssh at home doesn't blow up :)

Again, apologies for my lack of knowledge on the subject.

Thank you,
Ben


James.Strachan wrote:
> 
> I suspect you're running the activemq shell script (which takes a URI
> of the configuration as a parameter) rather than the start/stop
> service script.
> 
> (We might want to rename the activemq service script to
> 'activemqservice' or something to avoid folks getting confused).
> 
> e.g.
> 
> # run activemq
> activemq xbean:file:foo.xml
> 
> # run activemq using the service script
> activemqservice start
> 
> On 5/2/07, blweiner <blweiner@gmail.com> wrote:
>>
>> I just upgraded from 4.1.1 to the latest 4.2 snapshot. I can run activemq
>> fine, but I'm having problems when I try to pass it start and stop.
>>
>> I get this error when trying to start activemq:
>> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
>> java.lang.IllegalArgumentException: Invalid broker URI, no scheme
>> specified:
>> start
>> java.lang.RuntimeException: Failed to execute start task. Reason:
>> java.lang.IllegalArgumentException: Invalid broker URI, no scheme
>> specified:
>> start
>>
>> I'm using the latest 4.2 snapshot and would like to do what is outlined
>> here, which worked great with the stable 4.1.1:
>> http://activemq.apache.org/unix-service.html
>>
>> I'm running Ubuntu 7.04, java6, and this snapshot:
>> apache-activemq-4.2-20070209.025159-1.tar.gz.
>>
>> I'm a bit new to the linux world, so apologies in advance if I'm missing
>> anything obvious.
>>
>> Thank you,
>> Ben
>> --
>> View this message in context:
>> http://www.nabble.com/problem-starting-stopping-activemq-in-4.2-snapshot-tf3678706s2354.html#a10280196
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/problem-starting-stopping-activemq-in-4.2-snapshot-tf3678706s2354.html#a10294761
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message