hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kebekus, Christian" <>
Subject RE: HiveMind JAR Service packages
Date Fri, 23 Apr 2004 11:17:12 GMT

That's what I through (and I had some trouble at the beginning with the
descriptor), but

- the jar is on the classpath (I'm able to instantiate the class
directly via)
- I use the same descriptor file that works in the same jar

Let me ask you a dumb question: where does the desciptor go? I tried to
use only one in the calling application, didn't work.
I also tried to use one in the calling application and on in the jar
(only specifiying the service point).

What's the right way?

-----Original Message-----
From: Johan Lindquist [] 
Sent: Friday, April 23, 2004 7:10 AM
Subject: Re: HiveMind JAR Service packages

This usually happens when either:

- the jar cannot be found on the class-path
- the descriptor doesn't define the module 'mypackage.test'
- the descriptor can't be parsed for whatever reason

Any other error being reported when creating the registry?


On Fri, 23 Apr 2004 06:58:54 -0400, Kebekus, Christian
<> wrote:

> I would like to use a service/implementation packed in a jar from a 
> simple test class. The same simple test class works fine in the jar 
> with the service interface and implementation itself. I tried all 
> kinds of stuff, but nothing works. I always get something like
> org.apache.hivemind.ApplicationRuntimeException: Registry does not 
> contain module 'mypackage.test'.
> 	at
> org.apache.hivemind.impl.RegistryImpl.getModule(
> 	at
> org.apache.hivemind.impl.RegistryImpl.getService(
> 	at com.mckesson.coil.examples.ex1.Main.main(
> Confidentiality Notice: This e-mail message, including any 
> attachments, is for the sole use of the intended recipient(s) and may 
> contain confidential and privileged information.
> Any unauthorized review, use, disclosure or distribution is 
> prohibited.  If you are not the intended recipient, please contact the

> sender by reply e-mail and destroy all copies of the original message.

you too?

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message