Issue #221 has been reported by Lanore Ronan.
----------------------------------------
Bug #221: Stack trace on massive entry to synchronise
http://tools.lsc-project.org/issues/221
Author: Lanore Ronan
Status: New
Priority: Normal
Assigned to:
Category: Core
Target version: 1.3.0
I want to sync 1700 entry
When I launch lsc with one thread i have this erreur message:
May 25 16:32:45 - DEBUG - Queue Size before assigning the task..10
May 25 16:32:45 - ERROR - java.util.concurrent.RejectedExecutionException
May 25 16:32:45 - DEBUG - java.util.concurrent.RejectedExecutionException
java.util.concurrent.RejectedExecutionException: null
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1760)
[na:1.6.0_12]
at
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
[na:1.6.0_12]
at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
[na:1.6.0_12]
at
org.lsc.SynchronizeThreadPoolExecutor.runTask(SynchronizeThreadPoolExecutor.java:44)
[lsc-core-1.3-SNAPSHOT.jar:na]
at
org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:321)
[lsc-core-1.3-SNAPSHOT.jar:na]
at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:286)
[lsc-core-1.3-SNAPSHOT.jar:na]
at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:156)
[lsc-core-1.3-SNAPSHOT.jar:na]
at org.lsc.Launcher.run(Launcher.java:171) [lsc-core-1.3-SNAPSHOT.jar:na]
at org.lsc.Launcher.main(Launcher.java:137) [lsc-core-1.3-SNAPSHOT.jar:na]
Last log file line: 2010/05/25 16:32:43 [lsc] Starting LSC
When I launch lsc with five thread i have this erreur message:
May 25 16:39:02 - DEBUG - Queue Size before assigning the task..50
May 25 16:39:02 - ERROR - java.util.concurrent.RejectedExecutionException
May 25 16:39:02 - DEBUG - java.util.concurrent.RejectedExecutionException
java.util.concurrent.RejectedExecutionException: null
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1760)
[na:1.6.0_12]
at
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
[na:1.6.0_12]
at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
[na:1.6.0_12]
at
org.lsc.SynchronizeThreadPoolExecutor.runTask(SynchronizeThreadPoolExecutor.java:44)
[lsc-core-1.3-SNAPSHOT.jar:na]
at
org.lsc.AbstractSynchronize.synchronize2Ldap(AbstractSynchronize.java:321)
[lsc-core-1.3-SNAPSHOT.jar:na]
at org.lsc.SimpleSynchronize.launchTask(SimpleSynchronize.java:286)
[lsc-core-1.3-SNAPSHOT.jar:na]
at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:156)
[lsc-core-1.3-SNAPSHOT.jar:na]
at org.lsc.Launcher.run(Launcher.java:171) [lsc-core-1.3-SNAPSHOT.jar:na]
at org.lsc.Launcher.main(Launcher.java:137) [lsc-core-1.3-SNAPSHOT.jar:na]
Last log file line: 2010/05/25 16:39:00 [lsc] Starting LSC
this bug seem to be linked to this line
SynchronizeThreadPoolExecutor threadPool = new
SynchronizeThreadPoolExecutor(getThreads(), getThreads() * 10);
in AbstractSynchronize class
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev