tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Donahue - PLANDEVX <LeoDona...@mail.maricopa.gov>
Subject RE:[OT][tomcat-6.0.33] META-INF/context.xml Environment not working
Date Thu, 22 Sep 2011 20:48:42 GMT

>-----Original Message-----
>From: Tim Watts [mailto:tim@cliftonfarm.org]
>Subject: RE: [tomcat-6.0.33] META-INF/context.xml Environment not
>working
>
>I got it to work by removing the <env-entry> from web.xml. I believe
>this is a regression because it works correctly under 5.5.17. Under
>5.5.17 it finds the env entry with or without having defined in web.xml.
>Under 6.0.33 having the env entry defined in web.xml *prevents* it from
>finding it.
>

So what is the difference between having a <env-entry> or <resource-ref> in web.xml
vs. a <Resource> or <Environment> elements in META-INF/context.xml?
Mime
View raw message