Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 73415 invoked from network); 23 Oct 2008 22:14:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2008 22:14:26 -0000 Received: (qmail 94806 invoked by uid 500); 23 Oct 2008 22:14:28 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 94772 invoked by uid 500); 23 Oct 2008 22:14:28 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 94761 invoked by uid 99); 23 Oct 2008 22:14:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2008 15:14:28 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.60] (HELO smtp105.prem.mail.sp1.yahoo.com) (98.136.44.60) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 Oct 2008 22:13:16 +0000 Received: (qmail 95139 invoked from network); 23 Oct 2008 22:12:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=vykgeoxIWNPrWrKZwZpq4H8IHf5GLPuYKJIzjfsCH3DoeJLIxdfFE6CU1pf0SxGAzyvcDtTNQvYEybgqNEJbN5N5tQglUTkeCoqyUb4UzJFV5uIA4jW9/0Mqc1BfDtaq0YOqEhRDXobm3tMeh8JiMiVB4QQ3x4EnWtaGFcLsuVU= ; Received: from unknown (HELO ?10.11.55.45?) (david_jencks@63.105.20.225 with plain) by smtp105.prem.mail.sp1.yahoo.com with SMTP; 23 Oct 2008 22:12:53 -0000 X-YMail-OSG: UCF4PZUVM1lJWwySrzSRZaTvGqPW8nMY8wmuj.Em73bf.OWmiN4nJUtoXtLXxOrTJsiNWz9GH8z6yEKQEAwg445Xe_sVPQAwb_nIYld25hvtzXaLhW4OxiXShvfhwkcN_b2Z65r3Q52qWEFKV.bRif8Bn88ebi0yfAZDdQ.S5SKhIHwZO3CskLBHfD8- X-Yahoo-Newman-Property: ymail-3 Message-Id: <1A24362F-26A8-42B5-A7BB-89E15CD5C0F9@yahoo.com> From: David Jencks To: user@geronimo.apache.org In-Reply-To: <20140313.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: How to define a new WorkManager? Date: Thu, 23 Oct 2008 15:12:52 -0700 References: <20140313.post@talk.nabble.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org On Oct 23, 2008, at 2:55 PM, cj91 wrote: > > Geronimo 2.1.3 > > Searched far and wide for this, and it seems like geronimo has > support, but > I can't figure out where to do this at. > > I see there's a "Thread Pools" link on the server console, but I > don't see > an option to create a new thread pool or a WorkManager. Where can I > define a > new work manager and give it a jndi name? AFAIK you can't do this from the console. You need to include gbean definitions similar to this in an appropriate plan: 30000 5 30 ConnectorThreadPool ConnectorThreadPool ConnectorThreadPool ConnectorThreadPool TransactionManager and make sure the plan has the transaction plugin as a direct or transitive dependency so the TransactionManager reference can be resolved. The default work manager is not exposed via jndi. If you want to expose yours you'd include a gbean something like this: MyWorkManager ?name= MyWorkManager# GeronimoContext in which case is should be available at ger:/MyWorkManager AFAIK no one has done this before.... I'm a bit curious as to your use case and why you need it in jndi. thanks david jencks > > > Thank you, > -Jonathan > -- > View this message in context: http://www.nabble.com/How-to-define-a-new-WorkManager--tp20140313s134p20140313.html > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. >