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
  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-tp18688010p18688010.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to