Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI Linux

 
pankaj patil
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
pankaj patil
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply. I have got the solution for the same.
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am running a linux server that is accessed through rmi on windows box. no problems.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18164
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No one said why, but I can guess. On many Linux machines, the default setup will firewall out ports 1098 and 1099.
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18164
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic