0 Replies Latest reply on Jan 18, 2012 5:55 AM by Viggo Navarsete

    JBoss fails with "Unexpected end of file from server"

    Viggo Navarsete Expert

      I have a few Arquillian-based tests that run on JBoss 6.1.0.Final which have run successful for a long time, but now they start to fail with this:

      2012-01-18 11:50:20,579 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] [] [] deploy, ctxPath=/tix

      2012-01-18 11:50:26,266 ERROR [STDERR] [] [] java.net.SocketException: Unexpected end of file from server

      2012-01-18 11:50:26,266 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

      2012-01-18 11:50:26,267 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,267 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

      2012-01-18 11:50:26,267 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,267 ERROR [STDERR] [] []           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)

      2012-01-18 11:50:26,267 ERROR [STDERR] [] []           at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)

      2012-01-18 11:50:26,267 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:202)

      2012-01-18 11:50:26,267 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.access$000(ServletMethodExecutor.java:41)

      2012-01-18 11:50:26,267 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor$1.run(ServletMethodExecutor.java:95)

      2012-01-18 11:50:26,268 ERROR [STDERR] [] []           at java.util.TimerThread.mainLoop(Timer.java:512)

      2012-01-18 11:50:26,268 ERROR [STDERR] [] []           at java.util.TimerThread.run(Timer.java:462)

      2012-01-18 11:50:26,327 ERROR [STDERR] [] [] java.net.SocketException: Unexpected end of file from server

      2012-01-18 11:50:26,327 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

      2012-01-18 11:50:26,327 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,327 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

      2012-01-18 11:50:26,328 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,328 ERROR [STDERR] [] []           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)

      2012-01-18 11:50:26,328 ERROR [STDERR] [] []           at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)

      2012-01-18 11:50:26,328 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:202)

      2012-01-18 11:50:26,328 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.access$000(ServletMethodExecutor.java:41)

      2012-01-18 11:50:26,328 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor$1.run(ServletMethodExecutor.java:95)

      2012-01-18 11:50:26,328 ERROR [STDERR] [] []           at java.util.TimerThread.mainLoop(Timer.java:512)

      2012-01-18 11:50:26,329 ERROR [STDERR] [] []           at java.util.TimerThread.run(Timer.java:462)

      2012-01-18 11:50:26,363 ERROR [STDERR] [] [] java.net.SocketException: Unexpected end of file from server

      2012-01-18 11:50:26,363 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

      2012-01-18 11:50:26,364 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,364 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

      2012-01-18 11:50:26,364 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,364 ERROR [STDERR] [] []           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)

      2012-01-18 11:50:26,364 ERROR [STDERR] [] []           at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)

      2012-01-18 11:50:26,364 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:202)

      2012-01-18 11:50:26,364 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.access$000(ServletMethodExecutor.java:41)

      2012-01-18 11:50:26,365 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor$1.run(ServletMethodExecutor.java:95)

      2012-01-18 11:50:26,366 ERROR [STDERR] [] []           at java.util.TimerThread.mainLoop(Timer.java:512)

      2012-01-18 11:50:26,366 ERROR [STDERR] [] []           at java.util.TimerThread.run(Timer.java:462)

      2012-01-18 11:50:26,383 ERROR [STDERR] [] [] java.net.SocketException: Unexpected end of file from server

      2012-01-18 11:50:26,384 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

      2012-01-18 11:50:26,384 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,384 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

      2012-01-18 11:50:26,384 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,384 ERROR [STDERR] [] []           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)

      2012-01-18 11:50:26,384 ERROR [STDERR] [] []           at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)

      2012-01-18 11:50:26,385 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:202)

      2012-01-18 11:50:26,385 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.access$000(ServletMethodExecutor.java:41)

      2012-01-18 11:50:26,385 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor$1.run(ServletMethodExecutor.java:95)

      2012-01-18 11:50:26,385 ERROR [STDERR] [] []           at java.util.TimerThread.mainLoop(Timer.java:512)

      2012-01-18 11:50:26,385 ERROR [STDERR] [] []           at java.util.TimerThread.run(Timer.java:462)

      2012-01-18 11:50:26,422 ERROR [STDERR] [] [] java.net.SocketException: Unexpected end of file from server

      2012-01-18 11:50:26,423 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

      2012-01-18 11:50:26,423 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,423 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

      2012-01-18 11:50:26,423 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,423 ERROR [STDERR] [] []           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)

      2012-01-18 11:50:26,423 ERROR [STDERR] [] []           at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)

      2012-01-18 11:50:26,423 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:202)

      2012-01-18 11:50:26,424 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.access$000(ServletMethodExecutor.java:41)

      2012-01-18 11:50:26,424 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor$1.run(ServletMethodExecutor.java:95)

      2012-01-18 11:50:26,424 ERROR [STDERR] [] []           at java.util.TimerThread.mainLoop(Timer.java:512)

      2012-01-18 11:50:26,424 ERROR [STDERR] [] []           at java.util.TimerThread.run(Timer.java:462)

      2012-01-18 11:50:26,426 ERROR [STDERR] [] [] java.net.SocketException: Unexpected end of file from server

      2012-01-18 11:50:26,427 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

      2012-01-18 11:50:26,435 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,435 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

      2012-01-18 11:50:26,436 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,436 ERROR [STDERR] [] []           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)

      2012-01-18 11:50:26,436 ERROR [STDERR] [] []           at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)

      2012-01-18 11:50:26,436 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:202)

      2012-01-18 11:50:26,437 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.access$000(ServletMethodExecutor.java:41)

      2012-01-18 11:50:26,440 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor$1.run(ServletMethodExecutor.java:95)

      2012-01-18 11:50:26,441 ERROR [STDERR] [] []           at java.util.TimerThread.mainLoop(Timer.java:512)

      2012-01-18 11:50:26,441 ERROR [STDERR] [] []           at java.util.TimerThread.run(Timer.java:462)

      2012-01-18 11:50:26,473 ERROR [STDERR] [] [] java.net.SocketException: Unexpected end of file from server

      2012-01-18 11:50:26,474 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

      2012-01-18 11:50:26,474 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,474 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

      2012-01-18 11:50:26,474 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,474 ERROR [STDERR] [] []           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)

      2012-01-18 11:50:26,482 ERROR [STDERR] [] []           at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)

      2012-01-18 11:50:26,483 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:202)

      2012-01-18 11:50:26,483 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.access$000(ServletMethodExecutor.java:41)

      2012-01-18 11:50:26,488 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor$1.run(ServletMethodExecutor.java:95)

      2012-01-18 11:50:26,492 ERROR [STDERR] [] []           at java.util.TimerThread.mainLoop(Timer.java:512)

      2012-01-18 11:50:26,493 ERROR [STDERR] [] []           at java.util.TimerThread.run(Timer.java:462)

      2012-01-18 11:50:26,517 ERROR [STDERR] [] [] java.net.SocketException: Unexpected end of file from server

      2012-01-18 11:50:26,517 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

      2012-01-18 11:50:26,517 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,517 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

      2012-01-18 11:50:26,518 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,518 ERROR [STDERR] [] []           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)

      2012-01-18 11:50:26,518 ERROR [STDERR] [] []           at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)

      2012-01-18 11:50:26,518 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:202)

      2012-01-18 11:50:26,518 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.access$000(ServletMethodExecutor.java:41)

      2012-01-18 11:50:26,518 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor$1.run(ServletMethodExecutor.java:95)

      2012-01-18 11:50:26,518 ERROR [STDERR] [] []           at java.util.TimerThread.mainLoop(Timer.java:512)

      2012-01-18 11:50:26,519 ERROR [STDERR] [] []           at java.util.TimerThread.run(Timer.java:462)

      2012-01-18 11:50:26,630 ERROR [STDERR] [] [] java.net.SocketException: Unexpected end of file from server

      2012-01-18 11:50:26,630 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

      2012-01-18 11:50:26,630 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,630 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

      2012-01-18 11:50:26,630 ERROR [STDERR] [] []           at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

      2012-01-18 11:50:26,630 ERROR [STDERR] [] []           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)

      2012-01-18 11:50:26,630 ERROR [STDERR] [] []           at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)

      2012-01-18 11:50:26,631 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.execute(ServletMethodExecutor.java:202)

      2012-01-18 11:50:26,631 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor.access$000(ServletMethodExecutor.java:41)

      2012-01-18 11:50:26,631 ERROR [STDERR] [] []           at org.jboss.arquillian.protocol.servlet.ServletMethodExecutor$1.run(ServletMethodExecutor.java:95)

      2012-01-18 11:50:26,631 ERROR [STDERR] [] []           at java.util.TimerThread.mainLoop(Timer.java:512)

      2012-01-18 11:50:26,631 ERROR [STDERR] [] []           at java.util.TimerThread.run(Timer.java:462)

      2012-01-18 11:50:26,660 INFO  [org.jboss.profileservice.management.upload.remoting.DeployHandler] [] [] invoke, payload: {DeploymentTargetID=names=[tix.war]}, parameter: stop

      2012-01-18 11:50:26,665 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] [] [] undeploy, ctxPath=/tix

      2012-01-18 11:50:26,697 INFO  [org.jboss.profileservice.managemen

       

      I'm running with Arquillian-bom:




      <dependency>




      <groupId>org.jboss.arquillian</groupId>




      <artifactId>arquillian-bom</artifactId>




      <version>1.0.0.CR5</version>




      <scope>import</scope>




      <type>pom</type>



      </dependency>

       

      Seems to be related to these things:

      https://issues.jboss.org/browse/ARQ-643

      https://community.jboss.org/message/638346