Re: ServletContextListener and WS (Servlet) initialization

From: Bobby Bissett - Javasoft <Robert.Bissett_at_Sun.COM>
Date: Tue, 18 Jan 2005 15:38:47 -0500

> When is contextInitialized() method of ServletContextListener called. Is
> it after init(ServletContext sc) method of Servlet class returns or at
> some other point.

According to the latest servlet spec, the context listener should be
initialized before the servlet.

However, the version of the servlet spec that jaxrpc 1.X requires
doesn't mandate this, so a fix was put in such that the listener code
was moved into the jaxrpc servlet itself. Thus, the order should no
longer affect jaxrpc.

The latest version of the jwsdp should work for you on the BEA server as
well as in Tomcat and JES App Server. If not, there may be some other
problem (you could try the latest weekly build to test that you're
really getting the fix).


To unsubscribe, e-mail:
For additional commands, e-mail: