You'll probably need to debug your Camel route (http://www.jroller.com/gmazza/entry/eclipse_debug_web_services) to see why the infinite loop is occurring. If it would help, you may want to at least temporarily switch to a direct CXF Provider implementation (because you want to work with payloads): http://www.jroller.com/gmazza/entry/using_mtom_and_apache_fop (see first bulleted item at the bottom of the article for links) without needing to deal with the Camel middleman--that may better point out where the error is (CXF or Camel).

Glen

On 10/09/2012 10:34 AM, sachin2713 wrote:
Hi All,

I am using camel 2.9.1 with cxf 2.4.2 and spring 3.0.5 to expose some
webservices with multiple operations using WSDL first approach and PAYLOAD
mode.
i am getting stackoverflow error due to below recursion in cxf..

Caused by: java.lang.StackOverflowError
         at
java.util.concurrent.ConcurrentHashMap$Segment.get(ConcurrentHashMap.java:350)
         at
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:781)
         at
org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:116)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:130)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)
         at
org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:134)



--
View this message in context: 
http://cxf.547215.n5.nabble.com/StackOverflowError-while-creating-webservices-tp5716168.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to