Re: JAXRS Endpoints issue when Java Security Manager Enabled

2016-12-07 Thread Romain Manni-Bucau
Yes, this is what I mentionned. I don't have a ready to use policy file but this one likely doesn't allow much. What is surprising is you don't have an error in the logs? Depending your level of confidence you can debug tomee here https://github.com/apache/tomee/blob/master/container/openejb-core/

Re: JAXRS Endpoints issue when Java Security Manager Enabled

2016-12-07 Thread Nisala Niroshana Nanayakkara
Hi Romain, Thanks for the quick response. I have given all permission in the policy file. But it did not work. When I enabled the security logs, I observed that classes inside WEB-INF/classes has given the read permission also. But the endpoints are not working. If I packed those classes into a ja

Re: JAXRS Endpoints issue when Java Security Manager Enabled

2016-12-07 Thread Romain Manni-Bucau
hi did you configure the security manager policy? If not maybe start from giving it AllPermission to check it works and then try to configure it to ensure openejb and cxf can do their work. Romain Manni-Bucau @rmannibucau | Blog

JAXRS Endpoints issue when Java Security Manager Enabled

2016-12-07 Thread Nisala Niroshana Nanayakkara
Hi, I am trying to deploy javaee web app which contains some classes inside the WEB-INF/classes directory. These classes exposes some JAX-RS enpoints. Once I enabled the java security manager, those endpoints are not working (404 - Not found error). It was working as expected when I disabled the j