Hi Martin and Andreas,

I am little bit confused with your responses. Not able to identify whether it 
is issue of spring,xalan or axiom.
I am also hitting my head in various disscussion threads but not getting any 
satisfactory response.

Rgrds,Rohit

-----Original Message-----
From: Andreas Veithen [mailto:[email protected]]
Sent: Wednesday, December 09, 2015 2:39 AM
To: dev
Cc: Rohit Singh
Subject: Re: OutOfMemory issue with Axiom

The VisualVM screenshot also shows a large amount of memory consumed by byte[]. 
This suggest that the application uses Spring-WS's 
PayloadTransformingInterceptor on the message. You shouldn't do that for large 
messages, because the code in PayloadTransformingInterceptor introduces a large 
overhead:

ByteArrayOutputStream os = new ByteArrayOutputStream(); 
transformer.transform(message.getPayloadSource(), new StreamResult(os)); 
ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray());
transform(new StreamSource(is), message.getPayloadResult());

It will transform the original payload and serialize the result into a byte 
array. It will then deserialize that intermediate result to build an Axiom tree 
(This is where the leak in Xalan occurs). Unfortunately it's necessary to use 
an intermediate byte array because of the way Spring-WS is architected. If 
possible, you should get rid of PayloadTransformingInterceptor.

Andreas

On Tue, Dec 8, 2015 at 1:58 PM, Martin Gainty <[email protected]> wrote:
>
> Xalan 2.7.1 OOM was supposedly patched by JBoss
> https://issues.jboss.org/secure/attachment/12346686/xalan-j2-XALANJ-21
> 95.patch-v2
>
> issue discussed here:
> http://jira.xwiki.org/browse/XWIKI-9734
>
> I am curious why Massol never committed JBoss Patch to Xwiki maven
> repo
>
> Rohit can you please confirm the JBoss patch fixes your OOM issue?
>
> thanks,
> Martin
>
>> From: [email protected]
>> Date: Mon, 7 Dec 2015 20:15:06 +0000
>> Subject: Re: OutOfMemory issue with Axiom
>> To: [email protected]
>> CC: [email protected]
>
>>
>> Actually, a likely root cause for this issue would be a leak in Xalan:
>>
>> https://www.google.com/webhp#safe=off&q=xalan+saxparser+threadlocal+l
>> eak
>>
>> Andreas
>>
>> On Mon, Dec 7, 2015 at 2:02 PM, Andreas Veithen
>> <[email protected]> wrote:
>> > payloadCaching is actually a property defined by Spring-WS. Note
>> > that even if it was Axiom's property, the fact that changing the
>> > property triggers the issue wouldn't mean that it is Axiom's fault.
>> >
>> > Andreas
>> >
>> > On Mon, Dec 7, 2015 at 1:09 PM, Rohit Singh
>> > <[email protected]> wrote:
>> >>
>> >> Dear Andreas,
>> >>
>> >>
>> >>
>> >> This issue is coming only when payload is true. If it is spring's
>> >> issue then this should come when payload is false also.
>> >>
>> >> As far as I think payloadCache is axiom's property.
>> >>
>> >>
>> >>
>> >> I have now upgraded to 1.2.16. Issue with payloadCache=true is
>> >> still coming. Only the name of the class is changed to CharacterDataImpl.
>> >>
>> >>
>> >>
>> >> Refer attached image for JVisualVM log.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Rgrds,Rohit
>> >>
>> >>
>> >>
>> >> From: Andreas Veithen [mailto:[email protected]]
>> >> Sent: Monday, December 07, 2015 6:14 PM
>> >> To: Rohit Singh
>> >> Cc: dev
>> >>
>> >>
>> >> Subject: Re: OutOfMemory issue with Axiom
>> >>
>> >>
>> >>
>> >> This looks like a bug in Spring. I think it tries to be smart and
>> >> cache a SAXParser or Transformer in a ThreadLocal for later reuse,
>> >> but this may have the unexpected side effect of keeping the Axiom
>> >> tree of the last message processed by each thread in memory. Can
>> >> you try to figure out where that ThreadLocal is declared?
>> >>
>> >>
>> >>
>> >> Andreas
>> >>
>> >>
>> >>
>> >> On Mon, Dec 7, 2015 at 12:05 PM, Rohit Singh
>> >> <[email protected]> wrote:
>> >>
>> >> Thanks Andreas,
>> >>
>> >>
>> >>
>> >> With payloadCaching=false, now NullPointer issue is resolved.
>> >>
>> >> But I want to run system with payloadCaching=true.
>> >>
>> >> But when I run with payloadCaching=true, my heap memory keep
>> >> exausted after each hit(call) as mentioned in last mails also.
>> >>
>> >> Please refer below screenshot as you asked for strong references
>> >> from the GC root
>> >>
>> >> to the OMTextImpl objects.
>> >>
>> >> This memory is not getting released.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Rgrds,Rohit
>> >>
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: Andreas Veithen [mailto:[email protected]]
>> >> Sent: Monday, December 07, 2015 1:39 PM
>> >> To: dev
>> >> Cc: Rohit Singh
>> >> Subject: Re: OutOfMemory issue with Axiom
>> >>
>> >>
>> >>
>> >> I already responded when you sent that message the first time:
>> >>
>> >>
>> >>
>> >> http://markmail.org/message/qwucocinhjnm6n47
>> >>
>> >>
>> >>
>> >> Please make sure that you can see replies posted to [email protected].
>> >>
>> >>
>> >>
>> >> Andreas
>> >>
>> >>
>> >>
>> >> On Mon, Dec 7, 2015 at 6:20 AM, Rohit Singh
>> >> <[email protected]> wrote:
>> >>
>> >> > Hi,
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > I am using axiom-api-1.2.14.jar and axiom-impl-1.2.14.jar.
>> >>
>> >> >
>> >>
>> >> > My SOAP response returns List<String> whose size is 150. Each
>> >> > string
>> >>
>> >> > having size of 1.8 mb(avg).
>> >>
>> >> >
>> >>
>> >> > When such huge data returns to axiom stax parsing, It suddenly
>> >>
>> >> > increase the the heap memory by 600 mb which continued to
>> >> > reatain and not gets relaesed.
>> >>
>> >> >
>> >>
>> >> > When I analyse this in visualvm I found that OMTextImpl class is
>> >>
>> >> > taking this memory alone.
>> >>
>> >> >
>> >>
>> >> > For the next hit this size increase to 1200mb and again this
>> >> > memory
>> >>
>> >> > does not get freed.
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > For next 2-3 hits , system goes to OutOfMemory.
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > I am using below configuration:
>> >>
>> >> >
>> >>
>> >> > #messageFactory (axiom) configuration
>> >>
>> >> >
>> >>
>> >> > messageFactory.payloadCaching=true
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > When I use messageFactory.payloadCaching=false (I don’t know
>> >> > whether
>> >>
>> >> > this will solve the problem or not)
>> >>
>> >> >
>> >>
>> >> > I face below exception:
>> >>
>> >> >
>> >>
>> >> > 23:21:19.467 [http-bio-8080-exec-1] ERROR
>> >>
>> >> > o.a.c.s.spi.TransactionErrorHandler - Failed delivery for (MessageId:
>> >>
>> >> > ID-NII414LEDF0240-62759-1448560261807-0-1 on ExchangeId:
>> >>
>> >> > ID-NII414LEDF0240-62759-1448560261807-0-2). Exhausted after
>> >> > delivery
>> >>
>> >> > attempt: 2 caught: org.apache.camel.InvalidPayloadException: No
>> >> > body
>> >>
>> >> > available of type: java.io.InputStream but has value:
>> >>
>> >> > org.springframework.util.xml.StaxSource@7fe0f13a of type:
>> >>
>> >> > org.springframework.util.xml.StaxSource on:
>> >>
>> >> > SpringWebserviceMessage[AxiomSoapMessage]. Caused by: Error
>> >> > during
>> >>
>> >> > type conversion from type:
>> >> > org.springframework.util.xml.StaxSource to
>> >>
>> >> > the required type: java.io.InputStream with value
>> >>
>> >> > org.springframework.util.xml.StaxSource@7fe0f13a due
>> >>
>> >> > java.lang.NullPointerException.
>> >>
>> >> > Exchange[SpringWebserviceMessage[AxiomSoapMessage]]. Caused by:
>> >>
>> >> > [org.apache.camel.TypeConversionException - Error during type
>> >>
>> >> > conversion from type: org.springframework.util.xml.StaxSource to
>> >> > the required type:
>> >>
>> >> > java.io.InputStream with value
>> >>
>> >> > org.springframework.util.xml.StaxSource@7fe0f13a due
>> >>
>> >> > java.lang.NullPointerException]
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > Message History
>> >>
>> >> >
>> >>
>> >> >
>> >> > ----------------------------------------------------------------
>> >> > ------
>> >>
>> >> > ----------------------------------------------------------------
>> >> > -
>> >>
>> >> >
>> >>
>> >> > RouteId ProcessorId Processor
>> >>
>> >> > Elapsed (ms)
>> >>
>> >> >
>> >>
>> >> > [searchGlobalCollat] [searchGlobalCollat] [
>> >>
>> >> > ] [ 1029]
>> >>
>> >> >
>> >>
>> >> > [searchGlobalCollat] [unmarshal2 ] [unmarshal[ref:jaxb]
>> >>
>> >> > ] [ 1029]
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > Exchange
>> >>
>> >> >
>> >>
>> >> >
>> >> > ----------------------------------------------------------------
>> >> > ------
>> >>
>> >> > ----------------------------------------------------------------
>> >> > -
>> >>
>> >> >
>> >>
>> >> > Exchange[
>> >>
>> >> >
>> >>
>> >> > Id
>> >>
>> >> > ID-NII414LEDF0240-62759-1448560261807-0-2
>> >>
>> >> >
>> >>
>> >> > ExchangePattern InOptionalOut
>> >>
>> >> >
>> >>
>> >> > Headers
>> >>
>> >> > {breadcrumbId=ID-NII414LEDF0240-62759-1448560261807-0-1,
>> >>
>> >> > CamelRedelivered=true, CamelRedeliveryCounter=1,
>> >>
>> >> > CamelRedeliveryMaxCounter=1,
>> >>
>> >> >
>> >> > CamelSpringWebserviceSoapHeader=org.springframework.util.xml.Sta
>> >> > xSourc
>> >>
>> >> > e@1143c2b6}
>> >>
>> >> >
>> >>
>> >> > BodyType org.springframework.util.xml.StaxSource
>> >>
>> >> >
>> >>
>> >> > Body [Body is instance of
>> >>
>> >> > java.xml.transform.Source]
>> >>
>> >> >
>> >>
>> >> > ]
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > Stacktrace
>> >>
>> >> >
>> >>
>> >> >
>> >> > ----------------------------------------------------------------
>> >> > ------
>> >>
>> >> > ----------------------------------------------------------------
>> >> > -
>> >>
>> >> >
>> >>
>> >> > org.apache.camel.InvalidPayloadException: No body available of type:
>> >>
>> >> > java.io.InputStream but has value:
>> >>
>> >> > org.springframework.util.xml.StaxSource@7fe0f13a of type:
>> >>
>> >> > org.springframework.util.xml.StaxSource on:
>> >>
>> >> > SpringWebserviceMessage[AxiomSoapMessage]. Caused by: Error
>> >> > during
>> >>
>> >> > type conversion from type:
>> >> > org.springframework.util.xml.StaxSource to
>> >>
>> >> > the required type: java.io.InputStream with value
>> >>
>> >> > org.springframework.util.xml.StaxSource@7fe0f13a due
>> >>
>> >> > java.lang.NullPointerException.
>> >>
>> >> > Exchange[SpringWebserviceMessage[AxiomSoapMessage]]. Caused by:
>> >>
>> >> > [org.apache.camel.TypeConversionException - Error during type
>> >>
>> >> > conversion from type: org.springframework.util.xml.StaxSource to
>> >> > the required type:
>> >>
>> >> > java.io.InputStream with value
>> >>
>> >> > org.springframework.util.xml.StaxSource@7fe0f13a due
>> >>
>> >> > java.lang.NullPointerException]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSup
>> >> > port.j
>> >>
>> >> > ava:101)
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalP
>> >> > rocess
>> >>
>> >> > or.java:59)
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.processor.RedeliveryErrorHandler.process(Redeli
>> >> > veryEr
>> >>
>> >> > rorHandler.java:398)
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.spring.spi.TransactionErrorHandler.processByErr
>> >> > orHand
>> >>
>> >> > ler(TransactionErrorHandler.java:218)
>> >>
>> >> > [camel-spring-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.spring.spi.TransactionErrorHandler$1.doInTransa
>> >> > ctionW
>> >>
>> >> > ithoutResult(TransactionErrorHandler.java:181)
>> >>
>> >> > [camel-spring-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.transaction.support.TransactionCallbackWitho
>> >> > utResu
>> >>
>> >> > lt.doInTransaction(TransactionCallbackWithoutResult.java:34)
>> >>
>> >> > [spring-tx-4.0.2.RELEASE.jar:4.0.2.RELEASE]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.transaction.support.TransactionTemplate.exec
>> >> > ute(Tr
>> >>
>> >> > ansactionTemplate.java:133)
>> >>
>> >> > [spring-tx-4.0.2.RELEASE.jar:4.0.2.RELEASE]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.spring.spi.TransactionErrorHandler.doInTransact
>> >> > ionTem
>> >>
>> >> > plate(TransactionErrorHandler.java:174)
>> >>
>> >> > [camel-spring-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.spring.spi.TransactionErrorHandler.processInTra
>> >> > nsacti
>> >>
>> >> > on(TransactionErrorHandler.java:134)
>> >>
>> >> > [camel-spring-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.spring.spi.TransactionErrorHandler.process(Tran
>> >> > sactio
>> >>
>> >> > nErrorHandler.java:103)
>> >>
>> >> > [camel-spring-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.spring.spi.TransactionErrorHandler.process(Tran
>> >> > sactio
>> >>
>> >> > nErrorHandler.java:112)
>> >>
>> >> > [camel-spring-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.processor.CamelInternalProcessor.process(CamelI
>> >> > nterna
>> >>
>> >> > lProcessor.java:191)
>> >>
>> >> > [camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> > org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
>> >>
>> >> > [camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> > org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
>> >>
>> >> > [camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.processor.CamelInternalProcessor.process(CamelI
>> >> > nterna
>> >>
>> >> > lProcessor.java:191)
>> >>
>> >> > [camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcesso
>> >> > rHelpe
>> >>
>> >> > r.java:105)
>> >>
>> >> > [camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.processor.DelegateAsyncProcessor.process(Delega
>> >> > teAsyn
>> >>
>> >> > cProcessor.java:87)
>> >>
>> >> > [camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.component.spring.ws.SpringWebserviceConsumer.in
>> >> > voke(S
>> >>
>> >> > pringWebserviceConsumer.java:59)
>> >>
>> >> > [camel-spring-ws-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.ws.server.endpoint.adapter.MessageEndpointAdapter.
>> >>
>> >> > invoke(MessageEndpointAdapter.java:41)
>> >>
>> >> > [spring-ws-core-2.1.4.RELEASE.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.ws.server.MessageDispatcher.dispatch(Message
>> >> > Dispat
>> >>
>> >> > cher.java:233)
>> >>
>> >> > [spring-ws-core-2.1.4.RELEASE.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.ws.server.MessageDispatcher.receive(MessageD
>> >> > ispatc
>> >>
>> >> > her.java:173)
>> >>
>> >> > [spring-ws-core-2.1.4.RELEASE.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.ws.transport.support.WebServiceMessageReceiv
>> >> > erObje
>> >>
>> >> >
>> >> > ctSupport.handleConnection(WebServiceMessageReceiverObjectSuppor
>> >> > t.java
>> >>
>> >> > :88)
>> >>
>> >> > [spring-ws-core-2.1.4.RELEASE.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.ws.transport.http.WebServiceMessageReceiverH
>> >> > andler
>> >>
>> >> > Adapter.handle(WebServiceMessageReceiverHandlerAdapter.java:59)
>> >>
>> >> > [spring-ws-core-2.1.4.RELEASE.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.ws.transport.http.MessageDispatcherServlet.d
>> >> > oServi
>> >>
>> >> > ce(MessageDispatcherServlet.java:292)
>> >>
>> >> > [spring-ws-core-2.1.4.RELEASE.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.web.servlet.FrameworkServlet.processRequest(
>> >> > Framew
>> >>
>> >> > orkServlet.java:961)
>> >> > [spring-webmvc-4.0.2.RELEASE.jar:4.0.2.RELEASE]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.web.servlet.FrameworkServlet.doPost(Framewor
>> >> > kServl
>> >>
>> >> > et.java:863) [spring-webmvc-4.0.2.RELEASE.jar:4.0.2.RELEASE]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
>> >>
>> >> > [servlet-api.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.web.servlet.FrameworkServlet.service(Framewo
>> >> > rkServ
>> >>
>> >> > let.java:837) [spring-webmvc-4.0.2.RELEASE.jar:4.0.2.RELEASE]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>> >>
>> >> > [servlet-api.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> >> > (Appli
>> >>
>> >> > cationFilterChain.java:305)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applica
>> >> > tionFi
>> >>
>> >> > lterChain.java:210)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.j
>> >> > ava:20
>> >>
>> >> > 2)
>> >>
>> >> > [javamelody-core-1.51.0.jar:1.51.0]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.j
>> >> > ava:18
>> >>
>> >> > 0)
>> >>
>> >> > [javamelody-core-1.51.0.jar:1.51.0]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> >> > (Appli
>> >>
>> >> > cationFilterChain.java:243)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applica
>> >> > tionFi
>> >>
>> >> > lterChain.java:210)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > com.github.ziplet.filter.compression.CompressingFilter.doFilter(
>> >> > Compre
>> >>
>> >> > ssingFilter.java:300)
>> >>
>> >> > [ziplet-2.0.0.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> >> > (Appli
>> >>
>> >> > cationFilterChain.java:243)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applica
>> >> > tionFi
>> >>
>> >> > lterChain.java:210)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWra
>> >> > pperVa
>> >>
>> >> > lve.java:222)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.StandardContextValve.invoke(StandardCon
>> >> > textVa
>> >>
>> >> > lve.java:123)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authe
>> >> > nticat
>> >>
>> >> > orBase.java:502)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostVa
>> >> > lve.ja
>> >>
>> >> > va:171)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportVa
>> >> > lve.ja
>> >>
>> >> > va:100)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.
>> >> > java:9
>> >>
>> >> > 53)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngi
>> >> > neValv
>> >>
>> >> > e.java:118)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapte
>> >> > r.java
>> >>
>> >> > :409)
>> >>
>> >> > [catalina.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.coyote.http11.AbstractHttp11Processor.process(Abstrac
>> >> > tHttp1
>> >>
>> >> > 1Processor.java:1044)
>> >>
>> >> > [tomcat-coyote.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.pro
>> >> > cess(A
>> >>
>> >> > bstractProtocol.java:607)
>> >>
>> >> > [tomcat-coyote.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEn
>> >> > dpoint
>> >>
>> >> > .java:313)
>> >>
>> >> > [tomcat-coyote.jar:7.0.50]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoo
>> >> > lExecu
>> >>
>> >> > tor.java:886)
>> >>
>> >> > [na:1.6.0_31]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
>> >>
>> >> > java:908)
>> >>
>> >> > [na:1.6.0_31]
>> >>
>> >> >
>> >>
>> >> > at java.lang.Thread.run(Thread.java:662) [na:1.6.0_31]
>> >>
>> >> >
>> >>
>> >> > Caused by: org.apache.camel.TypeConversionException: Error
>> >> > during type
>> >>
>> >> > conversion from type: org.springframework.util.xml.StaxSource to
>> >> > the
>> >>
>> >> > required type: java.io.InputStream with value
>> >>
>> >> > org.springframework.util.xml.StaxSource@7fe0f13a due
>> >>
>> >> > java.lang.NullPointerException
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandat
>> >> > oryCon
>> >>
>> >> > vertTo(BaseTypeConverterRegistry.java:173)
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.impl.MessageSupport.getMandatoryBody(MessageSup
>> >> > port.j
>> >>
>> >> > ava:99)
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > ... 51 common frames omitted
>> >>
>> >> >
>> >>
>> >> > Caused by: org.apache.camel.RuntimeCamelException:
>> >>
>> >> > java.lang.NullPointerException
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(Obj
>> >> > ectHel
>> >>
>> >> > per.java:1363)
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.jav
>> >> > a:1005
>> >>
>> >> > )
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.impl.converter.InstanceMethodTypeConverter.conv
>> >> > ertTo(
>> >>
>> >> > InstanceMethodTypeConverter.java:78)
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConv
>> >> > ertTo(
>> >>
>> >> > BaseTypeConverterRegistry.java:275)
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandat
>> >> > oryCon
>> >>
>> >> > vertTo(BaseTypeConverterRegistry.java:164)
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > ... 52 common frames omitted
>> >>
>> >> >
>> >>
>> >> > Caused by: java.lang.NullPointerException: null
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.axiom.om.impl.llom.SwitchingWrapper.next(SwitchingWra
>> >> > pper.j
>> >>
>> >> > ava:965)
>> >>
>> >> > ~[axiom-impl-1.2.14.jar:1.2.14]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > javax.xml.stream.util.StreamReaderDelegate.next(StreamReaderDele
>> >> > gate.j
>> >>
>> >> > ava:60)
>> >>
>> >> > ~[na:1.6.0_31]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.util.xml.StaxStreamXMLReader.parseInternal(S
>> >> > taxStr
>> >>
>> >> > eamXMLReader.java:123)
>> >> > ~[spring-core-4.0.2.RELEASE.jar:4.0.2.RELEASE]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.util.xml.AbstractStaxXMLReader.parse(Abstrac
>> >> > tStaxX
>> >>
>> >> > MLReader.java:155)
>> >> > ~[spring-core-4.0.2.RELEASE.jar:4.0.2.RELEASE]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.springframework.util.xml.AbstractStaxXMLReader.parse(Abstrac
>> >> > tStaxX
>> >>
>> >> > MLReader.java:139)
>> >> > ~[spring-core-4.0.2.RELEASE.jar:4.0.2.RELEASE]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.xalan.transformer.TransformerIdentityImpl.transform(T
>> >> > ransfo
>> >>
>> >> > rmerIdentityImpl.java:485)
>> >>
>> >> > ~[xalan-2.7.1.jar:na]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > com.nucleus.integration.core.camel.converter.XmlConverter.source
>> >> > ToInpu
>> >>
>> >> > tStream(XmlConverter.java:53)
>> >>
>> >> > ~[neutrino-integration-core-1.41-SNAPSHOT.jar:na]
>> >>
>> >> >
>> >>
>> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> >>
>> >> > Method) ~[na:1.6.0_31]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
>> >> > Impl.j
>> >>
>> >> > ava:39)
>> >>
>> >> > ~[na:1.6.0_31]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
>> >> > Access
>> >>
>> >> > orImpl.java:25)
>> >>
>> >> > ~[na:1.6.0_31]
>> >>
>> >> >
>> >>
>> >> > at java.lang.reflect.Method.invoke(Method.java:597)
>> >>
>> >> > ~[na:1.6.0_31]
>> >>
>> >> >
>> >>
>> >> > at
>> >>
>> >> >
>> >> > org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.jav
>> >> > a:1001
>> >>
>> >> > )
>> >>
>> >> > ~[camel-core-2.12.3.jar:2.12.3]
>> >>
>> >> >
>> >>
>> >> > ... 55 common frames omitted
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > Your help will be highly appreciated.
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > Rgrds,Rohit
>> >>
>> >> >
>> >>
>> >> >
>> >>
>> >> > ________________________________
>> >>
>> >> > This e-mail, along with any files transmitted with it, is
>> >> > confidential
>> >>
>> >> > or proprietary or legally privileged and for the sole use of the
>> >>
>> >> > intended recipient(s). If you happen to receive this e-mail and
>> >> > you
>> >>
>> >> > are not the intended recipient, please notify us immediately by
>> >> > reply
>> >>
>> >> > e-mail, and delete this e-mail message, including any file(s),
>> >> > from
>> >>
>> >> > your system. Any unauthorised review, use, disclosure or
>> >> > distribution
>> >>
>> >> > is prohibited and may be unlawful. Further, while we scan all
>> >> > emails
>> >>
>> >> > for known virus, we cannot guarantee that any email is virus-free.
>> >>
>> >> > Before opening any attachment please check them for viruses and
>> >>
>> >> > defects. Unless agreed otherwise, the Company (Nucleus Software
>> >>
>> >> > Exports Limited or its subsidiaries or Group Companies) shall
>> >> > not be
>> >>
>> >> > liable towards any unauthorized communication or its consequences.
>> >>
>> >>
>> >>
>> >> ________________________________
>> >>
>> >> This e-mail, along with any files transmitted with it, is
>> >> confidential or proprietary or legally privileged and for the sole
>> >> use of the intended recipient(s). If you happen to receive this
>> >> e-mail and you are not the intended recipient, please notify us
>> >> immediately by reply e-mail, and delete this e-mail message,
>> >> including any file(s), from your system. Any unauthorised review,
>> >> use, disclosure or distribution is prohibited and may be unlawful.
>> >> Further, while we scan all emails for known virus, we cannot
>> >> guarantee that any email is virus-free. Before opening any
>> >> attachment please check them for viruses and defects. Unless
>> >> agreed otherwise, the Company (Nucleus Software Exports Limited or
>> >> its subsidiaries or Group Companies) shall not be liable towards any 
>> >> unauthorized communication or its consequences.
>> >>
>> >>
>> >>
>> >>
>> >> ________________________________
>> >> This e-mail, along with any files transmitted with it, is
>> >> confidential or proprietary or legally privileged and for the sole
>> >> use of the intended recipient(s). If you happen to receive this
>> >> e-mail and you are not the intended recipient, please notify us
>> >> immediately by reply e-mail, and delete this e-mail message,
>> >> including any file(s), from your system. Any unauthorised review,
>> >> use, disclosure or distribution is prohibited and may be unlawful.
>> >> Further, while we scan all emails for known virus, we cannot
>> >> guarantee that any email is virus-free. Before opening any
>> >> attachment please check them for viruses and defects. Unless
>> >> agreed otherwise, the Company (Nucleus Software Exports Limited or
>> >> its subsidiaries or Group Companies) shall not be liable towards any 
>> >> unauthorized communication or its consequences.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected] For additional
>> commands, e-mail: [email protected]
>>

This e-mail, along with any files transmitted with it, is confidential or 
proprietary or legally privileged and for the sole use of the intended 
recipient(s). If you happen to receive this e-mail and you are not the intended 
recipient, please notify us immediately by reply e-mail, and delete this e-mail 
message, including any file(s), from your system. Any unauthorised review, use, 
disclosure or distribution is prohibited and may be unlawful. Further, while we 
scan all emails for known virus, we cannot guarantee that any email is 
virus-free.  Before opening any attachment please check them for viruses and 
defects.  Unless agreed otherwise, the Company (Nucleus Software Exports 
Limited or its subsidiaries or Group Companies) shall not be liable towards any 
unauthorized communication or its consequences.

Reply via email to