Back Forum Reply New

JMX deployment problem to Websphere on zOS

Hi,

We are having problem deploying JMX beans on zOS Websphere 7.0 while it is ok in tomcat 5.5.

Before the exception there is a warning saying that multiple mbeanservers exist.
Trace: 2009/08/24 13:35:15.844 01 t=8C5E88 c=UNK key=P8 (13007002)  ThreadId: 0000000b  FunctionName: org..jmx.support.JmxUtils.locateMBe  anServer  SourceId: org..jmx.support.JmxUtils  Category: WARNING  ExtendedMessage: Found more than one MBeanServer instance. Returning first from list.

thanks in advance.

mahmut

spring 2.5.6
spring-batch 2.0.0
hibernate 3.2.6
quartz 1.6.1exception is attached

and our jmx bean definitions are:

lt;bean id=quot;mbeanServerquot;
class=quot;org..jmx.support.MBeanServer  FactoryBeanquot;gt;
lt;property name=quot;locateExistingServerIfPossiblequot; value=quot;truequot; /gt;
lt;/beangt;

lt;bean id=quot;testBeanquot;
class=quot;tr.gov.tcmb.mbntest.jmx.impl.JmxTestBeanImp  lquot;gt;
lt;property name=quot;namequot; value=quot;TESTquot; /gt;
lt;property name=quot;agequot; value=quot;100quot; /gt;
lt;/beangt;

lt;bean id=quot;statisticsBeanquot;
class=quot;org.hibernate.jmx.StatisticsServicequot;gt;
lt;property name=quot;statisticsEnabledquot; value=quot;truequot; /gt;
lt;property name=quot;sessionFactoryquot; ref=quot;sessionFactoryquot; /gt;
lt;/beangt;

lt;bean id=quot;ehCacheMBeanRegistrationquot;
class=quot;org..beans.factory.config.Me  thodInvokingFactoryBeanquot;gt;
lt;property name=quot;staticMethodquot;
value=quot;net.sf.ehcache.management.ManagementService  .registerMBeansquot; /gt;
lt;property name=quot;argumentsquot;gt;
lt;listgt;
lt;ref bean=quot;cacheManagerquot; /gt;
lt;ref bean=quot;mbeanServerquot; /gt;
lt;valuegt;truelt;/valuegt;
lt;valuegt;truelt;/valuegt;
lt;valuegt;truelt;/valuegt;
lt;valuegt;truelt;/valuegt;
lt;/listgt;
lt;/propertygt;
lt;/beangt;

lt;bean id=quot;cacheManagerquot;
class=quot;org..cache.ehcache.EhCacheMa  nagerFactoryBeanquot;gt;
lt;property name=quot;configLocationquot; value=quot;classpath:ehcache.xmlquot; /gt;
lt;property name=quot;sharedquot; value=quot;truequot; /gt;
lt;/beangt;

lt;bean id=quot;jobOperatorquot;
class=quot;org..batch.core.launch.suppo  rt.SimpleJobOperatorquot;gt;
lt;property name=quot;jobExplorerquot;gt;
lt;bean
class=quot;org..batch.core.explore.supp  ort.JobExplorerFactoryBeanquot;gt;
lt;property name=quot;dataSourcequot; ref=quot;dataSourcequot; /gt;
lt;property name=quot;tablePrefixquot; value=quot;BATCH.quot; /gt;
lt;/beangt;
lt;/propertygt;
lt;property name=quot;jobRepositoryquot; ref=quot;tr.gov.tcmb.batch.jobRepositoryquot; /gt;
lt;property name=quot;jobRegistryquot; ref=quot;tr.gov.tcmb.batch.jobRegistryquot; /gt;
lt;property name=quot;jobLauncherquot; ref=quot;tr.gov.tcmb.batch.jobLauncherquot; /gt;
lt;/beangt;

lt;bean id=quot;exceptionTranslatorquot;
class=quot;org..batch.core.launch.suppo  rt.RuntimeExceptionTranslatorquot; /gt;

I set 'locateExistingServerIfPossible' property to true.  Even then it says quot;Found more than one MBeanServer instance. Returning first from list.quot;. Does it mean Websphere runs more than one mbeanserver or spring starts a new one.

I also tried not to specify MBeanServerFactoyBean bean and still same problem.
¥
Back Forum Reply New