Hi David, I just confirmed your comment with HEAD. I've been working off the latest release (1.3) and it looks like this was fixed 9 days after that release.
Thanks, Lawrence "David Illsley" <[EMAIL PROTECTED]> 10/12/2007 03:54 AM Please respond to [email protected] To [email protected] cc Subject Re: [Axis2] 2 Instances of Axis2 running by default in Axis2 WAR? Lawrence, This isn't my area of expertise, but looking at AxisAdminServlet and AxisServlet, it looks like the init(ServletConfig) methods store/retrieve the first created configuration context from an attribute on the ServletContext, so only one should be created: Extract: this.configContext = (ConfigurationContext) servletContext.getAttribute(CONFIGURATION_CONTEXT); if(configContext == null){ configContext = initConfigContext(config); config.getServletContext().setAttribute(CONFIGURATION_CONTEXT, configContext); } Does that make sense? David On 11/10/2007, Lawrence Mandel <[EMAIL PROTECTED]> wrote: > I'm trying to understand how Axis2 is initialized. When deploying Axis2 in > a Servlet container (like Tomcat) there are two Servlets that get invoked: > AxisServlet and AxisAdminServlet. Both of these Servlets seem to go > through the same initialization routine setting up Axis2 configurations. > In this way it appears that both Servlets contain their own instance of > Axis2 and therefore their own copies of the running services and modules > and both will probe for new services and modules. It seems to me that > Axis2 should only be configured once and this configuration should be > shared between AxisServlet and AxisAdminServlet. > > Am I correct in my assessment above and if so are two instances of Axis2 > created intentionally? > > Thanks, > > Lawrence > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- David Illsley - IBM Web Services Development --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
