File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaService - service runs but doesn't do anything

 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i do have the same problem,
did you find a solution,
i know this was in 2004, but i would like to ask.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic