Thank you very much, Larry. Tony Merritt Senior Technical Architect SBC Services, Inc. - Ntwk Creation & Capacity Mgmt Systems Office: 925-823-1938; Pager: 877-681-3467; Fax: 925-806-0612 Office E-mail: [EMAIL PROTECTED]; Personal E-mail: [EMAIL PROTECTED] Message Paging: mailto:[EMAIL PROTECTED]
-----Original Message----- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 5:56 AM To: 'Tomcat Users List' Subject: RE: Installing Tomcat 3.3.1 as a service This was my mistake. I added "wrapper.jvm.options" to make it easy to add options. It was originally tested with Jdk1.3.1 with "-Xrs" as the options. This worked. However, when I tried it with Jdk1.2.2 I found that the -Xrs option was not supported, so I defaulted the wrapper.jvm.options to being empty. This incorrectly assumed that the options would expand to "blank" in the wrapper.cmd_line string. Thus, the wrapper.jvm.options must not be blank, or it must be removed from the wrapper.cmd_line string. I would recommend making it non-blank using one of the heap options. If you are using Jdk 1.3 or later, include the -Xrs option. The "==" is deliberate. It means *replace* the default properties using the specified properties file. Using just "=" means *append* to the default properties. Cheers, Larry > -----Original Message----- > From: MERRITT, TONY (SBCSI) [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 28, 2002 6:31 PM > To: '[EMAIL PROTECTED]' > Subject: Installing Tomcat 3.3.1 as a service > > > I just installed Tomcat 3.3.1 and wanted to run it as a > service on Windows > 2000. I followed the instructions in the Tomcat > documentation, adding the > wrapper.tomcat_home and wrapper.java_home values, but was > unable to start > the service using either jk_nt_service.exe or the "net start" > command. The > Tomcat log reported that it was unable to find the class file > "$(wrapper/jvm/options)". Since the variable > wrapper.jvm.options was not > being assigned a value (or was blank), I removed: > -Djava.security.policy=="$(wrapper.tomcat_policy)" > (notice the double equal sign...is that also a mistake in the > install file?) > from the wrapper.cmd_line and put it as the value for > wrapper.jvm.options: > > wrapper.jvm.options=-Djava.security.policy="$(wrapper.tomcat_policy)" > That made the service able to start. Was I off-base and > missing something > before making those changes? > > Thanks, > Tony > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>