You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2017-02-22 09:24:43

LYUTOV
Member
4 posts

LYUTOV said:

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

Tags: [deployment, error]

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 [222]: Unable to resolve 222.0: missing requirement [222.0] osgi.wiring.package; (osgi.wiring.package=routines.system.api)

  • at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)[org.apache.felix.framework-4.4.1.jar:]

  • at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)[org.apache.felix.framework-4.4.1.jar:]

  • at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)[org.apache.felix.framework-4.4.1.jar:]

  • at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1245)[org.apache.felix:org.apache.felix.fileinstall:3.5.0]

  • at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1217)[org.apache.felix:org.apache.felix.fileinstall:3.5.0]

  • at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1207)[org.apache.felix:org.apache.felix.fileinstall:3.5.0]

  • at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:504)[org.apache.felix:org.apache.felix.fileinstall:3.5.0]

  • at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[org.apache.felix:org.apache.felix.fileinstall:3.5.0]

  • at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[org.apache.felix:org.apache.felix.fileinstall:3.5.0]

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 [52] 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 [52](R 52.0): missing requirement [data_integration_demos_project.
tPreJob [52](R 52.0)] osgi.wiring.package; (osgi.wiring.package=routines.system.
api) Unresolved requirements: [[data_integration_demos_project.tPreJob [52](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 [52](R 52.0): missing requirement [data_integration_demos_project.t
PreJob [52](R 52.0)] osgi.wiring.package; (osgi.wiring.package=routines.system.a
pi) Unresolved requirements: [[data_integration_demos_project.tPreJob [52](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

Offline

#2 2017-02-27 09:05:10

xdshi
Talend Team


xdshi said:

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


What we can do is to make sure that Talend will be your best choice!

Offline

#3 2017-02-28 09:12:22

LYUTOV
Member
4 posts

LYUTOV said:

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.

Offline

#4 2017-02-28 09:22:12

xdshi
Talend Team


xdshi said:

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


What we can do is to make sure that Talend will be your best choice!

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy