2

I'm trying to run activemq as a service on my windows7 machine, service install properly, but it does not start as LocalSystem account. It works perfectly if I start it with logon property as my user. Unfortunately there is nothing in the log file ( it is actually not created if I start as LocalSystem). Binary msmq files are located under Program Files, can this be a problem too ?

Thanks for any advice,

Felice

1
  • Working on the same problem right now. My guess is it has something to do with persistence. Are you using the default KahaDB configuration? Aug 10, 2011 at 19:02

1 Answer 1

1

Your issue is that the local system account doesn't have rights to create temp directories. So, if you want to use the local system account, you can explicitly set the java.io.tmpdir property in the wrapper conf to a location that the local system has rights to.

As an example, this is my dev setting (in %ACTIVEMQ_HOME%/bin/win32/wrapper.conf):

wrapper.java.additional.10=-Djava.io.tmpdir="%ACTIVEMQ_BASE%"/temp

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .