[
https://issues.jboss.org/browse/JBWS-4124?page=com.atlassian.jira.plugin....
]
R Searls commented on JBWS-4124:
--------------------------------
Running org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase on wildfly-12 using both jdk-8
and jdk-10 and wildfly13 using jdk-10 all have the same result. The test is getting the
proper result but a stacktrace is seen but only when the "-DnoLogRedirect"
option is present.
{code:java}
mvn -Pwildfly1300,wfly-secmgr integration-test \
-DnoLogRedirect \
-Dtest=org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase
{code}
{code:java}
mvn -Pwildfly1200,wfly-secmgr integration-test \
-DnoLogRedirect \
-Dtest=org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase
{code}
StackTrace
{code:java}
Jun 04, 2018 4:29:48 PM javax.xml.ws.spi.FactoryFinder fromJDKProperties
SEVERE: Error reading JAX-WS configuration from
[/home/rsearls/d5/jdk-10+46/jdk-10/conf/jaxws.properties] file. Check it is accessible and
has correct format.
java.security.AccessControlException: access denied ("java.io.FilePermission"
"/home/rsearls/d5/jdk-10+46/jdk-10/conf/jaxws.properties" "read")
at
java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.base/java.security.AccessController.checkPermission(AccessController.java:895)
at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:335)
at java.base/java.lang.SecurityManager.checkRead(SecurityManager.java:674)
at java.base/sun.nio.fs.UnixPath.checkRead(UnixPath.java:818)
at java.base/sun.nio.fs.UnixFileSystemProvider.exists(UnixFileSystemProvider.java:521)
at java.base/java.nio.file.Files.exists(Files.java:2426)
at
javax.xml.ws.api@1.0.0.Beta1//javax.xml.ws.spi.FactoryFinder.fromJDKProperties(FactoryFinder.java:209)
at
javax.xml.ws.api@1.0.0.Beta1//javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:99)
at javax.xml.ws.api@1.0.0.Beta1//javax.xml.ws.spi.Provider.provider(Provider.java:96)
at /home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/shared-tests/target/test-libs
/jaxws-jbws1666-client.jar//org.jboss.test.ws.jaxws.jbws1666.TestClient.main(TestClient.java:51)
at org.jboss.modules.Module.run(Module.java:352)
at org.jboss.modules.Module.run(Module.java:320)
at org.jboss.modules.Main.main(Main.java:593)
{code}
This appears to be normal behavior for this test and is not a bug.
3 tests throws exceptions but do not fail
-----------------------------------------
Key: JBWS-4124
URL:
https://issues.jboss.org/browse/JBWS-4124
Project: JBoss Web Services
Issue Type: Enhancement
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.2.2.Final
Environment: These tests fail in the same way on all support platform, unix and
windows (powershell and command prompt
Reporter: R Searls
Assignee: R Searls
Priority: Minor
[INFO] Running org.jboss.test.ws.jaxws.jbws1666.JBWS1666TestCase
java.security.AccessControlException: access denied ("java.io.FilePermission"
"/home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/shared-tests/xcatalog"
"read")
SEVERE: Error reading JAX-WS configuration from
[/home/rsearls/d5/openjdk-10+46/jdk-10/conf/jaxws.properties] file. Check it is accessible
and has correct format.
java.security.AccessControlException: access denied ("java.io.FilePermission"
"/home/rsearls/d5/openjdk-10+46/jdk-10/conf/jaxws.properties" "read")
[INFO] Running org.jboss.test.ws.jaxws.samples.securityDomain.SecurityDomainTestCase
{code:java}
javax.xml.ws.WebServiceException: Could not send Message.
:
:
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401:
Unauthorized' when communicating with
http://localhost:23080/jaxws-securityDomain/authz
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1620)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673)
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
{code}
[INFO] Running org.jboss.test.ws.jaxws.samples.exception.JBWS3945TestCase
{code:java}
javax.xml.ws.WebServiceException: Could not send Message.
:
:
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '400: Bad
Request' when communicating with
http://localhost:23080/jaxws-samples-exception-jbws3945/SOAP12ExceptionEn...
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1620)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673)
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)