[jira] [Commented] (AMQ-5224) XA pooled connection factories are not recoverable

2014-06-13 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14030418#comment-14030418
 ] 

Guillaume Nodet commented on AMQ-5224:
--

You're right.
Though the problem is that XAConnectionFactory does not inherit from 
ConnectionFactory, so for JMS implementations that have separate 
implementations for both, the code is unusable.

 XA pooled connection factories are not recoverable
 --

 Key: AMQ-5224
 URL: https://issues.apache.org/jira/browse/AMQ-5224
 Project: ActiveMQ
  Issue Type: Bug
Affects Versions: 5.9.1, 5.10.0
Reporter: Guillaume Nodet

 PooledConnectionFactory#setConnectionFactory hides the XAConnectionFactory 
 interface which is used by the resource manager.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (AMQ-5224) XA pooled connection factories are not recoverable

2014-06-13 Thread Guillaume Nodet (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14030443#comment-14030443
 ] 

Guillaume Nodet commented on AMQ-5224:
--

A few improvements to activemq-jms-pool at
  https://github.com/gnodet/activemq/commits/fix-jms-pool

 XA pooled connection factories are not recoverable
 --

 Key: AMQ-5224
 URL: https://issues.apache.org/jira/browse/AMQ-5224
 Project: ActiveMQ
  Issue Type: Bug
Affects Versions: 5.9.1, 5.10.0
Reporter: Guillaume Nodet

 PooledConnectionFactory#setConnectionFactory hides the XAConnectionFactory 
 interface which is used by the resource manager.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (AMQ-5224) XA pooled connection factories are not recoverable

2014-06-13 Thread Timothy Bish (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14030820#comment-14030820
 ] 

Timothy Bish commented on AMQ-5224:
---

I've applied those updates to trunk along with some updates to some tests in 
activemq-pool that broker as a result. 

 XA pooled connection factories are not recoverable
 --

 Key: AMQ-5224
 URL: https://issues.apache.org/jira/browse/AMQ-5224
 Project: ActiveMQ
  Issue Type: Bug
Affects Versions: 5.9.1, 5.10.0
Reporter: Guillaume Nodet

 PooledConnectionFactory#setConnectionFactory hides the XAConnectionFactory 
 interface which is used by the resource manager.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (AMQ-5224) XA pooled connection factories are not recoverable

2014-06-12 Thread Benjamin Graf (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14029128#comment-14029128
 ] 

Benjamin Graf commented on AMQ-5224:


Reason for recovery working with ActiveMQ pool might be a different usage than 
implemented in Aries TX JMS



e.g.
bean id=internalConnectionFactory 
class=org.apache.activemq.ActiveMQXAConnectionFactory
   argument value=tcp://localhost:61616 /
   property name=userName value=admin /
   property name=password value=admin /
/bean

bean id=connectionFactory 
class=org.apache.activemq.jms.pool.JcaPooledConnectionFactory
 init-method=start destroy-method=stop
   property name=connectionFactory ref=internalConnectionFactory/
   property name=transactionManager ref=transactionManager/
   property name=name value=activemq /
/bean

bean id=resourceManager 
class=org.apache.activemq.jms.pool.GenericResourceManager 
 init-method=recoverResource
   property name=connectionFactory ref=internalConnectionFactory/
   property name=transactionManager ref=transactionManager/
   property name=resourceName value=activemq /
   property name=userName value=admin /
   property name=password value=admin /
/bean

 XA pooled connection factories are not recoverable
 --

 Key: AMQ-5224
 URL: https://issues.apache.org/jira/browse/AMQ-5224
 Project: ActiveMQ
  Issue Type: Bug
Affects Versions: 5.9.1, 5.10.0
Reporter: Guillaume Nodet

 PooledConnectionFactory#setConnectionFactory hides the XAConnectionFactory 
 interface which is used by the resource manager.



--
This message was sent by Atlassian JIRA
(v6.2#6252)