From this stack trace, I don’t think it’s CXF sending a discovery request out.  
This looks like something ELSE is making a discovery request that CXF is trying 
to respond to.   If that’s the case, using Wireshark or similar to capture UDP 
traffic should result in seeing the message and hopefully the IP address or 
similar of where it’s coming from.   That said, enabling logging on the Bus 
level may also help.

Dan



> On Oct 6, 2015, at 2:01 PM, craigrs84 <cschu...@kellerschroeder.com> wrote:
> 
> I've done a clean install of CXF on tomcat.  I've configured CXF so that it's
> running successfully but haven't actually deployed an web services yet.
> 
> Even though it's a clean install I'm seeing an exception repeated in my logs
> every few minutes (see below).  It seems to be related to CXF WS-Discovery.
> 
> The only explanation I can formulate is that someone else has deployed a
> different SOAP web service that I'm unaware of on our internal network, and
> CXF is "discovering" this web service.  Apparently there's something about
> this web service that CXF doesn't like which is why it's repeatedly throwing
> an exception in the logs?
> 
> Here's my question.  Is there any way to enable logging so that I can get
> the URL of the web service that CXF is detecting during it's WS-Discovery
> phase?  If I could get the URL that would be a starting point for me to
> solve the underlying issue...
> 
> Failing that can I just disable the WS-Discovery so that this error will not
> repeatedly appear in my logs?  WS-Discovery not really required for basic
> usage, right?
> 
> Sorry if I got any of this incorrect - I'm grasping at straws here.
> 
> Thanks!
> 
> 
> 11:52:41,995 INFO  [stdout] (default-workqueue-5)
> DefaultValidationEventHandler: [ERROR]: prefix wsdp is not bound to a
> namespace 
> 11:52:41,996 INFO  [stdout] (default-workqueue-5)      Location:  node:
> [wsd:Types: null]
> 
> 11:52:41,996 INFO  [stdout] (default-workqueue-4)
> DefaultValidationEventHandler: [ERROR]: prefix wsdp is not bound to a
> namespace 
> 11:52:41,996 INFO  [stdout] (default-workqueue-4)      Location:  node:
> [wsd:Types: null]
> 
> 11:52:41,996 ERROR [stderr] (default-workqueue-5)
> javax.xml.bind.UnmarshalException: prefix wsdp is not bound to a namespace
> 11:52:41,996 ERROR [stderr] (default-workqueue-5)  - with linked exception:
> 11:52:41,996 ERROR [stderr] (default-workqueue-5)
> [java.lang.IllegalArgumentException: prefix wsdp is not bound to a
> namespace]
> 
> 11:52:41,996 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:740)
> 
> 11:52:41,996 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(UnmarshallingContext.java:770)
> 
> 11:52:41,996 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleError(UnmarshallingContext.java:766)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$23.parse(RuntimeBuiltinLeafInfoImpl.java:819)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$23.parse(RuntimeBuiltinLeafInfoImpl.java:814)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.reflect.ListTransducedAccessorImpl.processValue(ListTransducedAccessorImpl.java:140)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.reflect.ListTransducedAccessorImpl.parse(ListTransducedAccessorImpl.java:155)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.LeafPropertyLoader.text(LeafPropertyLoader.java:65)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.text(UnmarshallingContext.java:589)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.text(InterningXmlVisitor.java:93)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.processText(SAXConnector.java:213)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.endElement(SAXConnector.java:176)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:255)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
> 
> 11:52:41,997 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:127)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:369)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:352)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.common.jaxb.JAXBUtils.unmarshall(JAXBUtils.java:187)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.ws.discovery.internal.WSDiscoveryServiceImpl$WSDiscoveryProvider.invoke(WSDiscoveryServiceImpl.java:502)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.ws.discovery.internal.WSDiscoveryServiceImpl$WSDiscoveryProvider.invoke(WSDiscoveryServiceImpl.java:420)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> java.lang.reflect.Method.invoke(Method.java:606)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.jaxws.JAXWSMethodInvoker.performInvocation(JAXWSMethodInvoker.java:66)
> 
> 11:52:41,998 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:232)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:85)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:74)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$2.run(ServiceInvokerInterceptor.java:126)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:131)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> 
> 11:52:41,999 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.transport.udp.UDPDestination$MCastListener$2.run(UDPDestination.java:114)
> 
> 11:52:42,000 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)
> 
> 11:52:42,000 ERROR [stderr] (default-workqueue-5)     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 
> 11:52:42,000 ERROR [stderr] (default-workqueue-5)     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 
> 11:52:42,000 ERROR [stderr] (default-workqueue-5)     at
> org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)
> 
> 11:52:42,000 ERROR [stderr] (default-workqueue-5)     at
> java.lang.Thread.run(Thread.java:745)
> 
> 11:52:42,000 ERROR [stderr] (default-workqueue-5) Caused by:
> java.lang.IllegalArgumentException: prefix wsdp is not bound to a namespace
> 
> 11:52:42,000 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.DatatypeConverterImpl._parseQName(DatatypeConverterImpl.java:369)
> 
> 11:52:42,000 ERROR [stderr] (default-workqueue-5)     at
> com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$23.parse(RuntimeBuiltinLeafInfoImpl.java:817)
> 
> 11:52:42,000 ERROR [stderr] (default-workqueue-5)     ... 41 more
> 
> 
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/CXF-Weird-Discovery-error-tp5761509.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to