Just wanted to add that this issue is also in the Dev 111 release – I tested with a minimal application, with the web.xml only containing:
<listener>
<listener-class>org.directwebremoting.servlet.DwrListener</listener-class>
</listener>
<servlet>
<display-name>DWR Servlet</display-name>
<servlet-name>dwr-invoker</servlet-name>
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>dwr-invoker</servlet-name>
<url-pattern>/dwr/*</url-pattern>
</servlet-mapping>
If I start up and immediately shut down, everything's fine, but if I access a page with DWR on it, causing the DWR servlet to get loaded, then Tomcat 6.0.16 won't shut down for me and I have to kill it. Note I'm using the org.directwebremoting.servlet.DwrListener.
Just wanted to add that this issue is also in the Dev 111 release – I tested with a minimal application, with the web.xml only containing:
<listener>
<listener-class>org.directwebremoting.servlet.DwrListener</listener-class>
</listener>
<servlet>
<display-name>DWR Servlet</display-name>
<servlet-name>dwr-invoker</servlet-name>
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>dwr-invoker</servlet-name>
<url-pattern>/dwr/*</url-pattern>
</servlet-mapping>
If I start up and immediately shut down, everything's fine, but if I access a page with DWR on it, causing the DWR servlet to get loaded, then Tomcat 6.0.16 won't shut down for me and I have to kill it. Note I'm using the org.directwebremoting.servlet.DwrListener.