aspose file tools*
The moose likes Other Open Source Projects and the fly likes JavaService - service runs but doesn't do anything Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JavaService - service runs but doesn Watch "JavaService - service runs but doesn New topic
Author

JavaService - service runs but doesn't do anything

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
With reference to this: http://javaservice.objectweb.org/docs/devdocs/devcmds.html

Command for installing service:



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?

Thanks.
moataz bourikou
Greenhorn

Joined: May 05, 2013
Posts: 2
i do have the same problem,
did you find a solution,
i know this was in 2004, but i would like to ask.
 
Consider Paul's rocket mass heater.
 
subject: JavaService - service runs but doesn't do anything
 
Similar Threads
Where are my console messages
Need Help starting Tomcat
Hello, but do you know how to manipulate NT Services in Java??
Install JBOSS as windows Service
change standard output to a file