Re: [daemon] Windows service not starting JVM mode with -javaagent (JDK11)

2021-02-22 Thread Mark Thomas
On 22/02/2021 08:40, Sebastian Götz wrote: > Okay. > > I got it. It appears that the double quotes are no longer allowed. When > removing them the service starts: See the 1.2.0 changelog and https://issues.apache.org/jira/browse/DAEMON-399 Mark

Re: [daemon] Windows service not starting JVM mode with -javaagent (JDK11)

2021-02-22 Thread Sebastian Götz
Okay. I got it. It appears that the double quotes are no longer allowed. When removing them the service starts: [2021-02-22 09:24:34] [debug] ( prunsrv.c:1892) [ 1704] Apache Commons Daemon procrun log initialized. [2021-02-22 09:24:34] [info]  ( prunsrv.c:1896) [ 1704] Apache Commons

Re: [daemon] Windows service not starting JVM mode with -javaagent (JDK11)

2021-02-21 Thread Sebastian Götz
I am sorry for the delay but here is the requested information. The application worked fine as a Windows service with the following configuration: * Windows Server 2019 (Version 1809 Build 17763.437) * Oracle JDK 8.0.1020.14 (aka JDK 8 u 102) * Procrun 1.0.15.0 After upgrading the

Re: [daemon] Windows service not starting JVM mode with -javaagent (JDK11)

2021-02-12 Thread Hugo Ferreira
Open or Oracle JDK? Colleague had some issue launching a process in Windows (Oracle JDK). In linux + OpenJDK no problem. Error was from the Java library. java.io.IOException: Cannot run program "java" (in directory "C:\Users\\IdeaProjects\toyadmos"): CreateProcess error=206, The

Re: [daemon] Windows service not starting JVM mode with -javaagent (JDK11)

2021-02-12 Thread Gary Gregory
Also enable debug logging. Gary On Fri, Feb 12, 2021, 06:48 Mark Thomas wrote: > Please can you be specific about exactly which JVM versions and Procrun > versions you tested and which worked and which did not? > > Thanks, > > Mark > > > On 12/02/2021 10:38, Sebastian Götz wrote: > > Hi all, >

Re: [daemon] Windows service not starting JVM mode with -javaagent (JDK11)

2021-02-12 Thread Mark Thomas
Please can you be specific about exactly which JVM versions and Procrun versions you tested and which worked and which did not? Thanks, Mark On 12/02/2021 10:38, Sebastian Götz wrote: > Hi all, > > I have an issue when I try upgrading my existing application. > For years I have been using

[daemon] Windows service not starting JVM mode with -javaagent (JDK11)

2021-02-12 Thread Sebastian Götz
Hi all, I have an issue when I try upgrading my existing application. For years I have been using procrun to install and start the application as a Windows service. No it seems that there is some sort of compatibility problem. My application is compiled with JDK 11 and also run with JDK 11. It