Re: Start ActiveMQ programmatically

2008-03-13 Thread beeeph
When it comes to deployment, using the service wrapper may be an issue if the computer doesn't allow services to be setup from the installer. So I'm really looking for an approach that starts the service from the code. I see a lot of people using this MessageBroker class, but I'm not entirely su

Re: Start ActiveMQ programmatically

2008-03-11 Thread Adrian Co
Maybe the JAVA_HOME environment variable wasn't set correctly. I'm not really sure. beeeph wrote: that's perfect, thank you! but when i installed it, it didn't work. I'll look into it further, but would you have any immediate ideas why this error might be occurring? STATUS | wrapper | 200

Re: Start ActiveMQ programmatically

2008-03-11 Thread beeeph
that's perfect, thank you! but when i installed it, it didn't work. I'll look into it further, but would you have any immediate ideas why this error might be occurring? STATUS | wrapper | 2008/03/11 20:02:38 | ActiveMQ installed. STATUS | wrapper | 2008/03/11 20:06:08 | --> Wrapper Started a

Re: Start ActiveMQ programmatically

2008-03-11 Thread Adrian Co
How about using the service wrapper? http://activemq.apache.org/java-service-wrapper.html beeeph wrote: can anyone provide me with some simple c++ code I can use to start the ActiveMQ service on a windows xp machine? Thanks in advance for your help, I really appreciate it! Beeeph