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 33266] - Context defined datasources require driver classes placed in common classloader
Date Wed, 02 Feb 2005 08:41:35 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=33266>.
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=33266


drzewo@post.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P5




------- Additional Comments From drzewo@post.pl  2005-02-02 09:41 -------
Sure, I get it, its not a discomfort for me to place the driver in common/lib or
define my own DS. But condider the following: 

<Context reloadable="true" override="true" >

    <Resource name="jdbc/postgres" auth="Container"
        type="javax.sql.DataSource" ... />

    <Realm className="org.apache.catalina.realm.DataSourceRealm"
        dataSourceName="jdbc/postgres" ... localDataSource="true" />

</Context>

What I am trying to say, is that it *would be* nice that the context realm and
application could share the same DS. Provided that there is a localDataSource
attribute in the realm, means that it is possible to use a local datasource,
which in turn renders unusable due to NoClassDefFoundError. I consider this a
slight inconsistency. 

Still, I consider this issue as a low priority enhancement rather than a bug.

-- 
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message