LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2005, 01:55 AM   #1
fred2210
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
[RMI JOnAS] RMI or IPTABLES Configuration


Hello,

I'm installing JOnAS on a Debian Server, but I can't start it.

I've got this following Exception :

java.rmi.ConnectIOException: Exception creating connection to: 195.x.x.x; nested exception is:
java.net.NoRouteToHostException: No route to host

195.x.x.x is the public address of the server.

I only use RMI with localhost, can I configure 127.0.0.1 instead of 195.x.x.x ? Where ?
Or is there a IPTABLES configuration to allow RMI ?

I can telnet the port 1099 on 195.x.x.x

Does somebody help me ?
Thanks,

Fred.
 
Old 04-13-2005, 10:59 AM   #2
ahwkong
Member
 
Registered: Aug 2004
Location: Australia
Distribution: Fedora
Posts: 282

Rep: Reputation: 30
Well, it could well be a firewall issue.

Try "iptables -L -n" to see if port 1099 is opened (the common rmi port, but may differ in your installation)
 
Old 04-14-2005, 01:24 AM   #3
fred2210
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thank a lot for your answer,

I found the solution, the problem was a bad hosts configuration.
The installer of the server had put a wrong IP pour the host name.. (240 instead of 244 at the end..)
I now understand why this couldn't work.

Fred.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RMI Connection fail sumeetmaithil Linux - Software 0 09-21-2005 02:46 AM
RMI on Linux sumeetmaithil Linux - Software 0 09-20-2005 07:31 AM
Java RMI ClassCastException sherryanee Programming 2 10-19-2004 06:25 PM
jmx rmi connection csfalcon Programming 2 06-24-2004 10:40 AM
About Java RMI poeta_boy Programming 4 01-27-2004 03:18 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration