William wrote:
> Hi,
>  
> description
> webapp definition cannot override global one, even though
> override attribute set to true.
> Why? 
> Is that the right way to define resource for common use and 
> redefine it within specific webapp?
>  
> scenario
> version: 5.5.20
> global definition in conf/server.xml:
>  
>  <GlobalNamingResources>
>   <Environment name="maxTTL" value="500"
>          type="java.lang.Integer" override="true"/>
>  </GlobalNamingResources>
>  
> webapp definition in WEB-INF/web.xml:
>  
> <env-entry>
>   <env-entry-name>maxTTL</env-entry-name>
>   <env-entry-value>800</env-entry-value>
>   <env-entry-type>java.lang.Integer</env-entry-type>
> </env-entry>
>  
> webapp reference of global in META-INF/context.xml:
> <Context docBase="helloapp2" debug="5" reloadable="true">
>  <ResourceLink name="maxTTL" global="maxTTL" type="java.lang.Integer">
>  </ResourceLink>
> </Context>

Why the ResourceLink? What happens if you remove this?

Mark



---------------------------------------------------------------------
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