[JBoss JIRA] (JBWS-4084) bug in jboss-module cause of 2 testcase failures
by Alessio Soldano (JIRA)
[ https://issues.jboss.org/browse/JBWS-4084?page=com.atlassian.jira.plugin.... ]
Alessio Soldano updated JBWS-4084:
----------------------------------
Fix Version/s: jbossws-cxf-5.2.2.Final
(was: jbossws-cxf-5.2.1.Final)
> bug in jboss-module cause of 2 testcase failures
> ------------------------------------------------
>
> Key: JBWS-4084
> URL: https://issues.jboss.org/browse/JBWS-4084
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.0.Final
> Reporter: R Searls
> Assignee: R Searls
> Fix For: jbossws-cxf-5.2.2.Final
>
>
> Running 2 existing test cases in wildlfy-10.0.0+ with security fails do to a bug in
> jboss-module. Our 2 test cases uncovered this issue.
> tests
> * org.jboss.test.ws.jaxws.cxf.jbws3713.ClientBusStrategyTestCase
> * org.jboss.test.ws.jaxws.jbws1666.JBWS1666TestCase
> Both of these test generate a cmd that uses jboss-module to execuate a client jar.
> The generated command looks like this.
> {code:java}
> /usr/java/jdk1.8.0_72/jre/bin/java \
> -Djavax.xml.ws.spi.Provider=org.jboss.wsf.stack.cxf.client.ProviderImpl \
> -Dlog4j.output.dir=/home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/cxf-tests/target \
> -Dorg.jboss.ws.cxf.jaxws-client.bus.strategy=NEW_BUS \
> -Djava.security.policy=/home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/cxf-tests/target/test-resources/jaxws/cxf/jbws3713/WEB-INF/jbws3713-client-security.policy \
> -jar /home/rsearls/j1/wfly10/wildfly/build/target/wildfly-10.0.0.Final/jboss-modules.jar \
> -mp /home/rsearls/j1/wfly10/wildfly/build/target/wildfly-10.0.0.Final/modules \
> -secmgr \
> -jar /home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/cxf-tests/target/test-libs/jaxws-cxf-jbws3713-client.jar \
> http://127.0.0.1:8080/jaxws-cxf-jbws3713//HelloService?wsdl 4 5
> {code}
> In addition to the fix in jboss-module our code needs 2 changes. One a security.policy
> file must be passed on the cmd-line. Two the -secmgr flag must be provided just after the
> jboss-module.jar declaration.
> A bug has been filed against jboss-module and linked here.
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (JBWS-4119) [JDK9+] Package org.jboss.wsf.stack.cxf is present in multiple jars - jbossws-cxf-client, jbossws-cxf-server
by Rostislav Svoboda (JIRA)
Rostislav Svoboda created JBWS-4119:
---------------------------------------
Summary: [JDK9+] Package org.jboss.wsf.stack.cxf is present in multiple jars - jbossws-cxf-client, jbossws-cxf-server
Key: JBWS-4119
URL: https://issues.jboss.org/browse/JBWS-4119
Project: JBoss Web Services
Issue Type: Bug
Affects Versions: jbossws-cxf-5.2.0.Final
Reporter: Rostislav Svoboda
Package org.jboss.wsf.stack.cxf is present in multiple jars [jbossws-cxf-client-5.2.0.Final.jar, jbossws-cxf-server-5.2.0.Final.jar]
./org/jboss/ws/jaxws-client/main/jbossws-cxf-client-5.2.0.Final.jar
./org/jboss/ws/cxf/jbossws-cxf-server/main/jbossws-cxf-server-5.2.0.Final.jar
I can use ws client from ws endpoint.
Issue for modular mode of Java 9+
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (JBWS-4117) testsuite shared-tests tests failing on Windows 10
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4117?page=com.atlassian.jira.plugin.... ]
R Searls commented on JBWS-4117:
--------------------------------
Using the newest jbossws master which uses the most current cxf (3.2.5-SNAPSHOT) and jdk-10 three tests listed above pass, however there is 1 new failing test, ClientConfigurationTestCase. It is under investigation.
jdk-9.0.4 is flawed and caused the test failures windows but not unix.
> testsuite shared-tests tests failing on Windows 10
> --------------------------------------------------
>
> Key: JBWS-4117
> URL: https://issues.jboss.org/browse/JBWS-4117
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.1.Final
> Environment: configuration:
> OS: Windows 10
> C:\Users\Administrator\Java\jdk-9.0.4
> C:\Users\Administrator\maven-3.3.9
> C:\Users\Administrator\ant-1.9.11\
> C:\Users\Administrator\Echo1security.policy
> -Djava.security.policy=C:\Users\Administrator\Echo1security.policy
> Echo1security.policy file contents
> grant {
> permission java.security.AllPermission;
> };
> ---
> JAVA_OPTS
> -Djava.security.policy=C:\Users\Administrator\Echo1security.policy -Xmx2048m -XX:MaxPermSize=1536m -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n
> ----
> CXF: <version>3.2.5-SNAPSHOT</version>
> jbossws: <version>5.2.1-SNAPSHOT</version>
> <cxf.version>3.2.5-SNAPSHOT</cxf.version> pom change to use CXF version
> wildfly: <version>13.0.0.Alpha1-SNAPSHOT</version>
> files touched:
> component-matrix/pom.xml
> <version.org.jboss.ws.cxf>5.2.1-SNAPSHOT</version.org.jboss.ws.cxf> <!-- version change -->
> <version.org.apache.cxf>3.2.5-SNAPSHOT</version.org.apache.cxf> <!-- version change -->
> feature-pack/pom.xml <!-- exclusions required to be added to -->
> <artifactId>jbossws-cxf-transports-udp</artifactId>
> <artifactId>jbossws-cxf-transports-undertow</artifactId>
> ----
> * run mvn in "command window"
> mvn -Dnodeploy -Pwildfly1300 -Dserver.home=C:\Users\Administrator\IdeaProjects\wildfly\dist\target\wildfly-13.0.0.Alpha1-SNAPSHOT integration-test
> Reporter: R Searls
> Assignee: R Searls
>
> Failing tests
> [ERROR] Errors:
> [ERROR] EndpointTestCase.org.jboss.test.ws.jaxws.endpoint.EndpointTestCase » Deployment
> [ERROR] AddressingStatefulTestCase.org.jboss.test.ws.jaxws.samples.addressing.AddressingStatefulTestCase » Deployment
> [ERROR] ServiceRefTestCase.testApplicationClient:189 » Runtime Cannot deploy C:\Users\...
> [ERROR] WebServiceRefTestCase.testApplicationClient:177 » Runtime Cannot deploy C:\Use...
> [INFO]
> [ERROR] Tests run: 424, Failures: 6, Errors: 4, Skipped: 7
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (JBWS-4117) testsuite shared-tests tests failing on Windows 10
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4117?page=com.atlassian.jira.plugin.... ]
R Searls updated JBWS-4117:
---------------------------
Assignee: R Searls
> testsuite shared-tests tests failing on Windows 10
> --------------------------------------------------
>
> Key: JBWS-4117
> URL: https://issues.jboss.org/browse/JBWS-4117
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.1.Final
> Environment: configuration:
> OS: Windows 10
> C:\Users\Administrator\Java\jdk-9.0.4
> C:\Users\Administrator\maven-3.3.9
> C:\Users\Administrator\ant-1.9.11\
> C:\Users\Administrator\Echo1security.policy
> -Djava.security.policy=C:\Users\Administrator\Echo1security.policy
> Echo1security.policy file contents
> grant {
> permission java.security.AllPermission;
> };
> ---
> JAVA_OPTS
> -Djava.security.policy=C:\Users\Administrator\Echo1security.policy -Xmx2048m -XX:MaxPermSize=1536m -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n
> ----
> CXF: <version>3.2.5-SNAPSHOT</version>
> jbossws: <version>5.2.1-SNAPSHOT</version>
> <cxf.version>3.2.5-SNAPSHOT</cxf.version> pom change to use CXF version
> wildfly: <version>13.0.0.Alpha1-SNAPSHOT</version>
> files touched:
> component-matrix/pom.xml
> <version.org.jboss.ws.cxf>5.2.1-SNAPSHOT</version.org.jboss.ws.cxf> <!-- version change -->
> <version.org.apache.cxf>3.2.5-SNAPSHOT</version.org.apache.cxf> <!-- version change -->
> feature-pack/pom.xml <!-- exclusions required to be added to -->
> <artifactId>jbossws-cxf-transports-udp</artifactId>
> <artifactId>jbossws-cxf-transports-undertow</artifactId>
> ----
> * run mvn in "command window"
> mvn -Dnodeploy -Pwildfly1300 -Dserver.home=C:\Users\Administrator\IdeaProjects\wildfly\dist\target\wildfly-13.0.0.Alpha1-SNAPSHOT integration-test
> Reporter: R Searls
> Assignee: R Searls
>
> Failing tests
> [ERROR] Errors:
> [ERROR] EndpointTestCase.org.jboss.test.ws.jaxws.endpoint.EndpointTestCase » Deployment
> [ERROR] AddressingStatefulTestCase.org.jboss.test.ws.jaxws.samples.addressing.AddressingStatefulTestCase » Deployment
> [ERROR] ServiceRefTestCase.testApplicationClient:189 » Runtime Cannot deploy C:\Users\...
> [ERROR] WebServiceRefTestCase.testApplicationClient:177 » Runtime Cannot deploy C:\Use...
> [INFO]
> [ERROR] Tests run: 424, Failures: 6, Errors: 4, Skipped: 7
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (JBWS-4116) testsuite cxf-tests tests failing on Windows 10
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4116?page=com.atlassian.jira.plugin.... ]
R Searls commented on JBWS-4116:
--------------------------------
Using the newest jbossws master which uses the most current cxf (3.2.5-SNAPSHOT) and jdk-10 all cxf-tests pass.
jdk-9.0.4 is flawed and caused the test failures windows but not unix.
No further action is required for this jira
> testsuite cxf-tests tests failing on Windows 10
> -----------------------------------------------
>
> Key: JBWS-4116
> URL: https://issues.jboss.org/browse/JBWS-4116
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.1.Final
> Environment: configuration:
> OS: Windows 10
> C:\Users\Administrator\Java\jdk-9.0.4
> C:\Users\Administrator\maven-3.3.9
> C:\Users\Administrator\ant-1.9.11\
> C:\Users\Administrator\Echo1security.policy
> -Djava.security.policy=C:\Users\Administrator\Echo1security.policy
> Echo1security.policy file contents
> grant {
> permission java.security.AllPermission;
> };
> ---
> JAVA_OPTS
> -Djava.security.policy=C:\Users\Administrator\Echo1security.policy -Xmx2048m -XX:MaxPermSize=1536m -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n
> ----
> CXF: <version>3.2.5-SNAPSHOT</version>
> jbossws: <version>5.2.1-SNAPSHOT</version>
> <cxf.version>3.2.5-SNAPSHOT</cxf.version> pom change to use CXF version
> wildfly: <version>13.0.0.Alpha1-SNAPSHOT</version>
> files touched:
> component-matrix/pom.xml
> <version.org.jboss.ws.cxf>5.2.1-SNAPSHOT</version.org.jboss.ws.cxf> <!-- version change -->
> <version.org.apache.cxf>3.2.5-SNAPSHOT</version.org.apache.cxf> <!-- version change -->
> feature-pack/pom.xml <!-- exclusions required to be added to -->
> <artifactId>jbossws-cxf-transports-udp</artifactId>
> <artifactId>jbossws-cxf-transports-undertow</artifactId>
> ----
> * run mvn in "command window"
> mvn -Dnodeploy -Pwildfly1300 -Dserver.home=C:\Users\Administrator\IdeaProjects\wildfly\dist\target\wildfly-13.0.0.Alpha1-SNAPSHOT integration-test
> Reporter: R Searls
> Assignee: R Searls
>
> The following tests fail on Windows 10
> ----
> Failing tests
> [ERROR] Errors:
> [ERROR] EndpointTestCase.testClassLoader:73 » Deployment Cannot deploy: jaxws-cxf-endp...
> [ERROR] UDPEndpointAPITestCase.testServerSide:92 » IO Server returned HTTP response co...
> [ERROR] AddressingTestCase.testDecoupledEndpointForLongLastingProcessingOfInvocations:153 » SOAPFault
> [ERROR] WSDiscoveryTestCase.org.jboss.test.ws.jaxws.samples.wsdd.WSDiscoveryTestCase » Deployment
> [ERROR] UsernameAuthorizationDigestEjbTestCase.test:97 » SOAPFault Response was of une...
> [ERROR] UsernameAuthorizationDigestEjbTestCase.testConcurrent:116 » Execution javax.xm...
> [ERROR] UsernameAuthorizationDigestTestCase.test:86 » SOAPFault Response was of unexpe...
> [ERROR] WSSecurityPolicyExamples21xTestCase.test2113:141 » SOAPFault Response was of u...
> [ERROR] WSSecurityPolicyExamples21xTestCase.test214:189 » NoSuchMethod org.apache.xml....
> [ERROR] WSSecurityPolicyExamples22xTestCase.test223:163 » NoSuchMethod org.apache.xml....
> [ERROR] WSSecurityPolicyExamples22xTestCase.test224:188 » NoSuchMethod org.apache.xml....
> [ERROR] WSSecurityPolicyExamples23xTestCase.test2324:330 » NoSuchMethod org.apache.xml...
> [ERROR] SecureConversationTestCase.test:101 » NoSuchMethod org.apache.xml.security.uti...
> [ERROR] WSTrustTestCase.test:285 » NoSuchMethod org.apache.xml.security.utils.XMLUtils...
> [ERROR] WSTrustTestCase.testActAs:420 » NoSuchMethod org.apache.xml.security.utils.XML...
> [ERROR] WSTrustTestCase.testBearer:539 » NoSuchMethod org.apache.xml.security.utils.XM...
> [ERROR] WSTrustTestCase.testHolderOfKey:482 » NoSuchMethod org.apache.xml.security.uti...
> [ERROR] WSTrustTestCase.testNoClientCallback:355 » NoSuchMethod org.apache.xml.securit...
> [ERROR] WSTrustTestCase.testNoSignatureUsername:388 » NoSuchMethod org.apache.xml.secu...
> [ERROR] WSTrustTestCase.testOnBehalfOf:455 » NoSuchMethod org.apache.xml.security.util...
> [ERROR] WSTrustTestCase.testPicketLink:512 » NoSuchMethod org.apache.xml.security.util...
> [ERROR] WSTrustTestCase.testUsingEPR:320 » NoSuchMethod org.apache.xml.security.utils....
> [INFO]
> [ERROR] Tests run: 239, Failures: 3, Errors: 22, Skipped: 1
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (JBWS-4116) testsuite cxf-tests tests failing on Windows 10
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4116?page=com.atlassian.jira.plugin.... ]
R Searls updated JBWS-4116:
---------------------------
Assignee: R Searls
> testsuite cxf-tests tests failing on Windows 10
> -----------------------------------------------
>
> Key: JBWS-4116
> URL: https://issues.jboss.org/browse/JBWS-4116
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.1.Final
> Environment: configuration:
> OS: Windows 10
> C:\Users\Administrator\Java\jdk-9.0.4
> C:\Users\Administrator\maven-3.3.9
> C:\Users\Administrator\ant-1.9.11\
> C:\Users\Administrator\Echo1security.policy
> -Djava.security.policy=C:\Users\Administrator\Echo1security.policy
> Echo1security.policy file contents
> grant {
> permission java.security.AllPermission;
> };
> ---
> JAVA_OPTS
> -Djava.security.policy=C:\Users\Administrator\Echo1security.policy -Xmx2048m -XX:MaxPermSize=1536m -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n
> ----
> CXF: <version>3.2.5-SNAPSHOT</version>
> jbossws: <version>5.2.1-SNAPSHOT</version>
> <cxf.version>3.2.5-SNAPSHOT</cxf.version> pom change to use CXF version
> wildfly: <version>13.0.0.Alpha1-SNAPSHOT</version>
> files touched:
> component-matrix/pom.xml
> <version.org.jboss.ws.cxf>5.2.1-SNAPSHOT</version.org.jboss.ws.cxf> <!-- version change -->
> <version.org.apache.cxf>3.2.5-SNAPSHOT</version.org.apache.cxf> <!-- version change -->
> feature-pack/pom.xml <!-- exclusions required to be added to -->
> <artifactId>jbossws-cxf-transports-udp</artifactId>
> <artifactId>jbossws-cxf-transports-undertow</artifactId>
> ----
> * run mvn in "command window"
> mvn -Dnodeploy -Pwildfly1300 -Dserver.home=C:\Users\Administrator\IdeaProjects\wildfly\dist\target\wildfly-13.0.0.Alpha1-SNAPSHOT integration-test
> Reporter: R Searls
> Assignee: R Searls
>
> The following tests fail on Windows 10
> ----
> Failing tests
> [ERROR] Errors:
> [ERROR] EndpointTestCase.testClassLoader:73 » Deployment Cannot deploy: jaxws-cxf-endp...
> [ERROR] UDPEndpointAPITestCase.testServerSide:92 » IO Server returned HTTP response co...
> [ERROR] AddressingTestCase.testDecoupledEndpointForLongLastingProcessingOfInvocations:153 » SOAPFault
> [ERROR] WSDiscoveryTestCase.org.jboss.test.ws.jaxws.samples.wsdd.WSDiscoveryTestCase » Deployment
> [ERROR] UsernameAuthorizationDigestEjbTestCase.test:97 » SOAPFault Response was of une...
> [ERROR] UsernameAuthorizationDigestEjbTestCase.testConcurrent:116 » Execution javax.xm...
> [ERROR] UsernameAuthorizationDigestTestCase.test:86 » SOAPFault Response was of unexpe...
> [ERROR] WSSecurityPolicyExamples21xTestCase.test2113:141 » SOAPFault Response was of u...
> [ERROR] WSSecurityPolicyExamples21xTestCase.test214:189 » NoSuchMethod org.apache.xml....
> [ERROR] WSSecurityPolicyExamples22xTestCase.test223:163 » NoSuchMethod org.apache.xml....
> [ERROR] WSSecurityPolicyExamples22xTestCase.test224:188 » NoSuchMethod org.apache.xml....
> [ERROR] WSSecurityPolicyExamples23xTestCase.test2324:330 » NoSuchMethod org.apache.xml...
> [ERROR] SecureConversationTestCase.test:101 » NoSuchMethod org.apache.xml.security.uti...
> [ERROR] WSTrustTestCase.test:285 » NoSuchMethod org.apache.xml.security.utils.XMLUtils...
> [ERROR] WSTrustTestCase.testActAs:420 » NoSuchMethod org.apache.xml.security.utils.XML...
> [ERROR] WSTrustTestCase.testBearer:539 » NoSuchMethod org.apache.xml.security.utils.XM...
> [ERROR] WSTrustTestCase.testHolderOfKey:482 » NoSuchMethod org.apache.xml.security.uti...
> [ERROR] WSTrustTestCase.testNoClientCallback:355 » NoSuchMethod org.apache.xml.securit...
> [ERROR] WSTrustTestCase.testNoSignatureUsername:388 » NoSuchMethod org.apache.xml.secu...
> [ERROR] WSTrustTestCase.testOnBehalfOf:455 » NoSuchMethod org.apache.xml.security.util...
> [ERROR] WSTrustTestCase.testPicketLink:512 » NoSuchMethod org.apache.xml.security.util...
> [ERROR] WSTrustTestCase.testUsingEPR:320 » NoSuchMethod org.apache.xml.security.utils....
> [INFO]
> [ERROR] Tests run: 239, Failures: 3, Errors: 22, Skipped: 1
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months