[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty

2017-11-26 Thread Romain Manni-Bucau (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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

2017-11-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


Re: ThreadPoolManager configuration

2017-11-26 Thread Romain Manni-Bucau
Think I know what it is, I didnt prefix my test by "test" in the
package so the o.a.d.core package was not unique and our
org.apache.deltaspike.test.util.ArchiveUtils#getDeltaSpikeCoreArchive(java.lang.String[])
is not able to handle that ATM. Will fix it in the test for now but we
can need to really fix it later.

Romain Manni-Bucau
@rmannibucau |  Blog | Old Blog | Github | LinkedIn


2017-11-26 16:55 GMT+01:00 Gerhard Petracek :
> it looks like a strange issue.
> here it works with jdk 7 as well as 8 and on jenkins it fails as well.
>
> regards,
> gerhard
>
>
>
> 2017-11-26 16:16 GMT+01:00 Romain Manni-Bucau :
>
>> 2017-11-26 16:01 GMT+01:00 Gerhard Petracek :
>> > mvn clean install works without issues here...
>>
>> Did you try with java 1.8 (u144 if it matters)? Can't get master
>> compiling. getCoreArchive utility is completely messed up.
>>
>> >
>> > -> please drop it again and push to master as we did so far.
>>
>> Will as soon as I can check it builds :(
>>
>> >
>> > regards,
>> > gerhard
>> >
>> > http://www.irian.at
>> >
>> > Your JavaEE powerhouse -
>> > JavaEE Consulting, Development and
>> > Courses in English and German
>> >
>> > Professional Support for Apache
>> > MyFaces, DeltaSpike and OpenWebBeans
>> >
>> >
>> >
>> > 2017-11-26 15:33 GMT+01:00 Romain Manni-Bucau :
>> >
>> >> Hi guys,
>> >>
>> >> following up on DELTASPIKE-1302, I created a branch on our repo to
>> >> implement it: https://git-wip-us.apache.org/
>> repos/asf?p=deltaspike.git;a=
>> >> shortlog;h=refs/heads/fb/DELTASPIKE-1302_ThreadPoolManager-c
>> onfiguration
>> >>
>> >> I have some issues building master ATM - without any profile since all
>> >> tests are failling with:
>> >>
>> >> GRAVE: Handler method public void
>> >> org.apache.deltaspike.test.core.impl.exception.control.handler.
>> >> HandlerWhichThrowsExceptions.throwsAnException(org.apache.
>> >> deltaspike.core.api.exception.control.event.ExceptionEvent)
>> >> throws java.lang.Exception must not throw exceptions
>> >> java.lang.IllegalArgumentException: Handler method public void
>> >> org.apache.deltaspike.test.core.impl.exception.control.handler.
>> >> HandlerWhichThrowsExceptions.throwsAnException(org.apache.
>> >> deltaspike.core.api.exception.control.event.ExceptionEvent)
>> >> throws java.lang.Exception must not throw exceptions
>> >> at org.apache.deltaspike.core.impl.exception.control.extension.
>> >> ExceptionControlExtension.findHandlers(ExceptionControlExten
>> sion.java:111)
>> >>
>> >>
>> >> Anyone knows why we are in this state?
>> >>
>> >> Romain Manni-Bucau
>> >> @rmannibucau |  Blog | Old Blog | Github | LinkedIn
>> >>
>>


Re: ThreadPoolManager configuration

2017-11-26 Thread Gerhard Petracek
it looks like a strange issue.
here it works with jdk 7 as well as 8 and on jenkins it fails as well.

regards,
gerhard



2017-11-26 16:16 GMT+01:00 Romain Manni-Bucau :

> 2017-11-26 16:01 GMT+01:00 Gerhard Petracek :
> > mvn clean install works without issues here...
>
> Did you try with java 1.8 (u144 if it matters)? Can't get master
> compiling. getCoreArchive utility is completely messed up.
>
> >
> > -> please drop it again and push to master as we did so far.
>
> Will as soon as I can check it builds :(
>
> >
> > regards,
> > gerhard
> >
> > http://www.irian.at
> >
> > Your JavaEE powerhouse -
> > JavaEE Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache
> > MyFaces, DeltaSpike and OpenWebBeans
> >
> >
> >
> > 2017-11-26 15:33 GMT+01:00 Romain Manni-Bucau :
> >
> >> Hi guys,
> >>
> >> following up on DELTASPIKE-1302, I created a branch on our repo to
> >> implement it: https://git-wip-us.apache.org/
> repos/asf?p=deltaspike.git;a=
> >> shortlog;h=refs/heads/fb/DELTASPIKE-1302_ThreadPoolManager-c
> onfiguration
> >>
> >> I have some issues building master ATM - without any profile since all
> >> tests are failling with:
> >>
> >> GRAVE: Handler method public void
> >> org.apache.deltaspike.test.core.impl.exception.control.handler.
> >> HandlerWhichThrowsExceptions.throwsAnException(org.apache.
> >> deltaspike.core.api.exception.control.event.ExceptionEvent)
> >> throws java.lang.Exception must not throw exceptions
> >> java.lang.IllegalArgumentException: Handler method public void
> >> org.apache.deltaspike.test.core.impl.exception.control.handler.
> >> HandlerWhichThrowsExceptions.throwsAnException(org.apache.
> >> deltaspike.core.api.exception.control.event.ExceptionEvent)
> >> throws java.lang.Exception must not throw exceptions
> >> at org.apache.deltaspike.core.impl.exception.control.extension.
> >> ExceptionControlExtension.findHandlers(ExceptionControlExten
> sion.java:111)
> >>
> >>
> >> Anyone knows why we are in this state?
> >>
> >> Romain Manni-Bucau
> >> @rmannibucau |  Blog | Old Blog | Github | LinkedIn
> >>
>


Re: ThreadPoolManager configuration

2017-11-26 Thread Romain Manni-Bucau
2017-11-26 16:01 GMT+01:00 Gerhard Petracek :
> mvn clean install works without issues here...

Did you try with java 1.8 (u144 if it matters)? Can't get master
compiling. getCoreArchive utility is completely messed up.

>
> -> please drop it again and push to master as we did so far.

Will as soon as I can check it builds :(

>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JavaEE powerhouse -
> JavaEE Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache
> MyFaces, DeltaSpike and OpenWebBeans
>
>
>
> 2017-11-26 15:33 GMT+01:00 Romain Manni-Bucau :
>
>> Hi guys,
>>
>> following up on DELTASPIKE-1302, I created a branch on our repo to
>> implement it: https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;a=
>> shortlog;h=refs/heads/fb/DELTASPIKE-1302_ThreadPoolManager-configuration
>>
>> I have some issues building master ATM - without any profile since all
>> tests are failling with:
>>
>> GRAVE: Handler method public void
>> org.apache.deltaspike.test.core.impl.exception.control.handler.
>> HandlerWhichThrowsExceptions.throwsAnException(org.apache.
>> deltaspike.core.api.exception.control.event.ExceptionEvent)
>> throws java.lang.Exception must not throw exceptions
>> java.lang.IllegalArgumentException: Handler method public void
>> org.apache.deltaspike.test.core.impl.exception.control.handler.
>> HandlerWhichThrowsExceptions.throwsAnException(org.apache.
>> deltaspike.core.api.exception.control.event.ExceptionEvent)
>> throws java.lang.Exception must not throw exceptions
>> at org.apache.deltaspike.core.impl.exception.control.extension.
>> ExceptionControlExtension.findHandlers(ExceptionControlExtension.java:111)
>>
>>
>> Anyone knows why we are in this state?
>>
>> Romain Manni-Bucau
>> @rmannibucau |  Blog | Old Blog | Github | LinkedIn
>>


Re: ThreadPoolManager configuration

2017-11-26 Thread Gerhard Petracek
mvn clean install works without issues here...

-> please drop it again and push to master as we did so far.

regards,
gerhard

http://www.irian.at

Your JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache
MyFaces, DeltaSpike and OpenWebBeans



2017-11-26 15:33 GMT+01:00 Romain Manni-Bucau :

> Hi guys,
>
> following up on DELTASPIKE-1302, I created a branch on our repo to
> implement it: https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;a=
> shortlog;h=refs/heads/fb/DELTASPIKE-1302_ThreadPoolManager-configuration
>
> I have some issues building master ATM - without any profile since all
> tests are failling with:
>
> GRAVE: Handler method public void
> org.apache.deltaspike.test.core.impl.exception.control.handler.
> HandlerWhichThrowsExceptions.throwsAnException(org.apache.
> deltaspike.core.api.exception.control.event.ExceptionEvent)
> throws java.lang.Exception must not throw exceptions
> java.lang.IllegalArgumentException: Handler method public void
> org.apache.deltaspike.test.core.impl.exception.control.handler.
> HandlerWhichThrowsExceptions.throwsAnException(org.apache.
> deltaspike.core.api.exception.control.event.ExceptionEvent)
> throws java.lang.Exception must not throw exceptions
> at org.apache.deltaspike.core.impl.exception.control.extension.
> ExceptionControlExtension.findHandlers(ExceptionControlExtension.java:111)
>
>
> Anyone knows why we are in this state?
>
> Romain Manni-Bucau
> @rmannibucau |  Blog | Old Blog | Github | LinkedIn
>


[jira] [Comment Edited] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty

2017-11-26 Thread Gerhard Petracek (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16266032#comment-16266032
 ] 

Gerhard Petracek edited comment on DELTASPIKE-1302 at 11/26/17 2:56 PM:


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 an own github repo (if a review is needed before pushing stuff to the 
master).


was (Author: gpetracek):
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

2017-11-26 Thread Gerhard Petracek (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


ThreadPoolManager configuration

2017-11-26 Thread Romain Manni-Bucau
Hi guys,

following up on DELTASPIKE-1302, I created a branch on our repo to
implement it: 
https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;a=shortlog;h=refs/heads/fb/DELTASPIKE-1302_ThreadPoolManager-configuration

I have some issues building master ATM - without any profile since all
tests are failling with:

GRAVE: Handler method public void
org.apache.deltaspike.test.core.impl.exception.control.handler.HandlerWhichThrowsExceptions.throwsAnException(org.apache.deltaspike.core.api.exception.control.event.ExceptionEvent)
throws java.lang.Exception must not throw exceptions
java.lang.IllegalArgumentException: Handler method public void
org.apache.deltaspike.test.core.impl.exception.control.handler.HandlerWhichThrowsExceptions.throwsAnException(org.apache.deltaspike.core.api.exception.control.event.ExceptionEvent)
throws java.lang.Exception must not throw exceptions
at 
org.apache.deltaspike.core.impl.exception.control.extension.ExceptionControlExtension.findHandlers(ExceptionControlExtension.java:111)


Anyone knows why we are in this state?

Romain Manni-Bucau
@rmannibucau |  Blog | Old Blog | Github | LinkedIn


[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty

2017-11-26 Thread Romain Manni-Bucau (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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

2017-11-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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

2017-11-26 Thread Gerhard Petracek (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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] [Comment Edited] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty

2017-11-26 Thread Romain Manni-Bucau (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265953#comment-16265953
 ] 

Romain Manni-Bucau edited comment on DELTASPIKE-1302 at 11/26/17 10:31 AM:
---

Not sure 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.


was (Author: romain.manni-bucau):
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

2017-11-26 Thread Romain Manni-Bucau (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)