From 16d457a6341b145f1781babdf30fb77300378454 Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 13 Apr 2010 18:49:29 +0000 Subject: TUSCANY-3533 - disable registration of the dummy config. Doesn't seem to affect the runtime now we've moved to 1.5.1 and it causes the Axis2 shutdown hook to be registered twice. When this happens one of the shutdown hooks is not removed on node stop and we have a leak. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@933739 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/binding/ws/axis2/provider/Axis2ServiceServlet.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws') diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java index f63e5af8e6..e7944c44d8 100644 --- a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java +++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java @@ -71,12 +71,12 @@ public class Axis2ServiceServlet extends AxisServlet { public void init(ConfigurationContext configContext) { this.tmpconfigContext = configContext; - try { + //try { //super.init(DUMMY_CONFIG); - init(DUMMY_CONFIG); - } catch (ServletException e) { - throw new RuntimeException(e); - } + //init(DUMMY_CONFIG); + //} catch (ServletException e) { + // throw new RuntimeException(e); + //} agent = new TuscanyListingAgent(configContext); } -- cgit v1.2.3