wood burning stoves*
The moose likes Distributed Java and the fly likes RMI:between a client Windows and a Unix Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI:between a client Windows and a Unix Server" Watch "RMI:between a client Windows and a Unix Server" New topic
Author

RMI:between a client Windows and a Unix Server

abdel mtkl
Greenhorn

Joined: Jun 15, 2004
Posts: 4
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

Joined: Oct 18, 2000
Posts: 4121

What are the errors that are produced? Just saying "some errors" doesn't help solve the problem.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
abdel mtkl
Greenhorn

Joined: Jun 15, 2004
Posts: 4
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

Joined: Oct 18, 2000
Posts: 4121

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: RMI:between a client Windows and a Unix Server
 
Similar Threads
java.rmi.MarshalException
invoking a browser from application
Server can't find my servlets
a simple c/s system question
Can I use RMI for remote system calls?