[jbossws-commits] JBossWS SVN: r15890 - stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/jbws723.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Wed Mar 7 01:32:59 EST 2012


Author: ropalka
Date: 2012-03-07 01:32:58 -0500 (Wed, 07 Mar 2012)
New Revision: 15890

Modified:
   stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/jbws723/JBWS723TestCase.java
Log:
[JBWS-3444] fix context leak

Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/jbws723/JBWS723TestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/jbws723/JBWS723TestCase.java	2012-03-06 15:49:28 UTC (rev 15889)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxrpc/jbws723/JBWS723TestCase.java	2012-03-07 06:32:58 UTC (rev 15890)
@@ -82,7 +82,6 @@
 
    public void testRoleSecuredServiceAccess() throws Exception
    {
-      iniCtx = getAppclientInitialContext();
       Service service = (Service)iniCtx.lookup("java:service/RoleSecured");
       QName portName = new QName("http://org.jboss.ws/jbws723", "RoleSecuredPort");
       OrganizationService port = (OrganizationService)service.getPort(portName, OrganizationService.class);
@@ -123,7 +122,6 @@
 
    public void testBasicSecuredServiceAccess() throws Exception
    {
-      iniCtx = getAppclientInitialContext();
       Service service = (Service)iniCtx.lookup("java:service/BasicSecured");
       QName portName = new QName("http://org.jboss.ws/jbws723", "BasicSecuredPort");
       OrganizationService port = (OrganizationService)service.getPort(portName, OrganizationService.class);
@@ -156,7 +154,6 @@
 
    public void testConfidentialServiceAccess() throws Exception
    {
-      iniCtx = getAppclientInitialContext();
       Service service = (Service)iniCtx.lookup("java:service/ConfidentialSecured");
       QName portName = new QName("http://org.jboss.ws/jbws723", "ConfidentialPort");
       OrganizationService port = (OrganizationService)service.getPort(portName, OrganizationService.class);



More information about the jbossws-commits mailing list