Howdy,
But what do I have to do if I would like to set more than one system
property?
export JAVA_OPTS='-DpropName1=propValue1 -DpropName2=propValue2' ???
Yes, as many as you want just like that.
Yoav Shapira
This e-mail, including any attachments, is a confidential business
Tim Funk wrote:
http://jakarta.apache.org/tomcat/faq/misc.html#properties
-Tim
Thank you Tim for pointing me to the right place.
But what do I have to do if I would like to set more than one system
property?
export JAVA_OPTS='-DpropName1=propValue1 -DpropName2=propValue2' ???
Regards,
http://jakarta.apache.org/tomcat/faq/misc.html#properties
-Tim
Christian Hauser wrote:
Hello
I'd like to know how I can set system properties when starting Tomcat 4.1.
I mean those properties that I can get from within a JSP file as:
System.getProperty(CONFIG_HOME)
Thank you in advance for any
What system properties are you referring to?
prabhakar
Is it possible to change system properties from within' a JSP page.
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]
Craig,
I was wondering if there is an optimal way of doing the following in TomCat?
If you have the time to briefly describe such
Thanks
Miles
(I prefer to store global application
objects in
the servlet context, so that they are easily visible to all servlets
and
JSP
pages in
Miles Daffin wrote:
Craig,
I was wondering if there is an optimal way of doing the following in TomCat?
If you have the time to briefly describe such
Thanks
Miles
(I prefer to store global application
objects in
the servlet context, so that they are easily visible to all
Hi guys,
From the looks of things, it is just the way it is, although I was
hoping
the there would be some way to put stuff in the web.xml file, maybe in
the
servlet tag like:
system-property
namemyproperty/name
value42/value
/system-property
Anyone think this is a good idea,
Miles Daffin wrote:
As long as this property value is never broadcast
i.e. System.setProperty("myProperty", "42");
System properties, in the sense that we are talking about the
java.lang.System
class, are global to the entire JVM. Therefore, even if the statement
above was
From the looks of things, it is just the way it is, although I was hoping
the there would be some way to put stuff in the web.xml file, maybe in the
servlet tag like:
system-property
namemyproperty/name
value42/value
/system-property
Anyone think this is a good idea, or am I talking
On Friday 17 November 2000 14:27, you wrote:
Hi,
I was wondering if it is possible to pass properties to Tomcat. I have
some classes which read various system properties in their static
initializers, and this works fine when using these classes on the command
line using "java
properties in, is
it like
TOMCAT_OPTS="db.properties=/home/stuart/db.properties:myproperty=anotherprop
ertyvalue:.."?
Thanks for your help,
Stuart
-Original Message-
From: Rachel Greenham [mailto:[EMAIL PROTECTED]]
Sent: 17 November 2000 15:21
To: [EMAIL PROTECTED]
Subject: R
, general things you want to share between
instances, object caches, etc.
-Original Message-
From: Rachel Greenham [mailto:[EMAIL PROTECTED]]
Sent: 17 November 2000 16:18
To: [EMAIL PROTECTED]
Subject: Re: System properties
On Friday 17 November 2000 15:46, you wrote:
Rachel,
Thanks
John
Thanks for that, will look into further and let you know.
Stuart
-Original Message-
From: John Ellis [mailto:[EMAIL PROTECTED]]
Sent: 17 November 2000 17:44
To: [EMAIL PROTECTED]
Subject: Re: System properties
According to the dtd:
http://java.sun.com/j2ee/dtds/web-app_2.2.dtd
John Ellis wrote:
According to the dtd:
http://java.sun.com/j2ee/dtds/web-app_2.2.dtd
There is an "env-entry" tag that has name-value pairs like you mentioned. The
version of tomcat that I am using (3.1) did not seem to being doing anything
with this entry. It does seem like it would be
14 matches
Mail list logo