Re: Geronimo 2.0: customize EJB-Container settings
Hello Mario, I do not know. I forward your email to the OpenEJB user list, where experts should be able to help. Thanks, Gianny On 28/01/2008, at 1:21 AM, the666pack wrote: hello, thank you, these values are quite helpful already to specify important performance values. however i am missing some configuration settings.. in particular: - container settings for entity beans (maximum pool size, commit option) - cache settings (not pool-settings but merely what happens when the pool is full) is it possible to set such settings in geronimo or openejb? thanks very much for helping, 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: Default Stateless Containerattribute> STATELESS OpenEjbSystem Default Stateful Containerattribute> STATEFUL PoolSize=1000 OpenEjbSystem Default BMP Container BMP_ENTITY OpenEjbSystem 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: car"> ${OpenEJBPort + PortOffset} ${ServerHostname} PoolSize=100attribute> 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-tp15072400s134p15119677.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Geronimo 2.0: customize EJB-Container settings
On 28/01/2008, at 2:16 AM, the666pack wrote: 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=trueattribute> Hello, You need to configure these properties like this: PoolSize=100 StrictPooling=true Thanks, Giany 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: Default Stateless Containerattribute> STATELESS OpenEjbSystem Default Stateful Containerattribute> STATEFUL PoolSize=1000 OpenEjbSystem Default BMP Container BMP_ENTITY OpenEjbSystem 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: car"> ${OpenEJBPort + PortOffset} ${ServerHostname} PoolSize=100attribute> 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.
Re: Geronimo 2.0: customize EJB-Container settings
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=100 >>> >>> >>> >>> >>> 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.
Re: Geronimo 2.0: customize EJB-Container settings
hello, thank you, these values are quite helpful already to specify important performance values. however i am missing some configuration settings.. in particular: - container settings for entity beans (maximum pool size, commit option) - cache settings (not pool-settings but merely what happens when the pool is full) is it possible to set such settings in geronimo or openejb? thanks very much for helping, 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=100 >>> >>> >>> >>> >>> 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-tp15072400s134p15119677.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Geronimo 2.0: customize EJB-Container settings
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: Default Stateless Container STATELESS OpenEjbSystem Default Stateful Container STATEFUL PoolSize=1000 OpenEjbSystem Default BMP Container BMP_ENTITY OpenEjbSystem 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} ${ServerHostname} PoolSize=100 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.
Re: Geronimo 2.0: customize EJB-Container settings
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=100 > > > > > 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.
Re: Geronimo 2.0: customize EJB-Container settings
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=100 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.
Geronimo 2.0: customize EJB-Container settings
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.