TOMEE-2102: IvmContext bind/unbind creates duplicate contexts

2017-07-20 Thread Svetlin Zarev
Hi, While i was trying to simplify my IvmTests I stubmbled on another bug in IvmContext - thi stime in bind()/unbind(). The issue is simple -> if bind()-ing from a "relative" node (for instance lets have "a/b/c", and you try to do b.bind(x, obj) instead of root.bind("a/b/x", obj)), bind() binds

Re: [jira] [Commented] (TOMEE-2102) IvmContext bind/unbind creates duplicate contexts

2017-07-20 Thread Svetlin Zarev
Hi, The IvmContext arquillian test passes against current master: [1] The CXF tests fail because of no such method errors: java.lang.NoSuchMethodException: org.apache.openejb.server.cxf.rs.AppPropertiesPropagationTest$Writer.() Maybe CXF was updated ? [1]

Re: [jira] [Commented] (TOMEE-2102) IvmContext bind/unbind creates duplicate contexts

2017-07-20 Thread Svetlin Zarev
Actually the inner static class Writer does not have a default constructor. This was introduced yesterday (commit 5830c209), so maybe it's not that critical. https://issues.apache.org/jira/browse/TOMEE-2099 2017-07-20 14:45 GMT+03:00 Romain Manni-Bucau : > looks like the

Re: [jira] [Commented] (TOMEE-2102) IvmContext bind/unbind creates duplicate contexts

2017-07-20 Thread Jonathan Gallimore
Thanks for the pointers. I'll recheck my end. Jon On 20 Jul 2017 12:56 pm, "Svetlin Zarev" wrote: > Actually the inner static class Writer does not have a default constructor. > This was introduced yesterday (commit 5830c209), so maybe it's not that > critical.

Re: [jira] [Commented] (TOMEE-2102) IvmContext bind/unbind creates duplicate contexts

2017-07-20 Thread Romain Manni-Bucau
looks like the class is not packaged in an arquillian war so it is not instantiable. is that an option? Romain Manni-Bucau @rmannibucau | Blog | Old Blog | Github

Re: [jira] [Commented] (TOMEE-2102) IvmContext bind/unbind creates duplicate contexts

2017-07-20 Thread Jonathan Gallimore
Happy to try it again, but here's the tests that were failing for me on master: org.apache.openejb.arquillian.tests.naming.IvmContextTest.testListContextTree org.apache.openejb.arquillian.tests.naming.IvmContextTest.testContextListBindings