-
Bug
-
Resolution: Fixed
-
P2
-
1.0, 1.4.2_06, 5.0
-
b01
-
generic, unknown, sparc
-
generic, solaris_8
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2120687 | 5.0 | Jean-Christophe Collet | P2 | Closed | Fixed | b46 |
The new feature of creating ServerSockets and Sockets by specifying the proxy server does not work with the sun one proxy server. When trying to bind to a local port or during Socket.connect(), a SocketException is thrown. The feature works when tried against a reference socks5 proxy server downloaded from www.socks.nec.com.
STEPS TO REPRODUCE THE PROBLEM:
1. Copy the attached files into the same directory.
2. Compile the java file using source 1.5
3. Setup a sun one proxy server (version 3.6) on a machine. Currently, the server has been setup on xanadu.india.sun.com. Give full permissions to the socks proxy server (see attached socks5.conf file)
4. Edit the proxy.properties and replace xanadu.india.sun.com with the name of the proxy server. Currently the server on xanadu is running but may be brought down in the future.
5. Run the code. The code fails with an exception. The stack trace is present in the attached file output.txt.
CURRENT BEHAVIOUR:
Code throws an exception during ServerSocket.bind() and Socket.connect() calls
EXPECTED BEHAVIOUR:
The client and server communication takes place successfully and the tests pass.
STEPS TO REPRODUCE THE PROBLEM:
1. Copy the attached files into the same directory.
2. Compile the java file using source 1.5
3. Setup a sun one proxy server (version 3.6) on a machine. Currently, the server has been setup on xanadu.india.sun.com. Give full permissions to the socks proxy server (see attached socks5.conf file)
4. Edit the proxy.properties and replace xanadu.india.sun.com with the name of the proxy server. Currently the server on xanadu is running but may be brought down in the future.
5. Run the code. The code fails with an exception. The stack trace is present in the attached file output.txt.
CURRENT BEHAVIOUR:
Code throws an exception during ServerSocket.bind() and Socket.connect() calls
EXPECTED BEHAVIOUR:
The client and server communication takes place successfully and the tests pass.
- backported by
-
JDK-2120687 ServerSocket(Proxy) and Socket(Proxy) do not work with sun one proxy server
- Closed
- duplicates
-
JDK-5103050 NNTPClient client.connect break at jdk 1.4.2
- Closed
-
JDK-5025217 J2SE 1.4.x fails to communicate through a SOCKS v5 server
- Closed