axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tore Halset <hal...@pvv.ntnu.no>
Subject proxy & java.net.useSystemProxies
Date Wed, 09 Nov 2005 12:41:32 GMT
Hello!

I am using the java.net.useSystemProxies property to let my java  
client app use proxy settings from the operating system. The property  
is one of the nice new features in java 5 :)

http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html

This is working perfect for some of the non-axis networking code in  
my app, but not for axis. The message are complaining about SOCKS. I  
do not know anything about SOCKS..

I get this problem on windows. On Mac OS X 10.4.3 everything is  
working ok. I am using axis-1.2.

  - Tore.


******
09.nov.2005 13:34:43 mycode.Myclass myMethode
SEVERE:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/} 
Server.userException
faultSubcode:
faultString: java.net.SocketException: Malformed reply from SOCKS server
faultActor:
faultNode:
faultDetail:
         {http://xml.apache.org/axis/} 
stackTrace:java.net.SocketException: Malfor
med reply from SOCKS server
         at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown  
Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.axis.components.net.DefaultSocketFactory.create 
(DefaultSoc
ketFactory.java:153)
         at org.apache.axis.components.net.DefaultSocketFactory.create 
(DefaultSoc
ketFactory.java:120)
         at org.apache.axis.transport.http.HTTPSender.getSocket 
(HTTPSender.java:1
83)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket 
(HTTPSender.ja
va:390)
         at org.apache.axis.transport.http.HTTPSender.invoke 
(HTTPSender.java:137)
*****

Mime
View raw message