[ 
https://issues.apache.org/jira/browse/DAEMON-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862840#action_12862840
 ] 

Sebb commented on DAEMON-88:
----------------------------

@genialmaniac

If you can run a script as SERVICE_TOMCAT_ACCOUNT you might be able to debug 
the problem as follows:

java -Dcom.sun.management.jmxremote.port=5555 
-Dcom.sun.management.jmxremote.password.file=jmx.txt dummy

Copy the above directly from the Tomcat settings.

If there are any errors with the password file or its protection, it seems that 
these will be reported even before the dummy class is opened, so it does not 
have to be present.
[Of course you could created a simple class file to test with too]

> JMX java options can cause silent service failure
> -------------------------------------------------
>
>                 Key: DAEMON-88
>                 URL: https://issues.apache.org/jira/browse/DAEMON-88
>             Project: Commons Daemon
>          Issue Type: Bug
>            Reporter: Mark Thomas
>
> See http://issues.apache.org/bugzilla/show_bug.cgi?id=35635 for the full 
> history.
> Short version is:
> * Install 5.5.20
> * add -Dcom.sun.management.jmxremote.port=5555 and 
> -Dcom.sun.management.jmxremote.password.file=C:\jmxremote.password to Java 
> Options
> * Try to start the service
> The service fails to start and creates only zero byte log files

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to