How can i run my own program as a NT service in win2000????
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jjfat_jjfat
Posted On:   Thursday, November 29, 2001 10:43 PM

Thanks!

Re: How can i run my own program as a NT service in win2000????

Posted By:   Nik_Silver  
Posted On:   Monday, December 3, 2001 01:35 AM

If you're asking how to run a *Jtrix* program
as a service in Win2000, then that's very
relevant to Jtrix. A goal of the project is to
allow people to have their own hosting service
running as a Windows service; then they can safely hire out
their machine time to others and earn a few pennies
at the same time.



At the moment there is no
facility to do this built in to Jtrix. However, in
principle the sequence to run your Jtrix program
as a Windows service is this:


  1. Enable your program to run as a bootstrap
    netlet. For example, you can create a netlet descriptor
    called myprog.xml. You might have some boot-time
    parameters, too (e.g. param1=value1 param2=value2).
  2. Run jnode as a service with your application
    start-up on the command line. I.e. run the following
    as a service:

    jnode myprog.xml param1=value1 param2=value2

    You might also want to run a hosting service for your application
    at the same time:

    jnode myhosting.xml myprog.xml param1=value1 param2=value2




The piece of the jigsaw that's not in place is that jnode does
not run as a service unless you can run command lines
like the ones above as a service. Ultimately, the facility
should be built in, but for now
Andy's link above looks helpful. Also, have a look
at

srvany (link from Windows 2000 Magazine)
.

Re: How can i run my own program as a NT service in win2000????

Posted By:   Andrew_Cuthbertson  
Posted On:   Saturday, December 1, 2001 04:28 AM

I'm not sure that has anything to do with Jtrix. Has anyone looked at this stuff? It sounds interesting.


if you have a look at this site:


http://www.kcmultimedia.com/javaserv/

About | Sitemap | Contact