Hy,
according to this
https://help.infiniteautomation.com/installing-services/
I want to use mango 2.57 as a service on Windows XP,
I follow the instructions, the service is created,
I start it but seems that mango is not up.
How I can discover the problem? Following is the log of yajsw.
Thanks,
Antonio
WARNING|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:18:59|YAJSW: yajsw-stable-11.11
WARNING|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:18:59|OS : Windows XP/5.1/x86
WARNING|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:18:59|JVM : Oracle Corporation/1.8.0_91/C:\Programmi\Java\jre1.8.0_91/32
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:18:59|ahessian jmx service bound to port 15002
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:18:59|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:00|started process with pid 4232
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:00|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:00|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:00|stopping process with pid/timeout 4232 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:00|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:06|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:06|started process with pid 4496
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:06|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:06|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:06|stopping process with pid/timeout 4496 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:06|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:12|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:12|started process with pid 7768
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:12|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:12|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:12|stopping process with pid/timeout 7768 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:12|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:18|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:18|started process with pid 6456
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:18|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:18|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:18|stopping process with pid/timeout 6456 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:18|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:23|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:23|started process with pid 3300
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:24|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:24|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:24|stopping process with pid/timeout 3300 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:24|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:29|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:29|started process with pid 7112
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:30|too many restarts
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:30|process not in state RUNNING -> Delaying stop
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:30|calling onStop
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:30|Win service stop - timeout: 30000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:30|Win service wrapper.control -> stopping application
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:30|Win service stop - after shutdown
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:30|Win service stop - before notify
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:30|Win service terminated
WARNING|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:46|YAJSW: yajsw-stable-11.11
WARNING|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:46|OS : Windows XP/5.1/x86
WARNING|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:46|JVM : Oracle Corporation/1.8.0_91/C:\Programmi\Java\jre1.8.0_91/32
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:46|ahessian jmx service bound to port 15002
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:46|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:46|started process with pid 6304
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:47|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:47|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:47|stopping process with pid/timeout 6304 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:47|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:52|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:52|started process with pid 1944
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:53|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:53|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:53|stopping process with pid/timeout 1944 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:53|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:58|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:58|started process with pid 5276
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:59|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:59|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:59|stopping process with pid/timeout 5276 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:19:59|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:04|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:04|started process with pid 4972
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:05|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:05|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:05|stopping process with pid/timeout 4972 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:05|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:10|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:10|started process with pid 6776
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:10|restart process due to default exit code rule
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:10|restart internal RUNNING
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:10|stopping process with pid/timeout 6776 45000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:11|process exit code: 4
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|working dir C:\MA_HOME\bin
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|started process with pid 1488
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|too many restarts
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|process not in state RUNNING -> Delaying stop
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|calling onStop
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|Win service stop - timeout: 30000
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|Win service wrapper.control -> stopping application
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|Win service stop - after shutdown
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|Win service stop - before notify
INFO|wrapper|Service com.serotonin.m2m2.Main|18-04-26 16:20:16|Win service terminated