Setting catalina.properties options with embedded Tomcat

2008-03-28 Thread Tom Price
Hi, I run Tomcat 5.5.16 embedded within a Java application, and currently do not have a file called catalina.properties in the installation. I would like to change an option which is normally in that file, so my question is how do I do that? I've tried creating a conf directory under my main

Re: Setting catalina.properties options with embedded Tomcat

2008-03-28 Thread Rainer Jung
Hi, Tom Price schrieb: Hi, I run Tomcat 5.5.16 embedded within a Java application, and currently do not have a file called catalina.properties in the installation. I would like to change an option which is normally in that file, so my question is how do I do that? I've tried creating a conf

RE: Setting catalina.properties options with embedded Tomcat

2008-03-28 Thread Tom Price
Rainer, Rainer Jung wrote: What do you try to set via catalina.properties? Thanks for the information. I'm trying to set: tomcat.util.buf.StringCache.byte.enabled=false Thanks, Tom. - To start a new topic, e-mail:

Re: Setting catalina.properties options with embedded Tomcat

2008-03-28 Thread Rainer Jung
Tom Price schrieb: Rainer, Rainer Jung wrote: What do you try to set via catalina.properties? Thanks for the information. I'm trying to set: tomcat.util.buf.StringCache.byte.enabled=false Then it's easy, the StringCache class gets it as a system property. So you simply set it as a

RE: Setting catalina.properties options with embedded Tomcat

2008-03-28 Thread Tom Price
Rainer Jung wrote: Then it's easy, the StringCache class gets it as a system property. So you simply set it as a system property from your own code, before embedded Tomcat gets it. Values are false or true. Great, thanks. -