File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI:between a client Windows and a Unix Server