You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by nader <na...@salas.dk> on 2014/02/13 10:45:09 UTC

How to upgrade hawtio separately?

Hi everyone!


Is there a simple way to upgrade hawtio to for example version 1.2.2?

If I replace the entire webapps/howtio/ with the new version of hawtio, I
get many InstanceAlreadyExistsException. 

I am using ActiveMQ 5.9.0. and hawtio within Web container.

Thanks in advance.

Nader




--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-upgrade-hawtio-separately-tp4677922.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to upgrade hawtio separately?

Posted by jlindwall <jl...@yahoo.com>.
I just tried replacing the webapps/hawtio with version 1.3.0.  It kinda works
but I get an exception at startup, and one of the brokers (1 of 3) gets an
unending stream of javascript errors onscreen.  I'm gonna stick with the
baked-in version for now.

 INFO | Loading Blueprint contexts [file:<classpath details edited out>]
WARN  | main | An error occured during mbean server registration:
javax.management.InstanceAlreadyExistsException:
org.fusesource.insight:type=LogQuery
javax.management.InstanceAlreadyExistsException:
org.fusesource.insight:type=LogQuery
        at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
        at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
        at
org.fusesource.insight.log.support.LogQuerySupport.registerMBeanServer(LogQuerySupport.java:166)
        at
org.fusesource.insight.log.support.LogQuerySupport.start(LogQuerySupport.java:89)
        at
org.fusesource.insight.log.log4j.Log4jLogQuery.start(Log4jLogQuery.java:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:238)
        at
org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:966)
        at
org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:706)
        at
org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:825)
        at
org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:786)
        at
org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at
org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
        at
org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)
        at
org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:341)
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.init(BlueprintContainerImpl.java:113)
        at
org.apache.aries.blueprint.container.BlueprintContainerImpl.<init>(BlueprintContainerImpl.java:73)
        at
org.apache.aries.blueprint.web.BlueprintContextListener.contextInitialized(BlueprintContextListener.java:86)
        at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:746)
        at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:238)
        at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1238)
        at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689)
        at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:480)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
        at
org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:381)
        at
org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:233)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
        at org.eclipse.jetty.server.Server.doStart(Server.java:279)
        at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1608)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1549)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:628)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
        at
org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:104)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:150)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
        at org.apache.activemq.console.Main.main(Main.java:115)




--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-upgrade-hawtio-separately-tp4677922p4680052.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.