tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41016] - tomcat 5.5 multiple contexts using same realm bug
Date Sun, 10 Dec 2006 04:48:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41016>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41016


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From markt@apache.org  2006-12-09 20:48 -------
If a DataSourceRealm is specified at the Context level and the DataSource
resource is also specified at the Context level (rather than as a global
resource) the localDataSource="true" must be used as per the documentation. Any
unusual behaviour with this configuration when localDataSource="true" is not
specified is irrelevant since the configuration is invalid.

I have created two identical contexts (with just index, login and error JSPs),
both using a DataSourceRealm defined at the context level and both with local
DataSources and both contexts are accessible on Tomcat startup. The report also
mentions the login form for one context being displayed for a second context. I
have also not been able to reproduce this.

I suspect a configuration or possibly an application issue is at the heart of this.

I suggest you try to reproduce this with the simplest possible test WAR rather
than your entire application to rule out any application issues. If you do
reproduce it with a simple test WAR please re-open this report and I'll take
another look.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message