On 23/09/2011 05:37, Tim Watts wrote:
> Wonderful. Thank You!
> 
> You're right about <Parameter>/<context-param> but I'm not sure all
> standards conforming servlet containers are guaranteed to provide an
> 'external override' behaviour.

If the resource entry in web.xml is insufficient to fully configure the
resource, they'll have to provide some form of mechanism for this.

You might also want to read:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html#web.xml_configuration
and
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html#context.xml_configuration

Mark

> 
> 
> On Fri, 2011-09-23 at 07:07 +0400, Konstantin Kolinko wrote:
>> 2011/9/22 Tim Watts <[email protected]>:
>>> 6.0.33
>>
>>>        <Environment
>>>                name="configName"
>>>                
>>> value="${catalina.base}/local/xbasic/config/master.properties"
>>>                description="Full path name of the config file."
>>>                type="java.lang.String"/>
>>
>>> I got it to work by removing the <env-entry> from web.xml.
>>
>> You have to add override="false" to your <Environment> element. It is
>> tricky, but it is documented
>>
>> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Environment_Entries
>>
>>
>> BTW, I think <Parameter> (<context-param> in web.xml) are easier to
>> use. Note that it requires override="false" as well.
>>
>> Best regards,
>> Konstantin Kolinko
>>
>> ---------------------------------------------------------------------
>> 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]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to