LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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, 09: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, 12: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



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 01:46 AM
RMI on Linux sumeetmaithil Linux - Software 0 09-20-2005 06:31 AM
Java RMI ClassCastException sherryanee Programming 2 10-19-2004 05:25 PM
jmx rmi connection csfalcon Programming 2 06-24-2004 09:40 AM
About Java RMI poeta_boy Programming 4 01-27-2004 02:18 PM

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

All times are GMT -5. The time now is 11:47 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
Open Source Consulting | Domain Registration