You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by hungbun <le...@gmail.com> on 2011/03/25 20:50:51 UTC

Can not start ActiveMQ Service

I'm trying to install and run ActiveMQ on a Windows Server 2008 R2 machine.  

When I try to start the service, I get an error saying "Windows could not
start the ActiveMQ service on Local Computer.  Error 1067:  The process
terminated unexpectedly"  

The "wrapper.log" file contains the following:

STATUS | wrapper  | 2011/03/25 13:03:23 | --> Wrapper Started as Service
STATUS | wrapper  | 2011/03/25 13:03:23 | Launching a JVM...
FATAL  | wrapper  | 2011/03/25 13:03:23 | Unable to execute Java command. 
The system cannot find the file specified. (0x2)
FATAL  | wrapper  | 2011/03/25 13:03:23 |     "java"
-Dactivemq.home="C:\apache-activemq-5.4.2\bin\win32\..\.."
-Dactivemq.base="C:\apache-activemq-5.4.2\bin\win32\..\.." ...

Thanks, David

--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-not-start-ActiveMQ-Service-tp3406253p3406253.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

RE: Can not start ActiveMQ Service

Posted by "Nakarikanti, Nageswara" <NN...@dwd.IN.gov>.
Locate these lines in <drive>:\<Installed path>\apache-activemq-5.4.2\bin\win32\wraper.conf

	# Java Application
	wrapper.java.command=java 

Give your JRE path after '='

Save it rerun the ActiveMQ as a windows service by running the installservice.bat.


Thank You,
Nag.


-----Original Message-----
From: Timothy Bish [mailto:tabish121@gmail.com] 
Sent: Monday, March 28, 2011 10:42 AM
To: users@activemq.apache.org
Subject: Re: Can not start ActiveMQ Service

On Mon, 2011-03-28 at 07:39 -0700, hungbun wrote:
> Dejan,
> 
> Thanks for the reply.  Java is installed on the system.  Any other ideas?
> 

Could also be that Java location is not on the PATH for the user that the service is being started under.

Regards

--
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/



Re: Can not start ActiveMQ Service

Posted by Timothy Bish <ta...@gmail.com>.
On Mon, 2011-03-28 at 07:39 -0700, hungbun wrote:
> Dejan,
> 
> Thanks for the reply.  Java is installed on the system.  Any other ideas?
> 

Could also be that Java location is not on the PATH for the user that
the service is being started under.

Regards

-- 
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/



Re: Can not start ActiveMQ Service

Posted by hungbun <le...@gmail.com>.
Dejan,

Thanks for the reply.  Java is installed on the system.  Any other ideas?

Thanks, David

--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-not-start-ActiveMQ-Service-tp3406253p3411942.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can not start ActiveMQ Service

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

you need to install Java on your system


Regards
-- 
Dejan Bosanac
-----------------
FuseSource - The experts in open source integration and messaging.
Email: dejanb@fusesource.com
Web: http://fusesource.com
Twitter:  http://twitter.com/dejanb
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Fri, Mar 25, 2011 at 8:50 PM, hungbun <le...@gmail.com> wrote:

> I'm trying to install and run ActiveMQ on a Windows Server 2008 R2 machine.
>
> When I try to start the service, I get an error saying "Windows could not
> start the ActiveMQ service on Local Computer.  Error 1067:  The process
> terminated unexpectedly"
>
> The "wrapper.log" file contains the following:
>
> STATUS | wrapper  | 2011/03/25 13:03:23 | --> Wrapper Started as Service
> STATUS | wrapper  | 2011/03/25 13:03:23 | Launching a JVM...
> FATAL  | wrapper  | 2011/03/25 13:03:23 | Unable to execute Java command.
> The system cannot find the file specified. (0x2)
> FATAL  | wrapper  | 2011/03/25 13:03:23 |     "java"
> -Dactivemq.home="C:\apache-activemq-5.4.2\bin\win32\..\.."
> -Dactivemq.base="C:\apache-activemq-5.4.2\bin\win32\..\.." ...
>
> Thanks, David
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Can-not-start-ActiveMQ-Service-tp3406253p3406253.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>