[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-767) StorageManagerPlugin will fail to initialize if system properties change

Arcadiy Ivanov (JIRA) issues at jboss.org
Thu Mar 19 10:29:19 EDT 2015


     [ https://issues.jboss.org/browse/JBOSGI-767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arcadiy Ivanov reassigned JBOSGI-767:
-------------------------------------

    Assignee: Arcadiy Ivanov


> StorageManagerPlugin will fail to initialize if system properties change
> ------------------------------------------------------------------------
>
>                 Key: JBOSGI-767
>                 URL: https://issues.jboss.org/browse/JBOSGI-767
>             Project: JBoss OSGi
>          Issue Type: Bug
>            Reporter: Arcadiy Ivanov
>            Assignee: Arcadiy Ivanov
>
> {noformat}
> 2015-02-04 21:10:06,056 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) MSC000001: Failed to start service jbosgi.StorageManager: org.jboss.msc.service.StartException in service jbosgi.StorageManager: Failed to start service
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_31]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_31]
> 	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_31]
> Caused by: java.util.ConcurrentModificationException
> 	at java.util.Hashtable$Enumerator.next(Hashtable.java:1367) [rt.jar:1.8.0_31]
> 	at org.jboss.osgi.framework.internal.BundleManagerPlugin.getProperties(BundleManagerPlugin.java:364)
> 	at org.jboss.osgi.framework.spi.StorageManagerPlugin.start(StorageManagerPlugin.java:62)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
> 	... 3 more
> {noformat}
> Solution is to add synchronization on System.getProperties()



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-osgi-issues mailing list