useNaming not very useful; perhaps use StandardServer to make it more useful
----------------------------------------------------------------------------

                 Key: MTOMCAT-90
                 URL: http://jira.codehaus.org/browse/MTOMCAT-90
             Project: Maven 2.x Tomcat Plugin
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Benson Margulies


While the Tomcat 'Embedded' class has 'useNaming', it's not useful. This is 
because the rest of Tomcat won't actually set up the full JNDI foundation 
unless the NamingContextListener is deployed inside of a container that 
implements Server or Context. The plugin does not use StandardServer to be a 
server, and nothing in the plugin will add the NamingContextListener to a 
context.

One possible response here is to remove the option; another is to add 
StandardServer, a third is to add that listener to the context when useNaming 
is turned on. 

I suppose that it's hypothetically possible for someone to use context.xml to 
add the NamingContextListener.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to