> From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
> Subject: Re: Storing webapp startup parameters
> 
> A JNDI browser might simplify this for you if you can either deploy it
> into your existing application, or if you can somehow connect 
> to it from the outside.

Doesn't Tomcat's admin app have this capability, including handling
<Environment> entries specified in server.xml?  The default server.xml
contains this sample:

    <Environment name="simpleValue" type="java.lang.Integer"
value="30"/>

By using admin -> Resources -> Environment Entries -> simpleValue, you
can change the 30 to any desired integer on the fly.  The result should
be immediately visible to any code looking it up.  Using the Commit
button preserves the value across Tomcat restarts by rewriting
server.xml.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to