Java 1.1 Proxy Server Install and Usage

These are general instructions for installing the Java 1.1 Proxy Server jar file and using it. This file also is in the jar file. First, unjar the exe file (yes, the file has an 'exe' extension but is actually a 'jar' file so a browser will ask you if you want to download the file instead of trying to execute it). This can be done using 'jar', which comes with Sun's Java 1.1.x or 2.x JDK, which can downloaded from the Javasoft web site. Using 'jar', the command line command to use would be 'jar -xvf proxy.exe', where 'filename' is the name of the file to unjar.

Included are this readme file, a sample script that can be used to run the proxy server on Windows, and a 'ready-to-use' jar file which contains all of the required class files.

Sun's Java runtime virtual machine (VM), version 1.1.8, is the best choice to run the proxy server; however, a later version should also work fine. Either one can be downloaded from the Sun web site or the Javasoft web site. Using Sun's runtime VM, it is invoked by entering 'proxy' on the command line in the directory containing proxy.jar. It takes two command line arguments, -dN and -pP, where -d is a debugging level and N is 0, 1, 2, or 3, and -p is the port number and P is the number. For the -d flag, 0 = no debugging, 1 = connection initiations and terminations only are logged, 2 = all logging from option 1 plus request and response headers, and 3 = all logging from options 1 and 2 plus the content in the web pages that are requested; the default is 0. For the -p flag, the value must be greater than 1024 and defaults to 8000. All logging is done to the command window and to a log file called proxyserver.log, which is in the same directory as proxy.jar.

After starting the Proxy Server, for instance, 'proxy -p7000', on a machine called 'Joe', all you have to do is tell web browsers on other machines on the network that they are using a proxy server at port 7000 on machine Joe.

I know these instructions seem vague if you are not an experienced Java user, but the process is really much easier than it seems, especially compared to trying to get Internet Connection Sharing to work; and this program is not limited to Windows machines and clients. I am sure that I can easily answer any questions you may have via the e-mail address listed below.

If you have any questions, please direct them to

software@lpsci.com

Back to the server download page.