Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C29DA1867B for ; Wed, 6 Apr 2016 06:39:37 +0000 (UTC) Received: (qmail 7940 invoked by uid 500); 6 Apr 2016 06:39:37 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 7899 invoked by uid 500); 6 Apr 2016 06:39:37 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 7884 invoked by uid 99); 6 Apr 2016 06:39:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2016 06:39:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D014018046A for ; Wed, 6 Apr 2016 06:39:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.28 X-Spam-Level: X-Spam-Status: No, score=0.28 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RAyfxg8ZM1wU for ; Wed, 6 Apr 2016 06:39:34 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 08F405F488 for ; Wed, 6 Apr 2016 06:39:33 +0000 (UTC) Received: from mfilter15-d.gandi.net (mfilter15-d.gandi.net [217.70.178.143]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id 876C9C5A50 for ; Wed, 6 Apr 2016 08:39:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter15-d.gandi.net Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter15-d.gandi.net (mfilter15-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id pd9M8fbhq6Cf for ; Wed, 6 Apr 2016 08:39:25 +0200 (CEST) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.16] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id EDE45C5A5C for ; Wed, 6 Apr 2016 08:39:24 +0200 (CEST) Subject: Re: [VOTE] Apache Karaf 4.0.5 release (take 2) To: dev@karaf.apache.org References: <5702D0C6.403@nanthrax.net> <570415F9.6040904@gmail.com> <57041DB6.8000504@nanthrax.net> From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: <5704AF1C.7020903@nanthrax.net> Date: Wed, 6 Apr 2016 08:39:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Cristiano, I don't think it's related, as the issue in about blueprint-ext namespace (not even define). The problem is located in Aries Blueprint. I gonna deal with Guillaume. We can: 0. leave Karaf 4.0.5 as it is, but I think it's not acceptable: blueprint is used by lot of users, and we can't allow a release without a working blueprint layer. 1. downgrade Karaf to Aries Blueprint 1.5.x: unfortunately, we won't benefit about some improvements implemented in blueprint 2. revert or fix the change in Aries: it means we would need a new Aries Blueprint core release, so 3 days vote, meaning that we won't be able to release Karaf before roughly 6 days. My preference is on 2 even if it delays Karaf 4.0.5 release. Thoughts ? I will add an Integration Test on blueprint to avoid such problem in the future. Regards JB On 04/06/2016 08:14 AM, Cristiano Costantini wrote: > Hi JB and Krzysztof, > > I don't know if this can be have any impact on the problem you have > reported, but about 1 month ago I got into an issue with camel XSD schemas > for Camel namespaces, and the issue is that the URL of the latest XSD, > http://camel.apache.org/schema/blueprint/camel-blueprint.xsd > is not from latest version 2.16.2, but it is from version 2.15.0 > > While upgrading to ServiceMix 7, I had to change manually the XML to > xsi:schemaLocation="http://camel.apache.org/schema/spring http://camel > .apache.org/schema/spring/camel-spring-2.16.1.xsd" in order to make it work > (note also that SMX 7 is based on camel 2.16.2, but this XSD is not > available) > > But in fact the only problem I had was that Eclipse validation and > autocompletion of the XML files was not working properly. > > if this is not relevant, please ignore this message ;-) > > Cristiano > > > > > Il giorno mar 5 apr 2016 alle ore 22:19 Jean-Baptiste Onofré < > jb@nanthrax.net> ha scritto: > >> I tried with Camel 2.16.2, camel-blueprint, and simple route in >> blueprint: it works fine. >> >> I tried with your XML, and actually I have the same problem. >> >> It sounds like a Aries Blueprint bug. Let me try if I downgrade to >> blueprint 1.5.x and check the change in aries blueprint (I know >> Guillaume did some enhancements & changes). >> >> Honestly, I would consider as a blocker for the release, so, I will >> probably revert my vote to -1. I just want to make more tests. >> >> Regards >> JB >> >> On 04/05/2016 09:46 PM, Krzysztof Sobkowiak wrote: >>> Hi >>> >>> I tried to upgrade ServiceMix to the new version and have several >> problems with blueprint. >>> >>> 2016-04-05 21:42:05,485 | INFO | pool-46-thread-1 | >> FeaturesServiceImpl | 9 - org.apache.karaf.features.core - >> 4.0.5 | cxf-wsn-receive/7.0.0.SNAPSHOT >>> 2016-04-05 21:42:05,567 | ERROR | pool-46-thread-1 | >> BlueprintContainerImpl | 28 - org.apache.aries.blueprint.core - >> 1.6.0 | Unable to start blueprint container for bundle >> cxf-wsn-receive/7.0.0.SNAPSHOT >>> org.xml.sax.SAXParseException: src-import.3.1: The namespace attribute, ' >> http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0', of an >> element information item must be identical to the targetNamespace >> attribute, 'http://camel.apache.org/schema/blueprint', of the imported >> document. >>> at >> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown >> Source)[:] >>> at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown >> Source)[:] >>> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown >> Source)[:] >>> >>> or >>> >>> >>> 2016-04-05 21:31:36,969 | ERROR | pool-42-thread-1 | >> BlueprintContainerImpl | 28 - org.apache.aries.blueprint.core - >> 1.6.0 | Unable to start blueprint container for bundle >> drools-camel-cxf-server/7.0.0.SNAPSHOT >>> org.xml.sax.SAXParseException: src-import.3.1: The namespace attribute, ' >> http://cxf.apache.org/configuration/beans', of an element >> information item must be identical to the targetNamespace attribute, ' >> http://camel.apache.org/schema/blueprint', of the imported document. >>> at >> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown >> Source)[:] >>> at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown >> Source)[:] >>> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown >> Source)[:] >>> >>> >>> >>> Here my try to reproduce one of them in K405 >>> >>> Assume you have following simple blueprint (I have reduced one of the >> blueprints from the examples) >>> >>> >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xmlns:cm=" >> http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0" >>> xsi:schemaLocation=" >> http://www.osgi.org/xmlns/blueprint/v1.0.0 >> http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"> >>> >>> >>> > persistent-id="org.apache.servicemix.examples.cxf.receive" >> update-strategy="reload"> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Next >>> >>> karaf@root()> feature:repo-add camel 2.16.2 >>> Adding feature url >> mvn:org.apache.camel.karaf/apache-camel/2.16.2/xml/features >>> karaf@root()> feature:install camel-blueprint >>> >>> >>> Deploy the blueprint into deploy directory (the same problem occurs when >> the blueprint is part of a bundle). Tho log contains following error >>> >>> >>> 2016-04-05 21:15:47,932 | INFO | raf-4.0.5/deploy | fileinstall >> | 8 - org.apache.felix.fileinstall - 3.5.4 | Installing >> bundle x.xml / 0.0.0 >>> 2016-04-05 21:15:48,216 | ERROR | raf-4.0.5/deploy | >> BlueprintContainerImpl | 13 - org.apache.aries.blueprint.core - >> 1.6.0 | Unable to start blueprint container for bundle x.xml/0.0.0 >>> org.xml.sax.SAXParseException: src-import.3.1: The namespace attribute, ' >> http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0', of an >> element information item must be identical to the targetNamespace >> attribute, 'http://camel.apache.org/schema/blueprint', of the imported >> document. >>> at >> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown >> Source)[:] >>> at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown >> Source)[:] >>> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown >> Source)[:] >>> at >> org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown >> Source)[:] >>> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown >> Source)[:] >>> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown >> Source)[:] >>> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown >> Source)[:] >>> at >> org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown >> Source)[:] >>> >>> >>> The same happens with Camel 2.17.0. >>> This error didn't occur in K404. I think, it can be caused by upgrade to >> Aries Blueprint 1.6.0. >>> >>> >>> Please, correct me if I'm missing something I should do after this >> upgrade. But when it's a new issue introduced by upgrade to Aries Blueprint >> 1.6.0 the people using Camel with Karaf will not be happy with the new >> version. ServiceMix will be broken too. >>> >>> I'd like to vote with -1, non-binding, but I'm giving -0. Please decide, >> whether this is issue which should stop the release. >>> >>> Kindly regards >>> Krzysztof >>> >>> >>> >>> >>> >>> On 04.04.2016 22:38, Jean-Baptiste Onofré wrote: >>>> Hi all, >>>> >>>> I submit Karaf Container 4.0.5 release to your vote. >>>> >>>> Release Note: >>>> >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12334629 >>>> >>>> Staging Repository: >>>> https://repository.apache.org/content/repositories/orgapachekaraf-1060/ >>>> >>>> Git tag: >>>> karaf-4.0.5 >>>> >>>> Please vote to approve this release: >>>> >>>> [ ] +1 Approve the release >>>> [ ] -1 Don't approve the release (please provide specific comments) >>>> >>>> This vote will be open for at least 72 hours. >>>> >>>> Thanks, >>>> Regards >>>> JB >>> >> >> -- >> Jean-Baptiste Onofré >> jbonofre@apache.org >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> > -- Jean-Baptiste Onofré jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com