axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiranya Jayathilaka (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AXIS2-5152) RepositoryListener ConcurrentModification Exception when accessing DeploymentEngine deployerMap
Date Sun, 19 Jul 2015 04:05:05 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-5152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hiranya Jayathilaka reassigned AXIS2-5152:
------------------------------------------

    Assignee: Hiranya Jayathilaka

> RepositoryListener ConcurrentModification Exception when accessing DeploymentEngine deployerMap
> -----------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5152
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5152
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>            Reporter: Udayanga Wickramasinghe
>            Assignee: Hiranya Jayathilaka
>         Attachments: AXIS2-5152.patch, AXIS2-5152_update.patch
>
>
> Axis2 DeploymentEngine deployerMap seems to be not thread safe. Following exception can
be thrown when there is a high concurrent acceess scenario with multiple deployers in place..
> Exception in thread "Timer-3" java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
>         at java.util.HashMap$EntryIterator.next(HashMap.java:834)
>         at java.util.HashMap$EntryIterator.next(HashMap.java:832)
>         at org.apache.axis2.deployment.RepositoryListener.loadOtherDirectories(R
> epositoryListener.java:270)
>         at org.apache.axis2.deployment.RepositoryListener.checkServices(Reposito
> ryListener.java:253)
>         at org.apache.axis2.deployment.RepositoryListener.startListener(Reposito
> ryListener.java:365)
>         at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(S
> chedulerTask.java:73)
>         at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask
> .java:94)
>         at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.ru
> n(Scheduler.java:93)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)



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

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


Mime
View raw message