|
From: Shannon S. <sha...@gm...> - 2013-08-06 15:55:42
|
Hello All, I've created a Java Socket Listener Service extending WrapperListener. It works wonderfully as a service until I logout. This is what appears in the logs: INFO | wrapper | 2013/08/06 11:25:48 | User logged out. Ignored. INFO | jvm 1 | 2013/08/06 11:25:48 | WrapperManager Debug: ShutdownHook started INFO | jvm 1 | 2013/08/06 11:25:48 | WrapperManager Debug: WrapperManager.stop(0) called by thread: Wrapper-Shutdown-Hook INFO | jvm 1 | 2013/08/06 11:25:48 | WrapperManager Debug: Send a packet STOP : 0 INFO | jvm 1 | 2013/08/06 11:25:48 | WrapperManager Debug: Pausing for 1,000ms to allow a clean shutdown... I'm not sure how to fix this Here is my config file: # Java Main class. This class must implement the WrapperListener interface # or guarantee that the WrapperManager class is initialized. Helper # classes are provided to do this for you. See the Integration section # of the documentation for details. wrapper.java.mainclass=com.xxx.pci.executor.AspectSSLDaemon # Java Classpath (include wrapper.jar) Add class path elements as wrapper.java.classpath.1=../lib/*.jar # Name of the service wrapper.name=AspectSSLDaemon # Display name of the service wrapper.displayname=Aspect SSL Daemon # Description of the service wrapper.description=Secure Aspect Daemon # Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START wrapper.ntservice.starttype=AUTO_START wrapper.debug=true wrapper.ignore_user_logoffs=TRUE wrapper.ignore_signals=TRUE # Log file to use for wrapper output logging. wrapper.logfile=../logs/wrapper.log # Format of output for the log file. (See docs for formats) wrapper.logfile.format=LPTM # Log Level for log file output. (See docs for log levels) wrapper.logfile.loglevel=INFO # Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. wrapper.logfile.maxsize=0 # Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=0 # Log Level for sys/event log output. (See docs for log levels) wrapper.syslog.loglevel=NONE wrapper.ntservice.interactive=false Thanks, Shannon Sumner |