i think you can see this issue [#95](https://github.com/apache/dubbo/issues/95)
``` public class DubboShutDownListener implements ServletContextListener { @Override public void contextDestroyed(ServletContextEvent arg0){ arg0.getServletContext().log("DubboShutDownListener.contextDestroyed called!"); try { final Class protocolConfig = Class.forName("com.alibaba.dubbo.config.ProtocolConfig"); final Method method = protocolConfig.getMethod("destroyAll"); method.invoke(protocolConfig); } catch (Exception e){ arg0.getServletContext().log("destory dubbo failed:"+e.getMessage(), e); } } @Override public void contextInitialized(ServletContextEvent arg0){ //System.out.println("DubboShutDownListener.contextInitialized called!"); } } ``` [ Full content available at: https://github.com/apache/dubbo-samples/issues/98 ] This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org