Re: Unmarshalled Exception : ClassnotfoundException
Vinod Johnson - Sun Microsystems <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
G D wrote: > Hi I'm new to this list > > I am using the Sun Jini2.0 Service Browser. I am experiencing this exception > and would like to know if someone can help me understand how I can solve it > please. > > > I am using a starterService method of starting the service. I have included > the Server, Service, config files and console output. > > Jar files consist of the following classes : > Starter-dl.jar > RemoteIface.class > StarterServer.class > > Starter.jar > RemoteIface.class > Iface.class > > > While running the Server class which starts the service (Impl) and registers > the it with the Registrar and the following output results on the console > window : > > Service Browser Output (after running serviceStarter): > > cwd: C:\jini2_1\installverify\support > cmd: "C:\Program Files\Java\jdk1.5.0_03\jre\bin\java.exe" > -Djava.security.policy="C:\\jini2_1\\installverify\\support\\jsk-all.polic > y" -classpath > "C:\jini2_1\lib\start.jar;C:\jini2_1\installverify\support\lax.jar;" > com.zerog.lax.LAX "C:/jini2_1/installverify/suppo > rt/launch-all.lax" "C:/Documents and Settings/glenn/Local > Settings/Temp/laxB.tmp" > 15/05/2007 22:33:06 com.sun.jini.tool.ClassServer run > I should have said that I'm not quite sure if you are using the above command line to start your RemoteIface service in addition to the rest of the JSTK components or you are starting your service in a separate VM. A possibility is that you are putting something in your -classpath (lax.jar?) that contains RemoteIface - this could result in an incorrect (empty) codebase. -- - vinod -------------------------------------------------------------------------- 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]