[infinispan-dev] JMX stuff in infinispan

Mircea Markus mircea.markus at jboss.com
Wed Apr 1 06:22:45 EDT 2009


Manik Surtani wrote:
>
> On 1 Apr 2009, at 11:16, Mircea Markus wrote:
>
>> Galder Zamarreno wrote:
>>>
>>>> <SNIP />
>>>
>>> Not sure that should be allowed. JMX implementations do moan (via a 
>>> InstanceAlreadyExistsException) when the name already exists, why 
>>> shouldn't we? You know have the opportunity to give it a different 
>>> name (side: we couldn't with JBC - 
>>> https://jira.jboss.org/jira/browse/JBCACHE-1485) 
>>> <https://jira.jboss.org/jira/browse/JBCACHE-1485%29>, so people 
>>> should make use of it IMO.
>> This is the default behavior: if a second instance is stared under 
>> the same domain, then an exception is being thrown indicating that 
>> (during cache startup). At this point the user can change domain 
>> name, or just enable "forceAutoIncrement" (which is  "try using the 
>> configured domain, but if it is already taken try using the next 
>> one"). Either way, the user *is notified* that a domain conflict 
>> exist and he *must take action* in order to avoid that - nothing done 
>> under the hood.
>
> I like the fact that everything is explicit here.  What is the 
> configuration element/attrib to allow dupe domains?
"allowDuplicateDomains" (and not "forceAutoIncrement" as I mentioned in 
the previous email).
>
> --
> Manik Surtani
> Lead, JBoss Cache
> http://www.jbosscache.org
> manik at jboss.org <mailto:manik at jboss.org>
>
>
>
>




More information about the infinispan-dev mailing list