You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2016/11/04 10:01:58 UTC

[jira] [Resolved] (DAEMON-335) prunsrv does not start with jvm mode

     [ https://issues.apache.org/jira/browse/DAEMON-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Thomas resolved DAEMON-335.
--------------------------------
    Resolution: Cannot Reproduce

Tomcat uses jvm mode and hasn't seen any issues with jvm mode. Please do not reopen this issue unless you can provide a simple test case (with source) that demonstrates the issue.

> prunsrv does not start with jvm mode
> ------------------------------------
>
>                 Key: DAEMON-335
>                 URL: https://issues.apache.org/jira/browse/DAEMON-335
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.0.15
>         Environment: Windows 8.1 with Java 8 64bit
>            Reporter: Volker Berlin
>            Priority: Critical
>
> If I start my service in the jvm mode then it terminate immediate. in the log I see:
> [info]  ( prunsrv.c:1127) [ 4060] Starting service...
> [debug] ( javajni.c:233 ) [ 4060] loading jvm 'C:\jre\bin\server\jvm.dll'
> [debug] ( javajni.c:704 ) [ 5972] Jvm Option[0] -Djava.class.path=foo.jar
> [debug] ( javajni.c:704 ) [ 5972] Jvm Option[1] exit
> [debug] ( javajni.c:941 ) [ 5972] Java Worker thread started com/foo/Foo:main
> [debug] ( javajni.c:471 ) [ 5404] Exit hook with exit code 1
> ---------------------
> If I start it from the console then I see then I see:
> Could not find or load main class exit
> --------------------
> The problem occur since version 1.11. With version 1.10 all is working. It is related to DAEMON-244.
> A workaround is to use the Java mode instead of the jvm mode.



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