I get the impression your context class loader is set to something
"strange". You could verify that by doing something like this before
you construct the registry:

Thread.currentThread().setContextClassLoader(RegistryBuilder.class.getClassLoader());

Although I don't know how you should resolve this issue...

--knut

On 2/8/06, John Coleman <[EMAIL PROTECTED]> wrote:
> It is strange, because as far as I know these files are in the same JAR as
> the HM code, which is clearly executing.
>
> This is not a webapp BTW.
>
> John
>
> ----- Original Message -----
> From: "Knut Wannheden" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, February 08, 2006 4:13 PM
> Subject: Re: any ideas what cause this hivemind startup exception?
>
>
> You will get this if HiveMind is unable to find its own hivemodule.xml
> files. Although I don't quite see why it would fail. Note that
> HiveMind (per default) uses the context class loader to load the
> hivemodule.xml files.
>
> Sorry if I can't provide any better help.
>
> --knut
>
> On 2/8/06, John Coleman <[EMAIL PROTECTED]> wrote:
> > this:
> >
> > /**
> > * Bootstrap the application using HiveMind regsitry.
> > *
> > * @param args String[]
> > */
> > public static final void main(String[] args) {
> > // create an application main class using HiveMind factory
> > registry = RegistryBuilder.constructDefaultRegistry();
> > VTMain main = (VTMain) registry.getService(VTMain.class);
> > main.execute();
> > }
> >
> > It works when run in my JBuilder environment, but using the maven build,
> > will not run it.
> >
> > TIA,
> > John
> >
> >
> >
> > ----- Original Message -----
> > From: James Carman
> > To: [email protected]
> > Sent: Wednesday, February 08, 2006 3:15 PM
> > Subject: RE: any ideas what cause this hivemind startup exception?
> >
> >
> > What code are you using to construct your registry?
> >
> >
> >
> >
> > From: John Coleman [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, February 08, 2006 10:13 AM
> > To: HiveMind user group
> > Subject: any ideas what cause this hivemind startup exception?
> >
> > Exception in thread "main"
> > org.apache.hivemind.ApplicationRuntimeException: Service point
> > hivemind.Startup does not exist.
> > at
> >
> org.apache.hivemind.impl.RegistryInfrastructureImpl.getServicePoint(Registry
> > InfrastructureImpl.java:179)
> > at
> >
> org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfra
> > structureImpl.java:205)
> > at
> >
> org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastr
> > uctureImpl.java:434)
> > at
> >
> org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.j
> > ava:154)
> > at
> >
> org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(RegistryBu
> > ilder.java:196)
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to