Re: [infinispan-dev] Weird build error in IntelliJ

2011-04-29 Thread Galder Zamarreño
Actually, just tried both settings and was able to rebuild Infinispan fine. I'll keep them running and see if I see same issues. On Apr 27, 2011, at 3:47 PM, 이희승 (Trustin Lee) wrote: This problem only occurs when 'in-process javac' is chosen in the 'Project Settings - Java Compiler' page. I

Re: [infinispan-dev] cache name in logs

2011-04-29 Thread Olaf Bergner
Am 29.04.11 16:55, schrieb Galder Zamarreño: On Apr 28, 2011, at 11:47 PM, Manik Surtani wrote: We do now support JBoss Logging. https://issues.jboss.org/browse/ISPN-380 @Galder, does JBoss Logging have support for what Mircea mentioned below? I've skimmed through the javadoc but didn't

Re: [infinispan-dev] cache name in logs

2011-04-29 Thread Mircea Markus
On 29 Apr 2011, at 16:26, Olaf Bergner wrote: Am 29.04.11 16:55, schrieb Galder Zamarreño: On Apr 28, 2011, at 11:47 PM, Manik Surtani wrote: We do now support JBoss Logging. https://issues.jboss.org/browse/ISPN-380 @Galder, does JBoss Logging have support for what Mircea mentioned

Re: [infinispan-dev] cache name in logs

2011-04-29 Thread Manik Surtani
My vote is to go with the MDC approach. On 29 Apr 2011, at 11:33, Mircea Markus wrote: On 29 Apr 2011, at 16:26, Olaf Bergner wrote: Am 29.04.11 16:55, schrieb Galder Zamarreño: On Apr 28, 2011, at 11:47 PM, Manik Surtani wrote: We do now support JBoss Logging.

Re: [infinispan-dev] cache name in logs

2011-04-29 Thread David M. Lloyd
I would just use NDC or MDC honestly. NDC.push(cacheName); try { do user stuff; } finally { NDC.pop(); } Similar if you want to use an MDC key. On 04/29/2011 09:55 AM, Galder Zamarreño wrote: On Apr 28, 2011, at 11:47 PM, Manik Surtani wrote: We do now support JBoss Logging.

Re: [infinispan-dev] cache name in logs

2011-04-29 Thread Mircea Markus
On 29 Apr 2011, at 16:30, Dan Berindei wrote: JBoss Logging does support MDC: http://community.jboss.org/wiki/UsingMDCInJBossAS6Applications It's not exactly what Mircea wants though, because the decision to include or not the cache name in the log will be at the appender level and not at

Re: [infinispan-dev] [Pull Request] Modular Classloading Compatibility

2011-04-29 Thread Jason T. Greene
On 4/28/11 4:52 PM, Manik Surtani wrote: On 27 Apr 2011, at 12:39, Jason T. Greene wrote: Available here: https://github.com/infinispan/infinispan/pull/278 The problem is basically that infinispan currently is using TCCL for all class loading and resource loading. This has a lot of

Re: [infinispan-dev] cache name in logs

2011-04-29 Thread Manik Surtani
I think any log attached to a named cache component (versus a global component) should present cache name. On 29 Apr 2011, at 12:48, Mircea Markus wrote: On 29 Apr 2011, at 16:37, Manik Surtani wrote: My vote is to go with the MDC approach. +1 I will create a JIRA for this. Before that

[infinispan-dev] Describing infinispan

2011-04-29 Thread Paolo Romano
Hi guys, we're preparing a paper describing the self-tuning replication mechanism (Primary backup vs the 2PC-based replication mechanism currently used by Infinispan), and we'd like to stress how relevant Infinispan is for the J2EE community, and (I was thinking) in particular for the JBoss

Re: [infinispan-dev] Infinispan Query entity discovery (Was: Re: new Infinispan Query API - ISPN-194)

2011-04-29 Thread Israel Lacerra
What about use D) and also give a way to user specify the default classes to all queries? On Wed, Apr 27, 2011 at 5:10 AM, Emmanuel Bernard emman...@hibernate.orgwrote: On 27 avr. 2011, at 08:57, Sanne Grinovero wrote: 2011/4/27 Emmanuel Bernard emman...@hibernate.org: Users can put

Re: [infinispan-dev] Infinispan Query entity discovery (Was: Re: new Infinispan Query API - ISPN-194)

2011-04-29 Thread Sanne Grinovero
2011/4/29 Israel Lacerra israe...@gmail.com: What about use D) and also give a way to user specify the default classes to all queries? Yes that's the idea; but we need to figure out how the user specifies the default classes; so far nobody liked any proposal. Sanne On Wed, Apr 27, 2011 at

Re: [infinispan-dev] Infinispan Query entity discovery (Was: Re: new Infinispan Query API - ISPN-194)

2011-04-29 Thread Israel Lacerra
Now I'm a little confused about why we can't use the classes colected on QueryInterceptor... Infinispan Query as it might not have discovered all types yet (1) Probably I am missing some point, but to me it is not a problem. On Fri, Apr 29, 2011 at 3:36 PM, Sanne Grinovero

Re: [infinispan-dev] Infinispan Query entity discovery (Was: Re: new Infinispan Query API - ISPN-194)

2011-04-29 Thread Israel Lacerra
We want to search the object Example with example.name = israel. In the moment, the Infinispan still does not know this class. If we are in scenario D): We search specifying the class, and we have an empty result... as we don't have any Example object in index. If we use the classes collected

[infinispan-dev] recovery documentation

2011-04-29 Thread Mircea Markus
Hi, I've set up some on documentation around the new transaction functionality: - recovery, linked from the main documentation page: http://community.jboss.org/docs/DOC-16646?uniqueTitle=false - Synchronization: http://community.jboss.org/wiki/InfinispanTransactions#Enlisting_Synchronization I

Re: [infinispan-dev] Infinispan Query entity discovery (Was: Re: new Infinispan Query API - ISPN-194)

2011-04-29 Thread Sanne Grinovero
2011/4/29 Israel Lacerra israe...@gmail.com: We want to search the object Example with example.name = israel. In the moment, the Infinispan still does not know this class. If we are in scenario D): We search specifying the class, and we have an empty result... as we don't have any Example