You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/03/19 08:09:04 UTC
DO NOT REPLY [Bug 47516] parameters in conf/context.xml and
context.xml.default are ignored
https://issues.apache.org/bugzilla/show_bug.cgi?id=47516
Wim Goossens <wg...@wg.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Version|6.0.20 |6.0.26
Resolution|WORKSFORME |
--- Comment #3 from Wim Goossens <wg...@wg.be> 2010-03-19 07:09:01 UTC ---
It does NOT work in ALL versions since 6.0.20 --> 6.0.26
elements in $CATALINA_BASE/conf/context.xml
or in $CATALINA_BASE/conf/[enginename]/[hostname]/context.xml.default
ARE NO LONGER available for the webapps.
According to the documentation and the behavior until 6.0.18, they should be
available for all the webapps (or for de webapps of that host)
I TESTED it with resourcelinks, transaction and environment elements.
Tested on VISTA and REDHAT.
Example :
<Environment name="test"
value="host001"
type="java.lang.String"
override="true" />
<ResourceLink name="mail"
global="mail/Session"
type="javax.mail.Session" />
<ResourceLink name="db"
global="jdbc/dev1"
type="javax.sql.DataSource" />
<Transaction factory="com.atomikos.icatch.jta.UserTransactionFactory" />
Only workaround is to copy these elements to each and every webapp.
This is not the intention if you look at the Tomcat documentation.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org