procrun

Spring boot JAR as windows service

試著忘記壹切 提交于 2020-05-09 19:33:26
问题 I am trying to wrap a spring boot "uber JAR" with procrun. Running the following works as expected: java -jar my.jar I need my spring boot jar to automatically start on windows boot. The nicest solution for this would be to run the jar as a service (same as a standalone tomcat). When I try to run this I am getting "Commons Daemon procrun failed with exit value: 3" Looking at the spring-boot source it looks as if it uses a custom classloader: https://github.com/spring-projects/spring-boot/blob

Wix installer registry keys not getting created in Wow64 node

江枫思渺然 提交于 2019-12-25 05:25:09
问题 I have a 64 bit machine in which I need to install a Windows service. This service was created using Apache procrun, therefore I need to create certain registry keys. These should go into the wow64 node as I expect them to, but they get created in HKLM/SOFTWARES instread of HKLM/SOFTWARE/Wow64 node. Below is my Product.wxs file. <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" Name="DummyInstaller" Language="1033" Version="1.0.0.0"

Launching an exe from Procrun

限于喜欢 提交于 2019-12-13 07:48:37
问题 How can I launch an exe file from Procrun? Apart from that I also tried to launch a frame from the service code itself by specifying the following line in my install script. But that too doesn't work as no GUI is launched though the service is started successfully. set PR_TYPE=interactive If I am to launch an exe using procrun, how am I to do that and if I am to launch a JFrame, how am I to do that? I can't find any similar questions in procrun as all the other interactive java service

prunsrv.exe Service not starting up

∥☆過路亽.° 提交于 2019-12-04 16:33:33
问题 I am trying to install and start a service with prunsrv.exe for an application I am able to install the service alright but the service wont start up and gives me an error Also following is the configuration that is used to install the service using prunsrv.exe set SERVICE_NAME=TestService REM Service log configuration set PR_LOGPREFIX=%SERVICE_NAME% set PR_LOGPATH=D:\setups\Commons_Daemon\commons-daemon-1.0.14-bin-windows\logs set PR_STDOUTPUT=auto set PR_STDERROR=auto set PR_LOGLEVEL=INFO

How to schedule documents4j server standalone as windows service using procrun?

删除回忆录丶 提交于 2019-12-04 05:14:51
问题 I have been trying to schedule the documents4j as windows service using procrun for RTF to PDF conversion but it keeps throwing the following error: com.documents4j.throwables.ConversionInputException: The sent input is invalid at com.documents4j.util.Reaction$ConversionInputExceptionBuilder.make(Reaction.java:159) ~[documents4j-client-standalone-0.3-SNAPSHOT-shaded.jar:na] at com.documents4j.util.Reaction$ExceptionalReaction.apply(Reaction.java:75) ~[documents4j-client-standalone-0.3

prunsrv.exe Service not starting up

╄→尐↘猪︶ㄣ 提交于 2019-12-03 11:27:29
I am trying to install and start a service with prunsrv.exe for an application I am able to install the service alright but the service wont start up and gives me an error Also following is the configuration that is used to install the service using prunsrv.exe set SERVICE_NAME=TestService REM Service log configuration set PR_LOGPREFIX=%SERVICE_NAME% set PR_LOGPATH=D:\setups\Commons_Daemon\commons-daemon-1.0.14-bin-windows\logs set PR_STDOUTPUT=auto set PR_STDERROR=auto set PR_LOGLEVEL=INFO REM Path to java installation set PR_JVM=C:\Program Files\Java\jre1.6.0_04\bin\client\jvm.dll set PR

How to schedule documents4j server standalone as windows service using procrun?

巧了我就是萌 提交于 2019-12-02 03:32:49
I have been trying to schedule the documents4j as windows service using procrun for RTF to PDF conversion but it keeps throwing the following error: com.documents4j.throwables.ConversionInputException: The sent input is invalid at com.documents4j.util.Reaction$ConversionInputExceptionBuilder.make(Reaction.java:159) ~[documents4j-client-standalone-0.3-SNAPSHOT-shaded.jar:na] at com.documents4j.util.Reaction$ExceptionalReaction.apply(Reaction.java:75) ~[documents4j-client-standalone-0.3-SNAPSHOT-shaded.jar:na] at com.documents4j.ws.ConverterNetworkProtocol$Status.resolve(ConverterNetworkProtocol