Java Service Wrapper Executable Runnable Jar

后端 未结 3 1284
执笔经年
执笔经年 2021-01-22 15:18

WrapperAppJar I am wrapping an executable runnable jar file as a window service. Based upon the tutorial on Tanuki software site I export my app from eclipse as an executable ja

3条回答
  •  醉梦人生
    2021-01-22 15:47

    Is a value missing for the port option? You say that your jar is run as:

     java -jar smpp-portal -port 90
    

    However, the wrapper config doesn't seem to have the port number as an application parameter:

    # Application parameters.  Add parameters as needed starting from 1
    wrapper.app.parameter.1=../lib/smpp-portal.jar
    wrapper.app.parameter.2=-port
    

提交回复
热议问题