I've confirmed this happening on other team members pc's as well. I assume there is an undocumented trick to getting activemq to install properly?
From: Pratt, Jason [mailto:[email protected]] Sent: Friday, July 17, 2015 1:17 PM To: [email protected] Subject: installing activemq and seeing very strange behavior Hello - While installing ActiveMQ via a KAR I am seeing strange behavior. Tailing the log to watch the install, I experience: 1. Log entry saying the Blueprint container is being destroyed 2. Exiting the log to the main Karaf shell 3. Then seeing the initial banner loading anywhere from 2 - 5 times 4. Final error is a PermGen, but I have that set to 1024M and 2G respectively What would be causing this? 2015-07-17 13:10:43,537 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.system.command 2015-07-17 13:10:43,577 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.bundle.core 2015-07-17 13:10:43,647 | INFO | xFrameworkWiring | Activator | 122 - org.ops4j.pax.web.pax-web-extender-war - 3.2.3 | Destroying extension for bundle org.apache.activemq.activemq-web-console 2015-07-17 13:10:43,657 | INFO | xFrameworkWiring | activemq-web-console - 204} | 108 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | Destroying Spring FrameworkServlet 'dispatcher' 2015-07-17 13:10:43,657 | INFO | xFrameworkWiring | XmlWebApplicationContext | 204 - org.apache.activemq.activemq-web-console - 5.11.1 | Closing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Fri Jul 17 13:10:41 PDT 2015]; parent: Root WebApplicationContext 2015-07-17 13:10:43,657 | INFO | xFrameworkWiring | DefaultListableBeanFactory | 204 - org.apache.activemq.activemq-web-console - 5.11.1 | Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5f8bdda8<mailto:org.springframework.beans.factory.support.DefaultListableBeanFactory@5f8bdda8>: defining beans [handlerMapping,/createDestination.action,/deleteDestination.action,/createSubscriber.action,/deleteSubscriber.action,/sendMessage.action,/purgeDestination.action,/deleteMessage.action,/copyMessage.action,/moveMessage.action,/deleteJob .action,exceptionResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@63eb624a<mailto:org.springframework.beans.factory.support.DefaultListableBeanFactory@63eb624a> 2015-07-17 13:10:43,657 | INFO | xFrameworkWiring | XmlWebApplicationContext | 204 - org.apache.activemq.activemq-web-console - 5.11.1 | Closing Root WebApplicationContext: startup date [Fri Jul 17 13:10:41 PDT 2015]; root of context hierarchy 2015-07-17 13:10:43,657 | INFO | xFrameworkWiring | DefaultListableBeanFactory | 204 - org.apache.activemq.activemq-web-console - 5.11.1 | Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@63eb624a<mailto:org.springframework.beans.factory.support.DefaultListableBeanFactory@63eb624a>: defining beans [queueBrowser,messageQuery,queueConsumerQuery,queueProducerQuery,topicProducerQuery,topicSubscriberQuery,connectionQuery,placeholderConfig,sessionPool,configuration,brokerQuery,connectionFactory]; root of factory hierarchy 2015-07-17 13:10:43,657 | INFO | xFrameworkWiring | ContextHandler | 108 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | stopped HttpServiceContext{httpContext=WebAppHttpContext{org.apache.activemq.activemq-web-console - 204}} 2015-07-17 13:10:43,667 | INFO | xFrameworkWiring | HttpServiceFactoryImpl | 116 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Unbinding bundle: [org.apache.activemq.activemq-web-console [204]] 2015-07-17 13:10:43,687 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.kar.command 2015-07-17 13:10:43,707 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.camel.karaf.camel-karaf-commands 2015-07-17 13:10:43,767 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.webconsole.http 2015-07-17 13:10:43,767 | INFO | xFrameworkWiring | HttpPlugin | 148 - org.apache.karaf.webconsole.http - 3.0.4 | Http plugin deactivated 2015-07-17 13:10:43,777 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.features.command 2015-07-17 13:10:43,817 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.instance.command 2015-07-17 13:10:43,867 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.webconsole.console 2015-07-17 13:10:43,887 | INFO | xFrameworkWiring | HttpServiceFactoryImpl | 116 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Unbinding bundle: [org.apache.karaf.webconsole.console [136]] 2015-07-17 13:10:43,897 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.jms.core 2015-07-17 13:10:43,927 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.shell.commands 2015-07-17 13:10:44,017 | INFO | pool-8-thread-1 | HttpServiceFactoryImpl | 116 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Unbinding bundle: [org.apache.karaf.webconsole.gogo [147]] 2015-07-17 13:10:44,027 | INFO | pool-8-thread-1 | HttpServiceFactoryImpl | 116 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Unbinding bundle: [org.apache.karaf.webconsole.instance [145]] 2015-07-17 13:10:44,027 | INFO | pool-8-thread-1 | HttpServiceFactoryImpl | 116 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Unbinding bundle: [org.apache.karaf.webconsole.features [146]] 2015-07-17 13:10:44,047 | INFO | pool-8-thread-1 | ContextHandler | 108 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | stopped HttpServiceContext{httpContext=DefaultHttpContext [bundle=org.apache.karaf.webconsole.features [146], contextID=default]} 2015-07-17 13:10:44,047 | INFO | pool-8-thread-1 | ContextHandler | 108 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | stopped HttpServiceContext{httpContext=DefaultHttpContext [bundle=org.apache.karaf.webconsole.instance [145], contextID=default]} 2015-07-17 13:10:44,047 | INFO | pool-8-thread-1 | ContextHandler | 108 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | stopped HttpServiceContext{httpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@5d80186a}<mailto:HttpServiceContext%7bhttpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@5d80186a%7d> 2015-07-17 13:10:44,047 | INFO | pool-8-thread-1 | ContextHandler | 108 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | stopped HttpServiceContext{httpContext=DefaultHttpContext [bundle=org.apache.karaf.webconsole.gogo [147], contextID=default]} 2015-07-17 13:10:44,129 | INFO | xFrameworkWiring | Activator | 116 - org.ops4j.pax.web.pax-web-runtime - 3.2.3 | Pax Web stopped 2015-07-17 13:10:44,139 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.diagnostic.command 2015-07-17 13:10:44,159 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.service.command 2015-07-17 13:10:44,179 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.jaas.command 2015-07-17 13:10:44,249 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.webconsole.instance 2015-07-17 13:10:44,249 | INFO | xFrameworkWiring | InstancePlugin | 145 - org.apache.karaf.webconsole.instance - 3.0.4 | Instance plugin deactivated 2015-07-17 13:10:44,259 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.package.core 2015-07-17 13:10:44,269 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.shell.help 2015-07-17 13:10:44,269 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.jndi.command 2015-07-17 13:10:44,299 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.region.command 2015-07-17 13:10:44,309 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.web.core 2015-07-17 13:10:44,309 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.http.command 2015-07-17 13:10:44,329 | INFO | xFrameworkWiring | BlueprintExtender | 15 - org.apache.aries.blueprint.core - 1.4.3 | Destroying BlueprintContainer for bundle org.apache.karaf.log.command Exception in thread "pool-7-thread-1" org.osgi.service.blueprint.container.ServiceUnavailableException: The Blueprint container is being or has been destroyed: (objectClass=org.apache.karaf.log.core.LogService) at org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:240) at org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:55) at org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:298) at Proxy0e63c7bc_1fba_4158_9c96_f4e07dbf4ab4.removeAppender(Unknown Source) at org.apache.karaf.log.command.LogTail$PrintEventThread.run(LogTail.java:129) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (3.0.4) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. karaf@root()> __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (3.0.4) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. karaf@root()> __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (3.0.4) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. karaf@root()> __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (3.0.4) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. karaf@root()> Exception in thread "ActiveMQ Journal Checkpoint Worker" java.lang.OutOfMemoryError: PermGen space
