Hello,

I have created features.xml as below to deploy external jar in servicemix.
But I am getting error to do so. please help. 

Below are the things which I have tried.

STEP 1. Created features.xml file as below

<features name="NumberGenFeature">
    <feature name="NumberGenFeature" version="1.0.0">
        <bundle>file:/pathto/externaljar/TcSoaClient_10000.1.0.jar</bundle>
    </feature>
</features>

STEP 2. Added this feature to servicemix karaf using command

features:addurl file:pathto/features.xml

STEP 3. Then install this feature using command
feature:install NumberGenFeature

but I get below error after STEP 3
<http://servicemix.396122.n5.nabble.com/file/n5722692/SERVICEMIX.jpg> 
MANIFEST.MF file from TcSoaClient_10000.1.0.jar

Ant-Version: Apache Ant 1.7.0
Created-By: 21.1-b02 (Oracle Corporation)
Implementation-Title: Teamcenter Services Client
Implementation-Version: 10000.1.0, April 21, 2015
Implementation-Vendor: Siemens PLM Software, Inc.
Bundle-ManifestVersion: 2
Bundle-Name: Teamcenter Services Client
Bundle-SymbolicName: TcSoaClient
Bundle-Version: 10000.1.0
TC-Version: V10000.1.0.40_20150421.00
Bundle-ClassPath: .
Bundle-Vendor: Siemens PLM Software, Inc.
Bundle-Localization: plugin
Bundle-ActivationPolicy: lazy
Require-Bundle: *com.teamcenter.rac.external*,com.teamcenter.SecuritySer
vices,tcgatewaystubs,TcSoaCommon


>From manifest file its clear that TcSoaClient_10000.1.0.jar is dependent on
com.teamcenter.rac.external, but this com.teamcenter.rac.external dependency
*is not a jar its folder *. 
Have a look of com.teamcenter.rac.external dependency folder
<http://servicemix.396122.n5.nabble.com/file/n5722692/external.png> 

MANIFEST.MF of this com.teamcenter.rac.external
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: External Plug-in
Bundle-SymbolicName: com.teamcenter.rac.external
Bundle-Version: 10000.1.0
TC-Version: V10000.1.0.40_20150421.00
Bundle-Vendor: Siemens PLM Software, Inc.
Eclipse-BuddyPolicy: registered
Bundle-RequiredExecutionEnvironment: JavaSE-1.6

My question is how can I add this com.teamcenter.rac.external dependency
which is in form of folder in features.xml file? 

By the way  All the dependent jars/folders are eclipse plugins.

Below is my servicemix details
1. Apache servicemix 5.4.0
2. Apache karaf 2.4.1

Thank you



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/install-external-osgi-jars-using-karaf-s-feature-xml-tp5722692.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to