Re: Getting Unmarshalling Errors

CORMIER Mario <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <6353CA579307224BAFDE9495906E691628DBD5@ca-ops-mail>
If the codebase is a directory, shouldn't end with a '/' character, i.e.
http://<server>:8081/classes/ ?

Mario

-----Original Message-----
From: rbrown3 [mailto:[email protected]] 
Sent: Tuesday, October 23, 2007 15:16
To: [email protected]
Subject: Re: Getting Unmarshalling Errors

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#a13371
707
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]

--------------------------------------------------------------------------
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.