wood burning stoves*
The moose likes Linux / UNIX and the fly likes RMI Linux 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 » Engineering » Linux / UNIX
Bookmark "RMI Linux" Watch "RMI Linux" New topic
Author

RMI Linux

pankaj patil
Ranch Hand

Joined: Dec 19, 2004
Posts: 98
hi

i have an rmi server running on the linux machine . when i try to execute any command(java code) from the windows machine to the linux system. the java code does not get execute and it does not give any error and i have JDK 5.0

i want to ask ,is this problem because of the linux system or the java jdk 5.0


Regards,
Pankaj Patil
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8713
    
    6

Are you printing out all your exceptions? If you are not, you are losing valuable debugging information. I would not expect a network operation to fail silently.
Are you using the same level of JVM on both machines? The same version of code? There can be serialization problems if you are not.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
pankaj patil
Ranch Hand

Joined: Dec 19, 2004
Posts: 98
Thanks for your reply. I have got the solution for the same.
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

i am running a linux server that is accessed through rmi on windows box. no problems.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15661
    
  15

No one said why, but I can guess. On many Linux machines, the default setup will firewall out ports 1098 and 1099.


Customer surveys are for companies who didn't pay proper attention to begin with.
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

Too true. Only port open on my linux box is the port I mapped ssh onto. Had to change from default port too because some idiot keeps banging my ssh port trying to break in when I dont even allow password authentication...
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15661
    
  15

Welcome to the club. The #1 attack for my systems seems to be DOS against FTP, but there's a dozen or so ports that get hammered all day long. Once long ago, I actually did have a server get pwned courtesy of an SSL breakin.

Downside of using nonstandard ports is that when I'm on the road, attempts to SSL in via an unusual port number a lot of public Internet service providers block me. Such is life.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI Linux
 
Similar Threads
Incorrect version shown by java -version command
software for RMI
J2EE RI Servers
About Java Virtual Machine
basic java