Any way to see the codebase of an object?
Alex Co <[email protected]> Fri, 26 Jun 2009 07:57:02 -0600
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hi Is there any way to print or see the codebase of an object that is about = to be=20 serialized to a socket? This is because I have a client server and server sends an object through= t the=20 socket to client and if the .class of that object does not exists on clie= nt side=20 the client throws an exception of java.lang.ClassNotFoundException. I have the jini web server running and the www dir has the .class. If i t= ry to=20 access the .class through web browser there is no problem. The browser as= ks=20 to save the file. It seems that the object do not carries a valid codebase?! Thanks Alex PS: Both client and server are running on the same machine for now. When=20= running client and server i pass the following: -Djava.rmi.server.codebase=3Dhttp://127.0.0.1:8080/ -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]