Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-11-06 Thread Kishanthan Thangarajah
We can still properly fix this by using the following way.

The root cause was, the Map (which contains the deployers) was modified
during scheduler task's run method execution (we can identify this with the
error trace). It was modified due to adding CAppDeployer separately. If we
control (synchronize) this addition based on axisConfig object, which is
the same that the scheduler task is also synchronized on, then we can avoid
this issue.

I have added the fix for this in r190400.



On Thu, Sep 26, 2013 at 10:58 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi Shameera,

 This is an intermittent issue and during start-up only few times this
 error is generated. Even is was really difficult to reproduced and no one
 is really aware about re producing steps. I think that's why did't occurred
 this during AS testing.

 I think what you mentioned by calling the deployer twice is explained in
 the issue [1]. Is this what you refering ?

 [1] https://wso2.org/jira/browse/CARBON-14468

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Thu, Sep 26, 2013 at 9:39 PM, Shameera Rathnayaka shame...@wso2.comwrote:

 Hi Manoj,

 On Thu, Sep 26, 2013 at 7:49 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 With the help of Azeez and Sameera we figure out the root cause for the
 problem. This was due to some previous fix by Adding the CApp deployer
 separately in the code.


 Great this is the real fix i think BTW wonder why we didn't get thhis
 issue with App Server?, root cause is not the one i explain, in a flow we
 are calling deployers twice If i am right.

 Thanks,
 Shameera.



  Will commit the fix shortly.

 Thanks,

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Thu, Sep 26, 2013 at 2:09 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 The problem here is as Shameera mentioned on [1] the Map used inside
 the concurrentHashMap is not thread safe.




 private MapString, MapString, Deployer deployerMap = new 
 ConcurrentHashMapString, MapString, Deployer();

 I think we can relove this by making this Map thread safe as given on
 [2].

 [1] https://wso2.org/jira/browse/CARBON-14275
 [2]
 http://docs.oracle.com/javase/7/docs/api/java/util/Collections.html#synchronizedMap(java.util.Map)

 Mean time I will try to patch this and find this get solved.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Thu, Sep 26, 2013 at 10:36 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Shameera,

 Thanks for the info. I'll check.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 7:08 PM, Shameera Rathnayaka 
 shame...@wso2.com wrote:

 Hi Ajith,

 Could you able to check whether this is a problem of HumenTask call
 twice in execution flow?

 Hi Manoj,

 I have created a JIRA for this issue[1]  and added my finding there
 please have a look at that. As i explain in the JIRA we could solve it by
 making innere map to ConcurrentHashMap.This will produce another issue
 becuase we can't put  null as a key or value to a Concurrent HashMap and 
 we
 do this in above map in such a case where we don't have extension for a
 particular deployer (eg: jaggery deployer doesn't has any extension
 associate it hence it is registered with null as it extension).

 [1] https://wso2.org/jira/browse/CARBON-14275


 Thanks,
 Shameera.



 On Wed, Sep 25, 2013 at 8:37 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 Tried to reproduce with 21st Sept GReg pack but could not
 reproduced. I will keep on looking to this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:49 AM, Manoj Kumara ma...@wso2.comwrote:

 Hi Sumedha,

 I'll work on this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:32 AM, Sumedha Rubasinghe 
 sume...@wso2.com wrote:

 Sameera,
 Can we have someone to attend to this pls?


 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana 
 aji...@wso2.comwrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  
 Error
 while running deployment scheduler..
 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
 

Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-26 Thread Manoj Kumara
Hi,

The problem here is as Shameera mentioned on [1] the Map used inside the
concurrentHashMap is not thread safe.


private MapString, MapString, Deployer deployerMap = new
ConcurrentHashMapString, MapString, Deployer();

I think we can relove this by making this Map thread safe as given on [2].

[1] https://wso2.org/jira/browse/CARBON-14275
[2]
http://docs.oracle.com/javase/7/docs/api/java/util/Collections.html#synchronizedMap(java.util.Map)

Mean time I will try to patch this and find this get solved.

Thanks,
Manoj

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Thu, Sep 26, 2013 at 10:36 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Shameera,

 Thanks for the info. I'll check.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 7:08 PM, Shameera Rathnayaka shame...@wso2.comwrote:

 Hi Ajith,

 Could you able to check whether this is a problem of HumenTask call twice
 in execution flow?

 Hi Manoj,

 I have created a JIRA for this issue[1]  and added my finding there
 please have a look at that. As i explain in the JIRA we could solve it by
 making innere map to ConcurrentHashMap.This will produce another issue
 becuase we can't put  null as a key or value to a Concurrent HashMap and we
 do this in above map in such a case where we don't have extension for a
 particular deployer (eg: jaggery deployer doesn't has any extension
 associate it hence it is registered with null as it extension).

 [1] https://wso2.org/jira/browse/CARBON-14275


 Thanks,
 Shameera.



 On Wed, Sep 25, 2013 at 8:37 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 Tried to reproduce with 21st Sept GReg pack but could not reproduced. I
 will keep on looking to this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:49 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Sumedha,

 I'll work on this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:32 AM, Sumedha Rubasinghe 
 sume...@wso2.comwrote:

 Sameera,
 Can we have someone to attend to this pls?


 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.comwrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 [2013-09-13 15:52:39,614]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha

 ___
 Dev mailing list
 Dev@wso2.org
 

Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-26 Thread Manoj Kumara
Fixed with r186524.

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Thu, Sep 26, 2013 at 5:19 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 With the help of Azeez and Sameera we figure out the root cause for the
 problem. This was due to some previous fix by Adding the CApp deployer
 separately in the code. Will commit the fix shortly.

 Thanks,

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Thu, Sep 26, 2013 at 2:09 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 The problem here is as Shameera mentioned on [1] the Map used inside the
 concurrentHashMap is not thread safe.


 private MapString, MapString, Deployer deployerMap = new 
 ConcurrentHashMapString, MapString, Deployer();

 I think we can relove this by making this Map thread safe as given on [2].

 [1] https://wso2.org/jira/browse/CARBON-14275
 [2]
 http://docs.oracle.com/javase/7/docs/api/java/util/Collections.html#synchronizedMap(java.util.Map)

 Mean time I will try to patch this and find this get solved.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Thu, Sep 26, 2013 at 10:36 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Shameera,

 Thanks for the info. I'll check.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 7:08 PM, Shameera Rathnayaka 
 shame...@wso2.comwrote:

 Hi Ajith,

 Could you able to check whether this is a problem of HumenTask call
 twice in execution flow?

 Hi Manoj,

 I have created a JIRA for this issue[1]  and added my finding there
 please have a look at that. As i explain in the JIRA we could solve it by
 making innere map to ConcurrentHashMap.This will produce another issue
 becuase we can't put  null as a key or value to a Concurrent HashMap and we
 do this in above map in such a case where we don't have extension for a
 particular deployer (eg: jaggery deployer doesn't has any extension
 associate it hence it is registered with null as it extension).

 [1] https://wso2.org/jira/browse/CARBON-14275


 Thanks,
 Shameera.



 On Wed, Sep 25, 2013 at 8:37 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 Tried to reproduce with 21st Sept GReg pack but could not reproduced.
 I will keep on looking to this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:49 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Sumedha,

 I'll work on this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:32 AM, Sumedha Rubasinghe 
 sume...@wso2.com wrote:

 Sameera,
 Can we have someone to attend to this pls?


 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.comwrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  
 Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at
 java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 

Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-26 Thread Shameera Rathnayaka
Hi Manoj,

On Thu, Sep 26, 2013 at 7:49 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 With the help of Azeez and Sameera we figure out the root cause for the
 problem. This was due to some previous fix by Adding the CApp deployer
 separately in the code.


Great this is the real fix i think BTW wonder why we didn't get thhis issue
with App Server?, root cause is not the one i explain, in a flow we are
calling deployers twice If i am right.

Thanks,
Shameera.



 Will commit the fix shortly.

 Thanks,

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Thu, Sep 26, 2013 at 2:09 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 The problem here is as Shameera mentioned on [1] the Map used inside the
 concurrentHashMap is not thread safe.


 private MapString, MapString, Deployer deployerMap = new 
 ConcurrentHashMapString, MapString, Deployer();

 I think we can relove this by making this Map thread safe as given on [2].

 [1] https://wso2.org/jira/browse/CARBON-14275
 [2]
 http://docs.oracle.com/javase/7/docs/api/java/util/Collections.html#synchronizedMap(java.util.Map)

 Mean time I will try to patch this and find this get solved.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Thu, Sep 26, 2013 at 10:36 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Shameera,

 Thanks for the info. I'll check.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 7:08 PM, Shameera Rathnayaka 
 shame...@wso2.comwrote:

 Hi Ajith,

 Could you able to check whether this is a problem of HumenTask call
 twice in execution flow?

 Hi Manoj,

 I have created a JIRA for this issue[1]  and added my finding there
 please have a look at that. As i explain in the JIRA we could solve it by
 making innere map to ConcurrentHashMap.This will produce another issue
 becuase we can't put  null as a key or value to a Concurrent HashMap and we
 do this in above map in such a case where we don't have extension for a
 particular deployer (eg: jaggery deployer doesn't has any extension
 associate it hence it is registered with null as it extension).

 [1] https://wso2.org/jira/browse/CARBON-14275


 Thanks,
 Shameera.



 On Wed, Sep 25, 2013 at 8:37 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 Tried to reproduce with 21st Sept GReg pack but could not reproduced.
 I will keep on looking to this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:49 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Sumedha,

 I'll work on this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:32 AM, Sumedha Rubasinghe 
 sume...@wso2.com wrote:

 Sameera,
 Can we have someone to attend to this pls?


 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.comwrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  
 Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at
 java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 

Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-25 Thread Manoj Kumara
Hi,

Tried to reproduce with 21st Sept GReg pack but could not reproduced. I
will keep on looking to this.

Thanks,
Manoj

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Wed, Sep 25, 2013 at 10:49 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Sumedha,

 I'll work on this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:32 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Sameera,
 Can we have someone to attend to this pls?


 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 [2013-09-13 15:52:39,614]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-25 Thread Shameera Rathnayaka
Hi Ajith,

Could you able to check whether this is a problem of HumenTask call twice
in execution flow?

Hi Manoj,

I have created a JIRA for this issue[1]  and added my finding there please
have a look at that. As i explain in the JIRA we could solve it by making
innere map to ConcurrentHashMap.This will produce another issue becuase we
can't put  null as a key or value to a Concurrent HashMap and we do this in
above map in such a case where we don't have extension for a particular
deployer (eg: jaggery deployer doesn't has any extension associate it hence
it is registered with null as it extension).

[1] https://wso2.org/jira/browse/CARBON-14275


Thanks,
Shameera.



On Wed, Sep 25, 2013 at 8:37 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 Tried to reproduce with 21st Sept GReg pack but could not reproduced. I
 will keep on looking to this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:49 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Sumedha,

 I'll work on this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:32 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Sameera,
 Can we have someone to attend to this pls?


 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.comwrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 [2013-09-13 15:52:39,614]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Software Engineer - WSO2 Inc.*
*email: shameera AT wso2.com shame...@wso2.com , shameera AT
apache.orgshame...@apache.org
*
*phone:  +9471 922 1454*
*
*
*Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
*Twitter : *https://twitter.com/Shameera_R
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-25 Thread Ajith Vitharana
On Wed, Sep 25, 2013 at 6:07 PM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 Tried to reproduce with 21st Sept GReg pack but could not reproduced. I
 will keep on looking to this.



Got it again,

*[2013-09-26 09:52:40,244]*  INFO
{org.wso2.carbon.core.clustering.hazelcast.util.MemberUtils} -  Added
member: Host:10.100.1.51, Remote Host:null, Port: 5000, HTTP:-1, HTTPS:-1,
Domain: null, Sub-domain:null, Active:true
[2013-09-26 09:52:40,275] ERROR
{org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
while running deployment scheduler..
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(RepositoryListener.java:270)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)



 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:49 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Sumedha,

 I'll work on this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:32 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Sameera,
 Can we have someone to attend to this pls?


 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.comwrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 [2013-09-13 15:52:39,614]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared

 --
 Ajith Vitharana.
 WSO2 Inc. - 

Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-25 Thread Manoj Kumara
Hi Shameera,

Thanks for the info. I'll check.

Thanks,
Manoj

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Wed, Sep 25, 2013 at 7:08 PM, Shameera Rathnayaka shame...@wso2.comwrote:

 Hi Ajith,

 Could you able to check whether this is a problem of HumenTask call twice
 in execution flow?

 Hi Manoj,

 I have created a JIRA for this issue[1]  and added my finding there please
 have a look at that. As i explain in the JIRA we could solve it by making
 innere map to ConcurrentHashMap.This will produce another issue becuase we
 can't put  null as a key or value to a Concurrent HashMap and we do this in
 above map in such a case where we don't have extension for a particular
 deployer (eg: jaggery deployer doesn't has any extension associate it hence
 it is registered with null as it extension).

 [1] https://wso2.org/jira/browse/CARBON-14275


 Thanks,
 Shameera.



 On Wed, Sep 25, 2013 at 8:37 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 Tried to reproduce with 21st Sept GReg pack but could not reproduced. I
 will keep on looking to this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:49 AM, Manoj Kumara ma...@wso2.com wrote:

 Hi Sumedha,

 I'll work on this.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Wed, Sep 25, 2013 at 10:32 AM, Sumedha Rubasinghe 
 sume...@wso2.comwrote:

 Sameera,
 Can we have someone to attend to this pls?


 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.comwrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 [2013-09-13 15:52:39,614]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT 
 apache.orgshame...@apache.org
 *
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-24 Thread Pandula Kariyawasam
Hi All,

Experienced the same on 21st September packs also during the server startup.

Thanks,
Pandula


On Wed, Sep 18, 2013 at 11:50 AM, Ajith Vitharana aji...@wso2.com wrote:




 On Wed, Sep 18, 2013 at 11:49 AM, Ajith Vitharana aji...@wso2.com wrote:

 Hi Sameera,

 This issue continuously reproduceable in the  the latest pack and blocker
 for the release.
 Same issue reported against the chunk01 but issue  still appearing in
 that latest pack as well.


 Full error log,

 [2013-09-18 11:44:26,008]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared selector for
 servlet write/read
 [2013-09-18 11:44:26,009] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
 at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
  at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
  at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:662)
 [2013-09-18 11:44:27,075]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared selector for
 servlet write/read
 [2013-09-18 11:44:27,137]  INFO
 {org.wso2.carbon.ntask.core.service.impl.TaskServiceImpl} -  Task service
 starting in STANDALONE mode...
 [2013-09-18 11:44:27,140]  INFO
 {org.wso2.carbon.humantask.cleanup.scheduler.internal.HumanTaskCleanupSchedulerServiceComponent}
 -  Starting HumanTaskCleanupSchedulerServiceComponent
 [2013-09-18 11:44:27,188]  INFO
 {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent}
 -  Successfully Initialized Eventing on Registry
 [2013-09-18 11:44:27,233]  INFO
 {org.wso2.carbon.core.init.JMXServerManager} -  JMX Service URL  :
 service:jmx:rmi://localhost:4/jndi/rmi://localhost:10002/jmxrmi
 [2013-09-18 11:44:29,197]  INFO
 {org.wso2.carbon.apimgt.startup.publisher.APIManagerStartupPublisher} -
  Successfully Created API resource-1.0.0
 [2013-09-18 11:44:29,198]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
   :  WSO2 Governance Registry-4.6.0
 [2013-09-18 11:44:29,199]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
 Carbon started in 67 sec
 [2013-09-18 11:44:29,449]  INFO
 {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
  : https://10.100.1.51:9446/carbon/



 Thanks
 Ajith.



 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 

Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-24 Thread Sumedha Rubasinghe
Sameera,
Can we have someone to attend to this pls?


On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 [2013-09-13 15:52:39,614]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-24 Thread Manoj Kumara
Hi Sumedha,

I'll work on this.

Thanks,
Manoj

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Wed, Sep 25, 2013 at 10:32 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Sameera,
 Can we have someone to attend to this pls?


 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 [2013-09-13 15:52:39,614]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-18 Thread Ajith Vitharana
Hi Sameera,

This issue continuously reproduceable in the  the latest pack and blocker
for the release.
Same issue reported against the chunk01 but issue  still appearing in that
latest pack as well.

Thanks
Ajith.



On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at
 java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
  at java.lang.Thread.run(Thread.java:662)
 [2013-09-13 15:52:39,614]  INFO
 {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Start up errors - ConcurrentModificationException from CarbonDeploymentSchedulerTask

2013-09-18 Thread Ajith Vitharana
On Wed, Sep 18, 2013 at 11:49 AM, Ajith Vitharana aji...@wso2.com wrote:

 Hi Sameera,

 This issue continuously reproduceable in the  the latest pack and blocker
 for the release.
 Same issue reported against the chunk01 but issue  still appearing in that
 latest pack as well.


Full error log,

[2013-09-18 11:44:26,008]  INFO
{org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared selector for
servlet write/read
[2013-09-18 11:44:26,009] ERROR
{org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
while running deployment scheduler..
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(RepositoryListener.java:270)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
[2013-09-18 11:44:27,075]  INFO
{org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared selector for
servlet write/read
[2013-09-18 11:44:27,137]  INFO
{org.wso2.carbon.ntask.core.service.impl.TaskServiceImpl} -  Task service
starting in STANDALONE mode...
[2013-09-18 11:44:27,140]  INFO
{org.wso2.carbon.humantask.cleanup.scheduler.internal.HumanTaskCleanupSchedulerServiceComponent}
-  Starting HumanTaskCleanupSchedulerServiceComponent
[2013-09-18 11:44:27,188]  INFO
{org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent}
-  Successfully Initialized Eventing on Registry
[2013-09-18 11:44:27,233]  INFO
{org.wso2.carbon.core.init.JMXServerManager} -  JMX Service URL  :
service:jmx:rmi://localhost:4/jndi/rmi://localhost:10002/jmxrmi
[2013-09-18 11:44:29,197]  INFO
{org.wso2.carbon.apimgt.startup.publisher.APIManagerStartupPublisher} -
 Successfully Created API resource-1.0.0
[2013-09-18 11:44:29,198]  INFO
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
  :  WSO2 Governance Registry-4.6.0
[2013-09-18 11:44:29,199]  INFO
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
Carbon started in 67 sec
[2013-09-18 11:44:29,449]  INFO
{org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
 : https://10.100.1.51:9446/carbon/



 Thanks
 Ajith.



 On Fri, Sep 13, 2013 at 3:57 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 Observed the following error  in the latest pack (G-Reg) - chunk02

 [2013-09-13 15:52:39,357] ERROR
 {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} -  Error
 while running deployment scheduler..
 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(RepositoryListener.java:270)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:253)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
 at