activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Reese <are...@yahoo-inc.com>
Subject RE: Using Apache Commons Daemon with ActiveMQ (Windows)
Date Wed, 29 Jun 2011 21:18:30 GMT
I wrote the org.apache.activemq.console.ActiveMQLauncher code as we use jsvc on linux here.

I think what you want is --StartClass org.apache.activemq.console.ActiveMQLauncher, and procrun
should be able to figure out that the class implements the Daemon interface.

Procrun looks like it might do things differently then I'd expect though.

--Allen

> -----Original Message-----
> From: James Black [mailto:be_strew@yahoo.co.uk]
> Sent: Wednesday, June 29, 2011 9:21 AM
> To: users@activemq.apache.org
> Subject: Using Apache Commons Daemon with ActiveMQ (Windows)
> 
> Hi
> 
> does anyone have a way of using Apache Commons Daemon with ActiveMQ.
> 
> I have followed the tutorial here:
> 
> http://blog.bigrocksoftware.com/2010/10/07/commons-daemon-procrun-as-a-java-service-wrapper-for-
> activemq/
> 
> However, there is still an error:
> 
> Error 109: The pipe has been ended
> 
> when shutting down the service.
> 
> There is now a class org.apache.activemq.console.ActiveMQLauncher that
> implements Commons Daemon.
> 
> However, I am not sure how to get this to run when configuring the service
> on the server.
> 
> Help appreciated thanks,
> 
> James
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Using-Apache-Commons-Daemon-with-
> ActiveMQ-Windows-tp3633328p3633328.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message