We are trying to launch ActiveMQ as a service on a Windows Server 2008 R2 server, but we get a "1067 error" and in the log file we see this:
FATAL | wrapper | 2012/03/12 16:34:54 | Critical error: wait for JVM process failed
STATUS | wrapper | 2012/03/12 16:41:00 | --> Wrapper Started as Service
STATUS | wrapper | 2012/03/12 16:41:00 | Launching a JVM...
FATAL | wrapper | 2012/03/12 16:41:00 | Unable to execute Java command. Accesso negato. (0x5)
FATAL | wrapper | 2012/03/12 16:41:00 | "C:\Program Files (x86)\Java\
"accesso negato" means "access is denied" (Italian). The Java path seems correct. We tried all these combinations:
C:\Program Files (x86)\Java\jre6\bin
C:\Program Files (x86)\Java\jre7\bin
C:\Program Files (x86)\Java\jre7\jdk1.7.0_03\jre\bin
folders in which the java*.exe executables are present (we have installed JRE6, JRE7 and JDK; before trying JRE7/JDK1.7, we had installed just JRE6).
All the access privileges seem to be assigned to the folders and in the property of ActiveMQ service we gave the rights of Administrator (maximum rights). In a forum, we found out to remark the field "jetty" in the configuration file, but it hasn't solved anything.
Is there something wrong with the way in which we installed/launched ActiveMQ or incompatibilities with our environment/operating system?