FUSE ESB 6.0捆绑包启动错误:捆绑包xxx正在等待命名空间处理程序[http://www.springframework.org/schema/security/oauth]
Fuse 2.3.0.redhat-60024和Spring名称空间 我正在尝试使用fuse开发一个解决方案,该解决方案使用oauth1 mvn的Spring实现:org.springframework.security.oauth/Spring-security-oauth/1.0.5.RELEASE。这个spring包似乎拥有我所发现的最好的客户端支持,我已经在spring中用tomcat实现了它,但没有在Fuse中实现 spring捆绑包的命名空间和架构位置为: 但是,当我在blueprint.xml文件中使用此名称空间并安装捆绑包时,捆绑包不会启动。在控制台上,显示GracePeriod。在日志中,我得到以下信息: 17:23:44490 | INFO | NAPSHOT-thread-1 | BlueprintContainerImpl | 14-org.apache.aries.blueprint.core-1.0.1.redhat-60024 | Bundle com.transversal.tract.connect.tc-core-auth-oauth正在等待命名空间处理程序[ 我尝试了许多解决方案,但没有一个允许oauth命名空间类注册或链接到OSGi服务,我总是收到这样的消息 请给我一些建议。我已经包括了下面的蓝图文件。如果你还需要什么,请告诉我FUSE ESB 6.0捆绑包启动错误:捆绑包xxx正在等待命名空间处理程序[http://www.springframework.org/schema/security/oauth],spring,oauth,spring-security,fuseesb,blueprint,Spring,Oauth,Spring Security,Fuseesb,Blueprint,Fuse 2.3.0.redhat-60024和Spring名称空间 我正在尝试使用fuse开发一个解决方案,该解决方案使用oauth1 mvn的Spring实现:org.springframework.security.oauth/Spring-security-oauth/1.0.5.RELEASE。这个spring包似乎拥有我所发现的最好的客户端支持,我已经在spring中用tomcat实现了它,但没有在Fuse中实现 spring捆绑包的命名空间和架构位置为: 但是,当我在bluepr
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.1.0"
xmlns:oauth1="http://www.springframework.org/schema/security/oauth"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd
http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.1.0 http://aries.apache.org/schemas/blueprint-ext/blueprint-ext-1.1.xsd
http://www.springframework.org/schema/security/oauth http://www.springframework.org/schema/security/spring-security-oauth-1.0.xsd">
<ext:property-placeholder placeholder-prefix="${[" placeholder-suffix="]}"/>
<!--
<mvc:default-servlet-handler/>
<sec:debug/>
<sec:http auto-config="true" security="none" pattern="/**"/>
<ctx:spring-configured/>
<ctx:annotation-config/>
-->
<bean id="protectedResourceDetailsService" class="org.springframework.security.oauth.consumer.InMemoryProtectedResourceDetailsService"/>
<bean id="oauthConsumer" class="org.springframework.security.oauth.consumer.client.CoreOAuthConsumerSupport"/>
<oauth1:consumer resource-details-service-ref="tcOAuth10aResourceDetails" support-ref="oauthConsumer">
<oauth1:url pattern="cxf/oauth/request_token" resources="oauthProvider" httpMethod="GET"/>
<oauth1:url pattern="cxf/oauth/access_token" resources="oauthProvider" httpMethod="GET"/>
</oauth1:consumer>
<oauth1:consumer-details-service id="tcOAuth10aConsumerDetails">
<oauth1:consumer name="oauthConsumerDetails"
resourceName="oauthProvider"
key="..."
secret="..."
requiredToObtainAuthenticatedToken="true"
typeOfSecret="shared"
resourceDescription="OAuth"/>
</oauth1:consumer-details-service>
<oauth1:resource-details-service id="tcOAuth10aResourceDetails">
<oauth1:resource id="quickbooksOnlineProvider"
key="..."
secret="..."
user-authorization-callback-param="oauth_callback"
user-authorization-token-param="requestToken"
request-token-url="https://oauth.intuit.com/oauth/v1/get_request_token"
user-authorization-url="https://appcenter.intuit.com/Connect/Begin"
access-token-url="https://oauth.intuit.com/oauth/v1/get_access_token"
signature-method="HMAC-SHA1"
accepts-authorization-header="true"
use10a="true"
access-token-method="POST"
request-token-method="POST"/>
</oauth1:resource-details-service>
</blueprint>
对此我并不十分确定,因为我从未在FUSE中使用过OAuth。但是,您的FUSE安装中似乎没有安装Spring OAuth OSGI功能。您是否检查了Spring OAuth库是否启用了OSGI,以及Spring OAuth OSGI功能是否存在?如果存在这样的功能,您可以使用以下功能进行验证:list | grep OAuth,如果是在保险丝安装中正确安装 如果SpringOAuth库没有OSGI化,那么您可以使用CXF-RS实现