jQuery in Action, 3rd edition
The moose likes Distributed Java and the fly likes Problem with java-rmi.cgi Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Problem with java-rmi.cgi" Watch "Problem with java-rmi.cgi" New topic

Problem with java-rmi.cgi

GurraG Cajander

Joined: Nov 14, 2013
Posts: 1
Hi all!

I know this might not be the correct thread but i give it a try.

My problem is that i can't get my RMI http-to-cgi connection to get going.
My client is running behind a restricted firewall with only HTTP 80 open.
My server is not behind any firewall.

Everytime i'm trying to connect to my webserver it says this:

In my apache error log it says:

In my access log it says:

I've set my socket factory like this:

And my java-rmi.cgi script looks like this:

I can't figure out why i get HTTP 500 everytime...

Maybe my script?
My AUTH_TYPE and QUERY_STRING is always empty, but i do get remote host and port and server.

EDIT: I tried the script in my web browser and it works fine. Doing what it's supose to do. Anyone here that know anything about the java-rmi.cgi script?
Help please!
Anayonkar Shivalkar

Joined: Dec 08, 2010
Posts: 1541


Welcome to CodeRanch!

Its nice to see that you are using code tags in your first post itself!

As this question is more specific to RMI-CGI (and not 'Java in General'), I'm moving it to 'Distributed Java' forum.

You can CarefullyChooseOneForum.

Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Don't get me started about those stupid light bulbs.
subject: Problem with java-rmi.cgi
It's not a secret anymore!