Gert, Freeman
And finally it's working.Thanks a lot for the support.
But basic question how changing log level(from DEBUG to INFO) is related
to adding extra functionality
in camel component.
Thanks,
Sandeep.
Gert Vanthienen wrote:
>
> Sandeep,
>
> Could you try with a .convertBodyTo(DOMSource.class) instead of
> .streamCaching() ?
>
> Gert
>
> sandeep reddy wrote:
>> Hi Freeman,
>>
>> Thanks for the reply.I tried with Gert's suggestion and there is no
>> luck.It's the same error I am getting.
>>
>> Camel routing configure method:
>>
>> exception(java.lang.Throwable.class)
>> .setBody(constant("<response><status>"+
>> ErrorConstants.SYSTEM_ERROR
>> +"</status><message>System Error</message></response>"))
>>
>> .to("jbi:service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out");
>>
>> exception(java.net.SocketException.class)
>> .setBody(constant("<response><status>"+
>> ErrorConstants.SOCKET_ERROR
>> +"</status><message>Connection Error</message></response>"))
>>
>> .to("jbi:service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out");
>>
>>
>> from("jbi:service:http://servicemix.in2m.com/operations/changepassword/RoutingService")
>> .streamCaching() // added here
>> .choice()
>> .when(header("userPrincipals").contains("xxx"))
>> .to("jbi:service:http://servicemix.in2m.com/operations/changepassword/PortalService?mep=in-out")
>>
>> =============
>>
>> And after adding streamCaching if I deploy SA to hotdeploy
>> it shows WARN messages like:
>>
>> WARN - ProcessorType - Interceptor
>> StreamCachingInterceptor currently wraps target
>> setBody(<response><status>3000</status><message>System
>> Error</message></response>) is attempting to change target
>> sendTo(Endpoint[service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out])
>> new wrapping has been denied.
>> WARN - ProcessorType - Interceptor
>> StreamCachingInterceptor currently wraps target
>> setBody(<response><status>3000</status><message>System
>> Error</message></response>) is attempting to change target
>> setBody(<response><status>4000</status><message>Connection
>> Error</message></response>) new wrapping has been denied.
>> WARN - ProcessorType - Interceptor
>> StreamCachingInterceptor currently wraps target
>> setBody(<response><status>3000</status><message>System
>> Error</message></response>) is attempting to change target
>> sendTo(Endpoint[service:http://servicemix.in2m.com/operations/changepassword/ResponseGeneratorService?mep=in-out])
>> new wrapping has been denied.
>>
>> Thanks,
>> Sandeep.
>>
>>
>> Freeman Fang wrote:
>>
>>> Hi Sandeep,
>>>
>>> I think you can follow Gert's suggestion, use something like
>>> from("...").streamCaching() for your camel endpoint configuration.
>>>
>>> Freeman
>>>
>>> sandeep reddy wrote:
>>>
>>>> Hi Freeman,
>>>>
>>>> I gone through your comments(sm-1489), found that changes were
>>>> revert
>>>> back and user need to take care of source readable issue.Can you help
>>>> me
>>>> that, how can i handle or solve this issue?
>>>>
>>>> Thanks,
>>>> Sandeep.
>>>>
>>>>
>>>> Freeman Fang wrote:
>>>>
>>>>
>>>>> No, this fix can't catch up the servicemix 3.2.2 train. :-)
>>>>>
>>>>> Freeman
>>>>>
>>>>>
>>>>> Manuel EVENO wrote:
>>>>>
>>>>>
>>>>>> Just wait a few, 3.2.2 is being released :)
>>>>>> http://cwiki.apache.org/SM/discussion-forums.html#nabble-td18683244
>>>>>>
>>>>>> Manuel
>>>>>>
>>>>>> On Thu, Jul 31, 2008 at 2:42 PM, sandeep reddy
>>>>>> <[EMAIL PROTECTED]>wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi Freeman,
>>>>>>>
>>>>>>> Thanks a lot for putting efforts to fix.And I noticed that it has
>>>>>>> been
>>>>>>> fixed in 3.3 and 3.2.3 versions.
>>>>>>> But I am using servicemix 3.2.1 with camel 3.2.2-SNAPSHOT.So, how
>>>>>>> can
>>>>>>> i
>>>>>>> get those changes over
>>>>>>> camel 3.2.2-SNAPSHOT?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Sandeep.
>>>>>>>
>>>>>>>
>>>>>>> Freeman Fang wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hi Sandeep,
>>>>>>>>
>>>>>>>> After dig the code, I found that this isn't a LOG level problem.
>>>>>>>> The
>>>>>>>> root reason is that StreamSource can't be read multiple times.
>>>>>>>> Raise
>>>>>>>> issue[1] to track it and will be fixed up very soon
>>>>>>>>
>>>>>>>> [1]https://issues.apache.org/activemq/browse/SM-1489
>>>>>>>>
>>>>>>>> Freeman
>>>>>>>>
>>>>>>>> sandeep reddy wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi Freeman,
>>>>>>>>>
>>>>>>>>> Even for some of our another SA also getting exceptions due to
>>>>>>>>> having
>>>>>>>>> org.apache.servicemix as
>>>>>>>>> WARN or INFO level.
>>>>>>>>>
>>>>>>>>> So, how can I proceed further with not having DEBUG level for
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>> log4j.xml
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> file.
>>>>>>>>> Waiting for your response.....please help me......
>>>>>>>>>
>>>>>>>>> Sandeep.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Hi Sandeep,
>>>>>>>>>>
>>>>>>>>>> I just test your SA.
>>>>>>>>>> With LOG level INFO, I get the exception exactly as you describe
>>>>>>>>>>
>>>>>>>>>> I will investigate this issue.
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>> Freeman
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> sandeep reddy wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Hi Freeman,
>>>>>>>>>>>
>>>>>>>>>>> Thanks for the response.Since i can't upload total zip file,
>>>>>>>>>>> just
>>>>>>>>>>> deleted
>>>>>>>>>>> lib folder's from respective su's may be that's giving the
>>>>>>>>>>> problem.
>>>>>>>>>>>
>>>>>>>>>>> So, I am breaking into 2 parts.
>>>>>>>>>>> changepassword-sa-3.2.1 contains all su's except validate-su
>>>>>>>>>>> which
>>>>>>>>>>> is
>>>>>>>>>>> there
>>>>>>>>>>> is in changepassword-sa-3.2.1-sa-part2-zip.
>>>>>>>>>>>
>>>>>>>>>>> You need to take validate-su.zip file from changepassword-part2
>>>>>>>>>>> folder
>>>>>>>>>>> and
>>>>>>>>>>> paste in changepassword-sa-3.2.1.And deploy that zip file.
>>>>>>>>>>>
>>>>>>>>>>> http://www.nabble.com/file/p18706673/changepassword-sa-3.2.1.zip
>>>>>>>>>>> changepassword-sa-3.2.1.zip
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>> http://www.nabble.com/file/p18706673/changepassword-sa-3.2.1-part2.zip
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>> changepassword-sa-3.2.1-part2.zip
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Sandeep.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Hi Sandeep,
>>>>>>>>>>>> I can't deploy the sa you append here, get error
>>>>>>>>>>>> javax.jbi.management.DeploymentException: <?xml version="1.0"
>>>>>>>>>>>> encoding="UTF-8"?>
>>>>>>>>>>>> <jbi-task
>>>>>>>>>>>> xmlns="http://java.sun.com/xml/ns/jbi/management-message"
>>>>>>>>>>>> version="1.0">
>>>>>>>>>>>> <jbi-task-result>
>>>>>>>>>>>> <frmwk-task-result>
>>>>>>>>>>>> <frmwk-task-result-details>
>>>>>>>>>>>> <task-result-details>
>>>>>>>>>>>> <task-id>deploy</task-id>
>>>>>>>>>>>> <task-result>FAILED</task-result>
>>>>>>>>>>>> <message-type>ERROR</message-type>
>>>>>>>>>>>> <task-status-msg>
>>>>>>>>>>>> <msg-loc-info>
>>>>>>>>>>>> <loc-token/>
>>>>>>>>>>>> <loc-message>Unable to find jbi descriptor:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>> /local/apache-servicemix-3.2.2/hotdeploy/changepassword-sa-3.2.1.zip</loc-message>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>> </msg-loc-info>
>>>>>>>>>>>> </task-status-msg>
>>>>>>>>>>>> </task-result-details>
>>>>>>>>>>>> </frmwk-task-result-details>
>>>>>>>>>>>> </frmwk-task-result>
>>>>>>>>>>>> </jbi-task-result>
>>>>>>>>>>>> </jbi-task>
>>>>>>>>>>>>
>>>>>>>>>>>> at
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.framework.AutoDeploymentService.failure(AutoDeploymentService.java:387)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>> at
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.framework.AutoDeploymentService.failure(AutoDeploymentService.java:373)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>> at
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:237)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>> at
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>> at
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>> at
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>> at java.util.TimerThread.mainLoop(Timer.java:512)
>>>>>>>>>>>> at java.util.TimerThread.run(Timer.java:462)
>>>>>>>>>>>>
>>>>>>>>>>>> Seems the package isn't correct, it's the one you used ?
>>>>>>>>>>>>
>>>>>>>>>>>> Regards
>>>>>>>>>>>> Freeman
>>>>>>>>>>>>
>>>>>>>>>>>> sandeep reddy wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> You mean your sa can work with logger org.apache.servicemix"
>>>>>>>>>>>>>> at
>>>>>>>>>>>>>> DEBUG
>>>>>>>>>>>>>> level but not work at WARN level?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>> Yes and even at INFO level also.
>>>>>>>>>>>>>
>>>>>>>>>>>>> And here I am attaching SA which you can reproduce the problem
>>>>>>>>>>>>> with
>>>>>>>>>>>>> above
>>>>>>>>>>>>> level's in log4j.xml file.
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://www.nabble.com/file/p18705999/changepassword-sa-3.2.1.zip
>>>>>>>>>>>>> changepassword-sa-3.2.1.zip
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> Sandeep.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Freeman Fang wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> You mean your sa can work with logger org.apache.servicemix"
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>> DEBUG
>>>>>>>>>>>>>>> level but not work at WARN level?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Is it possible that you append your sa (simplify to reproduce
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> problem and don't include your business code) which would be
>>>>>>>>>>>>>> very
>>>>>>>>>>>>>> helpful for us to investigate this problem.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards
>>>>>>>>>>>>>> Freeman
>>>>>>>>>>>>>> sandeep reddy wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi servicemix-guys,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I am facing problem with log4j.xml settings.Deployed
>>>>>>>>>>>>>>> changepassword-sa.3.2.1.jar file in hotdeploy with this
>>>>>>>>>>>>>>> log4j.xml
>>>>>>>>>>>>>>> settings.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <logger name="org.apache">
>>>>>>>>>>>>>>> <level value="WARN"/>
>>>>>>>>>>>>>>> </logger>
>>>>>>>>>>>>>>> <logger name="org.apache.camel">
>>>>>>>>>>>>>>> <level value="WARN"/>
>>>>>>>>>>>>>>> </logger>
>>>>>>>>>>>>>>> <logger name="org.springframework">
>>>>>>>>>>>>>>> <level value="WARN"/>
>>>>>>>>>>>>>>> </logger>
>>>>>>>>>>>>>>> <logger name="org.jencks">
>>>>>>>>>>>>>>> <level value="WARN"/>
>>>>>>>>>>>>>>> </logger>
>>>>>>>>>>>>>>> <logger name="org.apache.activemq">
>>>>>>>>>>>>>>> <level value="WARN"/>
>>>>>>>>>>>>>>> </logger>
>>>>>>>>>>>>>>> <logger name="org.apache.activemq.transport.discovery">
>>>>>>>>>>>>>>> <level value="ERROR"/>
>>>>>>>>>>>>>>> </logger>
>>>>>>>>>>>>>>> <logger name="org.apache.servicemix">
>>>>>>>>>>>>>>> <!-- To enable debug logging, replace the INFO by
>>>>>>>>>>>>>>> DEBUG
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> -->
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> <level value="WARN"/>
>>>>>>>>>>>>>>> </logger>
>>>>>>>>>>>>>>> <logger name="org.apache.servicemix.jbi.config">
>>>>>>>>>>>>>>> <level value="WARN"/>
>>>>>>>>>>>>>>> </logger>
>>>>>>>>>>>>>>> <logger name="org.apache.servicemix.jbi.deployment">
>>>>>>>>>>>>>>> <level value="WARN"/>
>>>>>>>>>>>>>>> </logger>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> After hitting request it fails with below Errors.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ERROR - HttpComponent - Error processing
>>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>>> InOut[
>>>>>>>>>>>>>>> id: ID:127.0.0.2-11b6964777a-13:1
>>>>>>>>>>>>>>> status: Active
>>>>>>>>>>>>>>> role: provider
>>>>>>>>>>>>>>> service:
>>>>>>>>>>>>>>> {
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> http://servicemix.in2m.com/operations/changepassword}PortalService<http://servicemix.in2m.com/operations/changepassword%7DPortalService>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> endpoint: portalEndpoint
>>>>>>>>>>>>>>> in: Unable to display: java.io.IOException: Stream closed
>>>>>>>>>>>>>>> ]
>>>>>>>>>>>>>>> com.ctc.wstx.exc.WstxIOException: Stream closed
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:660)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:331)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.jaxp.StAXSourceTransformer.toXMLStreamReader(StAXSourceTransformer.java:86)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.soap.marshalers.SoapWriter.writeContents(SoapWriter.java:218)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:127)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:92)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.http.processors.ProviderProcessor.writeMessage(ProviderProcessor.java:326)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.http.processors.ProviderProcessor.process(ProviderProcessor.java:130)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at java.lang.Thread.run(Thread.java:595)
>>>>>>>>>>>>>>> Caused by: java.io.IOException: Stream closed
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>> java.io.BufferedInputStream.read(BufferedInputStream.java:304)
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>> sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>> java.io.InputStreamReader.read(InputStreamReader.java:167)
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> com.ctc.wstx.io.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:245)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:132)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> at
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>> com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>>>>>>> ... 19 more
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Since in production i can't have debug mode i need to have
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> above
>>>>>>>>>>>>>>> settings in log4j.xml file.
>>>>>>>>>>>>>>> Please help me.....
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>> Sandeep.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://www.nabble.com/Pls%3AUrgent%3A%21%21%21%21-Strange-behaviour-with-log4j.xml-tp18688010p18753724.html
>>>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
>
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
>
--
View this message in context:
http://www.nabble.com/Pls%3AUrgent%3A%21%21%21%21-Strange-behaviour-with-log4j.xml-tp18688010p18810582.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.