You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/04 17:56:20 UTC

[jira] [Commented] (ARTEMIS-750) Artemis Windows Service Fails to Start

    [ https://issues.apache.org/jira/browse/ARTEMIS-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15546134#comment-15546134 ] 

ASF GitHub Bot commented on ARTEMIS-750:
----------------------------------------

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/817

    ARTEMIS-750 use JAVA_HOME for Win service

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-750

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/817.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #817
    
----
commit 1f3dcf28719ee967e2eabbd9ac146c718ed89dfe
Author: jbertram <jb...@apache.com>
Date:   2016-10-04T17:34:40Z

    ARTEMIS-750 use JAVA_HOME for Win service

----


> Artemis Windows Service Fails to Start
> --------------------------------------
>
>                 Key: ARTEMIS-750
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-750
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.4.0
>         Environment: Windows 10 Anniversary Edition, 64-bit
>            Reporter: Jim Gomes
>            Assignee: Justin Bertram
>            Priority: Blocker
>              Labels: service, windows
>             Fix For: 1.5.0
>
>         Attachments: errorstartingservice-screenshot.png
>
>
> After installing Artemis as a service successfully using the following command-line:
> {{artemis-service install}}
> the service returns an error when I try to start it.
> # Go to the Services control panel
> # select the Artemis service entry
> # right click to bring up the context menu
> # click the Start menu item.
> It looks like it tries to start, but then an error dialog is displayed (see attached image).  When the service error log is checked, no error is logged. The following is logged:
> {noformat}
> 2016-09-23 12:53:32 - Starting java  "-Xbootclasspath/a:C:\Program Files\Apache\apache-artemis-1.4.0\lib\jboss-logmanager-2.0.3.Final.jar" -XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx1024M -classpath "C:\Program Files\Apache\apache-artemis-1.4.0\lib\artemis-boot.jar" "-Dartemis.home=C:\Program Files\Apache\apache-artemis-1.4.0" -Dartemis.instance=C:\ProgramData\Apache\AMQ -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dlogging.configuration=file:C:\ProgramData\Apache\AMQ\etc\logging.properties -Djava.security.auth.login.config=C:\ProgramData\Apache\AMQ\etc\login.config org.apache.activemq.artemis.boot.Artemis run
> 2016-09-23 12:53:32 - Started 2576
> {noformat}
> When launched from the command-line (not using the service wrapper), Artemis will launch and run just fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)