poidasmith/winrun4j — Issue #8: Issues in Window Service for Runnable java 
Author: panks2905
Created: 2012-01-02 19:26:09+00:00
State: open

Hi,
I am trying hands on winrun4j 64 bit wrapper for my java service. Facing a couple of issues -
1) Have a .properties file in the same folder where .ini / .exe and .jar files are placed. But I am not able to read properties file.
.ini file -

service.class=com.datamigration.services.AggDataProducerService
service.id=AggDataProducer
service.name=AggregationDataProducer
service.description=Dumps customers data

classpath.1=*.jar
working.directory=.
vmarg.1=-Xdebug
vmarg.2=-Xnoagent
vmarg.3=-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

2) able to register the service but once it starts, the behavior is unpredictable.
3) I am unable to stop the service nor can I unregister it (goes in disabled state)