This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JavaService - service runs but doesn Watch "JavaService - service runs but doesn New topic

JavaService - service runs but doesn't do anything

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
With reference to this:

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

What can go wrong?

moataz bourikou

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.
It is sorta covered in the JavaRanch Style Guide.
subject: JavaService - service runs but doesn't do anything
jQuery in Action, 3rd edition