[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306801#comment-16306801 ] Mark Struberg commented on DELTASPIKE-1302: --- looks like it got fixed, right? > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272712#comment-16272712 ] ASF subversion and git services commented on DELTASPIKE-1302: - Commit e10e8863afcaeafc37c0d1184fb6d8058a68d081 in deltaspike's branch refs/heads/master from [~manovotn] [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=e10e886 ] DELTASPIKE-1302 Fix test deployment archive. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266615#comment-16266615 ] Mark Struberg commented on DELTASPIKE-1302: --- > i hope we can get rid of short-lived branches Yes, we should only do short lived branches on private repos and not push them to the ASF cannonical repo. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266083#comment-16266083 ] Romain Manni-Bucau commented on DELTASPIKE-1302: pushed the proposed impl, updated the doc with the config keys. Can you give it a try and let us know if it works good enough for you please? > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266079#comment-16266079 ] ASF subversion and git services commented on DELTASPIKE-1302: - Commit c4006cc3b5fda1eea5551fee5a0a7e15c19264d9 in deltaspike's branch refs/heads/master from [~rmannibucau] [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=c4006cc ] DELTASPIKE-1302 configuration for ThreadPoolManager > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266032#comment-16266032 ] Gerhard Petracek commented on DELTASPIKE-1302: -- i hope we can get rid of short-lived branches (also in case of the github-mirror)... at least that was the reason for not starting them so far and instead push them to a private github repo (if a review is needed before pushing stuff to the master). > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266021#comment-16266021 ] Romain Manni-Bucau commented on DELTASPIKE-1302: Created a branch on our repo with this strategy - https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;a=shortlog;h=refs/heads/fb/DELTASPIKE-1302_ThreadPoolManager-configuration > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266020#comment-16266020 ] ASF subversion and git services commented on DELTASPIKE-1302: - Commit c4006cc3b5fda1eea5551fee5a0a7e15c19264d9 in deltaspike's branch refs/heads/fb/DELTASPIKE-1302_ThreadPoolManager-configuration from [~rmannibucau] [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=c4006cc ] DELTASPIKE-1302 configuration for ThreadPoolManager > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265996#comment-16265996 ] Gerhard Petracek commented on DELTASPIKE-1302: -- with "auto. registration of the ExecutorService" i was ref. in general approaches to lookup and/or create an ExecutorService and register it autom. instead of the manual approach which was in place initially > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265953#comment-16265953 ] Romain Manni-Bucau commented on DELTASPIKE-1302: Not dure i got it but idea is to make it working out of the box without any dpi config which always lead to a poor testing coverage or harder user integration IMHO. So we would just have a single lookup chain impl. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265865#comment-16265865 ] Gerhard Petracek commented on DELTASPIKE-1302: -- ok - then it's the first one of the options i mentioned (just with a concrete lookup suggestion) > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265862#comment-16265862 ] Romain Manni-Bucau commented on DELTASPIKE-1302: Way less than config module sincr we cache the resulting instance do it will not impact perfs. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265857#comment-16265857 ] Gerhard Petracek commented on DELTASPIKE-1302: -- -0 because there will be many lookups without results. if we use something like that as a "convenient default", we need a mechanism to change it. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265792#comment-16265792 ] John D. Ament commented on DELTASPIKE-1302: --- I like Romain's idea. Makes sense. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265791#comment-16265791 ] Romain Manni-Bucau commented on DELTASPIKE-1302: Why not: 1. if a @Named matches and is of Executor type use it 2. try to look it up in jndi (managed executor service case) 3. fallback on deltaspike config with defaults - ensuring we have 1 ES per "name" with a low size default wdyt? > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265761#comment-16265761 ] Gerhard Petracek commented on DELTASPIKE-1302: -- @romain: basically i agree that it wouldn't be used a lot. further options would be - auto. registration of the ExecutorService - change some parts to be protected that a specialized bean could reuse more parts - like the pools-map > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265622#comment-16265622 ] Romain Manni-Bucau commented on DELTASPIKE-1302: Not sure, configurig an ES by name is simple enough to be built in IMO and I can bet the SPI would never be used. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265524#comment-16265524 ] Gerhard Petracek commented on DELTASPIKE-1302: -- maybe we could introduce an optional ExecutorServiceProvider spi > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265491#comment-16265491 ] Romain Manni-Bucau commented on DELTASPIKE-1302: The outcome of the discussion was that you can always use an alternative. Im tempted to use some config for that instead, want to try a pr? > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265484#comment-16265484 ] Gerhard Petracek commented on DELTASPIKE-1302: -- initially there was a method FutureableInterceptor$ThreadPoolManager#register which allowed to register a custom ExecutorService *manually*. there was never an "auto-register" in place. you are correct that this map is always empty, the issue is that our discussion just stopped back then. you are very welcome to start a discuss-thread on the dev-list (afair our options back then were config vs spi). > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)