[ 
https://issues.apache.org/jira/browse/KARAF-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762669#comment-13762669
 ] 

Ronald Chen commented on KARAF-2467:
------------------------------------

Oddly adding the xsi:schemaLocation doesn't fix it:
{code}
 svn diff
Index: src/main/resources/OSGI-INF/blueprint/kar-deployer.xml
===================================================================
--- src/main/resources/OSGI-INF/blueprint/kar-deployer.xml      (revision 
1521351)
+++ src/main/resources/OSGI-INF/blueprint/kar-deployer.xml      (working copy)
@@ -16,7 +16,9 @@
                License.
        -->
 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0";
+xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint-ext/v1.1.0 
https://svn.apache.org/repos/asf/aries/tags/blueprint-0.3.1/blueprint-core/src/main/resources/org/apache/aries/blueprint/ext/blueprint-ext.xsd";
        default-activation="lazy">
 
        <ext:property-placeholder placeholder-prefix="$[" 
placeholder-suffix="]" />
{code}

1. Patch
2. mvn clean install
3. copy to 
apache-karaf-3.0.0.RC1/system/org/apache/karaf/deployer/org.apache.karaf.deployer.kar/3.0.0.RC1/org.apache.karaf.deployer.kar-3.0.0.RC1.jar
4. karaf clean
5. feature:install gemini-blueprint

And I still get the stack trace

                
> Regression on KARAF-2037
> ------------------------
>
>                 Key: KARAF-2467
>                 URL: https://issues.apache.org/jira/browse/KARAF-2467
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-kar
>    Affects Versions: 3.0.0.RC1
>         Environment: $ mvn -v
> Apache Maven 3.0.4 (r1232337; 2012-01-17 00:44:56-0800)
> Maven home: /usr/share/maven
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.8.4", arch: "x86_64", family: "mac"
>            Reporter: Ronald Chen
>            Priority: Blocker
>              Labels: gemini-blueprint
>
> In a clean release of karaf 3.0.0.RC1
> start karaf, then run:
> {code}
> feature:install gemini-blueprint
> {code}
> It fails with the same stack trace as KARAF-2037
> This is a blocker for any usage of gemini blueprint in karaf

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to