Author: slaws
Date: Tue Apr 13 18:49:29 2010
New Revision: 933739
URL: http://svn.apache.org/viewvc?rev=933739&view=rev
Log:
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.
Modified:
tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java
Modified:
tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java?rev=933739&r1=933738&r2=933739&view=diff
==============================================================================
---
tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java
(original)
+++
tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ServiceServlet.java
Tue Apr 13 18:49:29 2010
@@ -71,12 +71,12 @@ public class Axis2ServiceServlet extends
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);
}