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

ASF subversion and git services commented on SYNCOPE-1318:
----------------------------------------------------------

Commit d9c58a831337be619ebdf2bfd88b5f84fd884519 in syncope's branch 
refs/heads/master from [~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=d9c58a8 ]

[SYNCOPE-1318] Now using more flexible ThreadPoolTaskExecutor


> Future task rejected from ScheduledThreadPoolExecutor
> -----------------------------------------------------
>
>                 Key: SYNCOPE-1318
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1318
>             Project: Syncope
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 2.0.8
>            Reporter: Marco Di Sabatino Di Diodoro
>            Assignee: Francesco Chicchiriccò
>            Priority: Major
>             Fix For: 2.0.9, 2.1.0
>
>
> After several operations on the console, the connection pool to the core ends 
> and doesn't allows to perform other operations
> {code}
> ERROR org.apache.syncope.client.console.wizards.AjaxWizard - Wizard error on 
> finish
> java.util.concurrent.RejectedExecutionException: Task 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@561b0d9e 
> rejected from 
> java.util.concurrent.ScheduledThreadPoolExecutor@73c6df51[Terminated, pool 
> size = 0, active threads = 0, queued tasks = 0, completed tasks = 1]
>         at 
> java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
>  ~[?:1.8.0_151]
>         at 
> java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830) 
> ~[?:1.8.0_151]
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:326)
>  ~[?:1.8.0_151]
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:549)
>  ~[?:1.8.0_151]
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor.submit(ScheduledThreadPoolExecutor.java:648)
>  ~[?:1.8.0_151]
>         at 
> org.apache.syncope.client.console.SyncopeConsoleSession.execute(SyncopeConsoleSession.java:128)
>  ~[classes/:2.0.8]
>         at 
> org.apache.syncope.client.console.wizards.AjaxWizard.onApply(AjaxWizard.java:383)
>  ~[syncope-client-console-2.0.8.jar:2.0.8]
>         at 
> org.apache.syncope.client.console.wizards.AjaxWizard.onFinish(AjaxWizard.java:198)
>  ~[syncope-client-console-2.0.8.jar:2.0.8]
>         at 
> org.apache.wicket.extensions.wizard.AbstractWizardModel.fireWizardFinished(AbstractWizardModel.java:182)
>  ~[wicket-extensions-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.extensions.wizard.AbstractWizardModel.finish(AbstractWizardModel.java:88)
>  ~[wicket-extensions-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.extensions.wizard.FinishButton.onClick(FinishButton.java:68)
>  ~[wicket-extensions-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.extensions.wizard.WizardButton.onSubmit(WizardButton.java:88)
>  ~[wicket-extensions-7.10.0.jar:7.10.0]
>         at 
> org.apache.syncope.client.console.wizards.AjaxWizardMgtButtonBar$1.onSubmit(AjaxWizardMgtButtonBar.java:80)
>  ~[syncope-client-console-2.0.8.jar:2.0.8]
>         at 
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:218)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1311) 
> ~[wicket-core-7.10.0.jar:7.10.0]
>         at org.apache.wicket.markup.html.form.Form.process(Form.java:977) 
> ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:798) 
> ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:174)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155) 
> ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source) 
> ~[?:?]
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_151]
>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
>         at 
> org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>  ~[wicket-request-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) 
> ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>  ~[wicket-native-websocket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
>  ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) 
> ~[wicket-core-7.10.0.jar:7.10.0]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
>  ~[catalina.jar:8.5.11]
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
>  ~[catalina.jar:8.5.11
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to