You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by GASPARD-EXT Joel <jo...@fnacdarty.com> on 2018/12/27 17:01:07 UTC

[daemon] Problem when using Procrun with Java 11

Hello,

I try to start a Windows service (on Windows 8.1) with Procrun 1.1.0 and Java 11. I've installed the jdk 11 built by AdoptOpenJDK

When I install the service with the option -StartMode jvm, Procrun seems not to find Java. I read in the logs :
[info]  [55436] Starting service...
[error] [55436] Failed creating java
[error] [55436] ServiceStart returned 1
[info]  [22768] Run service finished.

When I install the service with the option --StartMode Java and the option --Jvm pointing to the bin folder of my JAVA_HOME, the service starts correctly. But stopping it is very long (2 minutes).

This service works well with a JRE 8 and the option -StartMode jvm.
Problems only occur when starting and stopping with Java 11.

How can I handle this ?
Thank you in advance for your answer.

Joel Gaspard
Developer


________________________________


Ce message et toutes les pi?ces jointes qu'il contient sont uniquement destin?s aux personnes auxquelles ils sont adress?s et sont strictement confidentiels. A moins qu'il en ait ?t? explicitement convenu autrement, son contenu ne refl?te que la pens?e personnelle de son auteur et ne saurait donc repr?senter la vision officielle de l'Entreprise. Si vous avez re?u ce message par erreur, nous vous remercions de bien vouloir en informer l'exp?diteur imm?diatement par retour d'email et supprimer d?finitivement le message de vos r?pertoires. Toute utilisation de ce message non conforme ? sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'int?grit? de ce message, l'Entreprise d?cline toute responsabilit? au titre de ce message, dans l'hypoth?se o? il aurait ?t? modifi?.


This message including any attachments is confidential and intended solely for the addressees. Unless explicitly mentioned, its content reflects only the personal thoughts of the author, and therefore cannot represent the official view of the Company. If received by error, please inform immediately the sender by return e-mail and delete definitely the message from any and all directories. Any use, dissemination or disclosure not in conformity with the intended purposes is strictly prohibited. The integrity of messages via Internet cannot be guaranteed and the Company accepts no liability for any changes which may occur.

Re: [daemon] Problem when using Procrun with Java 11

Posted by Thanigai <th...@yahoo.com>.
Hi Joel, I too facing the same issue. Kindly share if you got any solution
for this. Thanks.
Regards
Thanigai



--
Sent from: http://apache-commons.680414.n4.nabble.com/Commons-User-f735979.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org