[ 
https://issues.apache.org/jira/browse/GERONIMO-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201196#comment-13201196
 ] 

Ivan commented on GERONIMO-6266:
--------------------------------

I created a GeronimoWebAppLoader, and bind/unbind the context in the 
startInternal/stopInternal methods as Tomcat codes.
Commit changes to 3.0-beta at rev.1240956
                
> 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, 3.0-beta-1
>            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