[
https://jira.jboss.org/jira/browse/JBCLUSTER-216?page=com.atlassian.jira....
]
Galder Zamarreno commented on JBCLUSTER-216:
--------------------------------------------
Without this fix, when cache is stopped, you'll see WARN messages like this:
2008-11-07 15:41:34,390 WARN [TreeCache] (main) Error in stop
jboss.cache:service=TreeCache-Cluster
javax.management.InstanceNotFoundException: jboss.system:service=ServiceController
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1118)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:854)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795)
at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:204)
at
org.jboss.hibernate.jbc.cacheprovider.TreeCacheProvider.stop(TreeCacheProvider.java:140)
at org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:800)
at
org.hibernate.junit.functional.ExecutionEnvironment.complete(ExecutionEnvironment.java:143)
at
org.hibernate.junit.functional.FunctionalTestClassTestSuite.tearDown(FunctionalTestClassTestSuite.java:125)
at
org.hibernate.junit.functional.FunctionalTestClassTestSuite.run(FunctionalTestClassTestSuite.java:73)
org.jboss.hibernate.jbc.cacheprovider.TreeCacheProvider should be
calling stopService()/startService() instead of stop()/start()
--------------------------------------------------------------------------------------------------------------------------------
Key: JBCLUSTER-216
URL:
https://jira.jboss.org/jira/browse/JBCLUSTER-216
Project: JBoss Clustering
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Hibernate-Cache-Provider
Affects Versions: 1.0.0.GA
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
org.jboss.hibernate.jbc.cacheprovider.TreeCacheProvider should be calling
stopService()/startService()
instead of stop()/start() in order to avoid ServiceController MBean lookups when running
standalone or
in a non managed environment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira