aspose file tools*
The moose likes Tomcat and the fly likes Tomcat application connection problem with RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat application connection problem with RMI" Watch "Tomcat application connection problem with RMI" New topic
Author

Tomcat application connection problem with RMI

Venkatesh Rajendran
Ranch Hand

Joined: May 17, 2001
Posts: 59
Hi,

I have an application in Tomcat server, from which I am accesing a RMI server, which serves me some data, if I access through RMI default port it returns me the requested data, but if I access through some other port like 2005, it does not. Any one come across such situation, i request you to pass me some information on this.

Thanks in advance.

Regards,

Venkat
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
How are you setting up the RMI server to use that port?
Bill
Venkatesh Rajendran
Ranch Hand

Joined: May 17, 2001
Posts: 59
Hi,

Thanks for your response. I am binding the object using following command,

Naming.bind("//12.22.123.232:2005/ServerObj", servObj);

Similarly I am looking up for the same port from client side like,

Naming.lookup("//12.22.123.232:2005/ServerObj");

I am also starting RMI registry to look for the same port only like,

LocateRegistry.createRegistry(2005);

Thanks in advance.

Venkat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat application connection problem with RMI
 
Similar Threads
Apache Intergrate with Tomcat
Tomcat application connection problem with RMI
what is SOAP?
Apache intergrate with Tomcat
Firewall tunneling