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

2017-07-20 Thread Jonathan Gallimore
Thanks Svetlin - I'll review later today. I'm currently getting some IvmContextTest test failures on master - I'll send over a list. Happy to help fix these. Jon On Thu, Jul 20, 2017 at 9:19 AM, ASF GitHub Bot (JIRA) wrote: > > [ https://issues.apache.org/jira/browse/TOMEE-2102?page= > com.

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 th

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 org.apache.openejb.server.cxf.rs.CustomProviderTest.custom

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] https://gist.github.com/SvetlinZarev/90d7

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 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 class is not packaged in

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. > > https://issues.apache.org/jir

NullPointerException when making rest request in TomEE 1.7.4

2017-07-20 Thread jmp
We recently upgraded from TomEE 1.7.3 to 1.7.4. Using the same rest servie that runs fine in 1.7.3 without issues now causes the following error message to be logged everytime a rest request is made. Jul 20, 2017 1:14:50 PM org.apache.coyote.http11.AbstractHttp11Processor process SEVERE: Error pr

Re: NullPointerException when making rest request in TomEE 1.7.4

2017-07-20 Thread Andy Gumbrecht
Hi "jmp", Check/Compare your application WEB-INF/lib directory against the [TomEE]/lib directory and make sure you are not including any TomEE provided libraries in your application. Also, shutdown and clean out the [TomEE]/temp directory before a restart. If you are not sure about the libs then