File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaService - service runs but doesn't do anything
 
Similar Threads
Hello, but do you know how to manipulate NT Services in Java??
Where are my console messages
change standard output to a file
Need Help starting Tomcat
Install JBOSS as windows Service