Skip to content

No SIGINT or processkill is issued #262

@mrtechit

Description

@mrtechit

Hi,

We have a problem that when we "stop" the windows service, it does not issue a sigint or processkill sometimes.

Also, why is start being printed twice ? is that normal ?

Version : 2.1.2

Below are the logs :

2017-12-26 18:03:21,632 INFO - Starting ServiceWrapper in the service mode
2017-12-26 18:03:21,841 INFO - Starting C:/Program Files (x86)/v2/jre1.8.0_144/bin/java -Xmx256m -jar "C:\Program Files (x86)\v2\v2.jar"
2017-12-26 18:03:21,855 INFO - Starting C:/Program Files (x86)/v2/jre1.8.0_144/bin/java -Xmx256m -jar "C:\Program Files (x86)\v2\v2.jar"
2017-12-26 18:03:21,915 INFO - Started process 4404
2017-12-26 18:03:21,951 DEBUG - Forwarding logs of the process System.Diagnostics.Process (java) to winsw.SizeBasedRollingLogAppender
2018-01-24 07:03:56,388 INFO - Stopping v2
2018-01-24 07:03:56,419 INFO - Finished v2
2018-01-24 07:03:56,419 DEBUG - Completed. Exit code is 0

Environment : Windows server 2012 R2

Winws configuration (added numbers before each line on purpose) :
**

  1. <id>v2</id>
    
  2. <name>V v2</name>
    
  3. <description>V v2</description>
    
  4. <env name="v2_HOME" value="%BASE%"/>
    
  5. <executable>C:/Program Files (x86)/v2/jre1.8.0_144/bin/java</executable>
    
  6. <arguments>-Xmx256m -jar "%BASE%\v2.jar"</arguments>
    
  7. <logmode>rotate</logmode>
    

**

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions