Re: ClassNotFoundException: com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
Dan Creswell <[email protected]> Fri, 5 Dec 2008 11:28:01 +0000
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Hello, Michael McConnell wrote: > Environment - > Jini 2.1 > Java 1.6.0_03 > Eclipse 3.4 > WinXP SP2 > > > I am attempting to run the Compute Farm appication using the example > "SquaresJob" > > It runs fine if I just use the in-memory SimpleJobRunner, but when I > actually attempt to use JavaSpaces it complains that it cannot load: > > *java.rmi.ServerException: RemoteException in server thread; nested > exception is: > java.rmi.UnmarshalException: unmarshalling method/arguments; nested > exception is: > java.lang.ClassNotFoundException: > com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy > at > net.jini.jeri.BasicInvocationDispatcher.dispatch(BasicInvocationDispatcher.java:644) > * Is this the full stack trace? Which process is issuing this exception? Is it the JavaSpace? > Which is completely bizarre because just previous to this the log output > (line 35) stated that it was returning > *com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy*. > * If I had to guess at this stage I would say that some process is attempting to download the code for the proxy and can't. Which points to a codebase access problem which could be firewall, messed up codebase URL, or messed up networking or a configuration problem. > 1 2008-11-13 11:34:46.324 DEBUG [main] JavaSpacesJobRunnerFactory > 23 - enter > 2 2008-11-13 11:34:46.715 DEBUG [main] JavaSpacesJobRunnerFactory > 31 - exit > 3 2008-11-13 11:34:46.715 DEBUG [main] AbstractJobRunner 101 > - run() entered > 4 2008-11-13 11:34:46.918 DEBUG [event listener notification] > JavaSpacesJobRunner$Listener 53 - enter JavaSpacesJobRunner.discovered > 5 2008-11-13 11:34:46.918 DEBUG [event listener notification] > ServiceFinder 28 - entered findService, registrar: > ConstrainableRegistrarProxy, serviceclass: JavaSpace > 6 2008-11-13 11:34:46.996 DEBUG [event listener notification] > ServiceFinder 34 - returning object: ConstrainableSpaceProxy2 > 7 2008-11-13 11:34:46.996 DEBUG [event listener notification] > ServiceFinder 43 - exit findService > 8 2008-11-13 11:34:46.996 DEBUG [event listener notification] > JavaSpacesJobRunner$Listener 89 - foundService entered > 9 2008-11-13 11:34:46.996 INFO [event listener notification] > JavaSpacesJobRunner$Listener 94 - Found a JavaSpace > 10 2008-11-13 11:34:46.996 DEBUG [event listener notification] > JavaSpacesJobRunner$Listener 118 - foundService exit > 11 2008-11-13 11:34:46.996 DEBUG [event listener notification] > ServiceFinder 28 - entered findService, registrar: > ConstrainableRegistrarProxy, serviceclass: TransactionManager > 12 2008-11-13 11:34:47.012 DEBUG [event listener notification] > ServiceFinder 34 - returning object: ConstrainableTxnMgrProxy > 13 2008-11-13 11:34:47.028 DEBUG [event listener notification] > ServiceFinder 43 - exit findService > 14 2008-11-13 11:34:47.028 DEBUG [event listener notification] > JavaSpacesJobRunner$Listener 89 - foundService entered > 15 2008-11-13 11:34:47.028 INFO [event listener notification] > JavaSpacesJobRunner$Listener 98 - Found a TransactionManager > 16 2008-11-13 11:34:47.028 DEBUG [event listener notification] > JavaSpaceComputeSpace 49 - >>>>>>>>>>>>>>>Creating > JavaSpaceComputeSpace!!!!<<<<<<<< > 17 2008-11-13 11:34:47.028 DEBUG [event listener notification] > JavaSpaceComputeSpace 56 - >>>>>>>>>>>>>>>Creating > JavaSpaceComputeSpace(jspace, tMgr)<<<<<<<<<<<<<<<<< > 18 2008-11-13 11:34:47.028 DEBUG [event listener notification] > JavaSpaceComputeSpace 232 - setting jspace > 19 2008-11-13 11:34:47.028 DEBUG [event listener notification] > JavaSpaceComputeSpace 256 - setting transactionManager > 20 2008-11-13 11:34:47.028 DEBUG [event listener notification] > JavaSpaceComputeSpace 61 - JavaSpaceComputeSpace(jspace, tMgr)exit > 21 2008-11-13 11:34:47.028 DEBUG [event listener notification] > JavaSpacesJobRunner$Listener 131 - entered sendReloadClassesSignal > 22 2008-11-13 11:34:47.137 DEBUG [event listener notification] > JavaSpacesJobRunner$Listener 165 - exit sendReloadClassesSignal > 23 2008-11-13 11:34:47.137 INFO [event listener notification] > AbstractJobRunner$GenerateThread 45 - GenerateThread instance created! > 24 2008-11-13 11:34:47.137 INFO [event listener notification] > AbstractJobRunner 163 - setGenerateThread invoked! > 25 2008-11-13 11:34:47.137 INFO [event listener notification] > AbstractJobRunner$GenerateThread 49 - Starting generateThread! > 26 2008-11-13 11:34:47.137 DEBUG [Thread-1] > AbstractJobRunner$GenerateThread 55 - > AbstractJobRunner$GenerateThread.run enter > 27 2008-11-13 11:34:47.153 INFO [event listener notification] > AbstractJobRunner$CollectThread 18 - CollectThread instance created > 28 2008-11-13 11:34:47.153 INFO [event listener notification] > AbstractJobRunner 141 - setCollectThread invoked! > 29 2008-11-13 11:34:47.153 INFO [event listener notification] > AbstractJobRunner$CollectThread 22 - Starting collectThread! > 30 2008-11-13 11:34:47.153 DEBUG [event listener notification] > JavaSpacesJobRunner$Listener 118 - foundService exit > 31 2008-11-13 11:34:47.153 DEBUG [event listener notification] > JavaSpacesJobRunner$Listener 82 - exit - discovered > 32 2008-11-13 11:34:47.153 DEBUG [Thread-2] > AbstractJobRunner$CollectThread 29 - > AbstractJobRunner$CollectThread.run entered > 33 2008-11-13 11:34:47.153 DEBUG [Thread-2] JavaSpaceComputeSpace > 131 - enter > 34 2008-11-13 11:34:47.153 DEBUG [Thread-1] JavaSpaceComputeSpace > 68 - enter > 35 2008-11-13 11:34:47.153 DEBUG [Thread-1] JavaSpaceComputeSpace > 242 - Returning transactionMgr = > com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy@fc646145 > 36 2008-11-13 11:34:47.153 DEBUG [Thread-2] ResultEntry 32 - > ResultEntry created > 37 2008-11-13 11:34:47.153 DEBUG [Thread-2] ResultEntry 38 - > ResultEntry constructor with UUID: a559eb32-42b4-4a52-b95a-56a73955e6d5 > 38 2008-11-13 11:34:47.215 INFO [Thread-1] TaskEntry 57 - > Creating TaskEntry > 39 2008-11-13 11:34:47.215 INFO [Thread-1] TaskEntry 64 - > Creating TaskEntry > 40 2008-11-13 11:34:47.231 ERROR [Thread-1] JavaSpaceComputeSpace > 85 - Exception while writing task. > 41 java.rmi.ServerException: RemoteException in server thread; > nested exception is: > 42 java.rmi.UnmarshalException: unmarshalling > method/arguments; nested exception is: > 43 java.lang.ClassNotFoundException: > com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy > 44 at > net.jini.jeri.BasicInvocationDispatcher.dispatch(BasicInvocationDispatcher.java:644) > 45 at > com.sun.jini.jeri.internal.runtime.ObjectTable$6.run(ObjectTable.java:597) > 46 at > net.jini.export.ServerContext.doWithServerContext(ServerContext.java:103) > > * > > > > -- > Surely the Germans, who gave us "schadenfreude" and "weltschmertz", have > a term for "the uneasy semi-certainty that one's assertion is soundly > backed by a long-forgotten source." - unknown > > A positive attitude may not solve all your problems, but it will annoy > enough people to make it worth the effort. > - Herm Albright > > > Slower minds keep right. > - unknown > -------------------------------------------------------------------------- > 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]