Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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

View solution in original post

3 Replies
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Hello!
I can run my Talend osgi jobs on  Talend runtime successfully. Thank you.
Anonymous
Not applicable
Author

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