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 25844] New: - JNDI Datasource not available to other contexts
Date Wed, 31 Dec 2003 18:21:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25844>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25844

JNDI Datasource not available to other contexts

           Summary: JNDI Datasource not available to other contexts
           Product: Tomcat 5
           Version: 5.0.16
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Webapps:Administration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mtownsen@alumni.calpoly.edu


Using the Administration tool for Tomcat, after adding a JDNI datasource, the 
datasource is not available to other webapps.

I put the JDBC driver into the $TOMCAT_HOME/common/lib directory.  I added the 
datasource under DataSources.  Deploying my webapp and trying to get to the 
datasource gives me an error that it can't find the database driver.  If I 
change the $TOMCAT_HOME/conf/Catalina/localhost/<context>.xml file <Resource>

tag to <ResourceLink>, I no longer get the above error, but am unable to get a 
connection object from jndi with no errors.

I deployed the same webapp with no changes to JRun4 and did not have any 
problems, so I know the problem isn't with my webapp.

---------------------------------------------------------------------
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