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

OutOfMemoryError: PermGen space occures on Oracle Java 1.6 when restarting broker when persistence adapter is set to levelDB and runtimeConfigurationPlugin.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBoss A-MQ 6.2
    • JBoss A-MQ 6.1
    • broker
    • None
    • Hide

      Steps to reproduce:
      0) Uncomment line admin=admin,admin in etc/users.properties
      1)before starting fuse add the following line to etc/activemq.xml:

      <runtimeConfigurationPlugin checkPeriod="0"/>
      

      and make sure element broker has attribute start="false"
      and configure persistence adapter to use levelDB:

      <persistenceAdapter><levelDB directory="${data}/leveldb_java" indexFactory="org.iq80.leveldb.impl.Iq80DBFactory" useLock="false"/></persistenceAdapter></broker>
      

      2)Start fuse
      4) Create queue and send 50 messages to it.
      5) Try to restart broker via jmx.
      Exception occurs in console:

      JBossFuse:karaf@root> Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space
           [java] 	at java.lang.Class.getDeclaredConstructors0(Native Method)
           [java] 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)
           [java] 	at java.lang.Class.getConstructor0(Class.java:2708)
           [java] 	at java.lang.Class.newInstance0(Class.java:328)
           [java] 	at java.lang.Class.newInstance(Class.java:310)
           [java] 	at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
           [java] 	at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
           [java] 	at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
           [java] 	at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1322)
           [java] 	at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:50)
           [java] 	at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:435)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:411)
           [java] 	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308)
           [java] 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1114)
           [java] 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
           [java] 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:341)
           [java] 	at sun.rmi.transport.Transport$1.run(Transport.java:159)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
           [java] 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
           [java] 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
           [java] 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
           [java] 	at java.lang.Thread.run(Thread.java:662)
           [java] Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space
           [java] 	at java.lang.Class.getDeclaredConstructors0(Native Method)
           [java] 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)
           [java] 	at java.lang.Class.getConstructor0(Class.java:2708)
           [java] 	at java.lang.Class.newInstance0(Class.java:328)
           [java] 	at java.lang.Class.newInstance(Class.java:310)
           [java] 	at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
           [java] 	at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
           [java] 	at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
           [java] 	at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1322)
           [java] 	at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:50)
           [java] 	at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:435)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:411)
           [java] 	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308)
           [java] 	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:407)
           [java] 	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308)
           [java] 	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:407)
           [java] 	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308)
           [java] 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1114)
           [java] 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
           [java] 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:341)
           [java] 	at sun.rmi.transport.Transport$1.run(Transport.java:159)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
           [java] 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
           [java] 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
           [java] 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
           [java] 	at java.lang.Thread.run(Thread.java:662)
           [java] Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space
           [java] 	at java.lang.Class.getDeclaredConstructors0(Native Method)
           [java] 	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)
           [java] 	at java.lang.Class.getConstructor0(Class.java:2708)
           [java] 	at java.lang.Class.newInstance0(Class.java:328)
           [java] 	at java.lang.Class.newInstance(Class.java:310)
           [java] 	at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
           [java] 	at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95)
           [java] 	at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313)
           [java] 	at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1322)
           [java] 	at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:50)
           [java] 	at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:435)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:411)
           [java] 	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308)
           [java] 	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:407)
           [java] 	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308)
           [java] 	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:407)
           [java] 	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308)
           [java] 	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1114)
           [java] 	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
           [java] 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:341)
           [java] 	at sun.rmi.transport.Transport$1.run(Transport.java:159)
           [java] 	at java.security.AccessController.doPrivileged(Native Method)
           [java] 	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
           [java] 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
           [java] 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
           [java] 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
           [java] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
           [java] 	at java.lang.Thread.run(Thread.java:662)
           [java] Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space
           [java] Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space
           [java] Exception in thread "hawtdispatch-DEFAULT-1" java.lang.OutOfMemoryError: PermGen space
      

      Exception in fuse.log:

      07:32:23,393 | ERROR | MQ Broker-7: amq | ActiveMQServiceFactory           | 139 - org.jboss.amq.mq-fabric - 6.1.0.redhat-328 | Exception on start: java.lang.OutOfMemoryError: PermGen space
      java.lang.OutOfMemoryError: PermGen space
      	at java.lang.ClassLoader.defineClass1(Native Method)[:1.6.0_45]
      	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)[:1.6.0_45]
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)[:1.6.0_45]
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2275)
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501)
      	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_45]
      	at java.lang.ClassLoader.defineClass1(Native Method)[:1.6.0_45]
      	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)[:1.6.0_45]
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)[:1.6.0_45]
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2275)
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501)
      	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_45]
      	at scala.collection.mutable.HashMap.keySet(HashMap.scala:96)[60:scala-library:2.9.1]
      	at scala.collection.MapLike$class.keys(MapLike.scala:189)[60:scala-library:2.9.1]
      	at scala.collection.mutable.HashMap.keys(HashMap.scala:43)[60:scala-library:2.9.1]
      	at org.apache.activemq.leveldb.LevelDBStore.getDestinations(LevelDBStore.scala:622)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328]
      	at org.apache.activemq.broker.region.DestinationFactoryImpl.getDestinations(DestinationFactoryImpl.java:68)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328]
      	at org.apache.activemq.broker.BrokerService.startVirtualConsumerDestinations(BrokerService.java:2540)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328]
      	at org.apache.activemq.broker.BrokerService.startDestinations(BrokerService.java:2390)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328]
      	at org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:640)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328]
      	at org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:632)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328]
      	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:568)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328]
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.org$fusesource$mq$fabric$ActiveMQServiceFactory$ClusteredConfiguration$$doStart(ActiveMQServiceFactory.scala:422)[139:org.jboss.amq.mq-fabric:6.1.0.redhat-328]
      	at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$4.run(ActiveMQServiceFactory.scala:366)[139:org.jboss.amq.mq-fabric:6.1.0.redhat-328]
      
      Show
      Steps to reproduce: 0) Uncomment line admin=admin,admin in etc/users.properties 1)before starting fuse add the following line to etc/activemq.xml: <runtimeConfigurationPlugin checkPeriod= "0" /> and make sure element broker has attribute start="false" and configure persistence adapter to use levelDB: <persistenceAdapter><levelDB directory= "${data}/leveldb_java" indexFactory= "org.iq80.leveldb.impl.Iq80DBFactory" useLock= " false " /></persistenceAdapter></broker> 2)Start fuse 4) Create queue and send 50 messages to it. 5) Try to restart broker via jmx. Exception occurs in console: JBossFuse:karaf@root> Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space [java] at java.lang. Class .getDeclaredConstructors0(Native Method) [java] at java.lang. Class .privateGetDeclaredConstructors( Class .java:2398) [java] at java.lang. Class .getConstructor0( Class .java:2708) [java] at java.lang. Class .newInstance0( Class .java:328) [java] at java.lang. Class .newInstance( Class .java:310) [java] at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377) [java] at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95) [java] at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313) [java] at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1322) [java] at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:50) [java] at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:435) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:411) [java] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308) [java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1114) [java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:341) [java] at sun.rmi.transport.Transport$1.run(Transport.java:159) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:155) [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [java] at java.lang. Thread .run( Thread .java:662) [java] Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space [java] at java.lang. Class .getDeclaredConstructors0(Native Method) [java] at java.lang. Class .privateGetDeclaredConstructors( Class .java:2398) [java] at java.lang. Class .getConstructor0( Class .java:2708) [java] at java.lang. Class .newInstance0( Class .java:328) [java] at java.lang. Class .newInstance( Class .java:310) [java] at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377) [java] at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95) [java] at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313) [java] at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1322) [java] at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:50) [java] at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:435) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:411) [java] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308) [java] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:407) [java] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308) [java] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:407) [java] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308) [java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1114) [java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:341) [java] at sun.rmi.transport.Transport$1.run(Transport.java:159) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:155) [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [java] at java.lang. Thread .run( Thread .java:662) [java] Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space [java] at java.lang. Class .getDeclaredConstructors0(Native Method) [java] at java.lang. Class .privateGetDeclaredConstructors( Class .java:2398) [java] at java.lang. Class .getConstructor0( Class .java:2708) [java] at java.lang. Class .newInstance0( Class .java:328) [java] at java.lang. Class .newInstance( Class .java:310) [java] at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377) [java] at sun.reflect.MethodAccessorGenerator.generateSerializationConstructor(MethodAccessorGenerator.java:95) [java] at sun.reflect.ReflectionFactory.newConstructorForSerialization(ReflectionFactory.java:313) [java] at java.io.ObjectStreamClass.getSerializableConstructor(ObjectStreamClass.java:1322) [java] at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:50) [java] at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:435) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:411) [java] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308) [java] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:407) [java] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308) [java] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:407) [java] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:308) [java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1114) [java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:341) [java] at sun.rmi.transport.Transport$1.run(Transport.java:159) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:155) [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [java] at java.lang. Thread .run( Thread .java:662) [java] Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space [java] Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space [java] Exception in thread "hawtdispatch-DEFAULT-1" java.lang.OutOfMemoryError: PermGen space Exception in fuse.log: 07:32:23,393 | ERROR | MQ Broker-7: amq | ActiveMQServiceFactory | 139 - org.jboss.amq.mq-fabric - 6.1.0.redhat-328 | Exception on start: java.lang.OutOfMemoryError: PermGen space java.lang.OutOfMemoryError: PermGen space at java.lang. ClassLoader .defineClass1(Native Method)[:1.6.0_45] at java.lang. ClassLoader .defineClassCond( ClassLoader .java:631)[:1.6.0_45] at java.lang. ClassLoader .defineClass( ClassLoader .java:615)[:1.6.0_45] at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2275) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955) at java.lang. ClassLoader .loadClass( ClassLoader .java:247)[:1.6.0_45] at java.lang. ClassLoader .defineClass1(Native Method)[:1.6.0_45] at java.lang. ClassLoader .defineClassCond( ClassLoader .java:631)[:1.6.0_45] at java.lang. ClassLoader .defineClass( ClassLoader .java:615)[:1.6.0_45] at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2275) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955) at java.lang. ClassLoader .loadClass( ClassLoader .java:247)[:1.6.0_45] at scala.collection.mutable.HashMap.keySet(HashMap.scala:96)[60:scala-library:2.9.1] at scala.collection.MapLike$ class. keys(MapLike.scala:189)[60:scala-library:2.9.1] at scala.collection.mutable.HashMap.keys(HashMap.scala:43)[60:scala-library:2.9.1] at org.apache.activemq.leveldb.LevelDBStore.getDestinations(LevelDBStore.scala:622)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328] at org.apache.activemq.broker.region.DestinationFactoryImpl.getDestinations(DestinationFactoryImpl.java:68)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328] at org.apache.activemq.broker.BrokerService.startVirtualConsumerDestinations(BrokerService.java:2540)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328] at org.apache.activemq.broker.BrokerService.startDestinations(BrokerService.java:2390)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328] at org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:640)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328] at org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:632)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328] at org.apache.activemq.broker.BrokerService.start(BrokerService.java:568)[128:org.apache.activemq.activemq-osgi:5.9.0.redhat-610328] at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.org$fusesource$mq$fabric$ActiveMQServiceFactory$ClusteredConfiguration$$doStart(ActiveMQServiceFactory.scala:422)[139:org.jboss.amq.mq-fabric:6.1.0.redhat-328] at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$4.run(ActiveMQServiceFactory.scala:366)[139:org.jboss.amq.mq-fabric:6.1.0.redhat-328]

      activemq.xml and fuse.log are attached.

      On Oracle Java 1.7 and OpenJDK 1.6 and 1.7 the test passed.
      On 201 version of fuse this test passed on Oracle Java 1.6.
      If I don't add runtimeConfigurationPlugin or don't configure persistence adapter to use levelDB, broker restart works fine.

        1. activemq.xml
          2 kB
          Elena Medvedeva
        2. fuse.log
          80 kB
          Elena Medvedeva

              dejanbosanac Dejan Bosanac
              emedvede Elena Medvedeva (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: