From hivemind-user-returnmelendeztammy@example.org Thu Dec 01 08:56:30 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 28933 invoked from network); 1 Dec 2005 08:56:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2005 08:56:29 -0000 Received: (qmail 80271 invoked by uid 500); 1 Dec 2005 08:56:28 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 80257 invoked by uid 500); 1 Dec 2005 08:56:28 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 80246 invoked by uid 99); 1 Dec 2005 08:56:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 00:56:27 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mailgate1.arcor-ip.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 00:57:53 -0800 Received: from lxmgw.ebssoftware.com (unknown [83.161.120.155]) by mailgate1.adm.arcor.net (Arcor-CN-MailRelay-l-A) with ESMTP id 559C1152360 for <melendeztammy@example.org>; Thu, 1 Dec 2005 09:56:01 +0100 (CET) Received: from [83.161.120.155] (helo=w2kebss04.ebssoftware.de) by lxmgw.ebssoftware.com with smtp (Exim 3.34 #1) id 1EhkEL-0006A1-00 for melendeztammy@example.org; Thu, 01 Dec 2005 09:55:53 +0100 Received: from 83.161.120.155 by w2kebss04.ebssoftware.de (InterScan E-Mail VirusWall NT); Thu, 01 Dec 2005 09:55:56 +0100 Received: by mail.ebssoftware.de with Internet Mail Service (5.5.2653.19) id <XMXJRW9A>; Thu, 1 Dec 2005 09:55:56 +0100 Message-ID: <melendeztammy@example.org> From: "Domsch, Christian" <melendeztammy@example.org> To: "'melendeztammy@example.org'" <melendeztammy@example.org> Subject: module version Date: Thu, 1 Dec 2005 09:55:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="windows-1252" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all. I have a simple question: is the version attribute inside a module element used? And if so, whatfor? The descriptor reference on the website doesn't say anything about the usage of this attribute and I didn't dig into the source code yet. Thanks in advance, Christian Domsch. --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Thu Dec 01 09:00:44 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 30038 invoked from network); 1 Dec 2005 09:00:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2005 09:00:43 -0000 Received: (qmail 82816 invoked by uid 500); 1 Dec 2005 09:00:43 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 82571 invoked by uid 500); 1 Dec 2005 09:00:42 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 82560 invoked by uid 99); 1 Dec 2005 09:00:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 01:00:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 01:02:09 -0800 Received: by nproxy.gmail.com with SMTP id b2so75106nfe for <melendeztammy@example.org>; Thu, 01 Dec 2005 01:00:18 -0800 (PST) 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=VWzKha2yhE0abWaUF7aC1rlS22w1+uuIes8aL9xRl3D7H3HiHezLPjQ37N7dx5Tw1hyV/vBu068hpiD0+WtNsvVDAy/V1k/3t5zSFYkelNyg8/RSRe8H8xZZ1rRA5rH9EL+qTm+s9kn/GpsV//bHobDtyTU8vsiI3VtiWSY978s= Received: by 83.161.120.155 with SMTP id j10mr238090nfe; Thu, 01 Dec 2005 01:00:17 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 1 Dec 2005 01:00:17 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Thu, 1 Dec 2005 10:00:17 +0100 From: Knut Wannheden <melendeztammy@example.org> To: melendeztammy@example.org Subject: Re: module version In-Reply-To: <melendeztammy@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <melendeztammy@example.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Christian, On 12/1/05, Domsch, Christian <melendeztammy@example.org> wrote: > Hi all. > > I have a simple question: is the version attribute inside a module elemen= t > used? And if so, whatfor? The descriptor reference on the website doesn't > say anything about the usage of this attribute and I didn't dig into the > source code yet. > There is actually a <dependency> element which uses it. You can use the <dependency> element to declare a dependency upon another module. <dependency> has an optional "version" attribute which if specified has to match up with the version of the required module. Without the "version" attribute specified on <dependency> any version of the required module will satisfy the dependency. We hope to add more sophisticated version matching policies in the future. HTH, --knut --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Thu Dec 01 09:09:30 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 33818 invoked from network); 1 Dec 2005 09:09:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2005 09:09:30 -0000 Received: (qmail 88886 invoked by uid 500); 1 Dec 2005 09:09:29 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 88874 invoked by uid 500); 1 Dec 2005 09:09:29 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 88857 invoked by uid 99); 1 Dec 2005 09:09:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 01:09:29 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mailgate1.arcor-ip.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 01:10:55 -0800 Received: from lxmgw.ebssoftware.com (unknown [83.161.120.155]) by mailgate1.adm.arcor.net (Arcor-CN-MailRelay-l-A) with ESMTP id 630DE15158E for <melendeztammy@example.org>; Thu, 1 Dec 2005 10:09:04 +0100 (CET) Received: from [83.161.120.155] (helo=w2kebss04.ebssoftware.de) by lxmgw.ebssoftware.com with smtp (Exim 3.34 #1) id 1EhkR3-0006G3-00 for melendeztammy@example.org; Thu, 01 Dec 2005 10:09:01 +0100 Received: from 83.161.120.155 by w2kebss04.ebssoftware.de (InterScan E-Mail VirusWall NT); Thu, 01 Dec 2005 10:09:05 +0100 Received: by mail.ebssoftware.de with Internet Mail Service (5.5.2653.19) id <XMXJRW9P>; Thu, 1 Dec 2005 10:09:04 +0100 Message-ID: <melendeztammy@example.org> From: "Domsch, Christian" <melendeztammy@example.org> To: "'melendeztammy@example.org'" <melendeztammy@example.org> Subject: AW: module version Date: Thu, 1 Dec 2005 10:09:04 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the quick answer. Is there sth like versioning in planning? Meaning if I contribute two "identical" (relating to the module id) = modules with different versions, that hivemind uses the newer one. Or maybe a = more sophisticated method of choosing the "right" version. Sth on the lines = of a service (should be a kind of bootstrap service, e.g. one that is eagerloaded) that gets the information for making that decision? Greets, Christian. > -----Urspr=FCngliche Nachricht----- > Von: Knut Wannheden [mailto:melendeztammy@example.org] > Gesendet: Donnerstag, 1. Dezember 2005 10:00 > An: melendeztammy@example.org > Betreff: Re: module version >=20 >=20 > Hi Christian, >=20 > On 12/1/05, Domsch, Christian <melendeztammy@example.org> wrote: > > Hi all. > > > > I have a simple question: is the version attribute inside a=20 > module element > > used? And if so, whatfor? The descriptor reference on the=20 > website doesn't > > say anything about the usage of this attribute and I didn't=20 > dig into the > > source code yet. > > >=20 > There is actually a <dependency> element which uses it. You can use > the <dependency> element to declare a dependency upon another module. > <dependency> has an optional "version" attribute which if specified > has to match up with the version of the required module. Without the > "version" attribute specified on <dependency> any version of the > required module will satisfy the dependency. >=20 > We hope to add more sophisticated version matching policies=20 > in the future. >=20 > HTH, >=20 > --knut >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: melendeztammy@example.org > For additional commands, e-mail: = melendeztammy@example.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Thu Dec 01 10:12:41 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 58629 invoked from network); 1 Dec 2005 10:12:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2005 10:12:41 -0000 Received: (qmail 40155 invoked by uid 500); 1 Dec 2005 10:12:40 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 40142 invoked by uid 500); 1 Dec 2005 10:12:39 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 40131 invoked by uid 99); 1 Dec 2005 10:12:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 02:12:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 02:14:06 -0800 Received: by nproxy.gmail.com with SMTP id b2so80976nfe for <melendeztammy@example.org>; Thu, 01 Dec 2005 02:12:14 -0800 (PST) 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=BXkJnXTwsotrESU/P6gMn03VcyUEKGQwHJEhCyaxTekjO7pCEIb4ctW98HRyq9dKIEUS34P5eYFlpYSKkH7A/jsG1GGTI6z1765MkKKbuIPHqFmUpRAqsAKlPdeT3fnvk5KKGvTZ2waTwWbkPyFGFtapRYP5QAcWjE6vW0NvfAw= Received: by 83.161.120.155 with SMTP id g14mr262577nfi; Thu, 01 Dec 2005 02:12:14 -0800 (PST) Received: by 83.161.120.155 with HTTP; Thu, 1 Dec 2005 02:12:14 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Thu, 1 Dec 2005 11:12:14 +0100 From: Knut Wannheden <melendeztammy@example.org> To: melendeztammy@example.org Subject: Re: module version In-Reply-To: <melendeztammy@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <melendeztammy@example.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christian, There isn't anything like this planned right now. You could however open a feature request in JIRA. Although I think you should be able to add something like this by implementing a ModuleDescriptorProvider. --knut On 12/1/05, Domsch, Christian <melendeztammy@example.org> wrote: > Thanks for the quick answer. Is there sth like versioning in planning? > Meaning if I contribute two "identical" (relating to the module id) modul= es > with different versions, that hivemind uses the newer one. Or maybe a mor= e > sophisticated method of choosing the "right" version. Sth on the lines of= a > service (should be a kind of bootstrap service, e.g. one that is > eagerloaded) that gets the information for making that decision? > > Greets, > > Christian. > > > -----Urspr=FCngliche Nachricht----- > > Von: Knut Wannheden [mailto:melendeztammy@example.org] > > Gesendet: Donnerstag, 1. Dezember 2005 10:00 > > An: melendeztammy@example.org > > Betreff: Re: module version > > > > > > Hi Christian, > > > > On 12/1/05, Domsch, Christian <melendeztammy@example.org> wrote: > > > Hi all. > > > > > > I have a simple question: is the version attribute inside a > > module element > > > used? And if so, whatfor? The descriptor reference on the > > website doesn't > > > say anything about the usage of this attribute and I didn't > > dig into the > > > source code yet. > > > > > > > There is actually a <dependency> element which uses it. You can use > > the <dependency> element to declare a dependency upon another module. > > <dependency> has an optional "version" attribute which if specified > > has to match up with the version of the required module. Without the > > "version" attribute specified on <dependency> any version of the > > required module will satisfy the dependency. > > > > We hope to add more sophisticated version matching policies > > in the future. > > > > HTH, > > > > --knut > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: melendeztammy@example.org > > For additional commands, e-mail: melendeztammy@example.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: melendeztammy@example.org > For additional commands, e-mail: melendeztammy@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Sat Dec 03 01:18:04 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 71708 invoked from network); 3 Dec 2005 01:18:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2005 01:18:04 -0000 Received: (qmail 99934 invoked by uid 500); 3 Dec 2005 01:18:03 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 99921 invoked by uid 500); 3 Dec 2005 01:18:02 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 99894 invoked by uid 99); 3 Dec 2005 01:18:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 17:18:02 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 83.161.120.155 is neither permitted nor denied by domain of melendeztammy@example.org) Received: from [83.161.120.155] (HELO el.volia.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 17:19:31 -0800 Received: from ip.83.161.120.155.dyn.sub-11-1.broadband.voliacable.com ([83.161.120.155] helo=localhost) by el.volia.net with esmtp (Exim 4.43 (FreeBSD)) id 1EiJWq-0006zl-3F for melendeztammy@example.org; Sat, 03 Dec 2005 00:37:20 +0200 Date: Sat, 3 Dec 2005 00:36:24 +0200 From: Alexandr Kundirenko <melendeztammy@example.org> X-Mailer: The Bat! (v2.11.02) Personal Reply-To: melendeztammy@example.org X-Priority: 3 (Normal) Message-ID: <melendeztammy@example.org> To: melendeztammy@example.org Subject: Hivetranse: transaction demarcation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello All, I'm playing with hivetranse and trying not to open transactions for read-only operations: <contribution configuration-id="hivetranse.core.TransactionDefaults"> <defaults> <exception name="java.lang.Throwable" rollback="true"/> <method pattern="load" demarcation="Supports"/> <method pattern="*" demarcation="Required"/> </defaults> </contribution> <service-point id="Session" interface="org.hibernate.Session"> <invoke-factory service-id="hivetranse.hibernate3.SessionFactory" model="threaded"> <config configuration-id="HibernateSettings"> ... </config> </invoke-factory> </service-point> <service-point id="Dao" interface="IDao"> <invoke-factory model="singleton"> <construct class="Dao"> <set-object property="persistentClass" value="class:model.Entity" /> </construct> </invoke-factory> <interceptor service-id="hivetranse.core.TransactionInterceptor"/> </service-point> But for simple test case: public void testTransactionDemarcations() { IDao dao = ... obtain from registry ...; dao.load(ENTITY_ID); } I got: net.sourceforge.hivetranse.transaction.MandatoryTransactionException: No active melendeztammy@example.org$SessionProxy.invoke(SessionProxyFactory.java:208) at $Proxy21.load(Unknown Source) (The same error is for "NotSupported" and "Never" mode) If I remove <method pattern="load" demarcation="Supports"/> line from transactions config - all works fine. Does "Supports" mode work indeed? -- Thank you, Alex --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Sat Dec 03 07:49:34 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 83979 invoked from network); 3 Dec 2005 07:49:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2005 07:49:34 -0000 Received: (qmail 60880 invoked by uid 500); 3 Dec 2005 07:49:33 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 60863 invoked by uid 500); 3 Dec 2005 07:49:32 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 60836 invoked by uid 99); 3 Dec 2005 07:49:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 23:49:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 23:51:01 -0800 Received: by zproxy.gmail.com with SMTP id z31so696552nzd for <melendeztammy@example.org>; Fri, 02 Dec 2005 23:49:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=kaXD/ZXgnozdSx6RHzGBKcz3ks/5lUtmAeqBycRCM1BdYKcx/OMDGfyQ+gOX6aCOe0zUqKdevuGdW4I9VqsN+LA3SMzx7ET3A1S26vQDPqqb6qF4jCJZndPeu5gPX2ROvxCHOAMns0JkSKTVjdPJtCnKjhTWAVplHrp48+NEE/w= Received: by 83.161.120.155 with SMTP id o13mr1871291qbr; Fri, 02 Dec 2005 23:49:11 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 2 Dec 2005 23:49:11 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Sat, 3 Dec 2005 08:49:11 +0100 From: Massimo Lusetti <melendeztammy@example.org> To: HiveMind User List <melendeztammy@example.org> Subject: Anyone springmodules? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Does anyone have used springmodules to provide hivemind services through spring context? -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Sat Dec 03 11:10:43 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 31443 invoked from network); 3 Dec 2005 11:10:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2005 11:10:43 -0000 Received: (qmail 51268 invoked by uid 500); 3 Dec 2005 11:10:37 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 51037 invoked by uid 500); 3 Dec 2005 11:10:34 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 50725 invoked by uid 99); 3 Dec 2005 11:10:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Dec 2005 03:10:25 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO carmanconsulting.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Dec 2005 03:09:05 -0800 Received: from CARMANI9300 (carmanconsulting.com [83.161.120.155]) by carmanconsulting.com (8.13.4/8.13.4) with ESMTP id jB3B77VT011808; Sat, 3 Dec 2005 06:07:12 -0500 From: "James Carman" <melendeztammy@example.org> To: <melendeztammy@example.org>, <melendeztammy@example.org> Subject: RE: Hivetranse: transaction demarcation Date: Sat, 3 Dec 2005 06:07:10 -0500 Message-ID: <000a01c5f7f9$b58496d0$6901a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <melendeztammy@example.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcX3p2jQ7ZXo1XGhTsmqQpvx0o98NAAUbKlw X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Alexandr, This list doesn't support Hivetranse, as it is not part of Hivemind. I'd try your question on the forum set up at the the hivetranse sourceforge site (http://sourceforge.net/forum/?group_id=123789). Good luck! James -----Original Message----- From: Alexandr Kundirenko [mailto:melendeztammy@example.org] Sent: Friday, December 02, 2005 5:36 PM To: melendeztammy@example.org Subject: Hivetranse: transaction demarcation Hello All, I'm playing with hivetranse and trying not to open transactions for read-only operations: <contribution configuration-id="hivetranse.core.TransactionDefaults"> <defaults> <exception name="java.lang.Throwable" rollback="true"/> <method pattern="load" demarcation="Supports"/> <method pattern="*" demarcation="Required"/> </defaults> </contribution> <service-point id="Session" interface="org.hibernate.Session"> <invoke-factory service-id="hivetranse.hibernate3.SessionFactory" model="threaded"> <config configuration-id="HibernateSettings"> ... </config> </invoke-factory> </service-point> <service-point id="Dao" interface="IDao"> <invoke-factory model="singleton"> <construct class="Dao"> <set-object property="persistentClass" value="class:model.Entity" /> </construct> </invoke-factory> <interceptor service-id="hivetranse.core.TransactionInterceptor"/> </service-point> But for simple test case: public void testTransactionDemarcations() { IDao dao = ... obtain from registry ...; dao.load(ENTITY_ID); } I got: net.sourceforge.hivetranse.transaction.MandatoryTransactionException: No active melendeztammy@example.org$Sessio nProxy.invoke(SessionProxyFactory.java:208) at $Proxy21.load(Unknown Source) (The same error is for "NotSupported" and "Never" mode) If I remove <method pattern="load" demarcation="Supports"/> line from transactions config - all works fine. Does "Supports" mode work indeed? -- Thank you, Alex --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Sun Dec 04 09:48:21 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 83009 invoked from network); 4 Dec 2005 09:48:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Dec 2005 09:48:21 -0000 Received: (qmail 71663 invoked by uid 500); 4 Dec 2005 09:48:20 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 71627 invoked by uid 500); 4 Dec 2005 09:48:19 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 71615 invoked by uid 99); 4 Dec 2005 09:48:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2005 01:48:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO zproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2005 01:48:18 -0800 Received: by zproxy.gmail.com with SMTP id s1so858998nze for <melendeztammy@example.org>; Sun, 04 Dec 2005 01:47:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Gkbg1VKHFxYXJaH+uS/Qbon2z34kUonCWvyb61HZGxge4c/RiZgJKGLpm7mtQqa1unwfT2+sRyiyN10FMuwVsoglAh7fjrjsCjTobYUvS/GEZ6sMJVnmI65pyaD6jFYVOBPbPu2AROJ3gq6wVAuk2wiT112Uwjs5LiVZp2UjUfY= Received: by 83.161.120.155 with SMTP id k19mr2234644qbn; Sun, 04 Dec 2005 01:47:57 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sun, 4 Dec 2005 01:47:57 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Sun, 4 Dec 2005 10:47:57 +0100 From: Massimo Lusetti <melendeztammy@example.org> To: HiveMind User List <melendeztammy@example.org> Subject: Working with classes MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N How should DI from hivemind work when dealing with classes and not interfaces for service point? I've to work with classes so refactoring is not an option. I got a FruitBowl class which has this constructors: public FruitBowl() { } public FruitBowl(Fruit fruit[]) { for (int i =3D 0; i < fruit.length; i++) { bowl.put(fruit[i].getClass(), fruit[i]); } } public FruitBowl(Apple apple, Banana banana) { bowl.put(apple.getClass(), apple); bowl.put(banana.getClass(), banana); } And this getters/setters methods: public boolean hasApple() { return bowl.get(Apple.class) !=3D null; } public boolean hasBanana() { return bowl.get(Banana.class) !=3D null; } public Apple getApple() { return (Apple) bowl.get(Apple.class); } public void setApple(Apple apple) { bowl.put(apple.getClass(), apple); } public Banana getBanana() { return (Banana) bowl.get(Banana.class); } public void setBanana(Banana banana) { bowl.put(banana.getClass(), banana); } Have Apple and Banana classes without a constructor and a hivemodule like t= his: <module id=3D"tck" version=3D"1.0.0" package=3D"org.mule.tck.testmodels.fru= it"> <service-point id=3D"Apple" interface=3D"Apple"> <invoke-factory> <construct class=3D"Apple"/> </invoke-factory> </service-point> <service-point id=3D"Banana" interface=3D"Banana"> <invoke-factory> <construct class=3D"Banana"/> </invoke-factory> </service-point> <service-point id=3D"FruitBowl" interface=3D"FruitBowl"> <invoke-factory> <construct class=3D"FruitBowl"> <service>Apple</service> <service>Banana</service> </construct> </invoke-factory> </service-point> </module> I've already tried different ways of injecting deps like construct based with service and object nested element of <construct> without any luck As you can see this is a test case to make pass the Mule ESB test suite to add support for HiveMind container context (to use HiveMind services within Mule descriptors) Inside the test it fails when assertTrue(fruitBowl.hasApple()). The code is there, just need help to pass this test. Regards -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Sun Dec 04 10:36:18 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 96837 invoked from network); 4 Dec 2005 10:36:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Dec 2005 10:36:17 -0000 Received: (qmail 43134 invoked by uid 500); 4 Dec 2005 10:36:14 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 42707 invoked by uid 500); 4 Dec 2005 10:36:10 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 42661 invoked by uid 99); 4 Dec 2005 10:36:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2005 02:36:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 04 Dec 2005 02:35:03 -0800 Received: (qmail invoked by alias); 04 Dec 2005 10:34:41 -0000 Received: from p508800F9.dip0.t-ipconnect.de (EHLO mail.gmx.de) [83.161.120.155] by mail.gmx.net (mp004) with SMTP; 04 Dec 2005 11:34:41 +0100 X-Authenticated: #18751065 Date: Sun, 04 Dec 2005 11:34:43 +0100 To: melendeztammy@example.org Subject: Re: Working with classes References: <melendeztammy@example.org> From: =?iso-8859-15?Q?Achim_H=FCgen?= <melendeztammy@example.org> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <melendeztammy@example.org> In-Reply-To: <melendeztammy@example.org> User-Agent: Opera M2/8.50 (Win32, build 7700) X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I assume that the map access doesn't work because it uses different keys for storing and retrieval. Hivemind doesn't hand in instances of the Apple and Banana class in the constructor, but proxies that are descendants of the original classes. That means, that apple.getClass() is not equivalant to Apple.class. Try to verify this by adding a System.out.println(apple.getClass().getName()) to the constructor. and solve it by using: bowl.put(Apple.class, apple); bowl.put(Banana.class, banana); Hope this helps Achim Am Sun, 04 Dec 2005 10:47:57 +0100 schrieb Massimo Lusetti <melendeztammy@example.org>: > How should DI from hivemind work when dealing with classes and not > interfaces for service point? > > I've to work with classes so refactoring is not an option. > > I got a FruitBowl class which has this constructors: > public FruitBowl() > { > } > > public FruitBowl(Fruit fruit[]) > { > for (int i = 0; i < fruit.length; i++) { > bowl.put(fruit[i].getClass(), fruit[i]); > } > } > > public FruitBowl(Apple apple, Banana banana) > { > bowl.put(apple.getClass(), apple); > bowl.put(banana.getClass(), banana); > } > > And this getters/setters methods: > public boolean hasApple() > { > return bowl.get(Apple.class) != null; > } > > public boolean hasBanana() > { > return bowl.get(Banana.class) != null; > } > > public Apple getApple() > { > return (Apple) bowl.get(Apple.class); > } > > public void setApple(Apple apple) > { > bowl.put(apple.getClass(), apple); > } > > public Banana getBanana() > { > return (Banana) bowl.get(Banana.class); > } > > public void setBanana(Banana banana) > { > bowl.put(banana.getClass(), banana); > } > > > Have Apple and Banana classes without a constructor and a hivemodule > like this: > <module id="tck" version="1.0.0" package="org.mule.tck.testmodels.fruit"> > <service-point id="Apple" interface="Apple"> > <invoke-factory> > <construct class="Apple"/> > </invoke-factory> > </service-point> > <service-point id="Banana" interface="Banana"> > <invoke-factory> > <construct class="Banana"/> > </invoke-factory> > </service-point> > <service-point id="FruitBowl" interface="FruitBowl"> > <invoke-factory> > <construct class="FruitBowl"> > <service>Apple</service> > <service>Banana</service> > </construct> > </invoke-factory> > </service-point> > </module> > > I've already tried different ways of injecting deps like construct > based with service and object nested element of <construct> without > any luck > > As you can see this is a test case to make pass the Mule ESB test > suite to add support for HiveMind container context (to use HiveMind > services within Mule descriptors) > Inside the test it fails when assertTrue(fruitBowl.hasApple()). > > The code is there, just need help to pass this test. > > Regards > -- > Massimo > http://meridio.blogspot.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: melendeztammy@example.org > For additional commands, e-mail: melendeztammy@example.org > --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Sun Dec 04 19:09:46 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 44539 invoked from network); 4 Dec 2005 19:09:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Dec 2005 19:09:46 -0000 Received: (qmail 45368 invoked by uid 500); 4 Dec 2005 19:09:45 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 45338 invoked by uid 500); 4 Dec 2005 19:09:45 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 45326 invoked by uid 99); 4 Dec 2005 19:09:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2005 11:09:44 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2005 11:09:44 -0800 Received: by wproxy.gmail.com with SMTP id i11so470380wra for <melendeztammy@example.org>; Sun, 04 Dec 2005 11:09:23 -0800 (PST) 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=U2Qh1Gkcx6bYeFPPC9mhFlezNBNKJKkQa6OZKkJxpNW/8lERSRwF4NGKq10EL4ba8bv6Ee14nTOcoDjfm5I0Hr7fGivulzufCsFWokfgDCJ6DXGpr2nD/AdQ2Ht/MKTp838VM0wsQda2ROza3oojY2dt6HsMo36L00Y0XskSLNw= Received: by 83.161.120.155 with SMTP id n11mr360537qbr; Sun, 04 Dec 2005 11:09:23 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sun, 4 Dec 2005 11:09:23 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Sun, 4 Dec 2005 20:09:23 +0100 From: Massimo Lusetti <melendeztammy@example.org> To: melendeztammy@example.org Subject: Re: Working with classes In-Reply-To: <melendeztammy@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <melendeztammy@example.org> <melendeztammy@example.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 12/4/05, Achim H=FCgen <melendeztammy@example.org> wrote: > I assume that the map access doesn't work because > it uses different keys for storing and retrieval. > Hivemind doesn't hand in instances of the Apple and Banana > class in the constructor, but proxies that are descendants of > the original classes. > That means, that apple.getClass() is not equivalant to Apple.class. Well, haven't thought about that, thanks Achim > Try to verify this by adding a > > System.out.println(apple.getClass().getName()) to the constructor. > > and solve it by using: > > bowl.put(Apple.class, apple); > bowl.put(Banana.class, banana); Its not an option to modify that source (even if actually that's more precise), I've to look elsewhere. I'll try and report back, thanks again. -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Sun Dec 04 19:41:23 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 71920 invoked from network); 4 Dec 2005 19:41:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Dec 2005 19:41:23 -0000 Received: (qmail 98352 invoked by uid 500); 4 Dec 2005 19:41:23 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 98318 invoked by uid 500); 4 Dec 2005 19:41:22 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 98307 invoked by uid 99); 4 Dec 2005 19:41:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2005 11:41:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2005 11:41:21 -0800 Received: by wproxy.gmail.com with SMTP id i4so993840wra for <melendeztammy@example.org>; Sun, 04 Dec 2005 11:41:00 -0800 (PST) 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=GbNDkVyxhKdFeuEjTrfyNUZrnif2ZgcC+DJsk+R5GkL/2xkxKr5dGvTIIwt/lQB4bU8X4a2m/3tC2LaS0KRByBb4GfkAx7BH9MzJBNU6V6uML/Jl2kULzDxEE5eKOw/5NYW8Hy+3SrN/tttvvdF2yewX+gTGL+Lrnm7KbIV+qZI= Received: by 83.161.120.155 with SMTP id c6mr2339263qbo; Sun, 04 Dec 2005 11:40:59 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sun, 4 Dec 2005 11:40:59 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Sun, 4 Dec 2005 20:40:59 +0100 From: Massimo Lusetti <melendeztammy@example.org> To: melendeztammy@example.org Subject: Re: Working with classes In-Reply-To: <melendeztammy@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <melendeztammy@example.org> <melendeztammy@example.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 12/4/05, Achim H=FCgen <melendeztammy@example.org> wrote: > I assume that the map access doesn't work because [..] > Hope this helps > Achim You were right and, yep, this helps me a lot. Hope to get Mule HiveMind support out soon -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Tue Dec 06 03:44:41 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 52796 invoked from network); 6 Dec 2005 03:44:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Dec 2005 03:44:39 -0000 Received: (qmail 18445 invoked by uid 500); 6 Dec 2005 03:44:34 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 18180 invoked by uid 500); 6 Dec 2005 03:44:32 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 18090 invoked by uid 99); 6 Dec 2005 03:44:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 19:44:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Dec 2005 19:44:29 -0800 Received: by wproxy.gmail.com with SMTP id i6so254777wra for <melendeztammy@example.org>; Mon, 05 Dec 2005 19:44:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=M4m0i7PP9DVUovtPdtt3mh79VuS/E951u6kk2HO7qdLV53oXWPP7HugJEbHQ3jM9gPXfMjCxu1JA+3fxvKS8nfV8UkHOgEHJUGKtUcaJHR2QRC+wAYNGIdm2lcdhZ9tKWR3YKWfNMSBADZkNFR/7zEPeo1v3J1elKXeaHIO2wu8= Received: by 83.161.120.155 with SMTP id m13mr1275406wrd; Mon, 05 Dec 2005 19:44:09 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 5 Dec 2005 19:44:08 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Tue, 6 Dec 2005 16:44:09 +1300 From: Colin Taylor <melendeztammy@example.org> To: melendeztammy@example.org Subject: setting properties on an interceptor MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_825_2631575.1133840649004" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_825_2631575.1133840649004 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hopefully this is pretty straightfoward but proven frustratingly opaque to me so far... Can someone explain why cant I set a property on an interceptor? <service-point id=3D"DomainServices" interface=3D"my.DomainServices"> <invoke-factory> <construct class=3D"my.DomainServicesImpl"> </construct> </invoke-factory> <interceptor service-id=3D"opensme.entityext.TransactionInterceptor= "> <set-property name=3D"timeout" value=3D"600"/> // DONT WORK </interceptor> </service-point> Likewise set, set-object generates errors. Whats the Hivemind way of doing this simple bean config? cheers CT. ------=_Part_825_2631575.1133840649004 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hopefully this is pretty straightfoward but proven frustratingly opaque to = me so far...<br><br>Can someone explain why cant I set a property on an int= erceptor?<br><br><br>&nbsp;&nbsp;&nbsp; &lt;service-point id=3D&quot;Domain= Services&quot; interface=3D&quot; my.DomainServices&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &= lt;invoke-factory&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n= bsp;&nbsp;&nbsp; &lt;construct class=3D&quot;my.DomainServicesImpl&quot;&gt= ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt= ;/construct&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/invoke-f= actory&gt;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;intercepto= r service-id=3D&quot; opensme.entityext.TransactionInterceptor&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;set-property name=3D&quot= ;timeout&quot; value=3D&quot;600&quot;/&gt;&nbsp; // DONT WORK<br>&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/interceptor&gt;<br>&nbsp;&nbsp;&nbsp= ; &lt;/service-point&gt;<br><br>Likewise set, set-object generates errors. = Whats the Hivemind way of doing this simple bean config? <br><br>cheers<br>CT.<br><br><br><br><br> ------=_Part_825_2631575.1133840649004-- From hivemind-user-returnmelendeztammy@example.org Tue Dec 06 09:48:07 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 11773 invoked from network); 6 Dec 2005 09:48:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 6 Dec 2005 09:48:06 -0000 Received: (qmail 78945 invoked by uid 500); 6 Dec 2005 09:48:06 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 78914 invoked by uid 500); 6 Dec 2005 09:48:05 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 78903 invoked by uid 99); 6 Dec 2005 09:48:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 01:48:05 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO nproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 01:48:04 -0800 Received: by nproxy.gmail.com with SMTP id h2so288302nfe for <melendeztammy@example.org>; Tue, 06 Dec 2005 01:47:43 -0800 (PST) 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=OX7hdZm5AqHcJM/8cmgEzKheGr4gSd5+5O/RHQqPqnAG3l2+jO/yfqE6e6TxerlIdyOhn6FyeR2mb5wvjWrGMQX8rm1bfrXvJTaY481NaZ9Dumxk2muFWPuJj8Jbd+LD9nlFlj4V3Z/Uwnk6j9Ub2UighHo+uSF1KS9WaaPQWBE= Received: by 83.161.120.155 with SMTP id l19mr36258nfh; Tue, 06 Dec 2005 01:47:42 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 6 Dec 2005 01:47:42 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Tue, 6 Dec 2005 10:47:42 +0100 From: Knut Wannheden <melendeztammy@example.org> To: melendeztammy@example.org Subject: Re: setting properties on an interceptor In-Reply-To: <melendeztammy@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <melendeztammy@example.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Colin, I don't know if that's just a typo in your message but the "service-id" attribute of your <interceptor> element has a leading blank. For the <set-property> (or <set-object>) elements to work inside the <interceptor> element, they must be accepted by your interceptor factory "opensme.entityext.TransactionInterceptor". IOW, the interceptor factory needs to specify these elements in its schema. If you don't want to implement your own interceptor factory you can take a look at the general MethodInterceptorFactory in the "hivemind.lib" module (see http://jakarta.apache.org/hivemind/hivemind-lib/MethodInterceptorFactory.ht= ml). It lets you provide the implementation of the intercepter as any object (e.g. a service). HTH, --knut On 12/6/05, Colin Taylor <melendeztammy@example.org> wrote: > Hopefully this is pretty straightfoward but proven frustratingly opaque t= o > me so far... > > Can someone explain why cant I set a property on an interceptor? > > > <service-point id=3D"DomainServices" interface=3D" my.DomainServices"= > > <invoke-factory> > <construct class=3D"my.DomainServicesImpl"> > </construct> > </invoke-factory> > > <interceptor service-id=3D" > opensme.entityext.TransactionInterceptor"> > <set-property name=3D"timeout" value=3D"600"/> // DONT WORK > </interceptor> > </service-point> > > Likewise set, set-object generates errors. Whats the Hivemind way of doin= g > this simple bean config? > > cheers > CT. > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Thu Dec 08 08:45:46 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 29815 invoked from network); 8 Dec 2005 08:45:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Dec 2005 08:45:46 -0000 Received: (qmail 33631 invoked by uid 500); 8 Dec 2005 08:45:45 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 33615 invoked by uid 500); 8 Dec 2005 08:45:44 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 33604 invoked by uid 99); 8 Dec 2005 08:45:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 00:45:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO mailgate1.arcor-ip.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 00:45:43 -0800 Received: from lxmgw.ebssoftware.com (unknown [83.161.120.155]) by mailgate1.adm.arcor.net (Arcor-CN-MailRelay-l-A) with ESMTP id E6105169F8A for <melendeztammy@example.org>; Thu, 8 Dec 2005 09:45:20 +0100 (CET) Received: from [83.161.120.155] (helo=w2kebss04.ebssoftware.de) by lxmgw.ebssoftware.com with smtp (Exim 3.34 #1) id 1EkHOu-0007Sf-00 for melendeztammy@example.org; Thu, 08 Dec 2005 09:45:16 +0100 Received: from 83.161.120.155 by w2kebss04.ebssoftware.de (InterScan E-Mail VirusWall NT); Thu, 08 Dec 2005 09:45:20 +0100 Received: by mail.ebssoftware.de with Internet Mail Service (5.5.2653.19) id <XMXJR7QM>; Thu, 8 Dec 2005 09:45:20 +0100 Message-ID: <melendeztammy@example.org> From: "Domsch, Christian" <melendeztammy@example.org> To: "'melendeztammy@example.org'" <melendeztammy@example.org> Subject: HiveDoc Date: Thu, 8 Dec 2005 09:45:20 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all. I would like to know, how I should generate the hivedoc for my project. On the website there is a statement that details on building the hivedoc will follow. This paragraph is there since the beginning :-) It would be really great if someone can tell me, how I can build the hivedoc on my own. Thanks in advance, Christian Domsch --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Fri Dec 09 11:32:25 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 6466 invoked from network); 9 Dec 2005 11:32:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2005 11:32:24 -0000 Received: (qmail 87284 invoked by uid 500); 9 Dec 2005 11:32:22 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 87266 invoked by uid 500); 9 Dec 2005 11:32:22 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 87255 invoked by uid 99); 9 Dec 2005 11:32:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2005 03:32:21 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2005 03:32:20 -0800 Received: by wproxy.gmail.com with SMTP id 69so864655wra for <melendeztammy@example.org>; Fri, 09 Dec 2005 03:31:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=edcPAjePDZqnAUDVNrEQjnFQ8XuJu4+umSutayqCousj6vsKtOqzbRYj8tGyET/E+ELkGf+JH0UzwVF5w8gPpMztm6uA0XOBgd3ycB5EdZ9i54J49E9f93sdOiRM/i298rsyP/urkt1z2CnqL2zY1isg6NGhsO2MzBpVdLzxr2g= Received: by 83.161.120.155 with SMTP id t17mr3803215qbr; Fri, 09 Dec 2005 03:31:59 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 9 Dec 2005 03:31:59 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Fri, 9 Dec 2005 12:31:59 +0100 From: Massimo Lusetti <melendeztammy@example.org> To: HiveMind User List <melendeztammy@example.org> Subject: Using enumeration translator MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N In a configuration-point for a type of service i need to convert a series of numbers into and array of int. So <attribute name=3D"fixed-width"> i have to get int[] fixedWidth, do I've to write a Translator or may i try to use... enumeration or something like that? Regards -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Sun Dec 11 01:55:12 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 9936 invoked from network); 11 Dec 2005 01:55:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Dec 2005 01:55:12 -0000 Received: (qmail 54674 invoked by uid 500); 11 Dec 2005 01:47:56 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 54657 invoked by uid 500); 11 Dec 2005 01:47:56 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 54641 invoked by uid 99); 11 Dec 2005 01:47:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2005 17:47:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of melendeztammy@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2005 17:47:54 -0800 Received: by wproxy.gmail.com with SMTP id 37so1468069wra for <melendeztammy@example.org>; Sat, 10 Dec 2005 17:47:34 -0800 (PST) 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:references; b=S6ZMSQwiOTqcKUto+Kd1aJmKaQtRtYOIxu8ikO0vwvhM4xE+ozMHRNvK2vm+Uoqw0zZMdVPXLWbxZJIISeMQYBOihd5lmgKmFMi/eB9Bhed5fYU88rvGDR78I+No1ryMcCQSBYT+btklJMGtO5v2apxwjqHfymrcYyw10vxekG8= Received: by 83.161.120.155 with SMTP id r3mr7498195wrc; Sat, 10 Dec 2005 17:47:33 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sat, 10 Dec 2005 17:47:33 -0800 (PST) Message-ID: <melendeztammy@example.org> Date: Sun, 11 Dec 2005 14:47:33 +1300 From: Colin Taylor <melendeztammy@example.org> To: melendeztammy@example.org Subject: Re: setting properties on an interceptor In-Reply-To: <melendeztammy@example.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18347_26033228.1134265653739" References: <melendeztammy@example.org> <melendeztammy@example.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_18347_26033228.1134265653739 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for you answer, Knut. Unforunately still havent reached nirvana on this issue or on Hivemind service configuration in general. Having looked at the well, complexity of schemas and contributions, I cant help but wonder is that really necessary for this use case? I just want to have a default timeout set up from my Transaction Interceptor and have the ability to override on a per service basis. I started mapping this out with schemas and contributions and was starting to clock up the lines of xml. Futhermore I felt like I was programming in xml, which is never a good feeling as its verbosity and magic mappings start to obscure intent. My [still incomplete] attempt follows. If anyone can shed further light I'd appreciate it, I truly hope I must be missing something. <service-point id=3D"TransactionInterceptor" interface=3D" org.apache.hivemind.ServiceInterceptorFactory"> <invoke-factory model=3D"primitive"> <construct class=3DTransactionInterceptorFactory"> <set-service property=3D"factory" service-id=3D" hivemind.ClassFactory"/> <set-configuration configuration-id=3D"TransactionDefaults"= /> </construct> </invoke-factory> <parameters-schema> <element name=3D"timeout"> <attribute name=3D"value" translator=3D"int"/> </element> </parameters-schema> </service-point> <configuration-point id=3D"TransactionDefaults" occurs=3D"1"> Configuration that defines default behavior of the TransactionService. It must be contributed exactly once in the whole application. <schema> <element name=3D"defaults"> <element name=3D"timeout"> <attribute name=3D"value"/> </element> </element> </schema> </configuration-point> <contribution configuration-id=3D"TransactionDefaults"> <defaults> <timeout value=3D"300"/> </defaults> </contribution> <service-point id=3D"MyServices" interface=3D"com.MyServices"> <invoke-factory> <construct class=3D"com.MyServicesImpl"> </construct> </invoke-factory> <interceptor service-id=3D"hivemind.LoggingInterceptor"/> <interceptor service-id=3D"TransactionInterceptor"> ?? what goes here??? </interceptor> </service-point> ------=_Part_18347_26033228.1134265653739 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for you answer, Knut.<br><br>Unforunately still havent reached nirva= na on this issue or on Hivemind service configuration in general.<br>Having= looked at the well, complexity of schemas and contributions, I cant help b= ut wonder is that really necessary for this use case? I just want to have a= default timeout set up from my Transaction Interceptor and have the abilit= y to override on a per service basis. I started mapping this out with schem= as and contributions and was starting to clock up the lines of xml. Futherm= ore I felt like I was programming in xml, which is never a good feeling as = its verbosity and magic mappings start to obscure intent.=20 <br><br>My [still incomplete] attempt follows. If anyone can shed further l= ight I'd appreciate it, I truly hope I must be missing something. <br>&nbsp= ; <br><br>&nbsp; &lt;service-point id=3D&quot;TransactionInterceptor&quot; = interface=3D&quot; org.apache.hivemind.ServiceInterceptorFactory&quot;&gt;<br>&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp; &lt;invoke-factory model=3D&quot;primitive&quot;= &gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;construct class=3DTransactionInterceptorFactory&quot;&gt;<br>&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp; &lt;set-service property=3D&quot;factory&quot; service-id=3D&quot; hivemind.ClassFactory&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;set-configuration c= onfiguration-id=3D&quot;TransactionDefaults&quot; /&gt;<br>&nbsp;&nbsp;&nbs= p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/construct&gt;<br>&n= bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/invoke-factory&gt;<br>&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameters-schema&gt; <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &lt;element name=3D&quot;timeout&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute= name=3D&quot;value&quot; translator=3D&quot;int&quot;/&gt;<br>&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/element&gt;<br>= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/parameters-schema&gt;<br> &nbsp;&nbsp;&nbsp; &lt;/service-point&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;con= figuration-point id=3D&quot;TransactionDefaults&quot; occurs=3D&quot;1&quot= ;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Configuration that defi= nes default behavior of the TransactionService.<br>&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp; It must be contributed exactly once in the whole applica= tion. <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;schema&gt;<br>&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;element na= me=3D&quot;defaults&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;element name=3D&quot;t= imeout&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute n= ame=3D&quot;value&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/element&gt; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;= /element&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/schema&gt;<= br>&nbsp;&nbsp;&nbsp; &lt;/configuration-point&gt;<br><br><br>&nbsp;&nbsp;&= nbsp; &lt;contribution configuration-id=3D&quot;TransactionDefaults&quot;&g= t;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;defaults&gt;<br>&nbsp;&nbsp= ;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;timeout value=3D&quot;300= &quot;/&gt; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/defaults&gt;<br>&nbsp;&nbsp;= &nbsp; &lt;/contribution&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;service-point id= =3D&quot;MyServices&quot; interface=3D&quot;com.MyServices&quot;&gt;<br>&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;invoke-factory&gt;<br>&nbsp;&nb= sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;construct cla= ss=3D&quot; com.MyServicesImpl&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&= nbsp;&nbsp;&nbsp;&nbsp; &lt;/construct&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp= ;&nbsp;&nbsp; &lt;/invoke-factory&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs= p;&nbsp; &lt;interceptor service-id=3D&quot;hivemind.LoggingInterceptor&quo= t;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;interceptor servi= ce-id=3D&quot;TransactionInterceptor&quot;&gt; <br>?? what goes here???<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;= /interceptor&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/service-point&gt;<br><br> ------=_Part_18347_26033228.1134265653739-- From hivemind-user-returnmelendeztammy@example.org Sun Dec 11 02:19:58 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 95196 invoked from network); 11 Dec 2005 02:19:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Dec 2005 02:19:57 -0000 Received: (qmail 84798 invoked by uid 500); 11 Dec 2005 02:20:03 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 84780 invoked by uid 500); 11 Dec 2005 02:20:02 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 84769 invoked by uid 99); 11 Dec 2005 02:20:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2005 18:20:02 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO carmanconsulting.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2005 18:20:01 -0800 Received: from CARMANI9300 (carmanconsulting.com [83.161.120.155]) by carmanconsulting.com (8.13.4/8.13.4) with ESMTP id jBB2JaKS012582 for <melendeztammy@example.org>; Sat, 10 Dec 2005 21:19:40 -0500 From: "James Carman" <melendeztammy@example.org> To: <melendeztammy@example.org> Subject: RE: setting properties on an interceptor Date: Sat, 10 Dec 2005 21:19:38 -0500 Message-ID: <005301c5fdf9$56c51dd0$6601a8c0@CARMANI9300> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcX99OlsYI7jxryTRm23joNMrVXN4AAAs1yQ In-Reply-To: <melendeztammy@example.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Colin, It looks like you should do: <interceptor service-id=3D"TransactionInterceptor">=20 <timeout value=3D=941000 (or whatever you want it to be)=94 /> </interceptor> But, I'm not convinced that you're schema is set up correctly. You're = not adding the timeout value to the parameters. You might try something = like this: <parameters-schema>=20 <element name=3D"timeout"> <attribute name=3D"value" translator=3D"int"/> </element> <rules> <push-attribute attribute=3D"value"/> <invoke-parent method=3D"addElement"/> </rules> </parameters-schema> Now, this is off the top of my head, so it might not work as is. I'm = just trying to nudge you in the right direction. But, based on what I see, = this seems like it will work. Good luck. Let us know if we can be of any = more help. James ________________________________________ From: Colin Taylor [mailto:melendeztammy@example.org]=20 Sent: Saturday, December 10, 2005 8:48 PM To: melendeztammy@example.org Subject: Re: setting properties on an interceptor Thanks for you answer, Knut. Unforunately still havent reached nirvana on this issue or on Hivemind service configuration in general. Having looked at the well, complexity of schemas and contributions, I = cant help but wonder is that really necessary for this use case? I just want = to have a default timeout set up from my Transaction Interceptor and have = the ability to override on a per service basis. I started mapping this out = with schemas and contributions and was starting to clock up the lines of xml. Futhermore I felt like I was programming in xml, which is never a good feeling as its verbosity and magic mappings start to obscure intent.=20 My [still incomplete] attempt follows. If anyone can shed further light = I'd appreciate it, I truly hope I must be missing something.=20 =A0=20 =A0 <service-point id=3D"TransactionInterceptor" interface=3D" org.apache.hivemind.ServiceInterceptorFactory"> =A0=A0=A0=A0=A0=A0=A0 <invoke-factory model=3D"primitive"> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <construct = class=3DTransactionInterceptorFactory"> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <set-service = property=3D"factory" service-id=3D" hivemind.ClassFactory"/> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <set-configuration = configuration-id=3D"TransactionDefaults" /> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </construct> =A0=A0=A0=A0=A0=A0=A0 </invoke-factory> =A0=A0=A0=A0=A0=A0=A0 <parameters-schema>=20 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <element name=3D"timeout"> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <attribute name=3D"value" = translator=3D"int"/> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </element> =A0=A0=A0=A0=A0=A0=A0 </parameters-schema> =A0=A0=A0 </service-point> =A0=A0=A0 <configuration-point id=3D"TransactionDefaults" occurs=3D"1"> =A0=A0=A0=A0=A0=A0=A0 Configuration that defines default behavior of the TransactionService. =A0=A0=A0=A0=A0=A0=A0 It must be contributed exactly once in the whole = application.=20 =A0=A0=A0=A0=A0=A0=A0 <schema> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <element name=3D"defaults"> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <element name=3D"timeout"> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <attribute = name=3D"value"/> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </element>=20 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </element> =A0=A0=A0=A0=A0=A0=A0 </schema> =A0=A0=A0 </configuration-point> =A0=A0=A0 <contribution configuration-id=3D"TransactionDefaults"> =A0=A0=A0 =A0=A0=A0 <defaults> =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 <timeout value=3D"300"/>=20 =A0=A0=A0 =A0=A0=A0 </defaults> =A0=A0=A0 </contribution> =A0=A0=A0 <service-point id=3D"MyServices" interface=3D"com.MyServices"> =A0=A0=A0=A0=A0=A0=A0 <invoke-factory> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <construct class=3D" = com.MyServicesImpl"> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </construct> =A0=A0=A0=A0=A0=A0=A0 </invoke-factory> =A0=A0=A0=A0=A0=A0=A0 <interceptor = service-id=3D"hivemind.LoggingInterceptor"/> =A0=A0=A0=A0=A0=A0=A0 <interceptor = service-id=3D"TransactionInterceptor">=20 ?? what goes here??? =A0=A0=A0=A0=A0=A0=A0 </interceptor> =A0=A0=A0 </service-point> --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Thu Dec 15 15:13:33 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 33963 invoked from network); 15 Dec 2005 15:13:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2005 15:13:20 -0000 Received: (qmail 83578 invoked by uid 500); 15 Dec 2005 15:13:17 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 83548 invoked by uid 500); 15 Dec 2005 15:13:16 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 83524 invoked by uid 99); 15 Dec 2005 15:13:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2005 07:13:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO paris.ifactory.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2005 07:13:14 -0800 Received: from bender.ifactory.com (bender.ifactory.com [83.161.120.155]) by paris.ifactory.com (8.13.4/8.13.4) with ESMTP id jBFFComH015100 for <melendeztammy@example.org>; Thu, 15 Dec 2005 10:12:50 -0500 Subject: using explicit hivemodule.xmls From: Dan Adams <melendeztammy@example.org> To: melendeztammy@example.org Content-Type: text/plain Organization: Interactive Factory Date: Thu, 15 Dec 2005 10:15:11 -0500 Message-Id: <melendeztammy@example.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.1.fc4.nr) Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.53 on 83.161.120.155 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm writing a tool that has it's own hivemodule.xml which defines the services and extension points. But when the tool is used I would like to allow the user to specify a xml file to use to configure it rather than discovering all hivemodule.xmls on the classpath. Is there an easy way of doing this? -- Dan Adams Software Engineer Interactive Factory --------------------------------------------------------------------- To unsubscribe, e-mail: melendeztammy@example.org For additional commands, e-mail: melendeztammy@example.org From hivemind-user-returnmelendeztammy@example.org Wed Dec 21 19:42:48 2005 Return-Path: <hivemind-user-returnmelendeztammy@example.org> Delivered-To: melendeztammy@example.org Received: (qmail 45091 invoked from network); 21 Dec 2005 19:42:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 21 Dec 2005 19:42:48 -0000 Received: (qmail 24175 invoked by uid 500); 21 Dec 2005 19:42:45 -0000 Delivered-To: melendeztammy@example.org Received: (qmail 24023 invoked by uid 500); 21 Dec 2005 19:42:44 -0000 Mailing-List: contact melendeztammy@example.org; run by ezmlm Precedence: bulk list-help: <mailto:melendeztammy@example.org> list-unsubscribe: <mailto:melendeztammy@example.org> List-Post: <mailto:melendeztammy@example.org> Reply-To: melendeztammy@example.org List-Id: <hivemind-user.jakarta.apache.org> Delivered-To: mailing list melendeztammy@example.org Received: (qmail 24012 invoked by uid 99); 21 Dec 2005 19:42:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2005 11:42:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.161.120.155] (HELO jupiter.toms.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2005 11:42:43 -0800 Received: from jupiter.toms.net (localhost [83.161.120.155]) by jupiter.toms.net (8.12.10/8.12.10) with ESMTP id jBLJgKOk009575 for <melendeztammy@example.org>; Wed, 21 Dec 2005 14:42:20 -0500 Received: (from tom@localhost) by jupiter.toms.net (8.12.10/8.12.10/Submit) id jBLJgKIs009574 for melendeztammy@example.org; Wed, 21 Dec 2005 14:42:20 -0500 Date: Wed, 21 Dec 2005 14:42:20 -0500 From: "Thomas A. Oehser" <melendeztammy@example.org> To: melendeztammy@example.org Subject: Problem with Weblogic dynamic ChangeAwareClassloader Message-ID: <melendeztammy@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on jupiter.toms.net X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-5.8 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, When I use a debugger to modify (any) class in a running Weblogic instance, I get errors like this one: org.apache.hivemind.ApplicationRuntimeException: Error: Module com.fanniemae.eso.emd is duplicated! Definition in file:D:/CVSWorkArea/eMortgage/ed/docroot/WEB-INF/classes/META-INF/hivemodule.xml has been ignored in favor of existing definition from file:D:/CVSWorkArea/eMortgage/ed/docroot/WEB-INF/classes/META-INF/hivemodule.xml. I think what is happening is that the Weblogic ChangeAwareClassloader re- loaded itself, and Hivemind is somehow detecting this as an error, since it is different ClassLoader instance... Is there any way I can get Hivemind to ignore this situation? This occurs when any
{'source': 'Apache Software Foundation Public Mail Archives'}