|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Local transactions with Jencks 2Hi all
With jencks 1.3 I used to be able to use local transactions not passing a transactionManager to the JCAConnector. I'm not sure whether this has changed but I see that I have to provide the BootstrapContextFactoryBean a transactionManager, which I see is always of type TransactionManagerFactoryBean. Is this TM XA only? What if I just want JMS (local) transactions? Thanks a lot, I would like to know this before migrating... Francesco |
|
|
Re: Local transactions with Jencks 2Yeah, it seems the TransactionManager is now a required attribute.
But I don't see any real reasons why. I guess the check could be removed without any problems ... On 2/2/07, drvillo <f.vivoli@...> wrote: > > Hi all > > With jencks 1.3 I used to be able to use local transactions not > passing a transactionManager to the JCAConnector. > > I'm not sure whether this has changed but I see that I have to provide the > BootstrapContextFactoryBean a transactionManager, which I see is always > of type TransactionManagerFactoryBean. > Is this TM XA only? What if I just want JMS (local) transactions? > > Thanks a lot, I would like to know this before migrating... > > Francesco > -- > View this message in context: http://www.nabble.com/Local-transactions-with-Jencks-2-tf3161791.html#a8770218 > Sent from the jencks - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Local transactions with Jencks 2Hi
well actually it seems that it cannot be removed so easily... The transaction manager is used by WorkContext.run, without any guard as xaWork.begin(executionContext.getXid(), transactionTimeout < 0 ? 0 : transactionTimeout); Outbound transactions can be configured to be local through the ConnectionManagerFactoryBean.transaction attribute, resulting in something similar to 1.3 (LocalTransactions.INSTANCE to be returned). What about inbound transactions instead? Cheers Francesco
|
|
|
Re: Local transactions with Jencks 2Can't you configure the transaction manager but still
use local transactions ? If you configure the EndpointFactory on the JCAConnector using spring, and if you do not configure the transaction manager on it, it should use local transactions afaik. On 2/5/07, drvillo <f.vivoli@...> wrote: > > Hi > > well actually it seems that it cannot be removed so easily... > The transaction manager is used by WorkContext.run, without > any guard as > > xaWork.begin(executionContext.getXid(), transactionTimeout < 0 ? 0 : > transactionTimeout); > > Outbound transactions can be configured to be local through > the ConnectionManagerFactoryBean.transaction attribute, resulting in > something > similar to 1.3 (LocalTransactions.INSTANCE to be returned). > > What about inbound transactions instead? > > Cheers > Francesco > > > gnodet wrote: > > > > > > > > Yeah, it seems the TransactionManager is now a required attribute. > > But I don't see any real reasons why. I guess the check could > > be removed without any problems ... > > > > On 2/2/07, drvillo <f.vivoli@...> wrote: > >> > >> Hi all > >> > >> With jencks 1.3 I used to be able to use local transactions not > >> passing a transactionManager to the JCAConnector. > >> > >> I'm not sure whether this has changed but I see that I have to provide > >> the > >> BootstrapContextFactoryBean a transactionManager, which I see is always > >> of type TransactionManagerFactoryBean. > >> Is this TM XA only? What if I just want JMS (local) transactions? > >> > >> Thanks a lot, I would like to know this before migrating... > >> > >> Francesco > >> -- > >> View this message in context: > >> http://www.nabble.com/Local-transactions-with-Jencks-2-tf3161791.html#a8770218 > >> Sent from the jencks - user mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe from this list please visit: > >> > >> http://xircles.codehaus.org/manage_email > >> > >> > > > > > > -- > > Cheers, > > Guillaume Nodet > > ------------------------ > > Architect, LogicBlaze (http://www.logicblaze.com/) > > Blog: http://gnodet.blogspot.com/ > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > > -- > View this message in context: http://www.nabble.com/Local-transactions-with-Jencks-2-tf3161791.html#a8804271 > Sent from the jencks - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Local transactions with Jencks 2Sure I do, but still it would be nice to state the difference between types
of transactions clearly in the configuration file. Moreover I'm using the transaction manager for jdbc transactions, can I assume they will be local as well? Another thing about packaging. If I include only the jencks-2.0-all.jar I get the following exception: java.lang.NoClassDefFoundError: org/apache/geronimo/transaction/manager/XidFactory then I need to add the geronimo-transaction jar, which wasn't required by jencks 1.3... Is this done on purpose? Thanks for the hint BTW:) Cheers Francesco
|
|
|
Re: Local transactions with Jencks 2I guess this has been missed somehow.
Could you please raise a JIRA ? http://jira.goopen.org/jira/browse/JCA And if you hae any way to improve with local transactions, any improvement would be welcome ... On 2/5/07, drvillo <f.vivoli@...> wrote: > > Sure I do, but still it would be nice to state the difference between types > of transactions clearly in the configuration file. > Moreover I'm using the transaction manager for jdbc transactions, can I > assume > they will be local as well? > > Another thing about packaging. > If I include only the jencks-2.0-all.jar I get the following exception: > java.lang.NoClassDefFoundError: > org/apache/geronimo/transaction/manager/XidFactory > > then I need to add the geronimo-transaction jar, which wasn't required by > jencks 1.3... > Is this done on purpose? > > > Thanks for the hint BTW:) > Cheers > Francesco > > > gnodet wrote: > > > > Can't you configure the transaction manager but still > > use local transactions ? > > If you configure the EndpointFactory on the JCAConnector > > using spring, and if you do not configure the transaction manager > > on it, it should use local transactions afaik. > > > > On 2/5/07, drvillo <f.vivoli@...> wrote: > >> > >> Hi > >> > >> well actually it seems that it cannot be removed so easily... > >> The transaction manager is used by WorkContext.run, without > >> any guard as > >> > >> xaWork.begin(executionContext.getXid(), transactionTimeout < 0 ? 0 : > >> transactionTimeout); > >> > >> Outbound transactions can be configured to be local through > >> the ConnectionManagerFactoryBean.transaction attribute, resulting in > >> something > >> similar to 1.3 (LocalTransactions.INSTANCE to be returned). > >> > >> What about inbound transactions instead? > >> > >> Cheers > >> Francesco > >> > >> > >> gnodet wrote: > >> > > >> > > >> > > >> > Yeah, it seems the TransactionManager is now a required attribute. > >> > But I don't see any real reasons why. I guess the check could > >> > be removed without any problems ... > >> > > >> > On 2/2/07, drvillo <f.vivoli@...> wrote: > >> >> > >> >> Hi all > >> >> > >> >> With jencks 1.3 I used to be able to use local transactions not > >> >> passing a transactionManager to the JCAConnector. > >> >> > >> >> I'm not sure whether this has changed but I see that I have to provide > >> >> the > >> >> BootstrapContextFactoryBean a transactionManager, which I see is > >> always > >> >> of type TransactionManagerFactoryBean. > >> >> Is this TM XA only? What if I just want JMS (local) transactions? > >> >> > >> >> Thanks a lot, I would like to know this before migrating... > >> >> > >> >> Francesco > >> >> -- > >> >> View this message in context: > >> >> > >> http://www.nabble.com/Local-transactions-with-Jencks-2-tf3161791.html#a8770218 > >> >> Sent from the jencks - user mailing list archive at Nabble.com. > >> >> > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe from this list please visit: > >> >> > >> >> http://xircles.codehaus.org/manage_email > >> >> > >> >> > >> > > >> > > >> > -- > >> > Cheers, > >> > Guillaume Nodet > >> > ------------------------ > >> > Architect, LogicBlaze (http://www.logicblaze.com/) > >> > Blog: http://gnodet.blogspot.com/ > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe from this list please visit: > >> > > >> > http://xircles.codehaus.org/manage_email > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Local-transactions-with-Jencks-2-tf3161791.html#a8804271 > >> Sent from the jencks - user mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe from this list please visit: > >> > >> http://xircles.codehaus.org/manage_email > >> > >> > > > > > > -- > > Cheers, > > Guillaume Nodet > > ------------------------ > > Architect, LogicBlaze (http://www.logicblaze.com/) > > Blog: http://gnodet.blogspot.com/ > > > > --------------------------------------------------------------------- > > To unsubscribe from this list please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > > -- > View this message in context: http://www.nabble.com/Local-transactions-with-Jencks-2-tf3161791.html#a8809692 > Sent from the jencks - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Local transactions with Jencks 2Hi
I missed this as well. When I have time next week I'll rise the issue. Thanks
|
| Free embeddable forum powered by Nabble | Forum Help |