Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 86968 invoked from network); 27 Jan 2008 15:16:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jan 2008 15:16:41 -0000 Received: (qmail 72570 invoked by uid 500); 27 Jan 2008 15:16:30 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 72546 invoked by uid 500); 27 Jan 2008 15:16:30 -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 72527 invoked by uid 99); 27 Jan 2008 15:16:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2008 07:16:30 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2008 15:16:02 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JJ9Eu-0008OA-L5 for user@geronimo.apache.org; Sun, 27 Jan 2008 07:16:08 -0800 Message-ID: <15120164.post@talk.nabble.com> Date: Sun, 27 Jan 2008 07:16:08 -0800 (PST) From: the666pack To: user@geronimo.apache.org Subject: Re: Geronimo 2.0: customize EJB-Container settings In-Reply-To: <1CB3FE45-84B9-448A-8AF2-007C330479FF@optusnet.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mario.kofler@gmail.com References: <15072400.post@talk.nabble.com> <70BFAB84-0BDD-4A07-8144-22C921E9E6EE@optusnet.com.au> <15106943.post@talk.nabble.com> <1CB3FE45-84B9-448A-8AF2-007C330479FF@optusnet.com.au> X-Virus-Checked: Checked by ClamAV on apache.org another thing, geronimo seems to cut out the parts of the config.xml file which i entered. so i try to alter the properties: PoolSize=100 StrictPooling=true and after starting and shutting down geronimo i end up without the "PoolSize" line.. same happens with "TimeOut" values and also in the StatefulContainer gbean. any idea? thanks, mario. Gianny Damour wrote: > > Hello Mario, > > EJB Container properties along with their default values are defined > by the resource META-INF/org.apache.openejb.embedded/service-jar.xml > within the openejb-core.jar archive. Here is an URL pointing to this > resource: > http://svn.apache.org/repos/asf/openejb/trunk/openejb3/container/ > openejb-core/src/main/resources/META-INF/org.apache.openejb.embedded/ > service-jar.xml > > I believe you are after the TimeOut and PoolSize properties. > > Thanks, > Gianny > > On 26/01/2008, at 10:28 PM, the666pack wrote: > >> >> thanks, >> >> where can i get a full listing of the possible properties for the >> openejb >> container? >> >> in particular i would need properties like MaxCacheSize for how >> many beans >> can be kept at the same time by the ejb-container or a >> RemoveTimeout which >> defines the time after which the beans are removed from the pool >> when not >> needed. >> >> i didnt find a list where i can see the properties that are >> possible for >> openejb. >> >> thanks for helping, >> >> mario >> >> >> Gianny Damour wrote: >>> >>> Hello, >>> >>> You can change these settings in var/config/config.xml. This file >>> defines overrides for the GBeans, i.e. services such as EJB- >>> Containers, running within Geronimo. >>> >>> EJB Containers are declared by the org.apache.geronimo.configs/ >>> openejb//car confiiguration and here are there default configuration: >>> >>> >> class="org.apache.geronimo.openejb.EjbContainer"> >>> Default Stateless Container >>> STATELESS >>> >>> OpenEjbSystem >>> >>> >>> >> class="org.apache.geronimo.openejb.EjbContainer"> >>> Default Stateful Container >>> STATEFUL >>> PoolSize=1000 >>> >>> OpenEjbSystem >>> >>> >>> >> class="org.apache.geronimo.openejb.EjbContainer"> >>> Default BMP Container >>> BMP_ENTITY >>> >>> OpenEjbSystem >>> >>> >>> >> class="org.apache.geronimo.openejb.EjbContainer"> >>> Default CMP Container >>> CMP_ENTITY >>> >>> OpenEjbSystem >>> >>> >>> >>> To override the PoolSize attribute of DefaultStatefulContainer, you >>> need to update the org.apache.geronimo.configs/openejb//car >>> confiiguration as follows in var/config/config.xm: >>> >>> >>> >>> ${OpenEJBPort + PortOffset}>> attribute> >>> ${ServerHostname} >>> >>> >>> >>> PoolSize=1000000 >>> >>> >>> >>> >>> Properties declared there are passed "as-is" to OpenEJB; hence, you >>> can use the same property names defined by OpenEJB. >>> >>> Thanks, >>> Gianny >>> >>> >>> On 25/01/2008, at 6:19 AM, the666pack wrote: >>> >>>> >>>> Hello, >>>> >>>> Can anybody tell me how i can customize the EJB-Container >>>> settings in >>>> Geronimo? >>>> >>>> I dont find an entry in the admin-console and i dont have an idea >>>> which >>>> files i can search for change. >>>> >>>> Basically i would like to set values like Bean-Pool Size or Maximum >>>> Cache >>>> Size as well as Timeout values. >>>> >>>> I hope someone can help, >>>> >>>> thank you, >>>> >>>> Mario >>>> -- >>>> View this message in context: http://www.nabble.com/Geronimo-2.0%3A- >>>> customize-EJB-Container-settings-tp15072400s134p15072400.html >>>> Sent from the Apache Geronimo - Users mailing list archive at >>>> Nabble.com. >>>> >>> >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Geronimo-2.0%3A- >> customize-EJB-Container-settings-tp15072400s134p15106943.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/Geronimo-2.0%3A-customize-EJB-Container-settings-tp15072400s134p15120164.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.