Hey Laci,
I'm not an expert on linux environment, however you might have system proxy
specified and JVM reuses it.

Cheers,
Lukasz

2014-09-15 9:35 GMT+02:00 Laci Gaspar <[email protected]>:

> Hi
> I have another strange error in one of my karaf installations.
>
> I'm calling a WebService (https) using cxf. In one karaf installation it
> works, it the other I get:
> Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy
> returns "HTTP/1.1 403 Forbidden"
>     at sun.net.www.protocol.http.HttpURLConnection.doTunneling(
> HttpURLConnection.java:1873)
>     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnec
> tion.connect(AbstractDelegateHttpsURLConnection.java:183)
>     at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(
> HttpURLConnection.java:1091)
>     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(
> HttpsURLConnectionImpl.java:250)
>     at org.apache.cxf.transport.http.URLConnectionHTTPConduit$
> URLConnectionWrappedOutputStream.setupWrappedStream(
> URLConnectionHTTPConduit.java:168)
>     at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.
> handleHeadersTrustCaching(HTTPConduit.java:1282)
>     at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.
> onFirstWrite(HTTPConduit.java:1238)
>     at org.apache.cxf.transport.http.URLConnectionHTTPConduit$
> URLConnectionWrappedOutputStream.onFirstWrite(
> URLConnectionHTTPConduit.java:195)
>     at org.apache.cxf.io.AbstractWrappedOutputStream.write(
> AbstractWrappedOutputStream.java:47)
>     at org.apache.cxf.io.AbstractThresholdOutputStream.write(
> AbstractThresholdOutputStream.java:69)
>     at org.apache.cxf.transport.http.HTTPConduit$
> WrappedOutputStream.close(HTTPConduit.java:1295)
>     ... 30 more
>
> What is strange about this, is that I don't actually use a proxy. There is
> no system property http(s)_proxy defined.
>
> Any idea what could cause this?
>
> Thanks!
> Laci
>
>

Reply via email to