Servicemix和包名称/符号名称

时间:2012-08-14 13:27:26

标签: java osgi bundle apache-servicemix

我收到了一个错误或者我忘了一件事但是servicemix不想放正确的捆绑名称/符号名称:

Command list : 
[ 221] [Active ] [] [] [   60] mvn:org.emp.idewe.ipsi/esb-precube/1.2.2-SNAPSHOT

Instead of : 
[ 221] [Active ] [] [] [   60] Idewe:Esb-PreCube (1.2.2-SNAPSHOT)

and command list -s : 
[ 221] [Active ] [] [] [   60] no symbolic name

My Manifest.mf:

Manifest-Version: 1.0
Export-Package: ...
Tool: Bnd-0.0.357
Bundle-Name: Idewe:Esb-PreCube
Created-By: Apache Maven Bundle Plugin
Bundle-Vendor: ...
Build-Jdk: 1.6.0_29
Bundle-Version: 1.2.2.SNAPSHOT
Bnd-LastModified: 1344950093005
Bundle-ManifestVersion: 2
Bundle-Description: ...
Import-Package: ...
Bundle-SymbolicName: org.emp.idewe.ipsi.esb-precube

和我的feature.xml:

<feature name="Esb-PreCube.1.2.2-SNAPSHOT" version="1.2.2-SNAPSHOT">
  <feature>camel-spring</feature>
  <bundle>mvn:org.emp.idewe.ipsi/esb-precube/1.2.2-SNAPSHOT</bundle>
</feature>

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

看起来很像您的捆绑包未正确配置,因为捆绑符号名称未解析。如果纠正了这一点,Karaf / Servicemix会立即使用正确的名称进行部署。