Re: How to specify "-D" to Tomcat NT service

2003-08-14 Thread Jeff Tulley
As we were discussing a security issue today (I think on the development
list), somebody incidentally wrote how to do this.  Here is what they
did:



I added those keys in thr registry for the Tomcat service, and
restarted it:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat 
4.1\Parameters]
"JVM Option Count"=dword:0005
"JVM Option Number 3"="-Dfile.encoding=ISO-8859-1"
"JVM Option Number 4"="-Dsun.io.useCanonCaches=false"



I don't know where this is documented - look in the faq (
http://jakarta.apache.org/tomcat/faq ), or in the various how-to
documents at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

>>> [EMAIL PROTECTED] 8/13/03 9:57:48 AM >>>
Hey All,

I am currently installing Tomcat on a Windows 2000 box and cannot see 
any way to specifying

"-Duser.home=x"

Can anyone tell me how this is done?

Thanks,

Ramsay



-- 
Ramsay Domloge
   Lead Developer

  W : http://www.arkemedia.com 
  T : +44 1256 869 200
  F : +44 1256 329 119
  E : mailto:[EMAIL PROTECTED] 

   


   

A R K E M E D I A   T E C H N O L O G I E S   L T D

   

   VIEW POINTBASING VIEWBASINGSTOKEHAMPSHIRERG21
4RG
   

  http://www.arkemedia.com 

   

 mailto:[EMAIL PROTECTED] 

   

 Tel : +44 1256 869 200  Fax : +44 1256 329 119

   


   

 The information in this e-mail and in any attachments is confidential
and  
 is intended solely for the attention and use of the named
addressee(s).
   


   

 If you are not the intended recipient, or a person responsible for
passing 
 it on to the intended recipient, you are not authorised to hold a copy
of  
 this information and you must therefore not disclose, copy,
distribute, or 
 retain this message or any part of it.
MAILTO:[EMAIL PROTECTED]  
   





-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to specify "-D" to Tomcat NT service

2003-08-14 Thread Ramsay Domloge
Hey All,

I am currently installing Tomcat on a Windows 2000 box and cannot see 
any way to specifying

	"-Duser.home=x"

Can anyone tell me how this is done?

Thanks,

Ramsay



--
   Ramsay Domloge
  Lead Developer
 W : http://www.arkemedia.com
 T : +44 1256 869 200
 F : +44 1256 329 119
 E : mailto:[EMAIL PROTECTED]
   

   
   A R K E M E D I A   T E C H N O L O G I E S   L T D 
   
  VIEW POINTBASING VIEWBASINGSTOKEHAMPSHIRERG21 4RG
   
 http://www.arkemedia.com  
   
mailto:[EMAIL PROTECTED]  
   
Tel : +44 1256 869 200  Fax : +44 1256 329 119 
   

   
The information in this e-mail and in any attachments is confidential and  
is intended solely for the attention and use of the named addressee(s).
   

   
If you are not the intended recipient, or a person responsible for passing 
it on to the intended recipient, you are not authorised to hold a copy of  
this information and you must therefore not disclose, copy, distribute, or 
retain this message or any part of it. MAILTO:[EMAIL PROTECTED]  
   




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]