Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI:between a client Windows and a Unix Server

 
abdel mtkl
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a sample program RMI using a Unix server and a Windows client .
when I launch this example on two system Windows that goes well .

but when i launch this same exemple on Client Windows and Server Unix it gives somes errors
is it relates to architectures of System or to ASCII coding?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the errors that are produced? Just saying "some errors" doesn't help solve the problem.
 
abdel mtkl
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whene I lunch the client I have this error:
" Illegal constante pool types "
I don't know if I wold be root to lunch rmiregistry or not?
because I m not root in Unix.
Think you!!!
[ June 18, 2004: Message edited by: abdel mtkl ]
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never seen an "Illegal Constant Pool Type" error myself, but by doing some googleing, it looks like this error only happens when a class file gets corrupted. If you have a dynamic codebase (where classes are downloaded from server when client needs them) this could happen when the client requests the class and it gets garbled in transmission, or the files could have just been messed up when they were copied.

As far as being root to launch "rmiregistry"... that depends on how the permissions on your Unix/Linux box is set up, it could be either way.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic