Re: Is there a way to control CXF logging with configuration admin?

2015-08-21 Thread Christian Schneider
Hi Benson, not exactly with config admin but there is a good solution. See my article about the new CXF logging feature: http://www.liquid-reality.de/x/AoDT So basically you simply start the logging feature before your first bundle using cxf is started and it will enhance all cxf clients and

Is there a way to control CXF logging with configuration admin?

2015-08-21 Thread Benson Margulies
While I know that blueprint has a bad odor, I am working with a very simple device that does not get into any of the problems with service dependencies (as far as I can tell). I currently have: because I realized, belatedly, that I'd invited someone to do a performance test

Why would CXF throw an 'idle timeout'?

2015-08-21 Thread Benson Margulies
I'm running a rest service in with CXF 3.1.1 with Karaf 4.0.1, and the ***logging interceptor*** is timing out. 21 20:17:15,400 | WARN | tp1456504108-143 | PhaseInterceptorChain | Interceptor for {http://annotatorservice.raas.basistech.com/}AnnotatorService has thrown exception, unwinding

Re: PATCH Method is failing

2015-08-21 Thread Sergey Beryozkin
Hi Dan, thanks for getting the reflection hack working with java 7 too :-) Looks like we have a complete coverage after all :-) Cheers, Sergey On 21/08/15 11:28, Sergey Beryozkin wrote: This is better: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/e52f33586140/src/share/classes/sun/net/www/p

Re: AW: [CXF Fediz] org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.

2015-08-21 Thread tazouxme
Hi Jan, Thanks for replying. So I did what you explained in your blog: - Modify the server.xml and add keyStore and trustStore - Enable https - Copy .jar in /tomcat/lib/fediz folder - Modify the catalina.properties I launched it again and the same error appears at the same point. Any other idea

Re: prefix wsdp is not bound to a namespace

2015-08-21 Thread craigrs84
I'll check into that although I'm not sure exactly how to turn on logging to capture this. It's not being triggered by any web service call on my side it seems to be happening automatically, periodically, without any obvious trigger on my side. -- View this message in context: http://cxf.54721

Re: PATCH Method is failing

2015-08-21 Thread Sergey Beryozkin
I've just updated the code to get this property enabled for any unknown HTTP verb... Sergey On 21/08/15 13:24, PatrikStas wrote: Ahh that was it ! At first I had wrong version of this dependency in my maven and it was failing on something else, then after I noticed I have different versions of

Re: PATCH Method is failing

2015-08-21 Thread PatrikStas
Ahh that was it ! At first I had wrong version of this dependency in my maven and it was failing on something else, then after I noticed I have different versions of cxf and cxf-rt-transports-http-hc I managed the code similar to what I originally posted working. In our project we however don't us

Re: java.lang.LinkageError: ClassCastException: attempting to castzip:

2015-08-21 Thread Sergey Beryozkin
Please keep experimenting - WebLogic is an Oracle supported container so it is natural that Jersey is closely integrated, the trace shows Jersey is still loaded - you need to make sure somehow that Jersey is not loaded... Thanks, Sergey On 21/08/15 09:25, vineetkala11 wrote: Hi there, I am ge

java.lang.LinkageError: ClassCastException: attempting to castzip:

2015-08-21 Thread vineetkala11
Hi there, I am getting below exception at the time of deployment of my project . I am referring to link http://cxf.apache.org/docs/jax-rs-deployment.html#JAX-RSDeployment-WebLogic Its almost a week dealing with exce

Re: prefix wsdp is not bound to a namespace

2015-08-21 Thread Aki Yoshida
It is hard to say what is happening when we don't have the message that is getting this problem. I suppose somehow the message is either corrupted regarding its namespace usage or something during the processing is corrupting the message. Is it possible to see the message that come in? Maybe by usi

Re: PATCH Method is failing

2015-08-21 Thread Sergey Beryozkin
This is better: http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/e52f33586140/src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java#l1271 only Trace is restricted in Java8 sun.net code, this is OpenJdk but the chances are good...So we'll get it working fine with the new Java 8 trunk

Re: PATCH Method is failing

2015-08-21 Thread Sergey Beryozkin
Looks like we are still out of luck here, http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/7u40-b43/sun/net/www/protocol/http/HttpURLConnection.java?av=f#1068 Sigh... Sergey On 21/08/15 10:27, Sergey Beryozkin wrote: Hi Dan I thought, wow, did CXF ReflectionUtil was so po

Re: PATCH Method is failing

2015-08-21 Thread Sergey Beryozkin
Hi Dan I thought, wow, did CXF ReflectionUtil was so powerful it could get the 'final' HttpUrlConnection 'methods' array modified, given that the 'methods' is checked in HttpUrlConnection.setRequestMethod, and trying to modify 'methods' was my best but unlucky try, lol. Let me only update th