You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aman Nanner (JIRA)" <ji...@apache.org> on 2007/04/24 22:28:15 UTC

[jira] Created: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

MDB pool size should be able to be configurable in openejb-jar.xsd
------------------------------------------------------------------

                 Key: GERONIMO-3115
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: OpenEJB
    Affects Versions: 1.2
            Reporter: Aman Nanner


There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated GERONIMO-3115:
-----------------------------------

    Fix Version/s:     (was: Wish List)
                   2.1
                   2.0.x

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.x, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Aman Nanner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523935 ] 

Aman Nanner commented on GERONIMO-3115:
---------------------------------------

Has this been shown to work in a real example?

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.x, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Manu T George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524649 ] 

Manu T George commented on GERONIMO-3115:
-----------------------------------------

Infact using the above method we need not even have two resource adapters and the performance is also better than using the dual RAs

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.x, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Aman Nanner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524807 ] 

Aman Nanner commented on GERONIMO-3115:
---------------------------------------

I tried this out and it works!  This is exactly what I was looking for.  Is there any documentation on what each property actually configures?  Is the "maxSessions" value equal to the max number of sessions that can be opened by a particular MDB bean instance, or is it the max number of sessions that can be opened by the entire set of MDBs of a particular instance type?

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.x, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Manu T George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524645 ] 

Manu T George commented on GERONIMO-3115:
-----------------------------------------

You can still make it work by setting the following for your MDB

	<activation-config>
              <activation-config-property>
                <activation-config-property-name>maxSessions</activation-config-property-name>
                <activation-config-property-value>1</activation-config-property-value>
              </activation-config-property>
              <activation-config-property> 
                <activation-config-property-name>maxMessagesPerSessions </activation-config-property-name>
                <activation-config-property-value>1</activation-config-property-value>
              </activation-config-property>
            </activation-config>

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.x, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Manu T George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522779 ] 

Manu T George commented on GERONIMO-3115:
-----------------------------------------

This mail from the openejb-dev list may throw some light on the matter
http://mail-archives.apache.org/mod_mbox/openejb-dev/200706.mbox/%3CB1AE72A1-3DF5-40BD-9DD5-5AEF27700151@iq80.com%3E

In the case of openejb integrated in geronimo, you can only set the pool size on the resource adapter. An MDB container is created for each adapter provided you have an MDB using that RA.  So you can create a new RA with the pool size as 1 and then assign the MDB (for which pool size is 1) to that RA.

This is how you can get a pool size of 1 currently. 


> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.x, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Manu T George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524822 ] 

Manu T George commented on GERONIMO-3115:
-----------------------------------------

Descriptions are given here.  http://activemq.apache.org/activation-spec-properties.html
I think it will map to the max number of sessions that can be opened by the entire set of MDBs of a particular instance type since there is no pooling at the EJB container side.


> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.x, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Joe Bohn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bohn updated GERONIMO-3115:
-------------------------------

    Fix Version/s:     (was: 2.0.x)
                   2.0.3

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.3, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Aman Nanner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523909 ] 

Aman Nanner commented on GERONIMO-3115:
---------------------------------------

I had tried this at one time and it didn't work:

http://www.nabble.com/Sharing-resources-in-an-MDB-tf3412013s134.html#a9506828

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.x, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Aman Nanner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aman Nanner updated GERONIMO-3115:
----------------------------------

    Affects Version/s:     (was: 1.2)
                       2.0-M6

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: Wish List
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevan Miller closed GERONIMO-3115.
----------------------------------

    Resolution: Won't Fix

as described in the jira, pool size is configurable.

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: 2.0.x, 2.1
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3115) MDB pool size should be able to be configurable in openejb-jar.xsd

Posted by "Aman Nanner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aman Nanner updated GERONIMO-3115:
----------------------------------

    Fix Version/s: Wish List

> MDB pool size should be able to be configurable in openejb-jar.xsd
> ------------------------------------------------------------------
>
>                 Key: GERONIMO-3115
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3115
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.0-M6
>            Reporter: Aman Nanner
>             Fix For: Wish List
>
>
> There should be an attribute for message driven beans in the openejb-jar.xsd schema that will configure the pool size.  For example, if a pool size of "1" were configured for a specific bean, then there would only be a maximum of 1 message driven bean instance of that type that would be instantiated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.