RMI over HTTP via CGI

I saw quite a few posts about people looking for the source code for the class RMIHttpToCGISocketFactory for varying different reasons. A favorite request is to change the path to the CGI script it requests which is by default: /cgi-bin/java-rmi.cgi.

Anyway, it’s available from the openjdk project. You have to sign up for a free java.net account, then you can check it out using subversion (I use tortoisesvn on windows) from here: https://openjdk.dev.java.net/svn/openjdk/jdk/trunk/j2se/src/share/classes/sun/rmi/transport/proxy

Hope this helps someone.

Update: More to come on this. It wasn’t quite over after the last post.

Leave a Reply