Am 25.06.12 09:55 schrieb "Claus Ibsen" unter <claus.ib...@gmail.com>:
>Hi > >I have fixed #4 by downgrading to Spring WS 2.0.3 which is the last >release that supports Spring 3.0.x out of the box. >https://issues.apache.org/jira/browse/CAMEL-5393 Hi The only minor side effect of this downgrade is that building on CI-Server JDK 7 would now fail because of a known bug in Spring WS 2.0.3. However by making use of @Ignore or a Maven profile and whatnot we could defuse this currently. Babak ~/dev/workspace/camel/components/camel-spring-ws>mvn -version Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Maven home: /Users/bvahdat/dev/apache-maven-3.0.4 Java version: 1.7.0_06-ea, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk/Contents/Home/jre Default locale: de_DE, platform encoding: UTF-8 OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac" ~/dev/workspace/camel/components/camel-spring-ws>mvn test [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Camel :: Spring Web Services 2.11-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-spring-ws --- [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ camel-spring-ws --- [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ camel-spring-ws --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5:compile (default-compile) @ camel-spring-ws --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ camel-spring-ws --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 14 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.5:testCompile (default-testCompile) @ camel-spring-ws --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.8:test (default-test) @ camel-spring-ws --- [INFO] Surefire report directory: /Users/bvahdat/dev/workspace/camel/components/camel-spring-ws/target/surefi re-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.camel.component.spring.ws.ConsumerEndpointMappingByBeanNameRoute Test Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.445 sec Running org.apache.camel.component.spring.ws.ConsumerEndpointMappingResponseHandlin gRouteTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.14 sec Running org.apache.camel.component.spring.ws.ConsumerEndpointMappingRouteTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.98 sec Running org.apache.camel.component.spring.ws.ConsumerExceptionPropagationRouteTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec Running org.apache.camel.component.spring.ws.ConsumerMarshallingRouteTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec Running org.apache.camel.component.spring.ws.ProducerLocalRouteTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec Running org.apache.camel.component.spring.ws.ProducerRemoteRouteTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec Running org.apache.camel.component.spring.ws.ProducerRemoteRouteTimeOutTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec Running org.apache.camel.component.spring.ws.SSLContextParametersLocalRouteTest ERROR: 'Markup im Dokument vor dem Root-Element muss ordnungsgemäß formatiert sein.' Jun 25, 2012 11:24:20 AM com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory createEnvelope Schwerwiegend: SAAJ0511: Unable to create envelope from given source ERROR: 'Markup im Dokument vor dem Root-Element muss ordnungsgemäß formatiert sein.' Jun 25, 2012 11:24:20 AM com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory createEnvelope Schwerwiegend: SAAJ0511: Unable to create envelope from given source ERROR: 'Markup im Dokument vor dem Root-Element muss ordnungsgemäß formatiert sein.' Jun 25, 2012 11:24:20 AM com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory createEnvelope Schwerwiegend: SAAJ0511: Unable to create envelope from given source ERROR: 'Markup im Dokument vor dem Root-Element muss ordnungsgemäß formatiert sein.' Jun 25, 2012 11:24:20 AM com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory createEnvelope Schwerwiegend: SAAJ0511: Unable to create envelope from given source ERROR: 'Markup im Dokument vor dem Root-Element muss ordnungsgemäß formatiert sein.' Jun 25, 2012 11:24:20 AM com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory createEnvelope Schwerwiegend: SAAJ0511: Unable to create envelope from given source ERROR: 'Markup im Dokument vor dem Root-Element muss ordnungsgemäß formatiert sein.' Jun 25, 2012 11:24:20 AM com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory createEnvelope Schwerwiegend: SAAJ0511: Unable to create envelope from given source ERROR: 'Markup im Dokument vor dem Root-Element muss ordnungsgemäß formatiert sein.' Jun 25, 2012 11:24:20 AM com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory createEnvelope Schwerwiegend: SAAJ0511: Unable to create envelope from given source Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.036 sec <<< FAILURE! Results : Tests in error: consumeStockQuoteWebserviceWithDefaultTemplate(org.apache.camel.component.s pring.ws.SSLContextParametersLocalRouteTest): Exception occurred during execution on the exchange: Exchange[Message: <GetQuote xmlns="http://www.webserviceX.NET/"><symbol>GOOG</symbol></GetQuote>] consumeStockQuoteWebserviceAndPreserveHeaders(org.apache.camel.component.sp ring.ws.SSLContextParametersLocalRouteTest): Exception occurred during execution on the exchange: Exchange[Message: <GetQuote xmlns="http://www.webserviceX.NET/"><symbol>GOOG</symbol></GetQuote>] consumeStockQuoteWebservice(org.apache.camel.component.spring.ws.SSLContext ParametersLocalRouteTest): Exception occurred during execution on the exchange: Exchange[Message: <GetQuote xmlns="http://www.webserviceX.NET/"><symbol>GOOG</symbol></GetQuote>] consumeStockQuoteWebserviceWithCamelStringSourceInput(org.apache.camel.comp onent.spring.ws.SSLContextParametersLocalRouteTest): Exception occurred during execution on the exchange: Exchange[Message: <GetQuote xmlns="http://www.webserviceX.NET/"><symbol>GOOG</symbol></GetQuote>] consumeStockQuoteWebserviceWithNonDefaultMessageFactory(org.apache.camel.co mponent.spring.ws.SSLContextParametersLocalRouteTest): Exception occurred during execution on the exchange: Exchange[Message: <GetQuote xmlns="http://www.webserviceX.NET/"><symbol>GOOG</symbol></GetQuote>] consumeStockQuoteWebserviceAndConvertResult(org.apache.camel.component.spri ng.ws.SSLContextParametersLocalRouteTest): Exception occurred during execution on the exchange: Exchange[Message: <GetQuote xmlns="http://www.webserviceX.NET/"><symbol>GOOG</symbol></GetQuote>] consumeStockQuoteWebserviceAndProvideEndpointUriByHeader(org.apache.camel.c omponent.spring.ws.SSLContextParametersLocalRouteTest): Exception occurred during execution on the exchange: Exchange[Message: <GetQuote xmlns="http://www.webserviceX.NET/"><symbol>GOOG</symbol></GetQuote>] Tests run: 31, Failures: 0, Errors: 7, Skipped: 2 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.744s [INFO] Finished at: Mon Jun 25 11:24:20 CEST 2012 [INFO] Final Memory: 19M/981M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.8:test (default-test) on project camel-spring-ws: There are test failures. [ERROR] [ERROR] Please refer to /Users/bvahdat/dev/workspace/camel/components/camel-spring-ws/target/surefi re-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > >And there is in fact a new Spring WS 2.1.0 release, which we can >upgrade to when we change use Spring 3.1.x as the default Spring >version. > >Notice you need to use the jre.properties.cxf to use spring-ws in >Karaf. But this file is highly recommended for using Camel. So ppl >should use that file. >We have stated that in our release notes. > >So I think all the features is now installable out of the box in >Karaf. Notice that camel-dns requires you to tweak the jre.properties >file as it documents in its features:info description. > > > >On Fri, Jun 22, 2012 at 11:51 PM, Christian Müller ><christian.muel...@gmail.com> wrote: >> +1 >> >> My tests/findings: >> >> 1) all new components are in the kit >> 2) I could not install camel-dns in Karaf 2.2.7 (see below) >> -> package sun.net.spi.nameservice is neither exported by Karaf nor >> provided by another bundle >> 3) I could not install camel-leveldb in Karaf 2.2.7 (see below) >> -> wrap:mvn:org.fusesource.leveldbjni/leveldbjni-all/1.2 exports the >> packages without a version which thans doesn't fit into the expected >> version range >> 4) I could not install camel-spring-ws in Karaf 2.2.7 (see below) >> -> need Spring 3.1.x >> >> >> regarding 2) >> ip-109-85-152-102:bin cmueller$ ./karaf clean >> __ __ ____ >> / //_/____ __________ _/ __/ >> / ,< / __ `/ ___/ __ `/ /_ >> / /| |/ /_/ / / / /_/ / __/ >> /_/ |_|\__,_/_/ \__,_/_/ >> >> Apache Karaf (2.2.7) >> >> Hit '<tab>' for a list of available commands >> and '[cmd] --help' for help on a specific command. >> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf. >> >> karaf@root> features:chooseurl camel 2.10.0 >> adding feature url >> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features >> karaf@root> feature:install camel-dns >> Error executing command: Could not start bundle >>mvn:dnsjava/dnsjava/2.1.1 >> in feature(s) camel-dns-2.10.0: Unresolved constraint in bundle dnsjava >> [66]: Unable to resolve 66.0: missing requirement [66.0] package; >> (package=sun.net.spi.nameservice) >> >> >> regarding 3) >> ip-109-85-152-102:bin cmueller$ ./karaf clean >> __ __ ____ >> / //_/____ __________ _/ __/ >> / ,< / __ `/ ___/ __ `/ /_ >> / /| |/ /_/ / / / /_/ / __/ >> /_/ |_|\__,_/_/ \__,_/_/ >> >> Apache Karaf (2.2.7) >> >> Hit '<tab>' for a list of available commands >> and '[cmd] --help' for help on a specific command. >> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf. >> >> karaf@root> features:chooseurl camel 2.10.0 >> adding feature url >> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features >> karaf@root> feature:install camel-leveldb >> Error executing command: Could not start bundle >> mvn:org.apache.camel/camel-leveldb/2.10.0 in feature(s) >> camel-leveldb-2.10.0: Unresolved constraint in bundle >> org.apache.camel.camel-leveldb [68]: Unable to resolve 68.0: missing >> requirement [68.0] package; >> >>(&(package=org.fusesource.leveldbjni)(version>=1.2.0)(!(version>=2.0.0))) >> >> >> >> regarding 4) >> ip-109-85-152-102:bin cmueller$ ./karaf clean >> __ __ ____ >> / //_/____ __________ _/ __/ >> / ,< / __ `/ ___/ __ `/ /_ >> / /| |/ /_/ / / / /_/ / __/ >> /_/ |_|\__,_/_/ \__,_/_/ >> >> Apache Karaf (2.2.7) >> >> Hit '<tab>' for a list of available commands >> and '[cmd] --help' for help on a specific command. >> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf. >> >> karaf@root> features:chooseurl camel 2.10.0 >> adding feature url >> mvn:org.apache.camel.karaf/apache-camel/2.10.0/xml/features >> karaf@root> feature:install camel-spring-ws >> Error executing command: Could not start bundle mvn: >> org.springframework.ws/spring-xml/2.0.5.RELEASE in feature(s) >> camel-spring-ws-2.10.0: Unresolved constraint in bundle >> org.springframework.ws.xml [102]: Unable to resolve 102.0: missing >> requirement [102.0] package; >> >>(&(package=org.springframework.beans)(version>=3.1.0)(!(version>=4.0.0))) >> >> Best, >> Christian >> >> On Wed, Jun 20, 2012 at 7:55 PM, Hadrian Zbarcea <hzbar...@gmail.com> >>wrote: >> >>> A new release candidate apache-camel-2.10.0 final is out with >>> approximately 473 issues resolved so far: improvements and bug fixes >>>[1]. >>> >>> Please find the staging repo here: >>> >>>https://repository.apache.org/**content/repositories/**orgapachecamel-25 >>>1/<https://repository.apache.org/content/repositories/orgapachecamel-251 >>>/> >>> >>> The tarballs are here >>> https://repository.apache.org/**content/repositories/** >>> >>>orgapachecamel-251/org/apache/**camel/apache-camel/2.10.0/<https://repos >>>itory.apache.org/content/repositories/orgapachecamel-251/org/apache/came >>>l/apache-camel/2.10.0/> >>> >>> Tag: >>> >>>http://svn.apache.org/repos/**asf/camel/tags/camel-2.10.0/<http://svn.ap >>>ache.org/repos/asf/camel/tags/camel-2.10.0/> >>> >>> Please review, help out with testing and vote to approve this release >>> binary. Your vote counts! >>> >>> [ ] +1 Release the binary as Apache Camel 2.10.0 >>> [ ] -1 Veto the release (provide specific comments) >>> Vote is open for at least 72 hours. >>> >>> Here's my +1. >>> Hadrian >>> >>> [1] https://issues.apache.org/**jira/secure/ReleaseNote.jspa?** >>> >>>projectId=12311211&version=**12317612<https://issues.apache.org/jira/sec >>>ure/ReleaseNote.jspa?projectId=12311211&version=12317612> >>> >>> -- >>> Hadrian Zbarcea >>> Principal Software Architect >>> Talend, Inc >>> http://coders.talend.com/ >>> http://camelbot.blogspot.com/ >>> > > > >-- >Claus Ibsen >----------------- >FuseSource >Email: cib...@fusesource.com >Web: http://fusesource.com >Twitter: davsclaus, fusenews >Blog: http://davsclaus.com >Author of Camel in Action: http://www.manning.com/ibsen