Dear Arnold, please try to change console.properties into your conf.directory by increasing values for

topology.corePoolSize
topology.maxPoolSize
topology.queueCapacity

Kind regards,
F.

Il 14/05/19 22:50, Arnold Miller ha scritto:
It happens the same issue with 2.1.4

Best Regards,

Arnold Miller
*Sent:* Friday, May 10, 2019 at 1:25 AM
*From:* "Francesco Chicchiriccò" <[email protected]>
*To:* [email protected]
*Subject:* Re: Error in Syncope 2.1.3
Hi,
any particular reason to stick with 2.1.3? 2.1.4 has been available for few weeks, try with that first.
Regards.
On 08/05/19 22:53, Arnold Miller wrote:

    Hi,
    I was configuring my recently installed 2.1.3 Syncope then
    suddenly I started getting a popup window with the message
    described below everytime I needed to add a connector, a resource,
    a mapping or a task:
    Warning!
    Operation is taking to long: it will be executed in background.
    Please check later for the result (errors won't be triggered).
    My console.log has a bunch of these exceptions:
    14:43:14.589 ERROR
    org.apache.syncope.client.console.SyncopeConsoleSession - Could
    not execute
    
org.apache.syncope.client.console.topology.TopologyWebSocketBehavior$ResourceChecker@1a9c9401
    org.springframework.core.task.TaskRejectedException: Executor
    [java.util.concurrent.ThreadPoolExecutor@6c49d740[Running, pool
    size = 20, active threads = 20, queued tasks = 50, completed tasks
    = 0]] did not accept task:
    
org.apache.syncope.client.console.topology.TopologyWebSocketBehavior$ResourceChecker@1a9c9401
        at
    
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.submit(ThreadPoolTaskExecutor.java:344)
    ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
        at
    
org.apache.syncope.client.console.SyncopeConsoleSession.execute(SyncopeConsoleSession.java:132)
    ~[syncope-client-console-2.1.3.jar:2.1.3]
        at
    
org.apache.syncope.client.console.topology.TopologyWebSocketBehavior.timeoutHandlingConnectionChecker(TopologyWebSocketBehavior.java:183)
    ~[syncope-client-console-2.1.3.jar:2.1.3]
        at
    
org.apache.syncope.client.console.topology.TopologyWebSocketBehavior.access$300(TopologyWebSocketBehavior.java:51)
    ~[syncope-client-console-2.1.3.jar:2.1.3]
        at
    
org.apache.syncope.client.console.topology.TopologyWebSocketBehavior$ResCheck.run(TopologyWebSocketBehavior.java:256)
    ~[syncope-client-console-2.1.3.jar:2.1.3]
        at
    
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    ~[?:1.8.0_152]
        at
    
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    ~[?:1.8.0_152]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
    Caused by: java.util.concurrent.RejectedExecutionException: Task
    java.util.concurrent.FutureTask@145b68fa rejected from
    java.util.concurrent.ThreadPoolExecutor@6c49d740[Running, pool
    size = 20, active threads = 20, queued tasks = 50, completed tasks
    = 0]
        at
    
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
    ~[?:1.8.0_152]
        at
    java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
    ~[?:1.8.0_152]
        at
    
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
    ~[?:1.8.0_152]
        at
    
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
    ~[?:1.8.0_152]
        at
    
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.submit(ThreadPoolTaskExecutor.java:341)
    ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
        ... 7 more
    14:43:24.548 ERROR
    org.apache.syncope.client.console.SyncopeConsoleSession - Could
    not execute
    
org.apache.syncope.client.console.topology.TopologyWebSocketBehavior$ConnCheck@6680129f
    org.springframework.core.task.TaskRejectedException: Executor
    [java.util.concurrent.ThreadPoolExecutor@6c49d740[Running, pool
    size = 20, active threads = 20, queued tasks = 50, completed tasks
    = 0]] did not accept task:
    
org.apache.syncope.client.console.topology.TopologyWebSocketBehavior$ConnCheck@6680129f
        at
    
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.execute(ThreadPoolTaskExecutor.java:317)
    ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
        at
    
org.apache.syncope.client.console.SyncopeConsoleSession.execute(SyncopeConsoleSession.java:124)
    ~[syncope-client-console-2.1.3.jar:2.1.3]
        at
    
org.apache.syncope.client.console.topology.TopologyWebSocketBehavior.onMessage(TopologyWebSocketBehavior.java:124)
    ~[syncope-client-console-2.1.3.jar:2.1.3]
        at
    
org.apache.wicket.protocol.ws.api.WebSocketBehavior.onEvent(WebSocketBehavior.java:64)
    ~[wicket-native-websocket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.settings.FrameworkSettings.dispatchEvent(FrameworkSettings.java:147)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.ComponentEventSender.dispatchToComponent(ComponentEventSender.java:292)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.ComponentEventSender.access$100(ComponentEventSender.java:36)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.ComponentEventSender$ComponentEventVisitor.component(ComponentEventSender.java:329)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.ComponentEventSender$ComponentEventVisitor.component(ComponentEventSender.java:306)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
    ~[wicket-util-8.2.0.jar:8.2.0]
        at
    org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
    ~[wicket-util-8.2.0.jar:8.2.0]
        at
    org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:192)
    ~[wicket-util-8.2.0.jar:8.2.0]
        at
    org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:975)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.ComponentEventSender.breadth(ComponentEventSender.java:160)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    org.apache.wicket.ComponentEventSender.send(ComponentEventSender.java:68)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at org.apache.wicket.Component.send(Component.java:4402)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.protocol.ws.api.WebSocketMessageBroadcastHandler$1.run(WebSocketMessageBroadcastHandler.java:74)
    ~[wicket-native-websocket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.protocol.ws.WebSocketSettings$SameThreadExecutor.run(WebSocketSettings.java:361)
    ~[wicket-native-websocket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.protocol.ws.api.WebSocketMessageBroadcastHandler.respond(WebSocketMessageBroadcastHandler.java:97)
    ~[wicket-native-websocket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:912)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
    ~[wicket-request-8.2.0.jar:8.2.0]
        at
    org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:283)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
    ~[wicket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.protocol.ws.api.AbstractWebSocketProcessor.broadcastMessage(AbstractWebSocketProcessor.java:258)
    ~[wicket-native-websocket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.protocol.ws.api.AbstractWebSocketProcessor.onMessage(AbstractWebSocketProcessor.java:148)
    ~[wicket-native-websocket-core-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.protocol.ws.javax.JavaxWebSocketProcessor$StringMessageHandler.onMessage(JavaxWebSocketProcessor.java:65)
    ~[wicket-native-websocket-javax-8.2.0.jar:8.2.0]
        at
    
org.apache.wicket.protocol.ws.javax.JavaxWebSocketProcessor$StringMessageHandler.onMessage(JavaxWebSocketProcessor.java:60)
    ~[wicket-native-websocket-javax-8.2.0.jar:8.2.0]
        at
    
org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:395)
    ~[tomcat-websocket.jar:8.5.23]
        at
    
org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:119)
    ~[tomcat-websocket.jar:8.5.23]
        at
    
org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:495)
    ~[tomcat-websocket.jar:8.5.23]
        at
    org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:294)
    ~[tomcat-websocket.jar:8.5.23]
        at
    
org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:133)
    ~[tomcat-websocket.jar:8.5.23]
        at
    
org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:82)
    ~[tomcat-websocket.jar:8.5.23]
        at
    
org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:171)
    ~[tomcat-websocket.jar:8.5.23]
        at
    
org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:151)
    ~[tomcat-websocket.jar:8.5.23]
        at
    
org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)
    ~[tomcat-websocket.jar:8.5.23]
        at
    
org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
    ~[tomcat-coyote.jar:8.5.23]
        at
    
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
    ~[tomcat-coyote.jar:8.5.23]
        at
    
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
    ~[tomcat-coyote.jar:8.5.23]
        at
    
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
    ~[tomcat-coyote.jar:8.5.23]
        at
    
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    ~[tomcat-coyote.jar:8.5.23]
        at
    
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    ~[?:1.8.0_152]
        at
    
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    ~[?:1.8.0_152]
        at
    
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    ~[tomcat-util.jar:8.5.23]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
    Caused by: java.util.concurrent.RejectedExecutionException: Task
    
org.apache.syncope.client.console.topology.TopologyWebSocketBehavior$ConnCheck@6680129f
    rejected from
    java.util.concurrent.ThreadPoolExecutor@6c49d740[Running, pool
    size = 20, active threads = 20, queued tasks = 50, completed tasks
    = 0]
        at
    
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
    ~[?:1.8.0_152]
        at
    java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
    ~[?:1.8.0_152]
        at
    
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
    ~[?:1.8.0_152]
        at
    
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.execute(ThreadPoolTaskExecutor.java:314)
    ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
        ... 45 more
    I'm stuck. Help is appreciated.
    PD: I restarted Tomcat but it happened again.

    Best Regards,

    Arnold Miller

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/


--
Fabio Martelli
https://it.linkedin.com/pub/fabio-martelli/1/974/a44
http://blog.tirasa.net/author/fabio/index.html

Tirasa - Open Source Excellence
http://www.tirasa.net/index.html?pk_campaign=email&pk_kwd=fm

Apache Syncope PMC
http://people.apache.org/~fmartelli/

Reply via email to