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

Reply via email to