jsp - Jar try to create service in windows on java wrapper -
hellow.
today in first time try create service in os windows used jar. try used java wrapper community edition 3.5.29
create test_service in windows ok. next step try start new test_service. service try startup , down. in logs java wrapper has information.
status | wrapper | 2016/07/19 11:53:21 | --> wrapper started service status | wrapper | 2016/07/19 11:53:21 | java service wrapper community edition 32-bit 3.5.29 status | wrapper | 2016/07/19 11:53:21 | copyright (c) 1999-2016 tanuki software, ltd. rights reserved. status | wrapper | 2016/07/19 11:53:21 | http://wrapper.tanukisoftware.com status | wrapper | 2016/07/19 11:53:21 | status | wrapper | 2016/07/19 11:53:22 | launching jvm... info | jvm 1 | 2016/07/19 11:53:22 | [11:53:22 19.07.2016]: starting oracle. info | jvm 1 | 2016/07/19 11:53:22 | [11:53:22 19.07.2016]: try update. info | jvm 1 | 2016/07/19 11:53:22 | [11:53:22 19.07.2016]: update ok. error | wrapper | 2016/07/19 11:54:21 | startup failed: timed out waiting signal jvm. advice | wrapper | 2016/07/19 11:54:21 | advice | wrapper | 2016/07/19 11:54:21 | ------------------------------------------------------------------------ advice | wrapper | 2016/07/19 11:54:21 | advice: advice | wrapper | 2016/07/19 11:54:21 | wrapper consists of native component set of classes advice | wrapper | 2016/07/19 11:54:21 | run within jvm launches. java component of advice | wrapper | 2016/07/19 11:54:21 | wrapper must initialized promptly after jvm launched or advice | wrapper | 2016/07/19 11:54:21 | wrapper timeout, happened. main class advice | wrapper | 2016/07/19 11:54:21 | specified in wrapper configuration file not correctly initializing advice | wrapper | 2016/07/19 11:54:21 | wrapper classes: advice | wrapper | 2016/07/19 11:54:21 | com.mainrunner advice | wrapper | 2016/07/19 11:54:21 | while possible manually, wrapper ships helper advice | wrapper | 2016/07/19 11:54:21 | classes make initialization processes automatic. advice | wrapper | 2016/07/19 11:54:21 | please review integration section of wrapper's documentation advice | wrapper | 2016/07/19 11:54:21 | various methods can employed launch application advice | wrapper | 2016/07/19 11:54:21 | within wrapper: advice | wrapper | 2016/07/19 11:54:21 | http://wrapper.tanukisoftware.com/doc/english/integrate.html advice | wrapper | 2016/07/19 11:54:21 | ------------------------------------------------------------------------ advice | wrapper | 2016/07/19 11:54:21 | error | wrapper | 2016/07/19 11:54:21 | jvm did not exit on request, termination requested. status | wrapper | 2016/07/19 11:54:21 | jvm exited after being requested terminate. status | wrapper | 2016/07/19 11:54:26 | launching jvm... info | jvm 2 | 2016/07/19 11:54:26 | [11:54:26 19.07.2016]: starting oracle. info | jvm 2 | 2016/07/19 11:54:26 | [11:54:26 19.07.2016]: try update. info | jvm 2 | 2016/07/19 11:54:27 | [11:54:26 19.07.2016]: update ok.
if right understand in class com.mainrunner absent implements on wrapper.
please simple working example java wrapper.
this configuration solve problem
wrapper.java.mainclass=org.tanukisoftware.wrapper.wrappersimpleapp wrapper.java.classpath.1=../lib/example.jar wrapper.java.classpath.2=../lib/wrapper.jar wrapper.java.library.path.1=../lib wrapper.java.library.path.2=../lib/lib wrapper.java.additional.auto_bits=true wrapper.java.additional.1="oracle" wrapper.app.parameter.1=
Comments
Post a Comment