[JBoss JIRA] (JBWS-3903) Automatic / dynamic test port selection
by Jim Ma (Jira)
[ https://issues.jboss.org/browse/JBWS-3903?page=com.atlassian.jira.plugin.... ]
Jim Ma updated JBWS-3903:
-------------------------
Fix Version/s: (was: jbossws-cxf-5.2.5.Final)
> Automatic / dynamic test port selection
> ---------------------------------------
>
> Key: JBWS-3903
> URL: https://issues.jboss.org/browse/JBWS-3903
> Project: JBoss Web Services
> Issue Type: Task
> Components: jbossws-cxf, productization
> Reporter: Alessio Soldano
> Priority: Major
>
> Jan writes:
> {quote}I think it would be nice to have some notes about ports used for testsuite run, because after move to arquillian there are many more ports used now.
> Something like that because there are several different configuration being started, you need all "offsetted" ports to be free.
> Reference for basic container ports: https://docs.jboss.org/author/display/WFLY8/Admin+Guide#AdminGuide-Interf...
> Current offsets:
> <port-offset.cxf-tests.jboss>0</port-offset.cxf-tests.jboss>
> <port-offset.cxf-tests.ssl-mutual-auth>5000</port-offset.cxf-tests.ssl-mutual-auth>
> <port-offset.cxf-tests.default-config-tests>10000</port-offset.cxf-tests.default-config-tests>
> <port-offset.cxf-tests.jms>35000</port-offset.cxf-tests.jms>
> <port-offset.shared-tests.jboss>15000</port-offset.shared-tests.jboss>
> <port-offset.shared-tests.default-config-tests>20000</port-offset.shared-tests.default-config-tests>
> <port-offset.shared-tests.address-rewrite>25000</port-offset.shared-tests.address-rewrite>
> <port-offset.cxf-spring-tests.jboss>30000</port-offset.cxf-spring-tests.jboss>
> And there are some special cases:
> - org.jboss.test.ws.jaxws.endpoint.EndpointTestCase
> -- where hardcoded 8081 port is used
> - org.jboss.test.ws.jaxws.cxf.udp.UDPEndpointAPITestCase
> -- hardcoded 9436
> - org.jboss.wsf.stack.cxf.addons.transports.udp.UDPTransportTest
> -- hardcoded 9434
> - org.jboss.test.ws.jaxws.samples.wsdd.WSDiscoveryTestCase
> -- 3072 port by WS-Discovery specification
> {quote}
> We should have something like the port utilities in org.apache.cxf.testutil.common.TestUtil (except that's not thread safe, while we need it to be thread safe to let the testsuite run with -Pfast profile).
> The idea is that we could have an "ofsetted" range of ports "reserved" for the JBossWS testsuite.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months
[JBoss JIRA] (JBWS-4154) jbossws-cxf-client depends on both jboss-jaxws-api_2.2_spec and jboss-jaxws-api_2.3_spec
by Alessio Soldano (Jira)
[ https://issues.jboss.org/browse/JBWS-4154?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-4154:
----------------------------------
Fix Version/s: jbossws-cxf-5.2.5.Final
> jbossws-cxf-client depends on both jboss-jaxws-api_2.2_spec and jboss-jaxws-api_2.3_spec
> ----------------------------------------------------------------------------------------
>
> Key: JBWS-4154
> URL: https://issues.jboss.org/browse/JBWS-4154
> Project: JBoss Web Services
> Issue Type: Bug
> Affects Versions: jbossws-cxf-5.2.4.Final
> Reporter: Jan Blizňák
> Assignee: Jim Ma
> Priority: Major
> Fix For: jbossws-cxf-5.2.5.Final
>
>
> dependency:tree goal output shows that jbossws-cxf-client (and transitively other modules too) depends on two versions of JBoss JAX-WS API:
> org.jboss.spec.javax.xml.ws:jboss-jaxws-api_2.2_spec:jar:2.0.2.Final:compile
> org.jboss.spec.javax.xml.ws:jboss-jaxws-api_2.3_spec:jar:1.0.0.Final:compile
> The former is brought in by:
> {code:java}
> +- org.jboss.ws.cxf:jbossws-cxf-transports-undertow:jar:5.2.5-SNAPSHOT:compile
> | \- org.jboss.ws.projects:jaxws-undertow-httpspi:jar:1.0.1.Final:compile
> | +- org.jboss.spec.javax.xml.ws:jboss-jaxws-api_2.2_spec:jar:2.0.2.Final:compile
> {code}
> I guess we should stick to the newer one which would mean add some dependency exclude or update jaxws-undertow-httpspi to new API version stream (I vote for this)
> Whole dependency tree at https://github.com/jbliznak/jbws-dependency-trees/blob/jdk11-after/jbossw...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 10 months