Re: Master-slave and codebase integrity problem
Jack Ruminski <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Dear Bob, >> -Djava.protocol.handler.pkgs=net.jini.url >> Did you also set this in the client? YES. >>Can you provide the complete output of the second "(...)"? The full list of exception is: net.jini.core.entry.UnusableEntryException at com.sun.jini.outrigger.EntryRep.throwNewUnusableEntryException(EntryRep.java:900) at com.sun.jini.outrigger.EntryRep.entry(EntryRep.java:476) at com.sun.jini.outrigger.IteratorProxy.next(IteratorProxy.java:114) at org.cemte.ds.tools.jini.OutriggerAdminConsole.getEntries(OutriggerAdminConsole.java:141) at org.cemte.ds.tools.jini.OutriggerAdminConsole.main(OutriggerAdminConsole.java:72) Total unmarshalling failure, cause was: java.rmi.UnmarshalException: Encountered a ClassNotFoundException while unmarshalling org.cemte.TaskImpl; nested exception is: java.lang.ClassNotFoundException: org.cemte.TaskImpl at com.sun.jini.outrigger.EntryRep.throwNewUnusableEntryException(EntryRep.java:899) at com.sun.jini.outrigger.EntryRep.entry(EntryRep.java:476) at com.sun.jini.outrigger.IteratorProxy.next(IteratorProxy.java:114) at org.cemte.ds.tools.jini.OutriggerAdminConsole.getEntries(OutriggerAdminConsole.java:141) at org.cemte.ds.tools.jini.OutriggerAdminConsole.main(OutriggerAdminConsole.java:72) Caused by: java.lang.ClassNotFoundException: org.cemte.TaskImpl at java.net.URLClassLoader$1.run(Unknown Source)EXCEPTION: net.jini.core.entry.UnusableEntryException Encountered a ClassNotFoundException while unmarshalling org.cemte.TaskImpl; nested exception is: java.lang.ClassNotFoundException: org.cemte.TaskImpl at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at net.jini.loader.pref.PreferredClassLoader.loadClass(PreferredClassLoader.java:922) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.jini.loader.pref.PreferredClassProvider.loadClass(PreferredClassProvider.java:613) at java.rmi.server.RMIClassLoader.loadClass(Unknown Source) at net.jini.loader.ClassLoading.loadClass(ClassLoading.java:138) at com.sun.jini.outrigger.EntryRep.entry(EntryRep.java:399) ... 3 more The OutriggerAdminConsole is a modified old utility class used here as a simplified client (tests). The getEntries() method is build as: (...) javaSpaceAdmin.contents(null,null); List list=new ArrayList(); Map entryMap=new HashMap(); (...) Entry e=iter.next(); <- the Exception is thrown In my configuration I am using to kinds of clients: 1.) master - which has locally all the code 2.) clients - which need to download some code The master works OK (the httpmd work correctly, no exceptions at al - since the code is local). For any client (where there is a need for code downloading) the code is downloaded, it seems to be verified (see log file -FINE), but the exception is thrown. Jacek =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff JAVASPACES-USERS". For general help, send email to [email protected] and include in the body of the message "help". To view past JAVASPACES-USERS postings, please see: http://archives.java.sun.com/archives/javaspaces-users.html