missing requirement osgi.wiring.package=routines.system.api karaf/fuse

Highlighted
One Star

missing requirement osgi.wiring.package=routines.system.api karaf/fuse

Hello!
I am using jboss-fuse-6.3.0.redhat-187 and Talend Open Studio for ESB (6.3.0.20161026_1219) and TOS_ESB-6.3.0\Runtime_ESBSE
Bundle for jboss_fuse correct work in TOS_ESB-6.3.0\Runtime_ESBSE
But bundle create in talendesb doesn't work in jboss_fuse.
May be because jboss-fuse used org.apache.felix.framework-4.4.1.jar
and Talend Open Studio for ESB used org.apache.felix.framework-5.4.0.jar  ?
I have this error in jboss-fuse-6.3:

org.osgi.framework.BundleException: Unresolved constraint in bundle data_integration_demos_project.tPreJob : Unable to resolve 222.0: missing requirement osgi.wiring.package; (osgi.wiring.package=routines.system.api)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1207)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:504)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)

Also I run on clean apache-karaf-4.0.8  (include org.apache.felix.framework-5.6.1.jar  )
But I have this error:
karaf@root()> ERROR: Bundle data_integration_demos_project.tPreJob Error st
arting file:/apache-karaf-4.0.8/deploy/tPreJob-0.1.jar
(org.osgi.framework.BundleException: Unable to resolve data_integration_demos_pr
oject.tPreJob (R 52.0): missing requirement (R 52.0)] osgi.wiring.package; (osgi.wiring.package=routines.system.
api) Unresolved requirements: (R 52
.0)] osgi.wiring.package; (osgi.wiring.package=routines.system.api)])
org.osgi.framework.BundleException: Unable to resolve data_integration_demos_pro
ject.tPreJob (R 52.0): missing requirement (R 52.0)] osgi.wiring.package; (osgi.wiring.package=routines.system.a
pi) Unresolved requirements: (R 52.
0)] osgi.wiring.package; (osgi.wiring.package=routines.system.api)]
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:411
1)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2117)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStart
LevelImpl.java:308)
        at java.lang.Thread.run(Thread.java:745)
Simple post

Accepted Solutions
Moderator

Re: missing requirement osgi.wiring.package=routines.system.api karaf/fuse

Hi,
If you talend OSGI job can successfully run on Talend runtime, the ESB job should be oK without error.
Talend Runtime(karaf) container has many features/bundles pre-installed, e.g. job-controller which used to running Data service/Route/Job exported from TOS (routines.system.api package is exported from it); Service Activity Monitoring agent (it's required when you select "use SAM" on Studio); Service Locator client (it's required when you select "use SL" on Studio); Service Registry client (it's required when you select "use Service Registry" on Studio), etc.
So generally the Talend Runtime should be used together with Talend Studio. 
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

All Replies
Moderator

Re: missing requirement osgi.wiring.package=routines.system.api karaf/fuse

Hi,
The Talend Runtime should be used together with Talend Studio. Can you run your Talend osgi jobs on  Talend runtime successfully?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: missing requirement osgi.wiring.package=routines.system.api karaf/fuse

Hello!
I can run my Talend osgi jobs on  Talend runtime successfully. Thank you.
Moderator

Re: missing requirement osgi.wiring.package=routines.system.api karaf/fuse

Hi,
If you talend OSGI job can successfully run on Talend runtime, the ESB job should be oK without error.
Talend Runtime(karaf) container has many features/bundles pre-installed, e.g. job-controller which used to running Data service/Route/Job exported from TOS (routines.system.api package is exported from it); Service Activity Monitoring agent (it's required when you select "use SAM" on Studio); Service Locator client (it's required when you select "use SL" on Studio); Service Registry client (it's required when you select "use Service Registry" on Studio), etc.
So generally the Talend Runtime should be used together with Talend Studio. 
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

What’s New for Talend Spring ’19

Join us live for a sneak peek!

Sign up now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch