Author: darran.lofthouse(a)jboss.com
Date: 2008-06-19 09:03:13 -0400 (Thu, 19 Jun 2008)
New Revision: 7676
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/ws/core/jaxws/spi/ProviderImpl.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/version.properties
Log:
[JBPAPP-876] DOMUtils doesn't clear thread locals.
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/ws/core/jaxws/spi/ProviderImpl.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/ws/core/jaxws/spi/ProviderImpl.java 2008-06-19
12:54:12 UTC (rev 7675)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/ws/core/jaxws/spi/ProviderImpl.java 2008-06-19
13:03:13 UTC (rev 7676)
@@ -38,6 +38,7 @@
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import org.jboss.util.NotImplementedException;
+import org.jboss.wsf.common.DOMUtils;
import org.w3c.dom.Element;
/**
@@ -59,6 +60,7 @@
public ServiceDelegate createServiceDelegate(URL wsdlLocation, QName serviceName,
Class serviceClass)
{
ServiceDelegateImpl delegate = new ServiceDelegateImpl(wsdlLocation, serviceName,
serviceClass);
+ DOMUtils.clearThreadLocals();
return delegate;
}
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java 2008-06-19
12:54:12 UTC (rev 7675)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java 2008-06-19
13:03:13 UTC (rev 7676)
@@ -60,7 +60,7 @@
public static void clear()
{
- msgContextAssoc.set(null);
- strTransformAssoc.set(null);
+ msgContextAssoc.remove();
+ strTransformAssoc.remove();
}
}
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2008-06-19
12:54:12 UTC (rev 7675)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/src/main/java/org/jboss/wsf/stack/jbws/RequestHandlerImpl.java 2008-06-19
13:03:13 UTC (rev 7676)
@@ -91,6 +91,7 @@
import org.jboss.wsf.spi.SPIProviderResolver;
import org.jboss.wsf.spi.SPIProvider;
import org.jboss.wsf.common.DOMWriter;
+import org.jboss.wsf.common.DOMUtils;
import org.w3c.dom.Document;
/**
@@ -316,6 +317,7 @@
// clear thread local storage
ThreadLocalAssociation.clear();
+ DOMUtils.clearThreadLocals();
}
}
Modified:
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/version.properties
===================================================================
---
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/version.properties 2008-06-19
12:54:12 UTC (rev 7675)
+++
stack/native/branches/jbossws-native-2.0.1.SP2_CP01_JBPAPP-876/version.properties 2008-06-19
13:03:13 UTC (rev 7676)
@@ -25,7 +25,7 @@
# Dependend integration projects
jbossws-spi=1.0.0.GA
-jbossws-common=1.0.0.GA
+jbossws-common=1.0.0.GA_CP01
jbossws-framework=2.0.1.GA
jbossws-jboss40=2.0.1.GA
jbossws-jboss42=2.0.1.GA
Show replies by date