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

Marco Tenti edited comment on CAMEL-13953 at 9/6/19 5:06 PM:
-------------------------------------------------------------

ty all for the clarification. 
 For now i use the http protocol instead of https .

I'm not very smart on this configuration, but here my "blueprint.xml header" 
updated :
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<blueprint default-activation="eager"
    xmlns="http://osgi.org/xmlns/blueprint/v1.0.0";
    xmlns:blueprint-schema-cxf="http://camel.apache.org/schema/cxf";
    xmlns:camel="http://camel.apache.org/schema/blueprint";
    xmlns:cm="http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.3.0";
    xmlns:ctx="http://www.springframework.org/schema/context";
    xmlns:cxf="http://camel.apache.org/schema/cxf/camel-cxf-blueprint";
    xmlns:cxf-core="http://cxf.apache.org/schemas/blueprint/core";
    xmlns:cxf-security="http://cxf.apache.org/configuration/security";
    xmlns:enc="http://karaf.apache.org/xmlns/jasypt/v1.0.0";
    xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0";   
    xmlns:http="http://cxf.apache.org/schemas/configuration/http-conf";
    xmlns:httpn="http://cxf.apache.org/schemas/configuration/http-netty-server";
    xmlns:httpu="http://cxf.apache.org/schemas/configuration/http-undertow";
    xmlns:jaxrs="http://cxf.apache.org/schemas/blueprint/jaxrs";
    xmlns:jaxws="http://cxf.apache.org/schemas/blueprint/jaxws";
    xmlns:osgi="http://www.springframework.org/schema/osgi";
    xmlns:osgix="http://www.springframework.org/schema/osgi-compendium";
    xmlns:sec="http://cxf.apache.org/schemas/configuration/security";
    xmlns:spring-beans="http://www.springframework.org/schema/beans";
    xmlns:spring-camel-cxf="http://camel.apache.org/schema/cxf";
    xmlns:spring-security="http://www.springframework.org/schema/security";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
    xsi:schemaLocation="
    http://osgi.org/xmlns/blueprint/v1.0.0 
https://osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
    http://camel.apache.org/schema/cxf 
http://camel.apache.org/schema/cxf/camel-cxf.xsd
    http://camel.apache.org/schema/blueprint/camel-blueprint.xsd
    http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.3.0 
http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.3.0.xsd
    http://www.springframework.org/schema/context 
http://www.springframework.org/schema/context/spring-context.xsd
    http://camel.apache.org/schema/cxf/camel-cxf-blueprint.xsd
    http://cxf.apache.org/schemas/blueprint/core 
http://cxf.apache.org/schemas/blueprint/core.xsd              
    http://karaf.apache.org/xmlns/jasypt/v1.0.0
    http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0 
http://aries.apache.org/schemas/blueprint-ext/blueprint-ext.xsd 
    http://cxf.apache.org/schemas/configuration/http-conf 
http://cxf.apache.org/schemas/configuration/http-conf.xsd 
    http://cxf.apache.org/schemas/configuration/http-netty-server 
http://cxf.apache.org/schemas/configuration/http-netty-server.xsd
    http://cxf.apache.org/schemas/configuration/http-undertow 
http://cxf.apache.org/schemas/configuration/http-undertow.xsd
    http://cxf.apache.org/schemas/blueprint/jaxrs 
http://cxf.apache.org/schemas/blueprint/jaxrs.xsd            
    http://cxf.apache.org/schemas/blueprint/jaxws 
http://cxf.apache.org/schemas/blueprint/jaxws.xsd
    http://www.springframework.org/schema/osgi 
http://www.springframework.org/schema/osgi/spring-osgi.xsd          
    http://www.springframework.org/schema/osgi-compendium 
http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd
 
    http://cxf.apache.org/schemas/configuration/security 
http://cxf.apache.org/schemas/configuration/security.xsd          
    http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd             
    http://camel.apache.org/schema/cxf 
https://camel.apache.org/schema/cxf/camel-cxf.xsd
    http://www.springframework.org/schema/security 
http://www.springframework.org/schema/security/spring-security.xsd";>
{code}
i still get the error
{code:java}
is waiting for namespace handlers [http://osgi.org/xmlns/blueprint/v1.0.0, 
http://camel.apache.org/schema/cxf/camel-cxf-blueprint, 
http://cxf.apache.org/schemas/blueprint/core, 
http://cxf.apache.org/schemas/configuration/security, 
http://cxf.apache.org/schemas/configuration/http-conf, 
http://camel.apache.org/schema/blueprint, 
http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.3.0, 
http://cxf.apache.org/schemas/configuration/http-undertow]
{code}
there is still some wrong url on this?

 

*To answer to Claus and Freeman:* i'm using RedHat Fuse and i've installed the 
feature "camel-cxf" there is some configuration i must put on my OSGI manifest 
for avoid the call to remote XSD using a the embbeded XSD on the "camel-cxf" 
bundle?

Here the maven plugin i'musing
{code:xml}

 <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>${version.felix.bundle-plugin}</version>
        <extensions>true</extensions>
        <executions>
                <execution>
                        <id>bundle-manifest</id>
                        <phase>process-classes</phase>
                        <goals>
                                <goal>manifest</goal>
                        </goals>
                </execution>
        </executions>
        <configuration>
                <instructions>
                        <supportedProjectTypes>
                                <supportedProjectType>jar</supportedProjectType>
                                
<supportedProjectType>bundle</supportedProjectType>
                                <supportedProjectType>war</supportedProjectType>
                        </supportedProjectTypes>
                        
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
                        <Bundle-Name>${bundle.name}</Bundle-Name>
                        <Bundle-Version>${project.version}</Bundle-Version>
                        
<Bundle-Description>${project.description}</Bundle-Description>
                        <wrapImportPackage>;</wrapImportPackage>                
                        
                        <supportIncrementalBuild>true</supportIncrementalBuild>
                        <_noee>true</_noee>
                        
<Embed-Dependency>*;scope=compile|runtime|system;artifactId=!slf4j*|spring*|camel*|commons-logging*|jaxb*|logback*</Embed-Dependency><!--
 |swagger* -->
                        <shade.phase>package</shade.phase>
                        <Embed-Transitive>true</Embed-Transitive>
                        <!-- 
<Private-Package>com.github.camel.blueprint.*</Private-Package> -->
                        <Include-Resource>
                                {maven-resources},
                                {maven-dependencies}
                        </Include-Resource>                                     
                        <Export-Package>
                        </Export-Package>
                        <Import-Package>                                        
        
                                <!-- RED HAT FUSE -->
                                
                                META-INF.cxf,
                                org.apache.cxf;version="${osgi.cxf.version}",
                                org.apache.cxf.*;version="${osgi.cxf.version}",
                                
org.apache.camel;version="${osgi.camel.version}",
                                
org.apache.camel.*;version="${osgi.camel.version}",
                                
com.fasterxml.jackson.*;version="${osgi.jackson.version}",
                                
org.apache.tika.*;version="${osgi.tika.version}",
                                
org.springframework.*;version="${osgi.spring.version}",
                                
org.apache.wss4j.*;version="${osgi.wss4j.version}",
                                
org.apache.activemq.*;version="${osgi.activemq.version}",

                                <!-- OTHER DEPNDENCIES -->
                                
                                <!-- JRE -->
                                com.sun.mail.*,
                                
javax.annotation;version="${osgi.javax.annotation.version}",
                                
javax.activation.*;version="${osgi.javax.activation.version}",
                                javax.crypto,
                                javax.crypto.*,
                                javax.mail;version="${osgi.javax.mail.version}",
                                
javax.mail.*;version="${osgi.javax.mail.version}",
                                javax.net.*,
                                
javax.ws.rs;version="${osgi.javax.ws.rs.version}",
                                
javax.ws.rs.*;version="${osgi.javax.ws.rs.version}",
                                javax.security.*,
                                
javax.servlet.*;version="${osgi.javax.servlet.version}",
                                javax.sql,
                                javax.sql.*,
                                javax.swing,
                                javax.swing.*,
                                javax.transaction.*,
                                
javax.xml.bind;version="${osgi.javax.xml.bind.version}",
                                
javax.xml.bind.*;version="${osgi.javax.xml.bind.version}",
                                javax.xml.*,
                                org.w3c.*,                                      
        
                        </Import-Package>
                </instructions>
        </configuration>
</plugin>
{code}
 


was (Author: 4535992):
ty all for the clarification. 
 For now i use the http protocol instead of https .

I'm not very smart on this configuration, but here my "blueprint.xml header" 
updated :
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<blueprint default-activation="eager"
    xmlns="http://osgi.org/xmlns/blueprint/v1.0.0";
    xmlns:blueprint-schema-cxf="http://camel.apache.org/schema/cxf";
    xmlns:camel="http://camel.apache.org/schema/blueprint";
    xmlns:cm="http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.3.0";
    xmlns:ctx="http://www.springframework.org/schema/context";
    xmlns:cxf="http://camel.apache.org/schema/cxf/camel-cxf-blueprint";
    xmlns:cxf-core="http://cxf.apache.org/schemas/blueprint/core";
    xmlns:cxf-security="http://cxf.apache.org/configuration/security";
    xmlns:enc="http://karaf.apache.org/xmlns/jasypt/v1.0.0";
    xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0";   
    xmlns:http="http://cxf.apache.org/schemas/configuration/http-conf";
    xmlns:httpn="http://cxf.apache.org/schemas/configuration/http-netty-server";
    xmlns:httpu="http://cxf.apache.org/schemas/configuration/http-undertow";
    xmlns:jaxrs="http://cxf.apache.org/schemas/blueprint/jaxrs";
    xmlns:jaxws="http://cxf.apache.org/schemas/blueprint/jaxws";
    xmlns:osgi="http://www.springframework.org/schema/osgi";
    xmlns:osgix="http://www.springframework.org/schema/osgi-compendium";
    xmlns:sec="http://cxf.apache.org/schemas/configuration/security";
    xmlns:spring-beans="http://www.springframework.org/schema/beans";
    xmlns:spring-camel-cxf="http://camel.apache.org/schema/cxf";
    xmlns:spring-security="http://www.springframework.org/schema/security";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
    xsi:schemaLocation="
    http://osgi.org/xmlns/blueprint/v1.0.0 
https://osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
    http://camel.apache.org/schema/cxf 
http://camel.apache.org/schema/cxf/camel-cxf.xsd
    http://camel.apache.org/schema/blueprint/camel-blueprint.xsd
    http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.3.0 
http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.3.0.xsd
    http://www.springframework.org/schema/context 
http://www.springframework.org/schema/context/spring-context.xsd
    http://camel.apache.org/schema/cxf/camel-cxf-blueprint.xsd
    http://cxf.apache.org/schemas/blueprint/core 
http://cxf.apache.org/schemas/blueprint/core.xsd              
    http://karaf.apache.org/xmlns/jasypt/v1.0.0
    http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0 
http://aries.apache.org/schemas/blueprint-ext/blueprint-ext.xsd 
    http://cxf.apache.org/schemas/configuration/http-conf 
http://cxf.apache.org/schemas/configuration/http-conf.xsd 
    http://cxf.apache.org/schemas/configuration/http-netty-server 
http://cxf.apache.org/schemas/configuration/http-netty-server.xsd
    http://cxf.apache.org/schemas/configuration/http-undertow 
http://cxf.apache.org/schemas/configuration/http-undertow.xsd
    http://cxf.apache.org/schemas/blueprint/jaxrs 
http://cxf.apache.org/schemas/blueprint/jaxrs.xsd            
    http://cxf.apache.org/schemas/blueprint/jaxws 
http://cxf.apache.org/schemas/blueprint/jaxws.xsd
    http://www.springframework.org/schema/osgi 
http://www.springframework.org/schema/osgi/spring-osgi.xsd          
    http://www.springframework.org/schema/osgi-compendium 
http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd
 
    http://cxf.apache.org/schemas/configuration/security 
http://cxf.apache.org/schemas/configuration/security.xsd          
    http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans.xsd             
    http://camel.apache.org/schema/cxf 
https://camel.apache.org/schema/cxf/camel-cxf.xsd
    http://www.springframework.org/schema/security 
http://www.springframework.org/schema/security/spring-security.xsd";>
{code}
i still get the error
{code:java}
is waiting for namespace handlers [http://osgi.org/xmlns/blueprint/v1.0.0, 
http://camel.apache.org/schema/cxf/camel-cxf-blueprint, 
http://cxf.apache.org/schemas/blueprint/core, 
http://cxf.apache.org/schemas/configuration/security, 
http://cxf.apache.org/schemas/configuration/http-conf, 
http://camel.apache.org/schema/blueprint, 
http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.3.0, 
http://cxf.apache.org/schemas/configuration/http-undertow]
{code}
there is still some wrong url on this?

 

*To answer to Claus and Freeman:* i'm using RedHat Fuse and i've installed the 
feature "camel-cxf" there is some configuration i must put on my OSGI manifest 
for avoid the call to remote XSD using a the mebdded XSD on the "camel-cxf" 
bundle?

Here the maven plugin i'musing
{code:xml}

 <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <version>${version.felix.bundle-plugin}</version>
        <extensions>true</extensions>
        <executions>
                <execution>
                        <id>bundle-manifest</id>
                        <phase>process-classes</phase>
                        <goals>
                                <goal>manifest</goal>
                        </goals>
                </execution>
        </executions>
        <configuration>
                <instructions>
                        <supportedProjectTypes>
                                <supportedProjectType>jar</supportedProjectType>
                                
<supportedProjectType>bundle</supportedProjectType>
                                <supportedProjectType>war</supportedProjectType>
                        </supportedProjectTypes>
                        
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
                        <Bundle-Name>${bundle.name}</Bundle-Name>
                        <Bundle-Version>${project.version}</Bundle-Version>
                        
<Bundle-Description>${project.description}</Bundle-Description>
                        <wrapImportPackage>;</wrapImportPackage>                
                        
                        <supportIncrementalBuild>true</supportIncrementalBuild>
                        <_noee>true</_noee>
                        
<Embed-Dependency>*;scope=compile|runtime|system;artifactId=!slf4j*|spring*|camel*|commons-logging*|jaxb*|logback*</Embed-Dependency><!--
 |swagger* -->
                        <shade.phase>package</shade.phase>
                        <Embed-Transitive>true</Embed-Transitive>
                        <!-- 
<Private-Package>com.github.camel.blueprint.*</Private-Package> -->
                        <Include-Resource>
                                {maven-resources},
                                {maven-dependencies}
                        </Include-Resource>                                     
                        <Export-Package>
                        </Export-Package>
                        <Import-Package>                                        
        
                                <!-- RED HAT FUSE -->
                                
                                META-INF.cxf,
                                org.apache.cxf;version="${osgi.cxf.version}",
                                org.apache.cxf.*;version="${osgi.cxf.version}",
                                
org.apache.camel;version="${osgi.camel.version}",
                                
org.apache.camel.*;version="${osgi.camel.version}",
                                
com.fasterxml.jackson.*;version="${osgi.jackson.version}",
                                
org.apache.tika.*;version="${osgi.tika.version}",
                                
org.springframework.*;version="${osgi.spring.version}",
                                
org.apache.wss4j.*;version="${osgi.wss4j.version}",
                                
org.apache.activemq.*;version="${osgi.activemq.version}",

                                <!-- OTHER DEPNDENCIES -->
                                
                                <!-- JRE -->
                                com.sun.mail.*,
                                
javax.annotation;version="${osgi.javax.annotation.version}",
                                
javax.activation.*;version="${osgi.javax.activation.version}",
                                javax.crypto,
                                javax.crypto.*,
                                javax.mail;version="${osgi.javax.mail.version}",
                                
javax.mail.*;version="${osgi.javax.mail.version}",
                                javax.net.*,
                                
javax.ws.rs;version="${osgi.javax.ws.rs.version}",
                                
javax.ws.rs.*;version="${osgi.javax.ws.rs.version}",
                                javax.security.*,
                                
javax.servlet.*;version="${osgi.javax.servlet.version}",
                                javax.sql,
                                javax.sql.*,
                                javax.swing,
                                javax.swing.*,
                                javax.transaction.*,
                                
javax.xml.bind;version="${osgi.javax.xml.bind.version}",
                                
javax.xml.bind.*;version="${osgi.javax.xml.bind.version}",
                                javax.xml.*,
                                org.w3c.*,                                      
        
                        </Import-Package>
                </instructions>
        </configuration>
</plugin>
{code}
 

> The url http://camel.apache.org/schema/blueprint/cxf is down
> ------------------------------------------------------------
>
>                 Key: CAMEL-13953
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13953
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Marco Tenti
>            Priority: Critical
>
> My bundle OSGI remains in "grace period" because of this error
> {code}
> is waiting for namespace handlers [http://cxf.apache.org/blueprint/core, 
> http://cxf.apache.org/transports/http/configuration, 
> http://camel.apache.org/schema/cxf/camel-cxf-blueprint, 
> http://cxf.apache.org/configuration/security, 
> http://camel.apache.org/schema/blueprint, 
> http://cxf.apache.org/transports/http-undertow/configuration, 
> [http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0]
> {code}
> it' seem some url is down in the specific the url
> http://camel.apache.org/schema/blueprint/cxf 
> is a couple of days is not reachable and give me error code 404 "Page not 
> found".
> Is down for  a error or the XSD is migrate to another url?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to