Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.5.1
-
None
-
Windows XP
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
Description
After upgrading my application from CXF 2.4.2 to 2.5.1 the embedded jetty stopped working.
Currently CXF comes bundles with Jetty 7.5.3, which has a rather nasty bug causing the NIO Connectors to hang in accept().
After some research I have found JETTY-1444 to document the issue.
This bug was fixed in Jetty 7.5.4 onwards.
I have manually exchanged Jetty 7.5.3 with 7.5.4 in my local copy of CXF and can confirm that it fixes the issue.
If upgrading to Jetty 7.5.4 is not an option for CXF right now, maybe you can consider the workaround described in JETTY-1444? I don't understand the specifics, but seems like it is pretty simple to implement (changing the sequence of ThreadPool init and Server start).