Here is attached the servicemix.log file.
And yes, I am working offline as I have not set any proxy information in my config.
Thanks for any help
Dominique

Guillaume Nodet a écrit :
Btw, could you paste the full exception stack trace.
I'm not so sure the problem comes from validation,
but maybe the parser has to download the DTD in case
there are some entities replacements ...

On 3/6/07, Guillaume Nodet <[EMAIL PROTECTED]> wrote:

I guess you ran offline so that the connection to java.sun.com failed,
right ?
I guess the problem comes from woodstox, the xml pull parser used inside
ServiceMix.  I'm quite sure there is a way to disable DTD validation by
default,
we just need to find how.
   http://woodstox.codehaus.org/

If you find something, please report, and in any cases, if you can raise a
JIRA
issue ...

On 3/6/07, Dominique DE VITO <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have defined the following pipeline using SMX 3.1 :
>
> inbox file polling=>JMS (queue writer) // JMS (queue reader) => outbox
> file writing
>
> If I put a file in the 'inbox' with such DTD declaration:
>
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> Things do wrong during the 2nd step of the above pipeline.
>
> I have got "java.net.UnknownHostException: java.sun.com" :
>
> DEBUG - SedaQueue                      -
> org.apache.servicemix.jbi.nmr.flow.seda
> [EMAIL PROTECTED] dequeued exchange: InOnly[
>   id: ID:p-105825-1543-1173188163879-4:0
>   status: Active
>   role: provider
>   service: myJmsSender
>   endpoint: jmsendpoint
>   in: Unable to display: java.net.UnknownHostException: java.sun.com
> ]
> DEBUG - JmsComponent                   - Received exchange: status:
> Active, role
> : provider
> DEBUG - JmsComponent - Retrieved correlation id: null
> ERROR - JmsComponent                   - Error processing exchange
> InOnly[
>   id: ID:p-105825-1543-1173188163879-4:0
>   status: Active
>   role: provider
>   service: myJmsSender
>   endpoint: jmsendpoint
>   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:536)
>     at
> com.ctc.wstx.stax.WstxInputFactory.createSR (WstxInputFactory.java:589)
>     at
> com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:645)
>     at
> com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(
> WstxInputFactory.java:319)
>
> Without such DTD declaration, everything goes OK.
>
> I didn't know SMX was doing such DTD validation.
>
> As I have not found any information about such validation on the SMX web
> site.
>
> Does someone have any detail ? How to stop it ? to configure it ?
>
> Thanks for any help.
>
> Best regards,
> Dominique
>
>


--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze ( http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/





DEBUG - FilePoller                     - Polling directory inbox
DEBUG - FilePoller                     - Polling directory inbox
DEBUG - SedaQueue                      - [EMAIL PROTECTED] dequeued exchange: 
InOnly[
  id: ID:p-105825-2303-1173193885343-4:0
  status: Active
  role: provider
  service: myJmsSender
  endpoint: jmsendpoint
  in: Unable to display: java.net.UnknownHostException: java.sun.com
]
DEBUG - JmsComponent                   - Received exchange: status: Active, 
role: provider
DEBUG - JmsComponent                   - Retrieved correlation id: null
ERROR - JmsComponent                   - Error processing exchange InOnly[
  id: ID:p-105825-2303-1173193885343-4:0
  status: Active
  role: provider
  service: myJmsSender
  endpoint: jmsendpoint
  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:536)
        at 
com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:589)
        at 
com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:645)
        at 
com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:319)
        at 
org.apache.servicemix.jbi.jaxp.StAXSourceTransformer.toXMLStreamReader(StAXSourceTransformer.java:79)
        at 
org.apache.servicemix.soap.marshalers.SoapWriter.writeContents(SoapWriter.java:197)
        at 
org.apache.servicemix.soap.marshalers.SoapWriter.writeSimpleMessage(SoapWriter.java:113)
        at 
org.apache.servicemix.soap.marshalers.SoapWriter.write(SoapWriter.java:82)
        at 
org.apache.servicemix.jms.AbstractJmsProcessor.fromNMS(AbstractJmsProcessor.java:149)
        at 
org.apache.servicemix.jms.AbstractJmsProcessor.fromNMS(AbstractJmsProcessor.java:143)
        at 
org.apache.servicemix.jms.multiplexing.MultiplexingProviderProcessor.process(MultiplexingProviderProcessor.java:152)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:441)
        at 
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at 
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:593)
        at 
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
        at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
        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:531)
        ... 20 more
DEBUG - DeliveryChannelImpl            - Send 
ID:p-105825-2303-1173193885343-4:0 in DeliveryChannel{outputSender}
DEBUG - SedaFlow                       - Called Flow send
DEBUG - SedaQueue                      - [EMAIL PROTECTED] dequeued exchange: 
InOnly[
  id: ID:p-105825-2303-1173193885343-4:0
  status: Error
  role: consumer
  service: myJmsSender
  endpoint: jmsendpoint
  in: Unable to display: java.io.IOException: Stream closed
  error: com.ctc.wstx.exc.WstxIOException: Stream closed
]
DEBUG - DeliveryChannelImpl            - Notifying exchange 
ID:p-105825-2303-1173193885343-4:0(9f662e) in DeliveryChannel{filePoller} from 
processInboundSynchronousExchange
DEBUG - DeliveryChannelImpl            - Notified: 
ID:p-105825-2303-1173193885343-4:0(9f662e) in DeliveryChannel{filePoller} from 
sendSync
DEBUG - FilePoller                     - Polling directory inbox
DEBUG - FilePoller                     - Polling directory inbox
DEBUG - FilePoller                     - Polling directory inbox
DEBUG - FilePoller                     - Polling directory inbox
DEBUG - FilePoller                     - Polling directory inbox
DEBUG - FilePoller                     - Polling directory inbox
DEBUG - FilePoller                     - Polling directory inbox

Reply via email to