Jean, I have:
hivemind-1.1.1 oro-2.0.8 commons-logging-1.0.4 javassist-3.0 The error seems to be coming from hivemind not finding a javassist class: Caused by: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;)Ljava/lang/Class; I looked in the jar, and this method is definitely there... -adam -- Adam Feuer <[EMAIL PROTECTED]> Amazon.com Enterprise Solutions > -----Original Message----- > From: Jean Safar [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 14, 2006 1:29 PM > To: user@hivemind.apache.org > Subject: RE: org.apache.hivemind.ApplicationRuntimeException: > Unable to create class $Runnable_10dadee6479 > > Adam, > > What versions do you run with? > > I am running without this problem using javassist 3.0, > hivemind 1.1 , oro > 2.0.6 and commons-logging 1.0.3 > > I am running all that with java 1.5.0_07. > > Regards, > Jean > > -----Original Message----- > From: Feuer, Adam [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 14, 2006 4:16 PM > To: user@hivemind.apache.org > Subject: org.apache.hivemind.ApplicationRuntimeException: > Unable to create class $Runnable_10dadee6479 > > Folks, > > I'm trying to get a simple HiveMind application going to > demonstrate its capabilities to my team. I couldn't get the > examples to run, so I am trying to create a simple example. > It's enclosed. I seem to be able to build the registry ok, > but then when I do this line, I get an exception: > > Worker fooWorker = (Worker) > this.registry.getService(FooWorkerImpl.class); > > The exception follows. Any ideas about what is happening? > > cheers > adam > -- > Adam Feuer <[EMAIL PROTECTED]> > Amazon.com Enterprise Solutions > > org.apache.hivemind.ApplicationRuntimeException: Unable to > create class > $Runnable_10dadee6479: > javassist.CtClass.toClass(Ljava/lang/ClassLoader;)Ljava/lang/Class; > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.cr > eateSingletonP > roxy(SingletonServiceModel.java:130) > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.ge > tService(Singl > etonServiceModel.java:57) > at > org.apache.hivemind.impl.ServicePointImpl.getService(ServicePo > intImpl.java:2 > 10) > at > org.apache.hivemind.impl.ServicePointImpl.getService(ServicePo > intImpl.java:2 > 23) > at > org.apache.hivemind.impl.RegistryInfrastructureImpl.getService > (RegistryInfra > structureImpl.java:207) > at > org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(Re > gistryInfrastr > uctureImpl.java:434) > at > org.apache.hivemind.impl.RegistryBuilder.constructRegistry(Reg > istryBuilder.j > ava:154) > at > org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegis > try(RegistryBu > ilder.java:196) > at > amazon.jaws.spike.configuration.hivemind.FooWorkerTest.setUp(F > ooWorkerTest.j > ava:14) > at junit.framework.TestCase.runBare(TestCase.java:125) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at > org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReferen > ce.run(JUnit3T > estReference.java:128) > at > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestEx > ecution.java:3 > 8) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTest > s(RemoteTestRu > nner.java:460) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTest > s(RemoteTestRu > nner.java:673) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(Rem > oteTestRunner. > java:386) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(Re > moteTestRunner > .java:196) > Caused by: org.apache.hivemind.ApplicationRuntimeException: > Unable to create class $Runnable_10dadee6479: > javassist.CtClass.toClass(Ljava/lang/ClassLoader;)Ljava/lang/Class; > at > org.apache.hivemind.service.impl.CtClassSource.createClass(CtC > lassSource.jav > a:88) > at > org.apache.hivemind.service.impl.AbstractFab.createClass(Abstr > actFab.java:92 > ) > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.cr > eateSingletonP > roxyClass(SingletonServiceModel.java:185) > at > org.apache.hivemind.impl.servicemodel.SingletonServiceModel.cr > eateSingletonP > roxy(SingletonServiceModel.java:102) > ... 21 more > Caused by: java.lang.NoSuchMethodError: > javassist.CtClass.toClass(Ljava/lang/ClassLoader;)Ljava/lang/Class; > at > org.apache.hivemind.service.impl.HiveMindClassPool.toClass(Hiv > eMindClassPool > .java:75) > at > org.apache.hivemind.service.impl.CtClassSource.createClass(CtC > lassSource.jav > a:84) > ... 24 more > > >