commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Geary <sabrew...@earthlink.net>
Subject Re: [hivemind] service-point not expected in module?
Date Fri, 17 Oct 2003 14:29:40 GMT
On Friday, October 17, 2003, at 05:05 AM, Howard M. Lewis Ship wrote:

> You need to build the latest code.  The docs are ahead of the 
> available distro.

I guess I'm not sure what that means. On the download page I see alpha 
2; is there a later version? If so, where do I get it?

Thanks,


david
>
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
>
>> -----Original Message-----
>> From: David Geary [mailto:sabreware@earthlink.net]
>> Sent: Thursday, October 16, 2003 10:33 PM
>> To: Jakarta Commons Users List
>> Subject: [hivemind] service-point not expected in module?
>>
>>
>> I've cut and pasted the bootstrap example, but I get this exception
>> when I run it:
>>
>> run:
>>       [echo] Adding 11 and 23, should get 34.
>>       [java] Oct 16, 2003 8:06:40 PM
>> org.apache.commons.hivemind.impl.RegistryBuilder$DefaultErrorHandler
>> handleModuleParseError
>>       [java] SEVERE: Unable to parse module deployment descriptor
>> jar:file:/Users/david/lab/hivemind-lab/simple/target/hivemind-
>> examples.jar!/META-INF/hivemodule.xml: Unable to read descriptor
>> jar:file:/Users/david/lab/hivemind-lab/simple/target/hivemind-
>> examples.jar!/META-INF/hivemodule.xml: Unexpected element
>> service-point
>> within module (at
>> jar:file:/Users/david/lab/hivemind-lab/simple/target/hivemind-
>> examples.jar!/META-INF/hivemodule.xml, line 4).
>>       [java]
>> org.apache.commons.hivemind.ApplicationRuntimeException:
>> Unable to read descriptor
>> jar:file:/Users/david/lab/hivemind-lab/simple/target/hivemind-
>> examples.jar!/META-INF/hivemodule.xml: Unexpected element
>> service-point
>> within module (at
>> jar:file:/Users/david/lab/hivemind-lab/simple/target/hivemind-
>> examples.jar!/META-INF/hivemodule.xml, line 4).
>>       [java]     at
>> org.apache.commons.hivemind.parse.DescriptorParser.parse(Descr
>> iptorParse
>> r.java:480)
>>       [java]     at
>> org.apache.commons.hivemind.impl.RegistryBuilder.processModule
>> Resource(R
>> egistryBuilder.java:245)
>>       [java]     at
>> org.apache.commons.hivemind.impl.RegistryBuilder.processModule
>> s(Registry
>> Builder.java:212)
>>       [java]     at hivemind.examples.Main.main(Unknown Source)
>>       [java] Exception in thread "main"
>> org.apache.commons.hivemind.ApplicationRuntimeException:
>> Registry does
>> not contain module 'hivemind.examples'.
>>       [java]     at
>> org.apache.commons.hivemind.impl.RegistryImpl.getModule(Regist
>> ryImpl.jav
>> a:115)
>>       [java]     at
>> org.apache.commons.hivemind.impl.RegistryImpl.getService(Regis
>> tryImpl.ja
>> va:125)
>>       [java]     at hivemind.examples.Main.main(Unknown Source)
>>       [java] Java Result: 1
>>
>> Evidently, the parser doesn't expect a <service-point> within
>> <module>?
>> Here's my hivemodule.xml, straight from the example:
>>
>> <?xml version="1.0"?>
>>
>> <module id="hivemind.examples" version="1.0.0">
>>     <service-point id="Adder" interface="hivemind.examples.Adder">
>>        <create-instance class="hivemind.examples.impl.AdderImpl"/>
>>     </service-point>
>> </module>
>>
>> Does anybody know what's wrong? I'm using 1.0 alpha 2.
>>
>> Thanks,
>>
>>
>> david
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message