Re: Consistent results for CDI.current().getBeanManager()

2018-04-09 Thread John D. Ament
Did you mean ClassLoaderLock in meecrowave? Or something like the Rule defined by MonoMeecrowave? John On Mon, Apr 9, 2018 at 8:27 AM Mark Struberg wrote: > John, another proposal. I've implemented the same for the Meecrowave JUnit > integration. > Could you create

Re: Consistent results for CDI.current().getBeanManager()

2018-04-09 Thread Mark Struberg
John, another proposal. I've implemented the same for the Meecrowave JUnit integration. Could you create a 'client' UrlClassLoader with no own URLs? And then per your 'slice' switch the TCCL accordingly? That way you will get perfect isolation. LieGrue, strub > Am 09.04.2018 um 14:10 schrieb

Re: Consistent results for CDI.current().getBeanManager()

2018-04-09 Thread Romain Manni-Bucau
2018-04-09 14:07 GMT+02:00 John D. Ament : > On Mon, Apr 9, 2018 at 7:55 AM Romain Manni-Bucau > wrote: > > > 2018-04-09 13:34 GMT+02:00 John D. Ament : > > > > > Yeah, I hit that. I was able to get around the listener issue,

Re: Consistent results for CDI.current().getBeanManager()

2018-04-09 Thread John D. Ament
Yeah, I hit that. I was able to get around the listener issue, but then this still occurred (its actually within OwbCDI where it fails next). Basically, TCCLs don't make sense in SE, and its pretty key to how OWB works. Is there a way that CDI.current() could resolve to the OWBContainer that

Re: Consistent results for CDI.current().getBeanManager()

2018-04-09 Thread Mark Struberg
This is kind of a circular issue. Look at WebBeansContext#getInstance() public static WebBeansContext getInstance() { WebBeansContext webBeansContext = WebBeansFinder.getSingletonInstance(); And WebBeansFinder.getSingletonInstance() in turn again uses the TCCL to look up the

[jira] [Resolved] (OWB-1237) upgrade to xbean-4.7

2018-04-09 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OWB-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Struberg resolved OWB-1237. Resolution: Duplicate Fix Version/s: (was: 2.0.5) > upgrade to xbean-4.7 >

[jira] [Created] (OWB-1237) upgrade to xbean-4.7

2018-04-09 Thread Mark Struberg (JIRA)
Mark Struberg created OWB-1237: -- Summary: upgrade to xbean-4.7 Key: OWB-1237 URL: https://issues.apache.org/jira/browse/OWB-1237 Project: OpenWebBeans Issue Type: New Feature

[jira] [Commented] (OWB-1235) ConversationScope destroyed upon session serialization/deserialization

2018-04-09 Thread Mark Struberg (JIRA)
[ https://issues.apache.org/jira/browse/OWB-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16430154#comment-16430154 ] Mark Struberg commented on OWB-1235: Hi! Thanks for the bug report! Do you have a simplified sample

[jira] [Created] (MEECROWAVE-110) upgrade to xbean-4.7

2018-04-09 Thread Mark Struberg (JIRA)
Mark Struberg created MEECROWAVE-110: Summary: upgrade to xbean-4.7 Key: MEECROWAVE-110 URL: https://issues.apache.org/jira/browse/MEECROWAVE-110 Project: Meecrowave Issue Type: New

Re: Consistent results for CDI.current().getBeanManager()

2018-04-09 Thread Romain Manni-Bucau
Le 9 avr. 2018 02:33, "John D. Ament" a écrit : On Wed, Mar 7, 2018 at 1:33 AM Romain Manni-Bucau wrote: > Is it in hammock? Did you force the webapp container to use the > appclassloader in case of a secontainer? > How would I do that? You mean