[jboss-jira] [JBoss JIRA] (AS7-6055) Support multiple <entry> elements for <pooled-connection-factory>

Justin Bertram (JIRA) jira-events at lists.jboss.org
Wed Nov 28 16:04:21 EST 2012


     [ https://issues.jboss.org/browse/AS7-6055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram updated AS7-6055:
--------------------------------

    Steps to Reproduce: 
1) Change the default standalone-full.xml to use this:
{noformat}
<pooled-connection-factory name="hornetq-ra">
    <transaction mode="xa"/>
    <connectors>
        <connector-ref connector-name="in-vm"/>
    </connectors>
    <entries>
        <entry name="java:/JmsXA"/>
        <entry name="java:/MyJmsXA"/>
    </entries>
</pooled-connection-factory>
{noformat}
2) Start the server.

3) Observe in the log that the connection factory is only bound to "java:/JmsXA" and not "java:/MyJmsXA":

{noformat}INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-1) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]{noformat}

  was:
1) Change the default standalone-full.xml to use this:

                    <pooled-connection-factory name="hornetq-ra">
                        <transaction mode="xa"/>
                        <connectors>
                            <connector-ref connector-name="in-vm"/>
                        </connectors>
                        <entries>
                            <entry name="java:/JmsXA"/>
                            <entry name="java:/MyJmsXA"/>
                        </entries>
                    </pooled-connection-factory>

2) Start the server.

3) Observe in the log that the connection factory is only bound to "java:/JmsXA" and not "java:/MyJmsXA":

  INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-1) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]


    
> Support multiple <entry> elements for <pooled-connection-factory>
> -----------------------------------------------------------------
>
>                 Key: AS7-6055
>                 URL: https://issues.jboss.org/browse/AS7-6055
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 7.1.1.Final
>            Reporter: Justin Bertram
>            Assignee: Jeff Mesnil
>
> Currently a <pooled-connection-factory> can only be bound to a single JNDI location because it only supports one <entry> despite the fact that the schema allows multiple <entry> elements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list