Quantcast

Can not start ActiveMQ Service

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can not start ActiveMQ Service

hungbun
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can not start ActiveMQ Service

dejanb
Hi,

you need to install Java on your system


Regards
--
Dejan Bosanac
-----------------
FuseSource - The experts in open source integration and messaging.
Email: [hidden email]
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 <[hidden email]> 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.
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can not start ActiveMQ Service

hungbun
Dejan,

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

Thanks, David
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can not start ActiveMQ Service

tabish121@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: [hidden email]
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Can not start ActiveMQ Service

nnprasad
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:[hidden email]]
Sent: Monday, March 28, 2011 10:42 AM
To: [hidden email]
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: [hidden email]
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/


Loading...