JBossWS SVN: r5226 - framework/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-12-07 05:54:55 -0500 (Fri, 07 Dec 2007)
New Revision: 5226
Modified:
framework/trunk/version.properties
Log:
sun.hudson=1.160
Modified: framework/trunk/version.properties
===================================================================
--- framework/trunk/version.properties 2007-12-07 10:30:16 UTC (rev 5225)
+++ framework/trunk/version.properties 2007-12-07 10:54:55 UTC (rev 5226)
@@ -30,4 +30,4 @@
# Hudson setup
apache-tomcat=5.5.20
-sun-hudson=1.150
+sun-hudson=1.160
16 years, 5 months
JBossWS SVN: r5225 - stack/native/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-12-07 05:30:16 -0500 (Fri, 07 Dec 2007)
New Revision: 5225
Modified:
stack/native/trunk/src/test/resources/test-excludes-jboss500.txt
Log:
[EJBTHREE-1152] service-ref in ejb-jar.xml is ignored
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss500.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 10:30:01 UTC (rev 5224)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 10:30:16 UTC (rev 5225)
@@ -3,8 +3,7 @@
# Fix BPEL before AS50 goes final
org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/*TestCase.*
-# [JBAS-4930] Cannot lookup ejb3 remote proxy
-org/jboss/test/ws/jaxrpc/jbws331/**
+# [EJBTHREE-1152] service-ref in ejb-jar.xml is ignored
org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.*
# [EJBTHREE-1150] WebServiceContext injection requires mapped-name
16 years, 5 months
JBossWS SVN: r5224 - stack/cxf/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-12-07 05:30:01 -0500 (Fri, 07 Dec 2007)
New Revision: 5224
Modified:
stack/cxf/trunk/src/test/resources/test-excludes-jboss500.txt
Log:
[EJBTHREE-1152] service-ref in ejb-jar.xml is ignored
Modified: stack/cxf/trunk/src/test/resources/test-excludes-jboss500.txt
===================================================================
--- stack/cxf/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 10:29:50 UTC (rev 5223)
+++ stack/cxf/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 10:30:01 UTC (rev 5224)
@@ -20,6 +20,9 @@
# [EJBTHREE-1150] WebServiceContext injection requires mapped-name
org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.*
+# [EJBTHREE-1152] service-ref in ejb-jar.xml is ignored
+org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.*
+
# [CXF-1244] Application Exception not initialized properly
org/jboss/test/ws/jaxws/samples/exception/**
16 years, 5 months
JBossWS SVN: r5223 - stack/metro/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-12-07 05:29:50 -0500 (Fri, 07 Dec 2007)
New Revision: 5223
Modified:
stack/metro/trunk/src/test/resources/test-excludes-jboss500.txt
Log:
[EJBTHREE-1152] service-ref in ejb-jar.xml is ignored
Modified: stack/metro/trunk/src/test/resources/test-excludes-jboss500.txt
===================================================================
--- stack/metro/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 10:03:15 UTC (rev 5222)
+++ stack/metro/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 10:29:50 UTC (rev 5223)
@@ -20,3 +20,5 @@
# [EJBTHREE-1150] WebServiceContext injection requires mapped-name
org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.*
+# [EJBTHREE-1152] service-ref in ejb-jar.xml is ignored
+org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.*
16 years, 5 months
JBossWS SVN: r5222 - framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-12-07 05:03:15 -0500 (Fri, 07 Dec 2007)
New Revision: 5222
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java
Log:
default remote binding has jndiName of EJB3Client/remote
Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java 2007-12-07 09:52:44 UTC (rev 5221)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java 2007-12-07 10:03:15 UTC (rev 5222)
@@ -31,6 +31,7 @@
import junit.framework.Test;
+import org.jboss.test.ws.jaxws.samples.serviceref.EJBRemote;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestHelper;
import org.jboss.wsf.test.JBossWSTestSetup;
@@ -86,7 +87,7 @@
if (isTargetJBoss50())
{
InitialContext iniCtx = getInitialContext();
- EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("/ejb/EJBClient");
+ EJBRemote ejbRemote = (EJBRemote)iniCtx.lookup("/EJBClient/remote");
String helloWorld = "Hello World!";
Object retObj = ejbRemote.echo(helloWorld);
16 years, 5 months
JBossWS SVN: r5221 - stack/metro/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-12-07 04:52:44 -0500 (Fri, 07 Dec 2007)
New Revision: 5221
Modified:
stack/metro/trunk/src/test/resources/test-excludes-jboss500.txt
Log:
Exclude [EJBTHREE-1150] WebServiceContext injection requires mapped-name
Modified: stack/metro/trunk/src/test/resources/test-excludes-jboss500.txt
===================================================================
--- stack/metro/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 09:44:44 UTC (rev 5220)
+++ stack/metro/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 09:52:44 UTC (rev 5221)
@@ -16,3 +16,7 @@
# [JBWS-1674] Fix @WebServiceRef with SunRI
org/jboss/test/ws/jaxws/samples/retail/**
+
+# [EJBTHREE-1150] WebServiceContext injection requires mapped-name
+org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.*
+
16 years, 5 months
JBossWS SVN: r5220 - stack/cxf/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-12-07 04:44:44 -0500 (Fri, 07 Dec 2007)
New Revision: 5220
Modified:
stack/cxf/trunk/src/test/resources/test-excludes-jboss500.txt
Log:
Exclude [EJBTHREE-1150] WebServiceContext injection requires mapped-name
Modified: stack/cxf/trunk/src/test/resources/test-excludes-jboss500.txt
===================================================================
--- stack/cxf/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 09:39:49 UTC (rev 5219)
+++ stack/cxf/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 09:44:44 UTC (rev 5220)
@@ -17,6 +17,9 @@
# [JBWS-1774] Provide a tools implementation for CXF (WSContractProvider and WSContractConsumer)
org/jboss/test/ws/jaxws/smoke/tools/**
+# [EJBTHREE-1150] WebServiceContext injection requires mapped-name
+org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.*
+
# [CXF-1244] Application Exception not initialized properly
org/jboss/test/ws/jaxws/samples/exception/**
16 years, 5 months
JBossWS SVN: r5219 - stack/native/trunk/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-12-07 04:39:49 -0500 (Fri, 07 Dec 2007)
New Revision: 5219
Modified:
stack/native/trunk/src/test/resources/test-excludes-jboss405.no.ejb3.txt
stack/native/trunk/src/test/resources/test-excludes-jboss405.txt
stack/native/trunk/src/test/resources/test-excludes-jboss421.txt
stack/native/trunk/src/test/resources/test-excludes-jboss422.txt
stack/native/trunk/src/test/resources/test-excludes-jboss423.txt
stack/native/trunk/src/test/resources/test-excludes-jboss500.txt
Log:
Exclude [EJBTHREE-1150] WebServiceContext injection requires mapped-name
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss405.no.ejb3.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss405.no.ejb3.txt 2007-12-07 09:24:30 UTC (rev 5218)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss405.no.ejb3.txt 2007-12-07 09:39:49 UTC (rev 5219)
@@ -1,3 +1,5 @@
+# $Id$
+
# JBossAS-4.0 excludes
org/jboss/test/ws/jaxrpc/jbws723/**
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss405.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss405.txt 2007-12-07 09:24:30 UTC (rev 5218)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss405.txt 2007-12-07 09:39:49 UTC (rev 5219)
@@ -1,3 +1,5 @@
+# $Id: $
+
# JBossAS-4.0 excludes
org/jboss/test/ws/jaxrpc/jbws723/**
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss421.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss421.txt 2007-12-07 09:24:30 UTC (rev 5218)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss421.txt 2007-12-07 09:39:49 UTC (rev 5219)
@@ -1,3 +1,5 @@
+# $Id: $
+
# EJB3/Injection excludes
org/jboss/test/ws/jaxws/samples/webserviceref/**
org/jboss/test/ws/jaxws/webserviceref/**
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss422.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss422.txt 2007-12-07 09:24:30 UTC (rev 5218)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss422.txt 2007-12-07 09:39:49 UTC (rev 5219)
@@ -1,3 +1,5 @@
+# $Id: $
+
# EJB3/Injection excludes
org/jboss/test/ws/jaxws/samples/webserviceref/**
org/jboss/test/ws/jaxws/webserviceref/**
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss423.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss423.txt 2007-12-07 09:24:30 UTC (rev 5218)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss423.txt 2007-12-07 09:39:49 UTC (rev 5219)
@@ -1,3 +1,5 @@
+# $Id$
+
# EJB3/Injection excludes
org/jboss/test/ws/jaxws/samples/webserviceref/**
org/jboss/test/ws/jaxws/webserviceref/**
Modified: stack/native/trunk/src/test/resources/test-excludes-jboss500.txt
===================================================================
--- stack/native/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 09:24:30 UTC (rev 5218)
+++ stack/native/trunk/src/test/resources/test-excludes-jboss500.txt 2007-12-07 09:39:49 UTC (rev 5219)
@@ -1,3 +1,5 @@
+# $Id: $
+
# Fix BPEL before AS50 goes final
org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/*TestCase.*
@@ -5,5 +7,8 @@
org/jboss/test/ws/jaxrpc/jbws331/**
org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.*
+# [EJBTHREE-1150] WebServiceContext injection requires mapped-name
+org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.*
+
# UsernameTokenHTTPSTestCase requires keystore & trustore in jboss-web tomcat configuration
org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.*
16 years, 5 months
JBossWS SVN: r5218 - framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-12-07 04:24:30 -0500 (Fri, 07 Dec 2007)
New Revision: 5218
Modified:
framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefEJB3TestCase.java
Log:
default remote binding has jndiName of EJB3Client/remote
Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefEJB3TestCase.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefEJB3TestCase.java 2007-12-07 01:46:02 UTC (rev 5217)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/webserviceref/WebServiceRefEJB3TestCase.java 2007-12-07 09:24:30 UTC (rev 5218)
@@ -29,6 +29,7 @@
import junit.framework.Test;
+import org.jboss.test.ws.jaxws.samples.webserviceref.EJB3Remote;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestSetup;
@@ -65,7 +66,7 @@
try
{
InitialContext iniCtx = getInitialContext();
- EJB3Remote ejb3Remote = (EJB3Remote)iniCtx.lookup("/ejb3/EJB3Client");
+ EJB3Remote ejb3Remote = (EJB3Remote)iniCtx.lookup("/EJB3Client/remote");
String helloWorld = "Hello World!";
Object retObj = ejb3Remote.echo(helloWorld);
16 years, 5 months
JBossWS SVN: r5217 - in legacy/branches/jbossws-1.2.1.GA_JBWS-1900: jbossws-core/src/java/org/jboss/ws/core/jaxws/spi and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: mageshbk(a)jboss.com
Date: 2007-12-06 20:46:02 -0500 (Thu, 06 Dec 2007)
New Revision: 5217
Modified:
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/CommonBindingProvider.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/jaxws/spi/ProviderImpl.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/server/ServiceEndpointManager.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/utils/DOMUtils.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/metadata/umdm/EndpointMetaData.java
legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/jbws626/ServerHandler.java
Log:
[JBWS-1900] Ported JBWS-1860 Memory leak fixes for JBossWS1.2.1
Modified: legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/CommonBindingProvider.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/CommonBindingProvider.java 2007-12-07 01:20:25 UTC (rev 5216)
+++ legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/CommonBindingProvider.java 2007-12-07 01:46:02 UTC (rev 5217)
@@ -55,6 +55,7 @@
{
this.epMetaData = epMetaData;
initBinding(epMetaData.getBindingId(), epMetaData.getType());
+ this.epMetaData.registerConfigObserver(this);
configure();
}
Modified: legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/jaxws/spi/ProviderImpl.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/jaxws/spi/ProviderImpl.java 2007-12-07 01:20:25 UTC (rev 5216)
+++ legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/jaxws/spi/ProviderImpl.java 2007-12-07 01:46:02 UTC (rev 5217)
@@ -38,6 +38,7 @@
import javax.xml.ws.wsaddressing.W3CEndpointReference;
import org.jboss.util.NotImplementedException;
+import org.jboss.ws.core.utils.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: legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/server/ServiceEndpointManager.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/server/ServiceEndpointManager.java 2007-12-07 01:20:25 UTC (rev 5216)
+++ legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/server/ServiceEndpointManager.java 2007-12-07 01:46:02 UTC (rev 5217)
@@ -67,6 +67,7 @@
import org.jboss.ws.core.soap.MessageContextAssociation;
import org.jboss.ws.core.soap.SOAPConnectionImpl;
import org.jboss.ws.core.utils.ThreadLocalAssociation;
+import org.jboss.ws.core.utils.DOMUtils;
import org.jboss.ws.extensions.addressing.AddressingConstantsImpl;
import org.jboss.ws.metadata.umdm.EndpointMetaData;
import org.jboss.ws.metadata.umdm.HandlerMetaData;
@@ -490,6 +491,8 @@
// clear thread local storage
ThreadLocalAssociation.clear();
+
+ DOMUtils.clearThreadLocals();
}
}
Modified: legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/utils/DOMUtils.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/utils/DOMUtils.java 2007-12-07 01:20:25 UTC (rev 5216)
+++ legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/utils/DOMUtils.java 2007-12-07 01:46:02 UTC (rev 5217)
@@ -95,6 +95,12 @@
{
}
+ public static void clearThreadLocals()
+ {
+ documentThreadLocal.remove();
+ builderThreadLocal.remove();
+ }
+
/** Initialise the the DocumentBuilder
*/
public static DocumentBuilder getDocumentBuilder()
Modified: legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java 2007-12-07 01:20:25 UTC (rev 5216)
+++ legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/core/utils/ThreadLocalAssociation.java 2007-12-07 01:46:02 UTC (rev 5217)
@@ -71,8 +71,8 @@
public static void clear()
{
- invokerMDBAssoc.set(null);
- msgContextAssoc.set(null);
- strTransformAssoc.set(null);
+ invokerMDBAssoc.remove();
+ msgContextAssoc.remove();
+ strTransformAssoc.remove();
}
}
Modified: legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/metadata/umdm/EndpointMetaData.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/metadata/umdm/EndpointMetaData.java 2007-12-07 01:20:25 UTC (rev 5216)
+++ legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-core/src/java/org/jboss/ws/metadata/umdm/EndpointMetaData.java 2007-12-07 01:46:02 UTC (rev 5217)
@@ -52,6 +52,8 @@
import java.lang.reflect.Method;
import java.util.*;
+import java.lang.ref.WeakReference;
+
/**
* A Service component describes a set of endpoints.
*
@@ -604,9 +606,6 @@
if (config == null)
initEndpointConfig();
- // register any configurable with the ConfigProvider
- configObservable.addObserver(configurable);
-
// SOAPBinding configuration
if (configurable instanceof CommonBindingProvider)
{
@@ -715,11 +714,51 @@
class ConfigObservable extends Observable
{
+
+ private List<WeakReference<Observer>> observer = new ArrayList<WeakReference<Observer>>();
+
public void doNotify(Object object)
{
setChanged();
notifyObservers(object);
}
+
+ public synchronized void addObserver(Observer o)
+ {
+ observer.add( new WeakReference(o));
+ }
+
+ public synchronized void deleteObserver(Observer o)
+ {
+ for(WeakReference<Observer> w : observer)
+ {
+ Observer tmp = w.get();
+ if(tmp.equals(o))
+ {
+ observer.remove(o);
+ break;
+ }
+
+ }
+ }
+
+ public void notifyObservers()
+ {
+ notifyObservers(null);
+ }
+
+ public void notifyObservers(Object arg)
+ {
+ if(hasChanged())
+ {
+ for(WeakReference<Observer> w : observer)
+ {
+ Observer tmp = w.get();
+ tmp.update(this, arg);
+
+ }
+ }
+ }
}
public List<UnifiedPortComponentRefMetaData> getServiceRefContrib()
Modified: legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/jbws626/ServerHandler.java
===================================================================
--- legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/jbws626/ServerHandler.java 2007-12-07 01:20:25 UTC (rev 5216)
+++ legacy/branches/jbossws-1.2.1.GA_JBWS-1900/jbossws-tests/src/java/org/jboss/test/ws/jaxrpc/jbws626/ServerHandler.java 2007-12-07 01:46:02 UTC (rev 5217)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jaxrpc.jbws626;
+import org.jboss.ws.core.CommonMessageContext;
+
import java.util.Iterator;
import javax.xml.namespace.QName;
@@ -83,6 +85,10 @@
wasName = soapElement.getElementName();
assertElementName(expName, wasName);
}
+
+ // for testing the CommonBindingProvider memory leak. Not related to this test...
+ ((CommonMessageContext)msgContext).setModified(true);
+
}
catch (SOAPException ex)
{
16 years, 5 months