[
https://issues.jboss.org/browse/WFLY-4827?page=com.atlassian.jira.plugin....
]
Andrea Bertolini commented on WFLY-4827:
----------------------------------------
I succeed in downloading all dependency but in test phase it fails.
This is the end of the log (after a very long sequence of stack errors)
Results :
Tests in error:
WebSocket13ServerTestCase.initializationError » ExceptionInInitializer
WebSocket08ServerTest.initializationError » NoClassDefFound Could not initiali...
WebSocket07ServerTest.initializationError » NoClassDefFound Could not initiali...
AbstractWebSocketServerTest.initializationError » NoClassDefFound Could not in...
WebSocketClient13TestCase.initializationError » NoClassDefFound Could not init...
SimpleSSLTestCase.initializationError » NoClassDefFound Could not initialize c...
ComplexSSLTestCase.initializationError » NoClassDefFound Could not initialize ...
SsoTestCase.initializationError » NoClassDefFound Could not initialize class i...
SpnegoDigestAuthenticationTestCase.initializationError » NoClassDefFound Could...
SpnegoBasicAuthenticationTestCase.initializationError » NoClassDefFound Could ...
SpnegoAuthenticationTestCase.initializationError » NoClassDefFound Could not i...
SimpleConfidentialRedirectTestCase.initializationError » NoClassDefFound Could...
DigestAuthenticationAuthTestCase.initializationError » NoClassDefFound Could n...
DigestAuthentication2069TestCase.initializationError » NoClassDefFound Could n...
ClientCertTestCase.initializationError » NoClassDefFound Could not initialize ...
ClientCertRenegotiationTestCase.initializationError » NoClassDefFound Could no...
BasicAuthenticationTestCase.initializationError » NoClassDefFound Could not in...
SimpleParserTestCase.testQueryParams:189 Runtime Uncompilable source code - Er...
SimpleParserTestCase.testEmptyQueryParams:238 Runtime Uncompilable source code...
SimpleParserTestCase.testCarriageReturnLineEnds:146->runTest:260->runTest:265
Runtime
SimpleParserTestCase.testSameHttpStringReturned:207 Runtime Uncompilable sourc...
SimpleParserTestCase.testEncodedSlashDisallowed:54 Runtime Uncompilable source...
SimpleParserTestCase.testColonSlashInFullURL:90 Runtime Uncompilable source co...
SimpleParserTestCase.testCanonicalPath:167 Runtime Uncompilable source code - ...
SimpleParserTestCase.testTabWhitespace:158->runTest:260->runTest:265 Runtime U...
SimpleParserTestCase.testLineFeedsLineEnds:152->runTest:260->runTest:265 Runtime
SimpleParserTestCase.testColonSlashInURL:78 Runtime Uncompilable source code -...
SimpleParserTestCase.testSimpleRequest:124->runTest:260->runTest:265 Runtime U...
SimpleParserTestCase.testSimpleRequestWithHeaderCaching:132->runTest:265 Runtime
SimpleParserTestCase.testNonEncodedAsciiCharacters:253 Runtime Uncompilable so...
SimpleParserTestCase.testEncodedSlashAllowed:66 Runtime Uncompilable source co...
SimpleParserTestCase.testPathParameters:102 Runtime Uncompilable source code -...
SimpleParserTestCase.testNoHeaders:178 Runtime Uncompilable source code - Erro...
ParserResumeTestCase.initializationError » NoClassDefFound LHttpRequestParser;
URLRewritingSessionTestCase.initializationError » NoClassDefFound Could not in...
SSLSessionTestCase.initializationError » NoClassDefFound Could not initialize ...
InMemorySessionTestCase.initializationError » NoClassDefFound Could not initia...
ProxyHandlerXForwardedForTestCase.initializationError » NoClassDefFound Could ...
LoadBalancingProxyTestCase.initializationError » NoClassDefFound Could not ini...
LoadBalancingProxySPDYTestCase.initializationError » NoClassDefFound Could not...
LoadBalancingProxyHttpsTestCase.initializationError » NoClassDefFound Could no...
LoadBalancingProxyAJPTestCase.initializationError » NoClassDefFound Could not ...
PathTestCase.initializationError » NoClassDefFound Could not initialize class ...
MultipartFormDataParserTestCase.initializationError » NoClassDefFound Could no...
FormDataParserTestCase.initializationError » ExceptionInInitializer
FileHandlerTestCase.initializationError » NoClassDefFound Could not initialize...
FileHandlerSymlinksTestCase.initializationError » NoClassDefFound Could not in...
FileHandlerStressTestCase.initializationError » NoClassDefFound Could not init...
FileHandlerIndexTestCase.initializationError » NoClassDefFound Could not initi...
ContentEncodedResourceTestCase.initializationError » NoClassDefFound Could not...
SimpleErrorPageHandlerTestCase.initializationError » NoClassDefFound Could not...
FileErrorPageHandlerTestCase.initializationError » NoClassDefFound Could not i...
GzipContentEncodingTestCase.initializationError » NoClassDefFound Could not in...
EncodingSelectionTestCase.initializationError » NoClassDefFound Could not init...
DeflateContentEncodingTestCase.initializationError » NoClassDefFound Could not...
CacheHandlerTestCase.initializationError » NoClassDefFound Could not initializ...
SimpleBlockingServerTestCase.initializationError » NoClassDefFound Could not i...
AccessLogTestCase.initializationError » NoClassDefFound Could not initialize c...
AccessLogFileTestCase.initializationError » NoClassDefFound Could not initiali...
VirtualHostTestCase.initializationError » NoClassDefFound Could not initialize...
SimpleNonBlockingServerTestCase.initializationError » NoClassDefFound Could no...
SetAttributeTestCase.initializationError » NoClassDefFound Could not initializ...
SenderTestCase.initializationError » NoClassDefFound Could not initialize clas...
RoutingHandlerTestCase.initializationError » NoClassDefFound Could not initial...
ResumeWritesTestCase.initializationError » NoClassDefFound Could not initializ...
RequestLimitingHandlerTestCase.initializationError » NoClassDefFound Could not...
RedirectTestCase.initializationError » NoClassDefFound Could not initialize cl...
QueryParametersTestCase.initializationError » NoClassDefFound Could not initia...
PredicatedHandlersTestCase.initializationError » NoClassDefFound Could not ini...
PreChunkedResponseTransferCodingTestCase.initializationError » NoClassDefFound
PathTemplateHandlerTestCase.initializationError » NoClassDefFound Could not in...
OriginTestCase.initializationError » NoClassDefFound Could not initialize clas...
MetricsHandlerTestCase.initializationError » NoClassDefFound Could not initial...
LotsOfQueryParametersTestCase.initializationError » NoClassDefFound Could not ...
LotsOfHeadersResponseTestCase.initializationError » NoClassDefFound Could not ...
JDBCLogDatabaseTestCase.initializationError » NoClassDefFound Could not initia...
HttpContinueConduitWrappingHandlerTestCase.initializationError » NoClassDefFound
HttpContinueAcceptingHandlerTestCase.initializationError » NoClassDefFound Cou...
HeadTestCase.initializationError » NoClassDefFound Could not initialize class ...
GracefulShutdownTestCase.initializationError » NoClassDefFound Could not initi...
FixedLengthResponseTestCase.initializationError » NoClassDefFound Could not in...
FixedLengthRequestTestCase.initializationError » NoClassDefFound Could not ini...
ExceptionHandlerTestCase.initializationError » NoClassDefFound Could not initi...
DateHandlerTestCase.initializationError » NoClassDefFound Could not initialize...
ChunkedResponseTransferCodingTestCase.initializationError » NoClassDefFound Co...
ChunkedResponseTrailersTestCase.initializationError » NoClassDefFound Could no...
ChunkedRequestTransferCodingTestCase.initializationError » NoClassDefFound Cou...
ChunkedRequestTrailersTestCase.initializationError » NoClassDefFound Could not...
BadRequestTestCase.initializationError » NoClassDefFound Could not initialize ...
AllowedMethodsTestCase.initializationError » NoClassDefFound Could not initial...
ParseTimeoutTestCase.initializationError » NoClassDefFound Could not initializ...
MaxRequestSizeTestCase.initializationError » NoClassDefFound Could not initial...
HttpServerExchangeTestCase.initializationError » NoClassDefFound Could not ini...
ConnectionTerminationTestCase.initializationError » NoClassDefFound Could not ...
HttpClientTestCase.initializationError » NoClassDefFound Could not initialize ...
Tests run: 174, Failures: 0, Errors: 95, Skipped: 2
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Undertow ........................................... SUCCESS [ 30.116 s]
[INFO] Undertow Parser Generator .......................... SUCCESS [ 5.316 s]
[INFO] Undertow Core ...................................... FAILURE [ 11.944 s]
[INFO] Undertow Servlet ................................... SKIPPED
[INFO] Undertow WebSockets JSR356 implementations ......... SKIPPED
[INFO] Undertow Examples .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.566 s
[INFO] Finished at: 2015-06-30T09:59:41+02:00
[INFO] Final Memory: 27M/279M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test
(default-test) on project undertow-core: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\abertolini\undertow\core\target\surefire-reports for the
individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :undertow-core
Network Connection leak on client abort connection
--------------------------------------------------
Key: WFLY-4827
URL:
https://issues.jboss.org/browse/WFLY-4827
Project: WildFly
Issue Type: Bug
Components: Web (Undertow), Web Sockets
Affects Versions: 8.2.0.Final
Environment: On Windows Server 2012, JDK 1.8.0_45, Wildfly 8.2.0.Final in
standalone mode.
Reporter: Andrea Bertolini
Assignee: Stuart Douglas
We have a classic client-server application, all written in Java. Each client is
installed on a forklift which can move all around a large area. This area is under wi-fi
coverage.
Sometimes the clients can have a bad connection quality and the client-server
communication is interrupted; in such a case it takes too many seconds to be restored.
To fix this situation, we add a timeout client-side. After 5 seconds it aborts the call
and tries again a second time.
To achieve this call we use apache httpcomponents library (version 4.4). We use the abort
method of httppost to interrupt this call.
Server-side, we have a group of web-servlets which listen to the incoming calls, manage
requests and send a response.
It appears that sometimes a communication remains stuck in reading or writing from/to the
stream. When the client aborts the communication, an exception is thrown on the server
caused by the channel being closed.
It happens that a large number of connections remains stuck in connection status
'established' (only server-side) even if the real connection is actually closed
(client doesn't have that connection active anymore).
When the number of established connections grows up to 200, server stops responding on
port 8080, so it cannot accept more connections and it seems to freeze.
We tried to add tcp-keep-alive=true and no-request-timeout=120000 on http-listener in
undertow subsystem, but sometimes it removes idle connections after any incoming requests
are received for 2 minutes, some other times it keep connections as established and
doesn't close them.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)