tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William <>
Subject Failed to override global naming resources in specific app!
Date Wed, 27 Aug 2008 09:21:46 GMT
webapp definition cannot override global one, even though
override attribute set to true.
Is that the right way to define resource for common use and 
redefine it within specific webapp?
version: 5.5.20
global definition in conf/server.xml:
  <Environment name="maxTTL" value="500"
         type="java.lang.Integer" override="true"/>
webapp definition in WEB-INF/web.xml:
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">

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message