Yes I moved the creation of the HiveMind registry to a servlet context listener. Then I had Tapestry get the registry that was created, rather than create it itself.

But there must be some subtley that I am missing. There must be somthing else that Tapestry does durng the creation of the registry that I am missing.

----Original Message Follows----
From: Massimo Lusetti <[EMAIL PROTECTED]>
Reply-To: "Tapestry users" <[email protected]>
To: Tapestry users <[email protected]>
Subject: Re: Using Tapestry HiveMind services in Spring
Date: Tue, 3 Jan 2006 10:34:22 +0100
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by bay0-mc12-f4.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 3 Jan 2006 01:34:47 -0800
Received: (qmail 82974 invoked by uid 500); 3 Jan 2006 09:34:44 -0000
Received: (qmail 82963 invoked by uid 99); 3 Jan 2006 09:34:44 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 01:34:44 -0800 Received: pass (asf.osuosl.org: domain of [EMAIL PROTECTED] designates 64.233.162.198 as permitted sender) Received: from [64.233.162.198] (HELO zproxy.gmail.com) (64.233.162.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2006 01:34:43 -0800 Received: by zproxy.gmail.com with SMTP id x3so2664314nzd for <[email protected]>; Tue, 03 Jan 2006 01:34:22 -0800 (PST) Received: by 10.65.119.13 with SMTP id w13mr382217qbm; Tue, 03 Jan 2006 01:34:22 -0800 (PST)
Received: by 10.65.182.4 with HTTP; Tue, 3 Jan 2006 01:34:22 -0800 (PST)
X-Message-Info: JGTYoYF78jHUcMTK8Hoa0Csisk8M2eX10RYkidYxo9Y=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Post: <mailto:[email protected]>
List-Id: "Tapestry users" <tapestry-user.jakarta.apache.org>
Delivered-To: mailing list [email protected]
X-ASF-Spam-Status: No, hits=-0.0 required=10.0tests=SPF_PASS
X-Spam-Check-By: apache.org
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ESO0c2pbG3TqNd5nNeB0QZjDdj7IQk1NWZYIG25cRM13DebshCS/3/tWTej85iXKQq7yqUEHHbgotu4WoKczvUMIJ4PE7DDb92V0K/PVg75Jm63o72glfEG9TmjN1KyV9n+t1dtMhhlJI6/Se/NOHliQPvuIYE+NyZF5XIqf5Dg= References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 03 Jan 2006 09:34:47.0992 (UTC) FILETIME=[F02EB380:01C61048]

On 1/3/06, John Smith <[EMAIL PROTECTED]> wrote:

> So I get a little nervous mucking around with Tapestry's Application
> servlet. And I have been trying to isloate what exactly causes the app to
> break. It's not overriding the ApplcationServlet; It's the context listener
> that starts HiveMind. I also tried binding the registry using a different
> key in the context listener (foo, instead of
> org.apache.tapestry.Registry:...) and it still breaks. So I don't know what
> the deal is. It is probably stuff that is beyond my pay grade.

Did you avoid having Tapestry build its own Registry?
Doesn't it may cause problem due to immutably nature of HiveMind registry?

Regards
--
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
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]

Reply via email to