The jndi prefix URL could not work before the web application is totally started
--------------------------------------------------------------------------------

                 Key: GERONIMO-6266
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6266
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Tomcat
    Affects Versions: 3.0-beta-1, 3.0
            Reporter: Ivan


If the those load-on-startup servlets use the servletContext.getResource method 
to get a jndi prefix URL, they could not get the contents by URL.openStream 
method, as the resources are only binded to the web application classloader 
while the TomcatWebApp GBean is started.
Although we have binded the resources with the current thread, it seems to be 
ignored in Tomcat codes. I opened a bug entry in Tomcat community, 
https://issues.apache.org/bugzilla/show_bug.cgi?id=52563
If they did not accept it or we have no chance to include the change in the 
3.0-beta-2 release, there should be workaround codes to make it work in 
Geronimo.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to