Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Other Open Source Projects
JavaService - service runs but doesn't do anything
posted 9 years ago
With reference to this:
Command for installing service:
JavaService.exe -install "My Service" C:\Program Files\Java\jdk1.6.0_02\jre\bin\server\jvm.dll -start MyTestService -out c:\app\stdout.txt -err c:\app\stderr.txt
When I run this command, I get a message: The My Service automatic service was successfully installed.
When I run this service from windows service console, I get following alert: The service started and stopped. Some service start and stop because they have nothing to do...
But when I see the log file/output file (c:\app\stdout.txt), I don't see SOPs which are there in main method of MyTestService.java.
What can go wrong?
posted 4 years ago
i do have the same problem,
did you find a solution,
i know this was in 2004, but i would like to ask.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
change standard output to a file
Hello, but do you know how to manipulate NT Services in Java??
Where are my console messages
Install JBOSS as windows Service
Need Help starting Tomcat