Re: prevent registering JCSAdminBean multiple times

2017-11-18 Thread Thomas Vandahl
On 16.11.17 21:54, Tim Cronin wrote: > we have a few webapps running on the same server that use JCS. > > when moving the 2.x we started getting the following error on tomcat startup > > > > javax.management.InstanceAlreadyExistsException: It looks like you load multiple instances of Composite

Re: prevent registering JCSAdminBean multiple times

2017-11-16 Thread Romain Manni-Bucau
Hi Tim Setting the jmxName to null on the composite cache manager should do the trick but depending the api you use is more or less easy. Can you have a look? Le 16 nov. 2017 21:54, "Tim Cronin" a écrit : we have a few webapps running on the same server that use JCS. when moving the 2.x we sta

prevent registering JCSAdminBean multiple times

2017-11-16 Thread Tim Cronin
we have a few webapps running on the same server that use JCS. when moving the 2.x we started getting the following error on tomcat startup javax.management.InstanceAlreadyExistsException: org.apache.commons.jcs:type=JCSAdminBean at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.jav