RE: [xep-support] Java.Net.ConnectionException Connection refused for images

From: Durante, Elsa <elsa.durante@hp.com>
Date: Wed Jun 13 2007 - 09:10:55 PDT

Hi Earl,

Sorry for the delayed response, I was out for a while.

Thank you for your help! This was exactly the problem! For some reason,
one of our domains requires the additional proxy settings while the
others didn't. This explained why one system was working and one wasn't.
When I plugged the working system into this domain, it started giving
the same connection refused messages. By adding a
CliserService.exe.config file to the C:\Program Files\RenderX\XEPWin
directory with the proxy settings, it started working.

Contents of CliserService.exe.config:

<?xml version="1.0"?>
<configuration>
        <appSettings>
                <add key="CliserService.JavaOptions"
                value="-Dhttp.proxySet=true
                -Dhttp.proxyHost=ourproxyserver.here.hp.com
                -Dhttp.proxyPort=8080" />
        </appSettings>
</configuration>

I did not know where to add the Java settings since I am calling XEP
through the .NET wrapper class XEP.dll, but this seemed to do the trick.

Many thanks to everyone for your help!!

-Elsa Durante
 

-----Original Message-----
From: owner-xep-support@renderx.com
[mailto:owner-xep-support@renderx.com] On Behalf Of Hood, Earl
Sent: Tuesday, June 12, 2007 2:24 PM
To: xep-support@renderx.com
Subject: RE: [xep-support] Java.Net.ConnectionException Connection
refused for images

> Bummer, I guess the DITA-OT is bridging the gap for me. We have also
> used Saxon 6.5.5 and JRE 1.4 with DITA-OT 1.3.1 successfully.
> Good luck
> in finding the right combination. ~Dee

IIRC, there are system properties that control the behavior of the
default Http handler in Java (Sun's JVM).

If XEP is using the default handler to resolve URLs, then you will need
to set the proper system property so connections will go thru your
proxy.

The properties in question are:

        http.proxyHost
        http.proxyPort
        http.nonProxyHosts

You can use the -D options to java for setting system properties:

        java -Dhttp.proxyHost=proxy.example.com ...

--ewh

-------------------
(*) 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/terms-of-service.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/terms-of-service.html
Received on Wed Jun 13 09:46:27 2007

This archive was generated by hypermail 2.1.8 : Wed Jun 13 2007 - 09:46:28 PDT