diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-13 18:49:29 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-04-13 18:49:29 +0000 |
commit | 16d457a6341b145f1781babdf30fb77300378454 (patch) | |
tree | 7443e88e9ae4fb1316bbe5b854a1fdbe7164957a /sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src | |
parent | 0aaa7657e8d06d753dcc356dac82e997c09329d9 (diff) |
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
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java | 10 |
1 files changed, 5 insertions, 5 deletions
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); } |