cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] [Resolved] (CXF-4706) javax.xml.bind.UnmarshalException at server startup
Date Mon, 17 Dec 2012 17:36:19 GMT


Daniel Kulp resolved CXF-4706.

       Resolution: Fixed
    Fix Version/s: 2.7.2
         Assignee: Daniel Kulp

Something on the network is probing the services (via WS-Discovery), but using the old old
WS-Discovery namespaces instead of the version CXF supports.  I've just updated the CXF code
to try mapping those namespaces into the newer versions.   Can you try with tomorrows 2.7.2-SNAPSHOT
and see if the error goes away (or a new error is raised)?  That would be a big help.   

As another "fix", you can remove the cxf-services-ws-discovery modules from your application
and the problem should go away as CXF would no longer support WS-Discovery at all.

> javax.xml.bind.UnmarshalException at server startup
> ---------------------------------------------------
>                 Key: CXF-4706
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus
>    Affects Versions: 2.7.1
>         Environment: Tomcat 7.0.30 /JDK 1.6.0_26 / Windows 7/Mac OS Mountain Lion
>            Reporter: Kevin Chien
>            Assignee: Daniel Kulp
>             Fix For: 2.7.2
> CXF 2.7.1 keeps broadcasting the following exception message after a service WAR is deployed
to Tomcat. This issue even happens to the simplest service returning "echo message":
> javax.xml.bind.UnmarshalException: unexpected element (uri:"",
local:"Probe"). Expected elements are <{}AppSequence>,<{}Bye>,<{
> 05/08/addressing}EndpointReference>,<{}Hello>,<{}MetadataVersion>,<{
> /ws-dd/ns/discovery/2009/01}Probe>,<{}ProbeMatches>,<{}Resolve>,<{
> s-dd/ns/discovery/2009/01}ResolveMatches>,<{}Scopes>,<{}Security>,<{
> /ws-dd/ns/discovery/2009/01}Sig>,<{}SupportedMatchingRules>,<{}Types>,<{http://docs.oasis-open
> .org/ws-dd/ns/discovery/2009/01}XAddrs>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message