Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-445

java.lang.OutOfMemoryError: GC overhead limit exceeded when runtimeConfigurationPlugin is added to activemq.xml with namespace prefix

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • JBoss A-MQ 6.1
    • None
    • broker
    • None

    Description

      If elements in activemq.xml are supplied with namespace prefixes, fuse works fine.
      But when <amq:runtimeConfigurationPlugin checkPeriod="1000"/> is added to activemq.xml(file attached), the following exception is printed to shell:

       Exception in thread "Startup for ActiveMQ Broker: amq" java.lang.IllegalThreadStateException
      	at java.lang.Thread.start(Thread.java:682)
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.trystartup$1(ActiveMQServiceFactory.scala:424)
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$3.run(ActiveMQServiceFactory.scala:414)
      Exception in thread "Startup for ActiveMQ Broker: amq" java.lang.IllegalThreadStateException
      	at java.lang.Thread.start(Thread.java:682)
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.trystartup$1(ActiveMQServiceFactory.scala:424)
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$3.run(ActiveMQServiceFactory.scala:414)
      Exception in thread "Startup for ActiveMQ Broker: amq" java.lang.IllegalThreadStateException
      	at java.lang.Thread.start(Thread.java:682)
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.trystartup$1(ActiveMQServiceFactory.scala:424)
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$3.run(ActiveMQServiceFactory.scala:414)
      Exception in thread "Startup for ActiveMQ Broker: amq" java.lang.IllegalThreadStateException
      	at java.lang.Thread.start(Thread.java:682)
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.trystartup$1(ActiveMQServiceFactory.scala:424)
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$3.run(ActiveMQServiceFactory.scala:414)
      Exception in thread "Startup for ActiveMQ Broker: amq" java.lang.OutOfMemoryError: GC overhead limit exceeded
      Exception in thread "qtp519809215-10144" java.lang.OutOfMemoryError: GC overhead limit exceeded
      Exception in thread "qtp519809215-10149" java.lang.OutOfMemoryError: GC overhead limit exceeded
      Exception in thread "Startup for ActiveMQ Broker: amq" java.lang.OutOfMemoryError: GC overhead limit exceeded
      Exception in thread "Startup for ActiveMQ Broker: amq" java.lang.OutOfMemoryError: GC overhead limit exceeded
      Exception in thread "Startup for ActiveMQ Broker: amq" java.lang.IllegalThreadStateException
      	at java.lang.Thread.start(Thread.java:682)
      'org.apache.felix.eventadmin.impl.adapter.LogEventAdapter$1@7ace1365' is removed as a LogListener, since it threw an exception.
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.trystartup$1(ActiveMQServiceFactory.scala:424)
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$3.run(ActiveMQServiceFactory.scala:414)
      

      And the following repeats is in fuse.log:
      13:56:42,531 | INFO | veMQ Broker: amq | ActiveMQServiceFactory | 132 - org.jboss.amq.mq-fabric - 6.1.0.redhat-130 | Exception on start: javax.management.InstanceAlreadyExistsException: org.apache.activemq:type=Broker,brokerName=amq
      javax.management.InstanceAlreadyExistsException: org.apache.activemq:type=Broker,brokerName=amq
      at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)[:1.7.0_09-icedtea]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)[:1.7.0_09-icedtea]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)[:1.7.0_09-icedtea]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)[:1.7.0_09-icedtea]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)[:1.7.0_09-icedtea]
      at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513)[:1.7.0_09-icedtea]
      at org.apache.activemq.broker.jmx.ManagementContext.registerMBean(ManagementContext.java:380)[117:org.apache.activemq.activemq-osgi:5.9.0.redhat-610130]
      at org.apache.activemq.broker.jmx.AnnotatedMBean.registerMBean(AnnotatedMBean.java:72)[117:org.apache.activemq.activemq-osgi:5.9.0.redhat-610130]
      at org.apache.activemq.broker.BrokerService.startManagementContext(BrokerService.java:2401)[117:org.apache.activemq.activemq-osgi:5.9.0.redhat-610130]
      at org.apache.activemq.broker.BrokerService.start(BrokerService.java:553)[117:org.apache.activemq.activemq-osgi:5.9.0.redhat-610130]
      at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$3.run(ActiveMQServiceFactory.scala:376)[132:org.jboss.amq.mq-fabric:6.1.0.redhat-130]

      Attachments

        Activity

          People

            gtully@redhat.com Gary Tully
            emedvede Elena Medvedeva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: