Re: Getting Unmarshalling Errors
rbrown3 <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
When you mention the codebase, I presume you are referring to the codebase used by the service? If so, the codebase is http://<server>:8081/classes, where <server> is the name of the host that the *registrar* is running on (note: in this case, the service and registrar are on the same machine). Naturally, the server name is *not* "localhost". As for how the service is running, this would be, from a command line: java -Djava.security.policy=jsk-all.policy -Djava.rmi.server.codebase=http://<server>:8081/classes -classpath myclasses/emplib.jar srvcs.jini.test.EmployeeService Note that emplib.jar contains the EmployeeService class, the RemoteEmployee interface, and everything else required for the service. -- View this message in context: http://www.nabble.com/Getting-Unmarshalling-Errors-tf4674281.html#a13371707 Sent from the Sun - Jini-Users mailing list archive at Nabble.com. -------------------------------------------------------------------------- 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]