• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JavaService - service runs but doesn't do anything

 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic