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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to