-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I just replaced my hivemind jars, hivemind examples, and javaassist with the 1.0 versions, redeployed, and it worked - but only after moving my hivemodule.xml file under WEB-INF/classes/META-INF/.
Jamie Orchard-Hays wrote: | I'm using 1.0. I want to put this into a production environment, so I | figured I'd lay off of 1.1 till it's more stable. | | Jamie | ----- Original Message ----- From: "Brian K. Wallace" | <[EMAIL PROTECTED]> | To: <[email protected]> | Sent: Saturday, February 05, 2005 5:42 PM | Subject: Re: the simplest example | | | Correct. Note that I'm using 1.1-alpha (guess I should have asked what | version you're using). This location for a descriptor is noted as being | @since 1.1. | | Jamie Orchard-Hays wrote: | | Thanks, Brian. | | | | I haven't tried the examples in here yet. Maybe I'll do that. | | | | You put hivemodule.xml in WEB-INF, not META-INF? | | | | | | ----- Original Message ----- From: "Brian K. Wallace" | | <[EMAIL PROTECTED]> | | To: <[email protected]> | | Sent: Saturday, February 05, 2005 5:17 PM | | Subject: Re: the simplest example | | | | | | Jamie - | | | | ~ I took the 'examples' classes/descriptor and put them in a test | | web-app (more web-app than test as this was bugging me), added the | | following lines to my web.xml, and was able to load | | "examples.Calculator" and have it 'calculate' properly: | | | | <filter> | | ~ <filter-name>hivemind</filter-name> | | ~ | <filter-class>org.apache.hivemind.servlet.HiveMindFilter</filter-class> | | </filter> | | | | <servlet> | | ~ <servlet-name>site</servlet-name> | | ~ <servlet-class>test.bkw.tapestry.SiteServlet</servlet-class> | | ~ <load-on-startup>0</load-on-startup> | | </servlet> | | | | <filter-mapping> | | ~ <filter-name>hivemind</filter-name> | | ~ <servlet-name>site</servlet-name> | | </filter-mapping> | | | | The example classes were left extracted and placed in WEB-INF/classes, | | the examples descriptor was renamed hivemodule.xml and placed in | | WEB-INF, and the hivemind libraries (1.1 alpha - both hivemind and | | hivemind-lib) placed in WEB-INF/lib. There was no coding past this | | required except to retrieve the Calculator. | | | | HTH | | | | Brian | | | | Jamie Orchard-Hays wrote: | | | Yes, they are in WEB-INF/lib of the web app. I just confirmed this. | | | | | | The registry construction is called by the HiveMindFilter. | | | | | | Jamie | | | | | | | | | On Feb 5, 2005, at 1:49 PM, Brian K. Wallace wrote: | | | | | | <curiosity> | | | Are the hivemind jars you're using on the classpath of the web-app | (vs. | | | container) and do they have META-INF/hivemodule.xml files? | | | Also, how are you constructing the registry? with | | | "Registry.constructDefaultRegistry()"? | | | </curiosity> | | | | | | Jamie Orchard-Hays wrote: | | | | I realized WEB-INF was not the default, so I put hivemodule.xml in | | | | META-INF/ but got the same result. | | | | | | | | Rather frustrated. | | | | | | | | Jamie | | | | | | | | | | | | ----- Original Message ----- From: "Jamie Orchard-Hays" | | | <[EMAIL PROTECTED]> | | | | To: <[email protected]>; "Knut Wannheden" | | | | <[EMAIL PROTECTED]> | | | | Sent: Saturday, February 05, 2005 12:33 PM | | | | Subject: Re: the simplest example | | | | | | | | | | | |> Here's what I have right now: | | | |> | | | |> I'm using the HiveMindFilter, which is being loaded. | | | |> in WEB-INF/ I've got hivemodule.xml, into which I copied the | config | | | |> and service points for Startup. | | | |> When I startup, I get this error: | | | |> | | | |> 02/05 12:28:06 info [axis] Constructing HiveMind Registry. | | | |> 02/05 12:28:06 error [axis] Service point hivemind.Startup does | not | | | |> exist. | | | |> org.apache.hivemind.ApplicationRuntimeException: Service point | | | |> hivemind.Startup | | | |> does not exist. | | | |> at | | | |> | | org.apache.hivemind.impl.RegistryImpl.getServicePoint(RegistryImpl.ja | | | |> va:142) | | | |> | | | |> So what am I missing in my configuration? | | | |> | | | |> Jamie | | | |> | | | |> | | | |> | | | |> ----- Original Message ----- From: "Knut Wannheden" | | | |> <[EMAIL PROTECTED]> | | | |> To: <[email protected]> | | | |> Sent: Saturday, February 05, 2005 11:34 AM | | | |> Subject: Re: the simplest example | | | |> | | | |> | | | |> Jamie, | | | |> | | | |> This probably belongs on an FAQ list somewhere. See | | | |> http://article.gmane.org/gmane.comp.jakarta.hivemind.user/494. | | | |> | | | |> Regards, | | | |> | | | |> --knut | | | |> | | | |> On Sat, 5 Feb 2005 11:22:19 -0500, Jamie Orchard-Hays | | <[EMAIL PROTECTED]> | | | |> wrote: | | | |> | | | |>> Since my last email, I (re)discovered the HiveMindFilter and have | | | that | | | |>> deployed to my Web app. Now I'm at the point of figuring out why | | it's | | | |>> telling me it can't find hivemind.Startup... At least I'm getting | | | |>> somewhere now! | | | |>> | | | |>> | | | |>> On Feb 5, 2005, at 12:00 AM, Albert Kwong wrote: | | | |>> | | | |>> > I put my hivemodule.xml file as well as all the files | | | |>> > it loads up (e.g. submodule and resource files) into | | | |>> > the META-INF directory. Then the jar file created | | | |>> > (say calculator.jar) can be dropped into any other | | | |>> > project and be readily visible to the Registry. | | | |>> > | | | |>> > Albert | | | |>> > | | | |>> > --- Jamie Orchard-Hays <[EMAIL PROTECTED]> g | |> | --------------------------------------------------------------------- | 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]
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32)
iD8DBQFCBVB9aCoPKRow/gARAu3eAJ4+FIkqUnPpsVFKBXmTIbSnjuRF8ACg52sc 8mjlx+2XLOQeDO4mwAAhX1Q= =5Z1w -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
