File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons 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
Author

Problem with java-rmi.cgi

GurraG Cajander
Greenhorn

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
Bartender

Joined: Dec 08, 2010
Posts: 1502
    
    5

Hi,

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.


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
 
Don't get me started about those stupid light bulbs.
 
subject: Problem with java-rmi.cgi
 
Similar Threads
no tomcat CGI redirect() ??
CGI client cannot contact web
How far can you take HttpURLConnection
J2EE Client Application - Part II
Apache problems