Re: How to disablle Aegis schema validation
All fixed. On Thu, Aug 20, 2009 at 7:39 AM, Sergey Beryozkin wrote: >> Point me at the test. > > have a look please at > http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSDataBindingTest.java > (testGetBookAegis), > > endpoint with id 'aegisbook' is created here : > > http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/resources/jaxrs_databinding/WEB-INF/beans.xml > > thanks, Sergey > > > >> >> On Thu, Aug 20, 2009 at 5:29 AM, Sergey Beryozkin >> wrote: >>> >>> Hi Benson >>> >>> I did write that test :-) That test demonstrates how CXF DataBindings can >>> be >>> wrapped (under the hood) into JAXRS providers. JAXB, Aegis and SDO (plus >>> SDO >>> JSON) are tested, I had to disable the Aegis test - I definitely did not >>> enable the validation. Perhaps the validation is turned off when Aegis is >>> used with SOAP ? I could not find a property which could do it... >>> >>> thanks, Sergey >>> >>> >>> - Original Message - From: "Benson Margulies" >>> >>> To: >>> Sent: Friday, August 14, 2009 1:58 PM >>> Subject: Re: How to disablle Aegis schema validation >>> >>> I probably turned it on specifically in that test. On Fri, Aug 14, 2009 at 8:27 AM, Sergey Beryozkin wrote: > > Hi > > Some class path exception was reported by ab (ignorable) aegis test : > > > > http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSDataBindingTest.java > > I think it was coming from an Aegis validation interceptor... > > cheers, Sergey > > > bimargulies wrote: >> >> It's off by default, isn't it? >> >> On Tue, Aug 11, 2009 at 11:58 AM, Sergey >> Beryozkin wrote: >>> >>> Is there a property which can be used to disable Aegis schema >>> validation >>> ? >>> >>> thanks, Sergey >>> -- >>> View this message in context: >>> >>> >>> http://www.nabble.com/How-to-disablle-Aegis-schema-validation-tp24920473p24920473.html >>> Sent from the cxf-dev mailing list archive at Nabble.com. >>> >>> >> >> > > -- > View this message in context: > > http://www.nabble.com/How-to-disablle-Aegis-schema-validation-tp24920473p24970904.html > Sent from the cxf-dev mailing list archive at Nabble.com. > > >>> >>> > >
Interceptor type management
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(Message) will call any interceptor's handleMessage. If the interceptor is a SoapInterceptor, and the message is an XMLMessage, the result is a ClassCastException. I don't see any code that is intended to avoid this. Anyone out there understand the intended design? One of the JAX-RS tests, when un-Ignored, explodes because an XMLMessage gets sent to the Aegis schema validation interceptor, which is a soap interceptor, and the result is an the throw. Should the aegis thing not be a soap interceptor? Shoudl the PhaseInterceptorChain somehow arbitrate this? The error is particularly confusing because type erasure causes the messup to be detected in a wierd way.
cxf-dosgi-ri-dsw-cxf_1.1.0.SNAPSHOT bundle hangs in starting state
I am working on an osgi project where we are trying to use the d-OSGI version of CXF. We have many services being constructed and exposed through ds. In addition, some of those services are also being exposed as web services through cxf. They are being configured through ds xml. We are experiencing an issue where the cxf-dosgi-ri-dsw-cxf_1.1.0.SNAPSHOT bundle hangs in starting state. It is very hard to reproduce consistently. Recently it has begun to happen more frequently - we have added more services in ds, and created more dependencies between bundles using ds. I noticed this post on the issues forum: http://www.nabble.com/-jira--Created%3A-%28CXF-2156%29-dOSGi-startup-blocks-in-some-cases-when-other-bundles-already-wait-for-remote-services-tp22904917p22904917.html We do have a service tracker in one of our bundles. This service tracker calls a class that is wired with ds. I am wondering if someone with more experience has any insight into this issue? Do you think the post listed above describes my issue? Is there anything I can do to help debug the issue? I have added two files, jboss server logs. One was a success, and one was a failure. (I was unable to upload the success file... too large) Thanks to anyone with any insight into what might be going on. BTW, environment: JBoss Servlet Bridge being used to start equinox OSGI container CXF multi-bundle dist. http://www.nabble.com/file/p25067138/fail_tracker_debug_server.log fail_tracker_debug_server.log -- View this message in context: http://www.nabble.com/cxf-dosgi-ri-dsw-cxf_1.1.0.SNAPSHOT-bundle-hangs-in-starting-state-tp25067138p25067138.html Sent from the cxf-dev mailing list archive at Nabble.com.
Re: CXF-2288 -- Bundle cannot be restarted
Thanks Sergey! Josh On Thu, Aug 20, 2009 at 6:09 PM, Sergey Beryozkin wrote: > > Hi Josh > > I've applied a patch with few minor updates (just updated the code to make > sure that the current bundle is not affected when other application service > bundles are stopped), > > thanks, Sergey > > > Josh Holtzman wrote: > > > > I'm looking at CXF-2288 and trying to figure out the best place to handle > > the reloading problem. I've added a patch to the issue, but I'm not sure > > if > > it's the "right" solution. Would one of the cxf committers give it a > > quick > > read? > > > > Thanks, > > Josh > > > > > > -- > View this message in context: > http://www.nabble.com/CXF-2288Bundle-cannot-be-restarted-tp25008241p25065096.html > Sent from the cxf-dev mailing list archive at Nabble.com. > >
Re: CXF-2288 -- Bundle cannot be restarted
Hi Josh I've applied a patch with few minor updates (just updated the code to make sure that the current bundle is not affected when other application service bundles are stopped), thanks, Sergey Josh Holtzman wrote: > > I'm looking at CXF-2288 and trying to figure out the best place to handle > the reloading problem. I've added a patch to the issue, but I'm not sure > if > it's the "right" solution. Would one of the cxf committers give it a > quick > read? > > Thanks, > Josh > > -- View this message in context: http://www.nabble.com/CXF-2288Bundle-cannot-be-restarted-tp25008241p25065096.html Sent from the cxf-dev mailing list archive at Nabble.com.
Re: Problem doing mvn clean with empty local repository
On Thu August 20 2009 8:39:23 am Christian Schneider wrote: > Hi all, > > when I do mvn clean on head with an empty local repository I get the > error below. > It seems it needs the cxf-xml2fastinfoset-plugin to do a clean. Is that > really necessary? Actually, that's just the first one. Even if you get beyond that, it will complain about our codegen plugin not being available. I PERSONALLY think it's a bug in Maven. I'm not sure why it needs to resolve all the plugins to run clean. It doesn't seem like it should need to, but it does. Dan > Greetings > > Christian > --- > > [ERROR] BUILD FAILURE > [INFO] > > [INFO] A required plugin was not found: Plugin could not be found - > check that the goal name is correct: Unable to download the artifact > from any repository > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.cxf > -DartifactId=cxf-xml2fastinfoset-plugin -Dversion=2.3.0-SNAPSHOT > -Dpackaging=maven-plugin -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.cxf > -DartifactId=cxf-xml2fastinfoset-plugin -Dversion=2.3.0-SNAPSHOT > -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > > org.apache.cxf:cxf-xml2fastinfoset-plugin:maven-plugin:2.3.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > org.apache.cxf:cxf-xml2fastinfoset-plugin:maven-plugin:2.3.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) -- Daniel Kulp dk...@apache.org http://www.dankulp.com/blog
Problem doing mvn clean with empty local repository
Hi all, when I do mvn clean on head with an empty local repository I get the error below. It seems it needs the cxf-xml2fastinfoset-plugin to do a clean. Is that really necessary? Greetings Christian --- [ERROR] BUILD FAILURE [INFO] [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cxf -DartifactId=cxf-xml2fastinfoset-plugin -Dversion=2.3.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.cxf -DartifactId=cxf-xml2fastinfoset-plugin -Dversion=2.3.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.cxf:cxf-xml2fastinfoset-plugin:maven-plugin:2.3.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) org.apache.cxf:cxf-xml2fastinfoset-plugin:maven-plugin:2.3.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2)
Re: How to disablle Aegis schema validation
Point me at the test. have a look please at http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSDataBindingTest.java (testGetBookAegis), endpoint with id 'aegisbook' is created here : http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/resources/jaxrs_databinding/WEB-INF/beans.xml thanks, Sergey On Thu, Aug 20, 2009 at 5:29 AM, Sergey Beryozkin wrote: Hi Benson I did write that test :-) That test demonstrates how CXF DataBindings can be wrapped (under the hood) into JAXRS providers. JAXB, Aegis and SDO (plus SDO JSON) are tested, I had to disable the Aegis test - I definitely did not enable the validation. Perhaps the validation is turned off when Aegis is used with SOAP ? I could not find a property which could do it... thanks, Sergey - Original Message - From: "Benson Margulies" To: Sent: Friday, August 14, 2009 1:58 PM Subject: Re: How to disablle Aegis schema validation I probably turned it on specifically in that test. On Fri, Aug 14, 2009 at 8:27 AM, Sergey Beryozkin wrote: Hi Some class path exception was reported by ab (ignorable) aegis test : http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSDataBindingTest.java I think it was coming from an Aegis validation interceptor... cheers, Sergey bimargulies wrote: It's off by default, isn't it? On Tue, Aug 11, 2009 at 11:58 AM, Sergey Beryozkin wrote: Is there a property which can be used to disable Aegis schema validation ? thanks, Sergey -- View this message in context: http://www.nabble.com/How-to-disablle-Aegis-schema-validation-tp24920473p24920473.html Sent from the cxf-dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/How-to-disablle-Aegis-schema-validation-tp24920473p24970904.html Sent from the cxf-dev mailing list archive at Nabble.com.
Re: How to disablle Aegis schema validation
Point me at the test. On Thu, Aug 20, 2009 at 5:29 AM, Sergey Beryozkin wrote: > Hi Benson > > I did write that test :-) That test demonstrates how CXF DataBindings can be > wrapped (under the hood) into JAXRS providers. JAXB, Aegis and SDO (plus SDO > JSON) are tested, I had to disable the Aegis test - I definitely did not > enable the validation. Perhaps the validation is turned off when Aegis is > used with SOAP ? I could not find a property which could do it... > > thanks, Sergey > > > - Original Message - From: "Benson Margulies" > > To: > Sent: Friday, August 14, 2009 1:58 PM > Subject: Re: How to disablle Aegis schema validation > > >> I probably turned it on specifically in that test. >> >> On Fri, Aug 14, 2009 at 8:27 AM, Sergey >> Beryozkin wrote: >>> >>> Hi >>> >>> Some class path exception was reported by ab (ignorable) aegis test : >>> >>> >>> http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSDataBindingTest.java >>> >>> I think it was coming from an Aegis validation interceptor... >>> >>> cheers, Sergey >>> >>> >>> bimargulies wrote: It's off by default, isn't it? On Tue, Aug 11, 2009 at 11:58 AM, Sergey Beryozkin wrote: > > Is there a property which can be used to disable Aegis schema > validation > ? > > thanks, Sergey > -- > View this message in context: > > http://www.nabble.com/How-to-disablle-Aegis-schema-validation-tp24920473p24920473.html > Sent from the cxf-dev mailing list archive at Nabble.com. > > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/How-to-disablle-Aegis-schema-validation-tp24920473p24970904.html >>> Sent from the cxf-dev mailing list archive at Nabble.com. >>> >>> > >
Re: How to disablle Aegis schema validation
Hi Benson I did write that test :-) That test demonstrates how CXF DataBindings can be wrapped (under the hood) into JAXRS providers. JAXB, Aegis and SDO (plus SDO JSON) are tested, I had to disable the Aegis test - I definitely did not enable the validation. Perhaps the validation is turned off when Aegis is used with SOAP ? I could not find a property which could do it... thanks, Sergey - Original Message - From: "Benson Margulies" To: Sent: Friday, August 14, 2009 1:58 PM Subject: Re: How to disablle Aegis schema validation I probably turned it on specifically in that test. On Fri, Aug 14, 2009 at 8:27 AM, Sergey Beryozkin wrote: Hi Some class path exception was reported by ab (ignorable) aegis test : http://svn.apache.org/repos/asf/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSDataBindingTest.java I think it was coming from an Aegis validation interceptor... cheers, Sergey bimargulies wrote: It's off by default, isn't it? On Tue, Aug 11, 2009 at 11:58 AM, Sergey Beryozkin wrote: Is there a property which can be used to disable Aegis schema validation ? thanks, Sergey -- View this message in context: http://www.nabble.com/How-to-disablle-Aegis-schema-validation-tp24920473p24920473.html Sent from the cxf-dev mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/How-to-disablle-Aegis-schema-validation-tp24920473p24970904.html Sent from the cxf-dev mailing list archive at Nabble.com.