[ https://issues.apache.org/jira/browse/CXF-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin updated CXF-1403: ---------------------------------- Attachment: cxf-patch-1403.patch A random port is allocated when no endpoint address is set. It can be easily extended to handle preset addresses like localport:0 > 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 > > Attachments: cxf-patch-1403.patch > > > 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.