The constructDefaultRegistry method uses the context class loader to find
the hivemodule.xml. This might cause a problem under wildfire.
You could try to construct the registry with the same classloader
that has loaded the hivemind classes:
RegistryBuilder builder = new RegistryBuilder();
ClassResolver resolver = new
DefaultClassResolver(RegistryBuilder.class.getClassLoader());
builder.addModuleDescriptorProvider(getModuleDescriptorProvider(resolver));
builder.constructRegistry(getRegistryLocale());
Achim
Am Sun, 26 Nov 2006 20:34:19 +0100 schrieb Stanczak Group
<[EMAIL PROTECTED]>:
I'm getting the following error when trying to use Hivemind under
Wildfire. Anyone have this working? I guessing it's not seeing the
default hivemodule.xml in the hivemind.jar, but I don't know how to
correct it. I'm using Hibernate just fine. It finds all the config's and
mappings.
2006.11.26 13:14:03
[org.jivesoftware.wildfire.container.PluginManager.loadPlugin(PluginManager.java:467)]
Error loading plugin
org.apache.hivemind.ApplicationRuntimeException: Service point
hivemind.Startup does not exist.
at
org.apache.hivemind.impl.RegistryInfrastructureImpl.getServicePoint(RegistryInfrastructureImpl.java:179)
at
org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:205)
at
org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastructureImpl.java:434)
at
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:154)
at
org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(RegistryBuilder.java:196)
at
com.collabucate.server.CollabucatePlugin.<init>(CollabucatePlugin.java:41)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)