Re: [xep-support] Connection timed out?

From: Alexander Peshkov <peshkov@renderx.com>
Date: Wed Oct 27 2004 - 01:12:59 PDT

Hello Konrad,

You are right, this error usually means that supplied document has
some references to the remote DTDs, images etc. There is no special
'extended diagnostic' for this error, but I don't think it's really
necessary in your case. You just have to setup XML catalogs properly
in order to avoid such problems. For example, in order to make URI
resolver use local copy of SVG DTD instead of remote one you will need
to add appropriate records in your XML catalog file. It may look like
this:

   <!-- SVG DTDs -->
   <public publicId="-//W3C//DTD SVG 1.1//EN" uri="file:/C:/Tools/SVG/svg11-flat.dtd"/>
   <public publicId="-//W3C//DTD SVG 1.1 Basic//EN" uri="file:/C:/Tools/SVG/svg11-basic-flat.dtd"/>
   <public publicId="-//W3C//DTD SVG 1.1 Tiny//EN" uri="file:/C:/Tools/SVG/svg11-tiny-flat.dtd"/>
   <!-- Map old DTD declaration into new one -->
   <public publicId="-//W3C//DTD SVG 1.0//EN" uri="file:/C:/Tools/SVG/svg11-flat.dtd"/>

For more information about XML catalogs usage in XEP please refer to
section "Resolution of External Entities and URIs" of "XEP 4.0
Reference for Java": http://www.renderx.net/Content/support/xep/reference.html#URI_Resolution
(those options are the same for XEP 3.8)

Hope this helps.

Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX

KR> Hi,
KR> I'm having a problem with PDF generation after deploying an
KR> application into a DMZ. It works fine in development while it has
KR> internet access, in the DMZ I get this error though:

KR> (sequence [master-reference body]
KR> (static-content [flow-name xsl-region-before-first])
KR> (static-content [flow-name xsl-region-before-odd])
KR> (static-content [flow-name xsl-region-before-even])
KR> (static-content [flow-name xsl-region-before-blank])
KR> (static-content [flow-name xsl-footnote-separator])
KR> (static-content [flow-name blank-body])
KR> (static-content [flow-name xsl-region-after-first])
KR> (static-content [flow-name xsl-region-after-odd])
KR> (static-content [flow-name xsl-region-after-even])
KR> (static-content [flow-name xsl-region-after-blank])
KR> (flow [flow-name xsl-region-body]
KR> [error] java.net.ConnectException: Connection timed out
KR> ))

KR> What are the reasons XEP would have for throwing this exception? We're
KR> not referencing any outside resources directly so my only guess is
KR> that it's trying to download a DTD or something else referenced by an
KR> embedded SVG. Is there a way to get more detailed debugging output for
KR> this?

KR> Thanks,
KR> Konrad
KR> -------------------
KR> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
KR> in the body of the message to majordomo@renderx.com from the address
KR> you are subscribed from.
KR> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Wed Oct 27 01:55:48 2004

This archive was generated by hypermail 2.1.8 : Wed Oct 27 2004 - 01:55:48 PDT