geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <>
Subject [jira] Created: (GERONIMO-1924) Need to register the tomcat jndi url handler somehow
Date Thu, 27 Apr 2006 00:46:02 GMT
Need to register the tomcat jndi url handler somehow

         Key: GERONIMO-1924
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: Tomcat  
    Versions: 1.1    
    Reporter: David Jencks
    Priority: Blocker
     Fix For: 1.1

Until recently we were using the Tomcat WebappLoader which has this code:

        // Register a stream handler factory for the JNDI protocol
        URLStreamHandlerFactory streamHandlerFactory =
            new DirContextURLStreamHandlerFactory();
        if (first) {
            first = false;
            try {
            } catch (Exception e) {
                // Log and continue anyway, this is not critical
                log.error("Error registering jndi stream handler", e);
            } catch (Throwable t) {
                // This is likely a dual registration
      "Dual registration of jndi stream handler: " 
                         + t.getMessage());

This is how tomcat finds anything in the web app when you call servletContext.getResource(location_in_WEB_INF).

Since we recently stopped using the tomcat classloader, we need  to do this ourselves somewhere.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message