Solved

openjms behind a gnatbox firewall

Posted on 2004-09-08
8
230 Views
Last Modified: 2010-03-31
I can not figure out what ports to open up to allow openjms to communicate using the RMI protocol through a gnatbox ... Any body?
0
Comment
Question by:akruger
  • 4
  • 2
8 Comments
 
LVL 35

Expert Comment

by:girionis
ID: 12005100
The defautl port is 3030 (from: http://openjms.sourceforge.net/config/reference.html)
0
 
LVL 35

Expert Comment

by:girionis
ID: 12005102
If you also ned to open an RMI port, it defaults to 1099.
0
 

Author Comment

by:akruger
ID: 12009780
Right ... I have opened up port 1099 tcp through the firewall because I am using RMI ...
Inside the firewall it works like a charm .... so openjms is set up correctly

I open up a NAT to the host running openjms and then open up a filter to the host using TCP.

When I watch the logs it looks like a connection is made ... but no data ever flows ... so do I have to open up UDP/ICMP or something else to get RMI to work?

0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 35

Expert Comment

by:girionis
ID: 12010793
>  so do I have to open up UDP/ICMP or something else to get RMI to work?

You shouldn't, opening up port 1099 should be enough. Have you checked if RMI is using the default port, you might have configured it to use some other port.
0
 

Author Comment

by:akruger
ID: 12013013
I have kept digging and RMI uses a random port ... not nice in a firewall.  Will have to use TCP ...
0
 
LVL 35

Accepted Solution

by:
girionis earned 250 total points
ID: 12014007
This shouldn't happen. How do you start the rmiregistry. You can assign a port while you start it:

rmiregistry 1099
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
servlet requestdispatcher include and forward differences 1 39
jsp insert to database example 2 43
going to wrong jsp page 2 33
Crystal Reports Licensing Questions 4 34
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question