JBossWS SVN: r7131 - stack/cxf/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-22 05:30:44 -0400 (Thu, 22 May 2008)
New Revision: 7131
Modified:
stack/cxf/trunk/modules/testsuite/pom.xml
Log:
refactoring - no functional change
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2008-05-22 08:43:28 UTC (rev 7130)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2008-05-22 09:30:44 UTC (rev 7131)
@@ -18,6 +18,10 @@
<properties>
<surefire.jdpw.args>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</surefire.jdpw.args>
<surefire.jvm.args>-Djava.security.manager -Djava.security.policy=src/test/etc/tst.policy</surefire.jvm.args>
+ <test.archive.directory>${project.build.directory}/test-libs</test.archive.directory>
+ <test.classes.directory>${project.build.directory}/test-classes</test.classes.directory>
+ <test.resources.directory>${project.build.directory}/test-resources</test.resources.directory>
+ <wsdl.publish.location>${project.build.directory}/wsdl-publish</wsdl.publish.location>
<hibernate.version>3.2.4.sp1</hibernate.version>
<asm.version>2.2.3</asm.version>
<endpoint.servlet>org.jboss.wsf.stack.cxf.EndpointServlet</endpoint.servlet>
@@ -109,14 +113,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>${surefire.jvm.args}</argLine>
- <!--argLine>${surefire.jdpw.args}</argLine-->
<systemProperties>
<property>
- <name>log4j.output.dir</name>
- <value>${project.build.directory}</value>
- </property>
- <property>
<name>java.naming.provider.url</name>
<value>jnp://${jboss.bind.address}:1099</value>
</property>
@@ -137,13 +135,25 @@
<value>${jbossws.integration.target}</value>
</property>
<property>
+ <name>log4j.output.dir</name>
+ <value>${project.build.directory}</value>
+ </property>
+ <property>
<name>test.archive.directory</name>
- <value>${project.build.directory}/test-libs</value>
+ <value>${test.archive.directory}</value>
</property>
<property>
+ <name>test.classes.directory</name>
+ <value>${test.classes.directory}</value>
+ </property>
+ <property>
<name>test.resources.directory</name>
- <value>${project.build.directory}/test-resources</value>
+ <value>${test.resources.directory}</value>
</property>
+ <property>
+ <name>wsdl.publish.location</name>
+ <value>${wsdl.publish.location}</value>
+ </property>
</systemProperties>
</configuration>
</plugin>
@@ -197,7 +207,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>-Djava.endorsed.dirs=${jboss422.home}/lib/endorsed</argLine>
+ <argLine>${surefire.jvm.args} -Djava.endorsed.dirs=${jboss422.home}/lib/endorsed</argLine>
</configuration>
</plugin>
</plugins>
@@ -230,7 +240,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>-Djava.endorsed.dirs=${jboss423.home}/lib/endorsed</argLine>
+ <argLine>${surefire.jvm.args} -Djava.endorsed.dirs=${jboss423.home}/lib/endorsed</argLine>
</configuration>
</plugin>
</plugins>
@@ -273,7 +283,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>-Djava.endorsed.dirs=${jboss500.home}/lib/endorsed</argLine>
+ <argLine>${surefire.jvm.args} -Djava.endorsed.dirs=${jboss500.home}/lib/endorsed</argLine>
</configuration>
</plugin>
</plugins>
@@ -306,7 +316,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>-Djava.endorsed.dirs=${jboss501.home}/lib/endorsed</argLine>
+ <argLine>${surefire.jvm.args} -Djava.endorsed.dirs=${jboss501.home}/lib/endorsed</argLine>
</configuration>
</plugin>
</plugins>
17 years, 11 months
JBossWS SVN: r7130 - stack/cxf/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-22 04:43:28 -0400 (Thu, 22 May 2008)
New Revision: 7130
Modified:
stack/cxf/trunk/modules/testsuite/test-excludes-jboss422.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss423.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss500.txt
stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt
Log:
[JBWS-2174][EJBTHREE-1323] excluding tests
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss422.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss422.txt 2008-05-22 08:15:51 UTC (rev 7129)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss422.txt 2008-05-22 08:43:28 UTC (rev 7130)
@@ -95,9 +95,6 @@
# [CXF-1522] NPE in ServiceUtils
org/jboss/test/ws/jaxws/jbws1566/**
-# [JBWS-2097] Unlock WS-ReliableMessaging in all stacks
-org/jboss/test/ws/jaxws/wsrm/**
-
# [JBWS-2165] Fix xop tests with maven build
org/jboss/test/ws/jaxws/samples/xop/**
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss423.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss423.txt 2008-05-22 08:15:51 UTC (rev 7129)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss423.txt 2008-05-22 08:43:28 UTC (rev 7130)
@@ -95,9 +95,6 @@
# [CXF-1522] NPE in ServiceUtils
org/jboss/test/ws/jaxws/jbws1566/**
-# [JBWS-2097] Unlock WS-ReliableMessaging in all stacks
-org/jboss/test/ws/jaxws/wsrm/**
-
# [JBWS-2165] Fix xop tests with maven build
org/jboss/test/ws/jaxws/samples/xop/**
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss500.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss500.txt 2008-05-22 08:15:51 UTC (rev 7129)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss500.txt 2008-05-22 08:43:28 UTC (rev 7130)
@@ -103,8 +103,12 @@
# [JBWS-2120] @WebWservice does not work with class isolation
org/jboss/test/ws/jaxws/jbws1556/**
-# [JBWS-2097] Unlock WS-ReliableMessaging in all stacks
-org/jboss/test/ws/jaxws/wsrm/**
+# [EJBTHREE-1323] ClassNotFoundException: org.jboss.ejb3.tx.TxInterceptorFactory
+org/jboss/test/ws/jaxws/samples/advanced/retail/**
+org/jboss/test/ws/jaxws/samples/context/**
+org/jboss/test/ws/jaxws/samples/eardeployment/**
+org/jboss/test/ws/jaxws/samples/swaref/**
+org/jboss/test/ws/jaxws/samples/webservice/**
# [JBWS-2165] Fix xop tests with maven build
org/jboss/test/ws/jaxws/samples/xop/**
@@ -115,3 +119,12 @@
# [JBWS-2163] wsconsume for maven build
org/jboss/test/ws/jaxws/complex/**
org/jboss/test/ws/jaxws/holder/**
+
+# [JBWS-2174] Cannot Obtain Destination for Request
+org/jboss/test/ws/jaxws/jbws944/**
+org/jboss/test/ws/jaxws/jbws1422/**
+org/jboss/test/ws/jaxws/jbws1446/**
+org/jboss/test/ws/jaxws/jbws1556/**
+org/jboss/test/ws/jaxws/jbws1799/**
+org/jboss/test/ws/jaxws/jbws1872/**
+org/jboss/test/ws/jaxws/jbws1969/**
Modified: stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt 2008-05-22 08:15:51 UTC (rev 7129)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt 2008-05-22 08:43:28 UTC (rev 7130)
@@ -110,9 +110,6 @@
org/jboss/test/ws/console/**
org/jboss/test/ws/jaxws/jbws1611/**
-# [JBWS-2097] Unlock WS-ReliableMessaging in all stacks
-org/jboss/test/ws/jaxws/wsrm/**
-
# [EJBTHREE-1323] ClassNotFoundException: org.jboss.ejb3.tx.TxInterceptorFactory
org/jboss/test/ws/jaxws/samples/advanced/retail/**
org/jboss/test/ws/jaxws/samples/context/**
17 years, 11 months
JBossWS SVN: r7129 - stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/samples/dar.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2008-05-22 04:15:51 -0400 (Thu, 22 May 2008)
New Revision: 7129
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/samples/dar/JMSClientTestCase.java
Log:
[JBWS-2030] Making the JMSTestCase more strict
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/samples/dar/JMSClientTestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/samples/dar/JMSClientTestCase.java 2008-05-21 18:04:56 UTC (rev 7128)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/samples/dar/JMSClientTestCase.java 2008-05-22 08:15:51 UTC (rev 7129)
@@ -29,21 +29,27 @@
import java.net.URL;
import java.util.Date;
+import javax.management.ObjectName;
+
import junit.framework.Test;
+import org.jboss.wsf.common.DOMUtils;
+import org.jboss.wsf.common.ObjectNameFactory;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestSetup;
+import org.w3c.dom.Element;
+import org.w3c.dom.NodeList;
/**
* Invokes the DAR JMS client
- * (this is actually a weak test since we don't check if the
- * response queue actually receives the response)
*
* @author alessio.soldano(a)jboss.org
* @since 01-May-2008
*/
public class JMSClientTestCase extends JBossWSTest
{
+ private static final int TEST_RUN_TIME = 6000;
+
public static Test suite()
{
return new JBossWSTestSetup(JMSClientTestCase.class, "jaxws-samples-dar-jms-client.sar,jaxws-samples-dar-jms.jar");
@@ -52,6 +58,7 @@
public void test() throws Exception
{
String url = "http://" + getServerHost() + ":8080/dar-jms-client/JMSClient";
+ int count = getMessageCount("DarResponseQueue");
Date start = new Date();
HttpURLConnection connection = (HttpURLConnection)new URL(url).openConnection();
int responseCode = connection.getResponseCode();
@@ -67,6 +74,26 @@
}
assertTrue(buffer.toString().contains("Request message sent, doing something interesting in the mean time... ;-) "));
Date stop = new Date();
- assertTrue(stop.getTime() - start.getTime() < 3000);
+ assertTrue(stop.getTime() - start.getTime() < TEST_RUN_TIME / 2);
+ Thread.sleep(TEST_RUN_TIME);
+ assertEquals(count + 1, getMessageCount("DarResponseQueue"));
}
+
+ private int getMessageCount(String queue) throws Exception
+ {
+ ObjectName oname = ObjectNameFactory.create("jboss.mq.destination:service=Queue,name=" + queue);
+ String result = (String)getServer().invoke(oname, "listMessageCounter", null, null);
+ Element table = DOMUtils.parse(result);
+ NodeList ths = table.getFirstChild().getChildNodes();
+ int p = -1;
+ for (int i=0; i<ths.getLength(); i++)
+ {
+ if (ths.item(i).getTextContent().equalsIgnoreCase("Count"))
+ p = i;
+ }
+ if (p == -1)
+ throw new Exception("Cannot read the queue message count!");
+ String count = table.getLastChild().getChildNodes().item(p).getTextContent();
+ return Integer.parseInt(count);
+ }
}
17 years, 11 months
JBossWS SVN: r7128 - container/jboss50/branches/jbossws-jboss501.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-21 14:04:56 -0400 (Wed, 21 May 2008)
New Revision: 7128
Modified:
container/jboss50/branches/jbossws-jboss501/
Log:
include target/ dir in svn:ignore
Property changes on: container/jboss50/branches/jbossws-jboss501
___________________________________________________________________
Name: svn:ignore
- .settings
+ .settings
target
17 years, 11 months
JBossWS SVN: r7127 - container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-21 13:57:03 -0400 (Wed, 21 May 2008)
New Revision: 7127
Modified:
container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java
container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/WebAppDeploymentFactory.java
Log:
[JBWS-2188] call deploymentFactory only once per whole deployment - not for each endpoint
Modified: container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java
===================================================================
--- container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java 2008-05-21 17:56:30 UTC (rev 7126)
+++ container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java 2008-05-21 17:57:03 UTC (rev 7127)
@@ -36,6 +36,8 @@
import java.net.URI;
import java.net.URISyntaxException;
+import java.util.HashMap;
+import java.util.Map;
/**
* Creates a webapp dpeloyment and pushes it into the deployment framework
@@ -44,8 +46,10 @@
*/
public class EJBHttpTransportManager implements TransportManager
{
+ private static final String PROCESSED_BY_DEPLOYMENT_FACTORY = "processed.by.deployment.factory";
private WebAppDeploymentFactory deploymentFactory;
private WebAppGenerator generator;
+ private Map<String, Deployment> deploymentRegistry = new HashMap<String, Deployment>();
public ListenerRef createListener(Endpoint endpoint, TransportSpec transportSpec)
{
@@ -64,8 +68,15 @@
// TODO: Somehow the ServletClass and InitParameter need to go from TransportSpec into generator
topLevelDeployment.setProperty(HttpSpec.PROPERTY_WEBAPP_SERVLET_CLASS, httpSpec.getServletClass());
topLevelDeployment.setProperty(HttpSpec.PROPERTY_WEBAPP_CONTEXT_PARAMETERS, httpSpec.getContextParameter());
- JBossWebMetaData jbwMetaData = generator.create(topLevelDeployment);
- deploymentFactory.create(topLevelDeployment, jbwMetaData);
+
+ // TODO: JBWS-2188
+ Boolean alreadyDeployed = (Boolean)topLevelDeployment.getProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
+ if ((alreadyDeployed == null) || (false == alreadyDeployed))
+ {
+ JBossWebMetaData jbwMetaData = generator.create(topLevelDeployment);
+ deploymentFactory.create(topLevelDeployment, jbwMetaData);
+ topLevelDeployment.setProperty(PROCESSED_BY_DEPLOYMENT_FACTORY, Boolean.TRUE);
+ }
SPIProvider provider = SPIProviderResolver.getInstance().getProvider();
ServerConfigFactory spi = provider.getSPI(ServerConfigFactory.class);
@@ -75,27 +86,47 @@
int port = serverConfig.getWebServicePort();
String hostAndPort = host + (port > 0 ? ":" + port : "");
+ ListenerRef listenerRef = null;
try
{
String ctx = httpSpec.getWebContext();
String pattern = httpSpec.getUrlPattern();
- ListenerRef ref = new HttpListenerRef(
+ listenerRef = new HttpListenerRef(
ctx, pattern,
new URI("http://"+hostAndPort+ctx+pattern)
);
-
- return ref;
-
- } catch (URISyntaxException e)
+ }
+ catch (URISyntaxException e)
{
throw new RuntimeException("Failed to create ListenerRef", e);
}
-
+
+ // Map listenerRef for destroy phase
+ deploymentRegistry.put( listenerRef.getUUID(), topLevelDeployment );
+
+ return listenerRef;
}
public void destroyListener(ListenerRef ref)
{
- // noop
+ Deployment dep = deploymentRegistry.get(ref.getUUID());
+ if (dep != null)
+ {
+ // TODO: JBWS-2188
+ Boolean alreadyDeployed = (Boolean)dep.getProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
+ if ((alreadyDeployed != null) && (true == alreadyDeployed))
+ {
+ try
+ {
+ deploymentFactory.destroy(dep);
+ }
+ finally
+ {
+ deploymentRegistry.remove(ref.getUUID());
+ }
+ dep.removeProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
+ }
+ }
}
public void setDeploymentFactory(WebAppDeploymentFactory deploymentFactory)
Modified: container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/WebAppDeploymentFactory.java
===================================================================
--- container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/WebAppDeploymentFactory.java 2008-05-21 17:56:30 UTC (rev 7126)
+++ container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/transport/WebAppDeploymentFactory.java 2008-05-21 17:57:03 UTC (rev 7127)
@@ -82,4 +82,9 @@
return unit;
}
+
+ public void destroy(Deployment dep)
+ {
+ // nothing to do?
+ }
}
17 years, 11 months
JBossWS SVN: r7126 - container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-21 13:56:30 -0400 (Wed, 21 May 2008)
New Revision: 7126
Modified:
container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java
Log:
[JBWS-2188] call deploymentFactory only once per whole deployment - not for each endpoint
Modified: container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java
===================================================================
--- container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java 2008-05-21 17:52:06 UTC (rev 7125)
+++ container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/transport/EJBHttpTransportManager.java 2008-05-21 17:56:30 UTC (rev 7126)
@@ -46,6 +46,7 @@
*/
public class EJBHttpTransportManager implements TransportManager
{
+ private static final String PROCESSED_BY_DEPLOYMENT_FACTORY = "processed.by.deployment.factory";
private WebAppDeploymentFactory deploymentFactory;
private WebAppGenerator generator;
private Map<String, Deployment> deploymentRegistry = new HashMap<String, Deployment>();
@@ -66,10 +67,17 @@
// TODO: Somehow the ServletClass and InitParameter need to go from TransportSpec into generator
topLevelDeployment.setProperty(HttpSpec.PROPERTY_WEBAPP_SERVLET_CLASS, httpSpec.getServletClass());
- topLevelDeployment.setProperty(HttpSpec.PROPERTY_WEBAPP_CONTEXT_PARAMETERS, httpSpec.getContextParameter());
- URL webAppURL = generator.create(topLevelDeployment);
- deploymentFactory.create(topLevelDeployment, webAppURL);
-
+ topLevelDeployment.setProperty(HttpSpec.PROPERTY_WEBAPP_CONTEXT_PARAMETERS, httpSpec.getContextParameter());
+
+ // TODO: JBWS-2188
+ Boolean alreadyDeployed = (Boolean)topLevelDeployment.getProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
+ if ((alreadyDeployed == null) || (false == alreadyDeployed))
+ {
+ URL webAppURL = generator.create(topLevelDeployment);
+ deploymentFactory.create(topLevelDeployment, webAppURL);
+ topLevelDeployment.setProperty(PROCESSED_BY_DEPLOYMENT_FACTORY, Boolean.TRUE);
+ }
+
SPIProvider provider = SPIProviderResolver.getInstance().getProvider();
ServerConfigFactory spi = provider.getSPI(ServerConfigFactory.class);
ServerConfig serverConfig = spi.getServerConfig();
@@ -99,17 +107,23 @@
public void destroyListener(ListenerRef ref)
{
Deployment dep = deploymentRegistry.get(ref.getUUID());
- if(null==dep)
- throw new IllegalArgumentException("Unknown ListenerRef " + ref);
-
- try
+ if (dep != null)
{
- deploymentFactory.destroy(dep);
+ // TODO: JBWS-2188
+ Boolean alreadyDeployed = (Boolean)dep.getProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
+ if ((alreadyDeployed != null) && (true == alreadyDeployed))
+ {
+ try
+ {
+ deploymentFactory.destroy(dep);
+ }
+ finally
+ {
+ deploymentRegistry.remove(ref.getUUID());
+ }
+ dep.removeProperty(PROCESSED_BY_DEPLOYMENT_FACTORY);
+ }
}
- finally
- {
- deploymentRegistry.remove(ref.getUUID());
- }
}
public void setDeploymentFactory(WebAppDeploymentFactory deploymentFactory)
17 years, 11 months
JBossWS SVN: r7125 - framework/trunk/src/main/java/org/jboss/wsf/framework/deployment.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-05-21 13:52:06 -0400 (Wed, 21 May 2008)
New Revision: 7125
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/HttpTransportDeploymentAspect.java
Log:
[JBWS-2188] implemented destroy phase
Modified: framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/HttpTransportDeploymentAspect.java
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/HttpTransportDeploymentAspect.java 2008-05-21 15:15:23 UTC (rev 7124)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/HttpTransportDeploymentAspect.java 2008-05-21 17:52:06 UTC (rev 7125)
@@ -80,4 +80,18 @@
ep.setAddress(ref.getAddress().toString());
}
}
+
+ @Override
+ public void destroy(Deployment dep, WSFRuntime runtime)
+ {
+ TransportManagerFactory tmf = ((ComposableRuntime)runtime).getTransportManagerFactory();
+ TransportManager httpTransport = tmf.createTransportManager(Protocol.HTTP);
+
+ for (Endpoint ep : dep.getService().getEndpoints())
+ {
+ ListenerRef listenerRef = ep.getAttachment(ListenerRef.class);
+ httpTransport.destroyListener(listenerRef);
+ }
+ }
+
}
\ No newline at end of file
17 years, 11 months
JBossWS SVN: r7124 - stack/native/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2008-05-21 11:15:23 -0400 (Wed, 21 May 2008)
New Revision: 7124
Modified:
stack/native/trunk/modules/testsuite/test-excludes-jboss422.txt
stack/native/trunk/modules/testsuite/test-excludes-jboss500.txt
stack/native/trunk/modules/testsuite/test-excludes-jboss501.txt
Log:
Excluding tests
Modified: stack/native/trunk/modules/testsuite/test-excludes-jboss422.txt
===================================================================
--- stack/native/trunk/modules/testsuite/test-excludes-jboss422.txt 2008-05-21 13:59:07 UTC (rev 7123)
+++ stack/native/trunk/modules/testsuite/test-excludes-jboss422.txt 2008-05-21 15:15:23 UTC (rev 7124)
@@ -24,6 +24,7 @@
# [JBWS-1911] Support the JMS transport with JAX-WS
org/jboss/test/ws/jaxws/samples/jmstransport/**
+org/jboss/test/ws/jaxws/samples/dar/JMSClientTestCase.*
# [JBWS-1526] Automated testing and availablity checks of public endpoints (interop)
org/jboss/test/ws/interop/**
Modified: stack/native/trunk/modules/testsuite/test-excludes-jboss500.txt
===================================================================
--- stack/native/trunk/modules/testsuite/test-excludes-jboss500.txt 2008-05-21 13:59:07 UTC (rev 7123)
+++ stack/native/trunk/modules/testsuite/test-excludes-jboss500.txt 2008-05-21 15:15:23 UTC (rev 7124)
@@ -17,6 +17,7 @@
# [JBAS-5114] MessageDriven EJB3 does not create destination automatically
org/jboss/test/ws/jaxws/samples/jmstransport/**
+org/jboss/test/ws/jaxws/samples/dar/JMSClientTestCase.*
# [JBAS-5115] Valid jboss-app.xml file not recognized correctly by jbossxb runtime
org/jboss/test/ws/jaxws/jbws1822/JBWS1822TestCase.*
Modified: stack/native/trunk/modules/testsuite/test-excludes-jboss501.txt
===================================================================
--- stack/native/trunk/modules/testsuite/test-excludes-jboss501.txt 2008-05-21 13:59:07 UTC (rev 7123)
+++ stack/native/trunk/modules/testsuite/test-excludes-jboss501.txt 2008-05-21 15:15:23 UTC (rev 7124)
@@ -17,6 +17,7 @@
# [JBAS-5114] MessageDriven EJB3 does not create destination automatically
org/jboss/test/ws/jaxws/samples/jmstransport/**
+org/jboss/test/ws/jaxws/samples/dar/JMSClientTestCase.*
# [JBAS-5115] Valid jboss-app.xml file not recognized correctly by jbossxb runtime
org/jboss/test/ws/jaxws/jbws1822/JBWS1822TestCase.*
17 years, 11 months
JBossWS SVN: r7123 - stack/native/trunk/modules/testsuite/native-tests/scripts.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2008-05-21 09:59:07 -0400 (Wed, 21 May 2008)
New Revision: 7123
Modified:
stack/native/trunk/modules/testsuite/native-tests/scripts/build-samples-jaxws.xml
Log:
Fixing Dar jms sample build
Modified: stack/native/trunk/modules/testsuite/native-tests/scripts/build-samples-jaxws.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/scripts/build-samples-jaxws.xml 2008-05-21 10:39:21 UTC (rev 7122)
+++ stack/native/trunk/modules/testsuite/native-tests/scripts/build-samples-jaxws.xml 2008-05-21 13:59:07 UTC (rev 7123)
@@ -85,11 +85,11 @@
</fileset>
</jar>
<war jarfile="${tests.output.dir}/test-libs/jaxws-samples-dar-jms-client.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/dar/WEB-INF-jms/web.xml">
- <fileset dir="${tests.output.dir}/test-classes">
+ <classes dir="${tests.output.dir}/test-classes">
<include name="org/jboss/test/ws/jaxws/samples/dar/generated/*.class"/>
<include name="org/jboss/test/ws/jaxws/samples/dar/ClientHelper.class"/>
<include name="org/jboss/test/ws/jaxws/samples/dar/JMSClient.class"/>
- </fileset>
+ </classes>
<webinf dir="${tests.output.dir}/test-resources/jaxws/samples/dar/WEB-INF-jms">
<include name="jboss-web.xml"/>
</webinf>
17 years, 11 months
JBossWS SVN: r7122 - in stack/cxf/trunk/modules/testsuite: framework-tests/src/test/etc and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2008-05-21 06:39:21 -0400 (Wed, 21 May 2008)
New Revision: 7122
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/etc/log4j.xml
stack/cxf/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml
Log:
Fixing log4j output file
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/etc/log4j.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/etc/log4j.xml 2008-05-21 10:11:42 UTC (rev 7121)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/etc/log4j.xml 2008-05-21 10:39:21 UTC (rev 7122)
@@ -22,7 +22,7 @@
<!-- A time/date based rolling appender -->
<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
- <param name="File" value="${build.testlog}/test.log"/>
+ <param name="File" value="${log4j.output.dir}/test.log"/>
<param name="Append" value="true"/>
<!-- Rollover at midnight each day -->
Modified: stack/cxf/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml 2008-05-21 10:11:42 UTC (rev 7121)
+++ stack/cxf/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml 2008-05-21 10:39:21 UTC (rev 7122)
@@ -22,7 +22,7 @@
<!-- A time/date based rolling appender -->
<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
- <param name="File" value="${build.testlog}/test.log"/>
+ <param name="File" value="${log4j.output.dir}/test.log"/>
<param name="Append" value="true"/>
<!-- Rollover at midnight each day -->
17 years, 11 months