Return-Path: Delivered-To: apmail-jakarta-hivemind-user-archive@www.apache.org Received: (qmail 26584 invoked from network); 5 Feb 2005 22:55:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Feb 2005 22:55:26 -0000 Received: (qmail 55131 invoked by uid 500); 5 Feb 2005 22:55:26 -0000 Delivered-To: apmail-jakarta-hivemind-user-archive@jakarta.apache.org Received: (qmail 54971 invoked by uid 500); 5 Feb 2005 22:55:26 -0000 Mailing-List: contact hivemind-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: hivemind-user@jakarta.apache.org Delivered-To: mailing list hivemind-user@jakarta.apache.org Received: (qmail 54958 invoked by uid 99); 5 Feb 2005 22:55:25 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jamie@dang.com designates 205.158.62.199 as permitted sender) Received: from ws6-3.us4.outblaze.com (HELO ws6-3.us4.outblaze.com) (205.158.62.199) by apache.org (qpsmtpd/0.28) with SMTP; Sat, 05 Feb 2005 14:55:23 -0800 Received: (qmail 20784 invoked from network); 5 Feb 2005 22:55:22 -0000 Received: from unknown (HELO haysjxpport) (jamie@dang.com@67.76.89.76) by ws6-3.us4.outblaze.com with SMTP; 5 Feb 2005 22:55:22 -0000 Message-ID: <006301c50bd5$a42d02c0$6502a8c0@darden.virginia.edu> From: "Jamie Orchard-Hays" To: Cc: "Howard M. Lewis Ship" References: <20050205050057.71352.qmail@web30202.mail.mud.yahoo.com> <4bc2f3d8e4701c393cb15041527f2fc8@dang.com> <360173eb05020508343cf4af7f@mail.gmail.com> <001001c50ba8$cf5b5e10$6502a8c0@darden.virginia.edu> <007701c50baf$878463f0$6502a8c0@darden.virginia.edu> <4205151C.80608@transmorphix.com> <420545F7.5060604@transmorphix.com> <005501c50bd2$b3ea1f70$6502a8c0@darden.virginia.edu> <42054BF1.2040709@transmorphix.com> Subject: Re: the simplest example Date: Sat, 5 Feb 2005 17:54:24 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I just threw the hivemind 1.0 jars into a simple tapestry web app, added the filter mapping to web.xml and started it in Tomcat--without the hivemodule.xml. It did what I expected and initialized the registry. This makes me wonder if there is an issue with JRun, which would REALLY SUCK. (Erik had problems with SiteMesh and JRun a few months back and was unable to use it.) Here's the output from the Tomcat console: Feb 5, 2005 5:50:02 PM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /jamie from URL file:C:\jakarta -tomcat-5.0.27\webapps\jamie Feb 5, 2005 5:50:04 PM org.apache.hivemind.servlet.HiveMindFilter initializeRegi stry INFO: Constructing HiveMind Registry. Feb 5, 2005 5:50:06 PM org.apache.hivemind.servlet.HiveMindFilter initializeRegi stry INFO: Constructed RegistryImpl[locale=en_US] in 1,773 milliseconds. ----- Original Message ----- From: "Brian K. Wallace" To: Sent: Saturday, February 05, 2005 5:42 PM Subject: Re: the simplest example > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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" > | > | To: > | 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: > | > | > | ~ hivemind > | ~ > org.apache.hivemind.servlet.HiveMindFilter > | > | > | > | ~ site > | ~ test.bkw.tapestry.SiteServlet > | ~ 0 > | > | > | > | ~ hivemind > | ~ site > | > | > | 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: > | | > | | > | | 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()"? > | | > | | > | | 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" > | | > | | | To: ; "Knut Wannheden" > | | | > | | | 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" > | | |> > | | |> To: > | | |> 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 > | > | | |> 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 g > |> > - --------------------------------------------------------------------- > To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: hivemind-user-help@jakarta.apache.org > |> > > | --------------------------------------------------------------------- > | To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org > | For additional commands, e-mail: hivemind-user-help@jakarta.apache.org > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (MingW32) > > iD8DBQFCBUvxaCoPKRow/gARAnLuAJ9Fpc/+LDun0g2ooAeyZT0JrKm52ACg0zJs > ++caxk4S7dJ0WwV0E4itu4s= > =hh0X > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: hivemind-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: hivemind-user-help@jakarta.apache.org