Arf, too bad ...

On Thu, Jul 31, 2008 at 4:37 PM, Freeman Fang <[EMAIL PROTECTED]>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>
>>> <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.
>>>
>>>
>>>
>>>
>>
>>
>>
>
>

Reply via email to