[
https://issues.apache.org/jira/browse/DAEMON-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ron updated DAEMON-467:
-----------------------
Docs Text:
[2024-12-05 07:47:43] [debug] ( prunsrv.c:2068) [11216] Apache Commons Daemon
procrun log initialized.
[2024-12-05 07:47:43] [info] ( prunsrv.c:2076) [11216] Apache Commons Daemon
procrun (1.4.0.0 64-bit) started.
[2024-12-05 07:47:43] [info] ( prunsrv.c:1922) [11216] Running Service
'LINK_Relay_Agent_Service_PST'...
[2024-12-05 07:47:43] [debug] ( prunsrv.c:1681) [ 4084] Inside serviceMain()...
[2024-12-05 07:47:43] [debug] ( prunsrv.c:1127) [ 4084] reportServiceStatusE:
dwCurrentState = 2 (SERVICE_START_PENDING), dwWin32ExitCode = 0, dwWaitHint =
3000 milliseconds, dwServiceSpecificExitCode = 0.
[2024-12-05 07:47:43] [info] ( prunsrv.c:1426) [ 4084] Starting service...
[2024-12-05 07:47:43] [debug] ( prunsrv.c:499 ) [ 4084] Checking Java options
for environment variable requirements
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Dapp.home=D:\LINKRELAYPST'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for
'-Dconsole.url=https://link.mft.com/mft-console/rest/camel_agent'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for
'-Djavax.net.ssl.keyStore=D:\LINKRELAYPST\certs\mft-keystore.jks'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Djavax.net.ssl.keyStorePassword=****'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for
'-Djavax.net.ssl.trustStore=D:\LINKRELAYPST\certs\mft-truststore.jks'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Djavax.net.ssl.trustStorePassword=***'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Xms512m'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Xmx2g'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:+UseG1GC'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:InitiatingHeapOccupancyPercent=50'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:G1HeapRegionSize=8m'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:G1ReservePercent=15'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:+HeapDumpOnOutOfMemoryError'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:ParallelGCThreads=2'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:ConcGCThreads=1'
[2024-12-05 07:47:43] [debug] ( javajni.c:216 ) [ 4084] Explicit RuntimeLib
specified 'D:\LINKRELAYPST\jre\bin\server\jvm.dll'
[2024-12-05 07:47:43] [debug] ( javajni.c:285 ) [ 4084] Adding Java bin path to
the PATH to fix loading of awt.dll: 'D:\LINKRELAYPST\jre\bin'
[2024-12-05 07:47:43] [debug] ( javajni.c:291 ) [ 4084] Loading JVM DLL
'D:\LINKRELAYPST\jre\bin\server\jvm.dll'
[2024-12-05 07:47:43] [debug] ( javajni.c:419 ) [ 4084] Loaded JVM DLL
'D:\LINKRELAYPST\jre\bin\server\jvm.dll', home 'D:\LINKRELAYPST\jre'.
[2024-12-05 07:47:43] [debug] ( javajni.c:424 ) [ 4084] JNI_GetCreatedJavaVMs...
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[0]
-Dapp.home=D:\LINKRELAYPST
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[1]
-Dconsole.url=https://link-mft.com/mft-console/rest/camel_agent
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[2]
-Djavax.net.ssl.keyStore=D:\LINKRELAYPST\certs\mft-keystore.jks
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[3]
-Djavax.net.ssl.keyStorePassword=***
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[4]
-Djavax.net.ssl.trustStore=D:\LINKRELAYPST\certs\mft-truststore.jks
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[5]
-Djavax.net.ssl.trustStorePassword=**
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[6] -Xms512m
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[7] -Xmx2g
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[8]
-XX:+UseG1GC
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[9]
-XX:InitiatingHeapOccupancyPercent=50
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[10]
-XX:G1HeapRegionSize=8m
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[11]
-XX:G1ReservePercent=15
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[12]
-XX:+HeapDumpOnOutOfMemoryError
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[13]
-XX:ParallelGCThreads=2
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[14]
-XX:ConcGCThreads=1
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[15]
-Djava.class.path=D:\LINKRELAYPST\mft.jar
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[16] exit
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[17] abort
[2024-12-05 07:47:43] [debug] ( javajni.c:1067) [11000] Java worker thread
started for org/springframework/boot/loader/JarLauncher:main
[2024-12-05 07:47:43] [debug] ( javajni.c:1073) [11000] JNI calling static void
method org/springframework/boot/loader/JarLauncher:main
[2024-12-05 07:47:44] [debug] ( prunsrv.c:1490) [ 4084] Java started
'org/springframework/boot/loader/JarLauncher'.
[2024-12-05 07:47:44] [info] ( prunsrv.c:1589) [ 4084] Service started in 1312
milliseconds.
[2024-12-05 07:47:44] [debug] ( prunsrv.c:1127) [ 4084] reportServiceStatusE:
dwCurrentState = 4 (SERVICE_RUNNING), dwWin32ExitCode = 0, dwWaitHint = 0
milliseconds, dwServiceSpecificExitCode = 0.
[2024-12-05 07:47:44] [debug] ( prunsrv.c:1836) [ 4084] Waiting for worker to
finish...
[2024-12-05 07:47:44] [debug] ( javajni.c:1167) [ 4084] apxJavaWait ->
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) (-1=INFINITE)...
[2024-12-05 07:47:46] [debug] ( javajni.c:1170) [ 4084] apxJavaWait <-
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) = 258
[2024-12-05 07:47:46] [debug] ( javajni.c:1167) [ 4084] apxJavaWait ->
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) (-1=INFINITE)...
[2024-12-05 07:47:48] [debug] ( javajni.c:1170) [ 4084] apxJavaWait <-
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) = 258
[2024-12-05 07:47:48] [debug] ( javajni.c:1167) [ 4084] apxJavaWait ->
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) (-1=INFINITE)...
[2024-12-05 07:47:49] [debug] ( javajni.c:1092) [11000] Java worker thread
finished org/springframework/boot/loader/JarLauncher:main with status = 0
[2024-12-05 07:47:49] [debug] ( javajni.c:1170) [ 4084] apxJavaWait <-
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) = 0
[2024-12-05 07:48:47] [info] ( prunsrv.c:1610) [11216] Service
SERVICE_CONTROL_STOP signalled.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1127) [11216] reportServiceStatusE:
dwCurrentState = 3 (SERVICE_STOP_PENDING), dwWin32ExitCode = 0, dwWaitHint =
30000 milliseconds, dwServiceSpecificExitCode = 0.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1846) [ 4084] waiting 30 sec...
shutdown: 1
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1851) [ 4084] Worker finished.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1880) [ 4084] Waiting for all threads
to exit.
[2024-12-05 07:48:47] [info] ( prunsrv.c:1227) [10720] Stopping service...
[2024-12-05 07:48:47] [debug] ( javajni.c:419 ) [10720] Loaded JVM DLL
'D:\LINKRELAYPST\jre\bin\server\jvm.dll', home 'D:\LINKRELAYPST\jre'.
[2024-12-05 07:48:47] [debug] ( javajni.c:424 ) [10720] JNI_GetCreatedJavaVMs...
[2024-12-05 07:48:47] [error] ( javajni.c:983 ) [10656] FindClass
com/link/mftagent/daemon/AgentDaemon failed
[2024-12-05 07:48:47] [debug] ( javajni.c:1092) [10656] Java worker thread
finished com/link/mftagent/daemon/AgentDaemon:stop with status = 3
[2024-12-05 07:48:47] [error] ( prunsrv.c:1267) [10720] Failed starting Java.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1127) [10720] reportServiceStatusE:
dwCurrentState = 3 (SERVICE_STOP_PENDING), dwWin32ExitCode = 0, dwWaitHint =
30000 milliseconds, dwServiceSpecificExitCode = 0.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1390) [10720] Waiting for worker to
die naturally...
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1401) [10720] Worker finished
gracefully in 0 milliseconds.
[2024-12-05 07:48:47] [info] ( prunsrv.c:1411) [10720] Service stop thread
completed.
was:
[2024-12-05 07:47:43] [debug] ( prunsrv.c:2068) [11216] Apache Commons Daemon
procrun log initialized.
[2024-12-05 07:47:43] [info] ( prunsrv.c:2076) [11216] Apache Commons Daemon
procrun (1.4.0.0 64-bit) started.
[2024-12-05 07:47:43] [info] ( prunsrv.c:1922) [11216] Running Service
'LINK_Relay_Agent_Service_PST'...
[2024-12-05 07:47:43] [debug] ( prunsrv.c:1681) [ 4084] Inside serviceMain()...
[2024-12-05 07:47:43] [debug] ( prunsrv.c:1127) [ 4084] reportServiceStatusE:
dwCurrentState = 2 (SERVICE_START_PENDING), dwWin32ExitCode = 0, dwWaitHint =
3000 milliseconds, dwServiceSpecificExitCode = 0.
[2024-12-05 07:47:43] [info] ( prunsrv.c:1426) [ 4084] Starting service...
[2024-12-05 07:47:43] [debug] ( prunsrv.c:499 ) [ 4084] Checking Java options
for environment variable requirements
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Dapp.home=D:\LINKRELAYPST'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for
'-Dconsole.url=https://link-mft-uat.dhl.com/mft-console/rest/camel_agent'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for
'-Djavax.net.ssl.keyStore=D:\LINKRELAYPST\certs\mft-keystore.jks'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Djavax.net.ssl.keyStorePassword=****'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for
'-Djavax.net.ssl.trustStore=D:\LINKRELAYPST\certs\mft-truststore.jks'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Djavax.net.ssl.trustStorePassword=***'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Xms512m'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-Xmx2g'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:+UseG1GC'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:InitiatingHeapOccupancyPercent=50'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:G1HeapRegionSize=8m'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:G1ReservePercent=15'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:+HeapDumpOnOutOfMemoryError'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:ParallelGCThreads=2'
[2024-12-05 07:47:43] [debug] ( prunsrv.c:503 ) [ 4084] Checking environment
variable requirements for '-XX:ConcGCThreads=1'
[2024-12-05 07:47:43] [debug] ( javajni.c:216 ) [ 4084] Explicit RuntimeLib
specified 'D:\LINKRELAYPST\jre\bin\server\jvm.dll'
[2024-12-05 07:47:43] [debug] ( javajni.c:285 ) [ 4084] Adding Java bin path to
the PATH to fix loading of awt.dll: 'D:\LINKRELAYPST\jre\bin'
[2024-12-05 07:47:43] [debug] ( javajni.c:291 ) [ 4084] Loading JVM DLL
'D:\LINKRELAYPST\jre\bin\server\jvm.dll'
[2024-12-05 07:47:43] [debug] ( javajni.c:419 ) [ 4084] Loaded JVM DLL
'D:\LINKRELAYPST\jre\bin\server\jvm.dll', home 'D:\LINKRELAYPST\jre'.
[2024-12-05 07:47:43] [debug] ( javajni.c:424 ) [ 4084] JNI_GetCreatedJavaVMs...
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[0]
-Dapp.home=D:\LINKRELAYPST
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[1]
-Dconsole.url=https://link-mft-uat.dhl.com/mft-console/rest/camel_agent
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[2]
-Djavax.net.ssl.keyStore=D:\LINKRELAYPST\certs\mft-keystore.jks
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[3]
-Djavax.net.ssl.keyStorePassword=***
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[4]
-Djavax.net.ssl.trustStore=D:\LINKRELAYPST\certs\mft-truststore.jks
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[5]
-Djavax.net.ssl.trustStorePassword=**
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[6] -Xms512m
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[7] -Xmx2g
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[8]
-XX:+UseG1GC
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[9]
-XX:InitiatingHeapOccupancyPercent=50
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[10]
-XX:G1HeapRegionSize=8m
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[11]
-XX:G1ReservePercent=15
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[12]
-XX:+HeapDumpOnOutOfMemoryError
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[13]
-XX:ParallelGCThreads=2
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[14]
-XX:ConcGCThreads=1
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[15]
-Djava.class.path=D:\LINKRELAYPST\mft.jar
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[16] exit
[2024-12-05 07:47:43] [debug] ( javajni.c:822 ) [11000] JVM Option[17] abort
[2024-12-05 07:47:43] [debug] ( javajni.c:1067) [11000] Java worker thread
started for org/springframework/boot/loader/JarLauncher:main
[2024-12-05 07:47:43] [debug] ( javajni.c:1073) [11000] JNI calling static void
method org/springframework/boot/loader/JarLauncher:main
[2024-12-05 07:47:44] [debug] ( prunsrv.c:1490) [ 4084] Java started
'org/springframework/boot/loader/JarLauncher'.
[2024-12-05 07:47:44] [info] ( prunsrv.c:1589) [ 4084] Service started in 1312
milliseconds.
[2024-12-05 07:47:44] [debug] ( prunsrv.c:1127) [ 4084] reportServiceStatusE:
dwCurrentState = 4 (SERVICE_RUNNING), dwWin32ExitCode = 0, dwWaitHint = 0
milliseconds, dwServiceSpecificExitCode = 0.
[2024-12-05 07:47:44] [debug] ( prunsrv.c:1836) [ 4084] Waiting for worker to
finish...
[2024-12-05 07:47:44] [debug] ( javajni.c:1167) [ 4084] apxJavaWait ->
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) (-1=INFINITE)...
[2024-12-05 07:47:46] [debug] ( javajni.c:1170) [ 4084] apxJavaWait <-
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) = 258
[2024-12-05 07:47:46] [debug] ( javajni.c:1167) [ 4084] apxJavaWait ->
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) (-1=INFINITE)...
[2024-12-05 07:47:48] [debug] ( javajni.c:1170) [ 4084] apxJavaWait <-
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) = 258
[2024-12-05 07:47:48] [debug] ( javajni.c:1167) [ 4084] apxJavaWait ->
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) (-1=INFINITE)...
[2024-12-05 07:47:49] [debug] ( javajni.c:1092) [11000] Java worker thread
finished org/springframework/boot/loader/JarLauncher:main with status = 0
[2024-12-05 07:47:49] [debug] ( javajni.c:1170) [ 4084] apxJavaWait <-
WaitForSingleObject (0x0000000000000218, 2000 milliseconds) = 0
[2024-12-05 07:48:47] [info] ( prunsrv.c:1610) [11216] Service
SERVICE_CONTROL_STOP signalled.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1127) [11216] reportServiceStatusE:
dwCurrentState = 3 (SERVICE_STOP_PENDING), dwWin32ExitCode = 0, dwWaitHint =
30000 milliseconds, dwServiceSpecificExitCode = 0.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1846) [ 4084] waiting 30 sec...
shutdown: 1
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1851) [ 4084] Worker finished.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1880) [ 4084] Waiting for all threads
to exit.
[2024-12-05 07:48:47] [info] ( prunsrv.c:1227) [10720] Stopping service...
[2024-12-05 07:48:47] [debug] ( javajni.c:419 ) [10720] Loaded JVM DLL
'D:\LINKRELAYPST\jre\bin\server\jvm.dll', home 'D:\LINKRELAYPST\jre'.
[2024-12-05 07:48:47] [debug] ( javajni.c:424 ) [10720] JNI_GetCreatedJavaVMs...
[2024-12-05 07:48:47] [error] ( javajni.c:983 ) [10656] FindClass
com/dhl/link/mftagent/daemon/AgentDaemon failed
[2024-12-05 07:48:47] [debug] ( javajni.c:1092) [10656] Java worker thread
finished com/dhl/link/mftagent/daemon/AgentDaemon:stop with status = 3
[2024-12-05 07:48:47] [error] ( prunsrv.c:1267) [10720] Failed starting Java.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1127) [10720] reportServiceStatusE:
dwCurrentState = 3 (SERVICE_STOP_PENDING), dwWin32ExitCode = 0, dwWaitHint =
30000 milliseconds, dwServiceSpecificExitCode = 0.
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1390) [10720] Waiting for worker to
die naturally...
[2024-12-05 07:48:47] [debug] ( prunsrv.c:1401) [10720] Worker finished
gracefully in 0 milliseconds.
[2024-12-05 07:48:47] [info] ( prunsrv.c:1411) [10720] Service stop thread
completed.
> prunsrv stop service not able to find springboot package class
> --------------------------------------------------------------
>
> Key: DAEMON-467
> URL: https://issues.apache.org/jira/browse/DAEMON-467
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Affects Versions: 1.4.0
> Environment: @echo off
> call set_environment.bat
> set PRUNSRV=%BASE_PATH%\commons-daemon\amd64\prunsrv.exe
>
> @echo on
> %PRUNSRV% //IS//%Service_name% ^
> --DisplayName="%Service_display_name%" ^
> --Description="%Service_description%" ^
> --StartPath=%BASE_PATH% ^
> --LogPath=%LOG_PATH%^
> --Jvm=%JVM% ^
> --JavaHome=%JAVA_HOME_% ^
> --Classpath="%JVM_CLS_PATH%" ^
> --StartMode=jvm ^
> --StopMode=jvm ^
> --Startup=auto ^
> ++JvmOptions=%JVM_OPTION% ^
> --StartClass=org.springframework.boot.loader.JarLauncher ^
> --StopClass=com.dhl.link.mftagent.daemon.AgentDaemon ^
> --StopMethod=stop ^
> --StopTimeout=30 ^
> --ServiceUser=LocalSystem ^
> --LogLevel=debug
> Reporter: Ron
> Priority: Blocker
> Fix For: 1.4.0
>
>
> Hi,
> I have a apache camel in java springboot application and need to manage
> windows service stop/start using prunsrv. For start is okay as I configured
> to use the JarLauncher class. However during service stop, it's not working
> and it failed to find the stop class. I tried already to use a classifier so
> the class will not be under BOOT-INF package but still not working.
> [2024-12-05 07:48:47] [debug] ( javajni.c:419 ) [10720] Loaded JVM DLL
> 'D:\LINKRELAYPST\jre\bin\server\jvm.dll', home 'D:\LINKRELAYPST\jre'.
> [2024-12-05 07:48:47] [debug] ( javajni.c:424 ) [10720]
> JNI_GetCreatedJavaVMs...
> [2024-12-05 07:48:47] [error] ( javajni.c:983 ) [10656] FindClass
> com/dhl/link/mftagent/daemon/AgentDaemon failed
> [2024-12-05 07:48:47] [debug] ( javajni.c:1092) [10656] Java worker thread
> finished com/dhl/link/mftagent/daemon/AgentDaemon:stop with status = 3
> Just wondering how to properly configure it.
>
> Thank you!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)