JettyHttpDestination can not be created if enpoint address is null
------------------------------------------------------------------
Key: CXF-1403
URL: https://issues.apache.org/jira/browse/CXF-1403
Project: CXF
Issue Type: Bug
Components: Transports
Affects Versions: 2.1
Reporter: Sergey Beryozkin
Fix For: 2.1
This issue popped up as part of JAX-WS TCK testing.
When creating JAX-WS endpoints with no specific address specified a failure
occurs due to JettyHttpDestination
assuming address can never be null.
The right approach is to allocate a random port at the level of
AbstractHttpDestination.
In fact, it would be easy to extend such solution to handle enterprise policies
like :
"any port withing a given range can be used by endpoints".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.