Hmm, I just did this and ... it worked!
Ok, what I did was *slightly* different - I put your XML files on my classpath and created
a CacheManager using:
m_cacheManager = new DefaultCacheManager("datagrid-infinispan.xml");
m_cache = m_cacheManager.getCache();
m_transactionManager = m_cache.getAdvancedCache().getTransactionManager();
return m_cacheManager;
This is the same datagrid-infinispan.xml (and jbossts-properties.xml) that you attached at
the start of this thread.
Cheers
Manik
On 15 Dec 2009, at 18:01, Bryan Grunow wrote:
When I run the test as configured the test succeeds. When I use the
attached configuration file which is the one we’re using the test fails.
@Override
protected CacheManager createCacheManager() throws Exception {
//Configuration c = getDefaultStandaloneConfig(true);
//c.setIndexingEnabled(true);
//c.setIndexLocalOnly(true);
//m_cacheManager = TestCacheManagerFactory.createCacheManager(c, true);
InputStream is = new FileInputStream("infinispan.xml");
m_cacheManager = new DefaultCacheManager(is, true);
m_cache = m_cacheManager.getCache();
m_transactionManager = m_cache.getAdvancedCache().getTransactionManager();
return m_cacheManager;
}
I don’t think there is a lot different from the standard config other than the
following.
- We use FIFODataContainer with no eviction
- We’ve got JMX turned on.
- Lock striping is turned off
- We’re running in local mode
Bryan
From: infinispan-dev-bounces(a)lists.jboss.org
[mailto:infinispan-dev-bounces@lists.jboss.org] On Behalf Of Manik Surtani
Sent: Tuesday, December 15, 2009 4:04 AM
To: infinispan -Dev List
Subject: Re: [infinispan-dev] ISPN-296 closed but not sure why
You can run the test from the src tree if you check it out, set it up accordingly as per
instructions here [1] and run the test in your IDE.
[1]
http://community.jboss.org/wiki/InfinispanQuickStartGuideforDevelopers
On 14 Dec 2009, at 20:07, Bryan Grunow wrote:
I’ve updated to CR3 and it appears this issue is still there. Is there a way to see the
output of this test? There should be exceptions being thrown.
Bryan
From: infinispan-dev-bounces(a)lists.jboss.org
[mailto:infinispan-dev-bounces@lists.jboss.org] On Behalf Of Manik Surtani
Sent: Friday, December 11, 2009 4:06 AM
To: infinispan -Dev List
Subject: Re: [infinispan-dev] ISPN-296 closed but not sure why
FYI, I've also added this as a unit test (modified to work with our test fwk) and it
works fine in trunk.
http://fisheye.jboss.org/browse/Infinispan/trunk/query/src/test/java/org/...
Cheers
Manik
On 10 Dec 2009, at 19:35, Bryan Grunow wrote:
The issue has been closed but I can reproduce it. I’m not sure if it was closed because
it could not be reproduced or because it not felt as a bug.
https://jira.jboss.org/jira/browse/ISPN-296
I’ve attached a simple test to reproduce the problem. Just a reminder. When running the
test make sure to add -Dinfinispan.query.enabled=true
-Dinfinispan.query.indexLocalOnly=true to enable query support.
Bryan
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information,
privileged material (including material protected by the solicitor-client or other
applicable privileges), or constitute non-public information. Any use of this information
by anyone other than the intended recipient is prohibited. If you have received this
transmission in error, please immediately reply to the sender and delete this information
from your system. Use, dissemination, distribution, or reproduction of this transmission
by unintended recipients is not authorized and may be unlawful.
<QueryTest.zip>_______________________________________________
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
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information,
privileged material (including material protected by the solicitor-client or other
applicable privileges), or constitute non-public information. Any use of this information
by anyone other than the intended recipient is prohibited. If you have received this
transmission in error, please immediately reply to the sender and delete this information
from your system. Use, dissemination, distribution, or reproduction of this transmission
by unintended recipients is not authorized and may be
unlawful._______________________________________________
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
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information,
privileged material (including material protected by the solicitor-client or other
applicable privileges), or constitute non-public information. Any use of this information
by anyone other than the intended recipient is prohibited. If you have received this
transmission in error, please immediately reply to the sender and delete this information
from your system. Use, dissemination, distribution, or reproduction of this transmission
by unintended recipients is not authorized and may be unlawful.
<infinispan.xml>_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev