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:[email protected]] > Sent: Wednesday, June 29, 2011 9:21 AM > To: [email protected] > 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.
