• 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
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Peter Rooke
Bartenders:

java as NT service

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
I have a c++ program to invoke jvm to run java program, the program can run as NT service, it still running after i logout the windows. everything runs corrently with jdk1.1, but while i use jsdk1.4.0, the NT service stops while the windows logout.
i saw some post said that use "-Xrs" option can solve the problem, but it seems not work !!
can any help me to slove the problem ?
this is the code in my program:


thanks,
jacky
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know how to help you directly, but there seems to be plenty of informations on the net about how to run a java application as nt service: http://www.google.com/search?q=java+nt+service - perhaps you will find something usefull there...
 
Jacky Chow
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thinks for you help Ilja, i found the solution on
www.kcmutimedia.com
 
reply
    Bookmark Topic Watch Topic
  • New Topic