qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6539) [Java Broker] ConcurrentModificationException can occur in StandardEnvironmentFacadeFactory.buildEnvironmentConfiguration on BDB VH start-up causing the ERRORED state of the object
Date Tue, 12 May 2015 16:10:02 GMT

    [ https://issues.apache.org/jira/browse/QPID-6539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14540125#comment-14540125
] 

ASF subversion and git services commented on QPID-6539:
-------------------------------------------------------

Commit 1678993 from orudyy@apache.org in branch 'java/trunk'
[ https://svn.apache.org/r1678993 ]

QPID-6539: Force loading of RepParams class before EnvironmentFacade creation in order to
avoid throwing of CME on Environment creation
           when BDB HA VHN is activated at the same time causing loading of RepParams class
and modification of EnvironmentParams.SUPPORTED_PARAMS

> [Java Broker] ConcurrentModificationException can occur in StandardEnvironmentFacadeFactory.buildEnvironmentConfiguration
on BDB VH start-up causing the ERRORED state of the object
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6539
>                 URL: https://issues.apache.org/jira/browse/QPID-6539
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: 0.22, 0.24, 0.26, 0.28, 0.30, 0.32
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: 6.0 [Java]
>
>
> On a number of broker startups ConcurrentModificationException was thrown  from StandardEnvironmentFacadeFactory.buildEnvironmentConfiguration
in sporadic manner. In result of it, the affected VH fails to start and transits into ERRORED
state.
> The exception stack trace is below
> {noformat}
> java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
>         at java.util.HashMap$ValueIterator.next(HashMap.java:950)
>         at org.apache.qpid.server.store.berkeleydb.StandardEnvironmentFacadeFactory.buildEnvironmentConfiguration(StandardEnvironmentFacadeFactory.java:71)
>         at org.apache.qpid.server.store.berkeleydb.StandardEnvironmentFacadeFactory.access$000(StandardEnvironmentFacadeFactory.java:34)
>         at org.apache.qpid.server.store.berkeleydb.StandardEnvironmentFacadeFactory$1.getParameters(StandardEnvironmentFacadeFactory.java:60)
>         at org.apache.qpid.server.store.berkeleydb.StandardEnvironmentFacade.<init>(StandardEnvironmentFacade.java:86)
>         at org.apache.qpid.server.store.berkeleydb.StandardEnvironmentFacadeFactory.createEnvironmentFacade(StandardEnvironmentFacadeFactory.java:64)
>         at org.apache.qpid.server.store.berkeleydb.BDBMessageStore.openMessageStore(BDBMessageStore.java:80)
>         at org.apache.qpid.server.virtualhost.AbstractVirtualHost.onActivate(AbstractVirtualHost.java:1616)
>         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.qpid.server.model.AbstractConfiguredObject.attainState(AbstractConfiguredObject.java:1165)
>         at org.apache.qpid.server.model.AbstractConfiguredObject$7.run(AbstractConfiguredObject.java:812)
>         at org.apache.qpid.server.model.AbstractConfiguredObject$ChildCounter.decrementCount(AbstractConfiguredObject.java:564)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.doAttainState(AbstractConfiguredObject.java:878)
>         at org.apache.qpid.server.model.AbstractConfiguredObject.access$300(AbstractConfiguredObject.java:88)
>         at org.apache.qpid.server.model.AbstractConfiguredObject$1.call(AbstractConfiguredObject.java:476)
>         at org.apache.qpid.server.model.AbstractConfiguredObject$1.call(AbstractConfiguredObject.java:463)
>         at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:506)
>         at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:499)
>         at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.executeTask(TaskExecutorImpl.java:318)
>         at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.access$600(TaskExecutorImpl.java:45)
>         at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper$1.run(TaskExecutorImpl.java:346)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:356)
>         at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper.call(TaskExecutorImpl.java:341)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message