Kurt, Could it be a classloader issue? I can't think of anything else... What if you make your print statement print out the classloader of the service implementation object and the service interface?
--knut On Tue, 26 Oct 2004 17:30:06 -0400, Kurt R. Hoehn <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I've been having problems loading services with Hive Mind 1.1-alpha 1 here > is the error I'm getting > > > > org.apache.hivemind.ApplicationRuntimeException: Service > etranscor.portal.RequestFactory does not implement the requested interface > (com.etranscor.portal.services.container.ContainerRequestFactory). The > declared service interface type is > com.etranscor.portal.services.container.ContainerRequestFactory > > > > and here is my configuration > > > > <?xml version="1.0" encoding="UTF-8"?> > > <module id="etranscor.portal" version="1.0.0"> > > <service-point id="RequestFactory" > interface="com.etranscor.portal.services.container.ContainerRequestFactory"> > > <invoke-factory service-id="hivemind.BuilderFactory"> > > <construct > class="com.etranscor.portal.services.container.impl.ContainerRequestFactoryImpl" > > log-property="logger"> > > <set property="containerRequest" > value="com.etranscor.portal.services.container.impl.ContainerRequestImpl"/> > > </construct> > > </invoke-factory> > > </service-point> > > </module> > > > > It seems to find it but when it does the isAssignable in > org.apache.hivemind.impl.ServicePointImpl.getService it blows up. I added a > print statement to see what it is comparing and here was the result. > > > > ServiceInterface: interface > com.etranscor.portal.services.container.ContainerRequestFactory, Result > Object: <SingletonProxy for > etranscor.portal.RequestFactory(com.etranscor.portal.services.container.ContainerRequestFactory)> > > > > Am I doing something wrong, I'm having this same error in a couple of other > projects too. > > > > TIA, > > > > -kurt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
