I was haveing JTS on classpath declared as dependency instead of JTA,
apparently this wasn't a problem with older releases.
More details are on the forum:
Care to share the error, so others don't make the same mistake?
:)
On 22 Jan 2010, at 17:16, Sanne Grinovero wrote:
> sorry, it's all ok now - stupid error of mine.
> Thanks Galder for spotting it :-)
>
> Sanne
>
> 2010/1/22 Sanne Grinovero <sanne.grinovero(a)gmail.com>:
>> I've added a unit test to prevent this from happening again,
>> even if I thought the tests in other modules were enough (obviously I
>> was wrong).
>>
>> The test is not green (and the demo is working again) because it's
>> back to using 4.6.0.GA;
>> what should I do to solve this ? I don't like the current workaround
>> of forcing a different version, better advice is welcome
>>
>> Sanne
>>
>> 2010/1/22 Sanne Grinovero <sanne.grinovero(a)gmail.com>:
>>> sorry I didn't add the stacktrace,
>>> you can see what happens here:
http://community.jboss.org/message/521729#521729
>>>
>>> that's not failing during initial lookup: Infinispan starts fine and
>>> configuration looks ok until a transaction is started at runtime.
>>> So the one test in infinispan-demo is fine, because it's only testing
>>> the configuration is fine (wasn't expecting other errors, as it should
>>> be covered by unit tests in the main lucene module). Will add another
>>> trivial test.
>>>
>>> Sanne
>>>
>>> 2010/1/22 Manik Surtani <manik(a)jboss.org>:
>>>>
>>>> On 22 Jan 2010, at 12:43, Sanne Grinovero wrote:
>>>>
>>>>> Hello,
>>>>> until some weeks ago Infinispan was using this dependency:
>>>>> <dependency>
>>>>> <groupId>jboss.jbossts</groupId>
>>>>> <artifactId>jbossjts</artifactId>
>>>>> <version>4.6.1.GA</version>
>>>>> </dependency>
>>>>>
>>>>> and this was then updated to version 4.9.0.GA for some other
problem,
>>>>
>>>> Well, 4.6.1 was hiding a bug in one of our XA adapters so it was useless
for testing. :) 4.9.0 didn't hide this bug, and as a result the bug got fixed.
>>>>
>>>>> but this version is failing when using the Lucene Directory Demo
which
>>>>> needs a JBossStandaloneJTAManagerLookup.
>>>>
>>>> What's the problem here? Getting a hold of the lookup? The unit
tests in the test suite use org.infinispan.test.fwk.TransactionSetup when it needs to
configure a cache with a transaction manager. Anything in there sheds any light?
>>>>
>>>>> I need to at least restore the old version on the demo only, but
would
>>>>> prefer Infinispan could recommend a consistent version.
>>>>>
>>>>> Isn't this 4.9.0.GA version giving problems to other tests?
>>>>
>>>> Nope.
>>>>
>>>>> going to open a thread on jboss-ts forums, I can't CC the
userlist as
>>>>> mailman is down and I'm not subscribed to that list.
>>>>>
>>>>> Regards,
>>>>> Sanne
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>
>>
>
> _______________________________________________
> 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