) which
seems outdated and looks up TM from ComponentRegistry.
BTW I had an initial unsuccessful test with BTM but will try to fix
and have BTM as an alternative.
Regards,
Amin
On Wed, Jan 27, 2010 at 1:45 PM, Manik Surtani <manik(a)jboss.org> wrote:
Someone care to add an FAQ about this on the Infinispan wiki? I bet
this will be a common question. :) Amin?
On 26 Jan 2010, at 07:46, Galder Zamarreno wrote:
> And an even further possibility is to take the transaction manager
> (which I suppose you mean JBossTS (Arjuna based JBoss Transactions),
> since JBossTM is the old name for the AS4 JBoss Transaction Manager) and
> bind to JNDI (i.e. similar to what's done in
>
http://anonsvn.jboss.org/repos/infinispan/trunk/core/src/test/java/org/in...
> where we test that CacheManager can be bound to a local JNDI) and then
> retrieve it from there.
>
> As long as you bound it to one of the known locations as per
>
https://svn.jboss.org/repos/infinispan/trunk/core/src/main/java/org/infin...,
> Infinispan would be able to use it as well.
>
> Retrieving the TM this way would ease migration of such code if it ever
> needs to run with an application server.
>
> On 01/25/2010 07:49 PM, Amin Abbaspour wrote:
>> Hi,
>>
>> Oops, sorry, it was there. I don't know why it didn't catch my eyes.
>> I use JBossTM btw.
>>
>> Thanks
>> Amin
>>
>> On Mon, Jan 25, 2010 at 7:33 PM, Mircea Markus<mircea.markus(a)jboss.com>
wrote:
>>> Alternatively, you should be able to use the logic in the
TransactionManagerLookup implementation. This is how ISPN has access to the TM, and
it's up to you as a user to specify how ISPN accesses the TM. I guess you're using
dummy TM, right?
>>>
>>>
>>> On 25 Jan 2010, at 14:11, Galder Zamarreno wrote:
>>>
>>>>
>>>>
>>>> On 01/23/2010 07:13 AM, Amin Abbaspour wrote:
>>>>> Hi All,
>>>>>
>>>>> Why there is no easy way to get TransactionManager from
>>>>> (Advanced)Cache?
>>>>
>>>> Where are you looking? AdvancedCache has getTransactionManager() since
>>>> last month and this is included in CR3.
>>>>
>>>> I can see that you do reflection in
>>>>> TestingUtil.getTransactionManager in order to get TM. BTW
TestingUtil
>>>>> is in test and not available unless one builds custom jars.
>>>>>
>>>>> Regards,
>>>>> Amin Abbaspour
>>>>> _______________________________________________
>>>>> infinispan-dev mailing list
>>>>> infinispan-dev(a)lists.jboss.org
>>>>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>>
>>>> --
>>>> Galder Zamarreño
>>>> Sr. Software Engineer
>>>> Infinispan, JBoss Cache
>>>> _______________________________________________
>>>> infinispan-dev mailing list
>>>> infinispan-dev(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>
>>>
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev