This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Need Help starting Tomcat
Hello, but do you know how to manipulate NT Services in Java??
Install JBOSS as windows Service
Where are my console messages
change standard output to a file