[jboss-jira] [JBoss JIRA] (AS7-6319) EJBEndpointAuthenticationTestCase is failing intermittently

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Jan 28 18:45:47 EST 2013


    [ https://issues.jboss.org/browse/AS7-6319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750890#comment-12750890 ] 

Brian Stansberry commented on AS7-6319:
---------------------------------------

On Tomaz' server we use for testing Windows builds, this started failing immediately after a JDK update to u38. Tomaz just reverted that and we'll see if that fixes the issue. There was a lightning JDK update on Jan 10 which vague memory tells me is about when this started happening there. This JIRA was created the 11th, so that fits.

This all ties into the notion that this is related to the discussion at http://stackoverflow.com/questions/14270311/rather-mysterious-socketexception-with-java-1-6-on-centos-4. 

u38 had changes to HttpClient:

stuartdouglas: http://www.oracle.com/technetwork/java/javase/2col/6u38-bugfixes-1880999.html
stuartdouglas: "Make sure that a connection is still alive when retrieved from KeepAliveCache in certain cases" 
                
> EJBEndpointAuthenticationTestCase is failing intermittently 
> ------------------------------------------------------------
>
>                 Key: AS7-6319
>                 URL: https://issues.jboss.org/browse/AS7-6319
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Web Services
>    Affects Versions: 7.2.0.Alpha1
>         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list