[jboss-jira] [JBoss JIRA] (WFLY-858) PojoEndpointAuthenticationTestCase and EJBEndpointAuthenticationTestCase are failing intermittently
Rostislav Svoboda (JIRA)
issues at jboss.org
Thu Jun 5 05:36:17 EDT 2014
[ https://issues.jboss.org/browse/WFLY-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973626#comment-12973626 ]
Rostislav Svoboda commented on WFLY-858:
----------------------------------------
Socked Closed issue was introduced in JDK 6u38 -- http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7199862
Commit http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/diff/e6dc1d9bc70b/src/share/classes/sun/net/www/http/HttpClient.java
Issue was fixed in JDK 7u40 -- http://www.oracle.com/technetwork/java/javase/2col/7u40-bugfixes-2007733.html
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8009650
As WF is only for JDK 7+ this issue should be closed.
Tests in PojoEndpointAuthenticationTestCase.java are still ignored, will send PR soon.
Note: Apache CXF applied workaround - see https://issues.apache.org/jira/browse/CXF-4857.
> PojoEndpointAuthenticationTestCase and EJBEndpointAuthenticationTestCase are failing intermittently
> ----------------------------------------------------------------------------------------------------
>
> Key: WFLY-858
> URL: https://issues.jboss.org/browse/WFLY-858
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web Services
> Environment: AS7 upstream (Jan 11 2013)
> Reporter: jaikiran pai
> Assignee: Jim Ma
> Attachments: log.txt
>
>
> The org.jboss.as.test.integration.ws.authentication.EJBEndpointAuthenticationTestCase has started failing intermittently but regularly on lightning. The failure shows messages like these:
> {code}
> java.lang.AssertionError: String 'not allowed' was expected in SocketException invoking http://127.0.0.1:8080/jaxws-authentication-ejb3/EJB3AuthService: Socket Closed
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.assertTrue(Assert.java:43)
> at org.jboss.as.test.integration.ws.authentication.EJBEndpointAuthenticationTestCase.accessHelloForNoneWithValidRole3(EJBEndpointAuthenticationTestCase.java:352
> {code}
> same goes also for PojoEndpointAuthenticationTestCase that fails sometimes
> {code}
> javax.xml.ws.WebServiceException: Could not send Message.
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
> at $Proxy110.hello(Unknown Source)
> at org.jboss.as.test.integration.ws.authentication.PojoEndpointAuthenticationTestCase.accessHelloWithValidUser1(PojoEndpointAuthenticationTestCase.java:116)
> ...
> Caused by: java.net.SocketException: Socket Closed
> at java.net.PlainSocketImpl.getOption(PlainSocketImpl.java:286)
> at java.net.Socket.getSoTimeout(Socket.java:1032)
> at sun.net.www.http.HttpClient.available(HttpClient.java:356)
> {code}
> It looks like the testcase expects a specific text in the exception cause.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list