1 Running nntp//rss as a Windows Service
2 ======================================
4 To run nntp//rss as a service, we recommend that you use the
5 enhance JavaService from Multiplan Consultants.
7 JavaService, a Windows Service wrapper for Java applications, can be
8 downloaded from the following URL:
10 http://www.multiplanconsultants.com/software/javaservice/downloads.html
13 Installing the nntp//rss service (all supported JVM versions)
14 -------------------------------------------------------------
16 Once you have downloaded JavaService, extract JavaService.exe into your
17 root nntp//rss directory.
19 To install nntp//rss as a service, open up a command prompt, change
20 into the directory where you installed nntp//rss, and issue the following
21 command, substituting %jvm_location% with the full path to your jvm.dll,
22 and %nntp_dir% with the directory in which you installed nntp//rss.
24 JavaService.exe -install "nntprss" %jvm_location%
25 "-Djava.class.path=%nntp_dir%\nntprss-start.jar"
26 -start org.methodize.nntprss.Startup -current %nntprss_dir%
28 Note that this should be entered as one line in your command window.
30 For example, given a jvm.dll location of
31 c:\j2sdk1.4.1_02\jre\bin\client\jvm.dll and an nntp//rss location
32 of c:\program files\nntprss:
34 JavaService -install "nntprss" c:\j2sdk1.4.1_02\jre\bin\client\jvm.dll
35 "-Djava.class.path=c:\program files\nntprss\nntprss-start.jar"
36 -start org.methodize.nntprss.Startup
37 -current "c:\program files\nntprss"
39 If you have installed nntp//rss in a different location, be sure to update
40 both the "-Djava.class.path=c:\program files\nntprss\nntprss-start.jar" and
41 -current "c:\program files\nntprss" parameters to point to the
44 As in the above example, if your nntp//rss directory contains a space, e.g.
46 c:\program files\nntprss
48 Ensure that both the -Djava.class.path and -current value parameters are
52 Uninstalling the nntp//rss Windows Service
53 ------------------------------------------
55 Ensure that the nntp//rss service has been shutdown - check this in
56 the Services Applet of the Control Panel / Administrative Tools.
58 Close the Service Applet, then run the following command to
59 remove the service configuration:
61 JavaService -uninstall "nntprss"
66 http://www.methodize.org/nntprss