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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Loko
Creator II
Creator II

Error deploying a route in Karaf

Hi

When deploying a .kar route (either dropping it in /deploy or with unzipping+feature:install) we get the error below :

 

Error executing command: Error executing command on bundles:
        Error starting bundle 277: Could not resolve module: gfc.R_BROKER_LOGS [277]
  Unresolved requirement: Import-Package: com.ibm.icu.text; resolution:="optional"
  Unresolved requirement: Import-Package: com.sun.security.auth.module; resolution:="optional"
  Unresolved requirement: Import-Package: oracle.aurora.rdbms; resolution:="optional"
  Unresolved requirement: Import-Package: oracle.i18n.text; resolution:="optional"
  Unresolved requirement: Import-Package: oracle.i18n.text.converter; resolution:="optional"
  Unresolved requirement: Import-Package: oracle.ons; resolution:="optional"
  Unresolved requirement: Import-Package: oracle.security.pki; resolution:="optional"
  Unresolved requirement: Import-Package: oracle.xml.binxml; resolution:="optional"
  Unresolved requirement: Import-Package: oracle.xml.parser.v2; resolution:="optional"
  Unresolved requirement: Import-Package: oracle.xml.scalable; resolution:="optional"
  Unresolved requirement: Import-Package: sun.security.action; resolution:="optional"
  Unresolved requirement: Import-Package: sun.security.util; resolution:="optional"
  Bundle was not resolved because of a uses contraint violation.
  org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource gfc.R_BROKER_LOGS [osgi.identity; osgi.identity="gfc.R_BROKER_LOGS"; type="osgi.bundle"; version:Version="0.3.0"] because it is exposed to package 'javax.transaction.xa' from resources org.apache.aries.transaction.manager [osgi.identity; osgi.identity="org.apache.aries.transaction.manager"; type="osgi.bundle"; version:Version="1.1.1"] and org.apache.geronimo.specs.geronimo-jta_1.1_spec [osgi.identity; osgi.identity="org.apache.geronimo.specs.geronimo-jta_1.1_spec"; type="osgi.bundle"; version:Version="1.1.1"] via two dependency chains.

Chain 1:
  gfc.R_BROKER_LOGS [osgi.identity; osgi.identity="gfc.R_BROKER_LOGS"; type="osgi.bundle"; version:Version="0.3.0"]
    import: (osgi.wiring.package=javax.transaction.xa)
     |
    export: osgi.wiring.package: javax.transaction.xa
  org.apache.aries.transaction.manager [osgi.identity; osgi.identity="org.apache.aries.transaction.manager"; type="osgi.bundle"; version:Version="1.1.1"]

Chain 2:
  gfc.R_BROKER_LOGS [osgi.identity; osgi.identity="gfc.R_BROKER_LOGS"; type="osgi.bundle"; version:Version="0.3.0"]
    import: (osgi.wiring.package=javax.jms)
     |
    export: osgi.wiring.package=javax.jms; uses:=javax.transaction.xa
  org.apache.geronimo.specs.geronimo-jms_1.1_spec [osgi.identity; osgi.identity="org.apache.geronimo.specs.geronimo-jms_1.1_spec"; type="osgi.bundle"; version:Version="1.1.1"]
    import: (osgi.wiring.package=javax.transaction.xa)
     |
    export: osgi.wiring.package: javax.transaction.xa
  org.apache.geronimo.specs.geronimo-jta_1.1_spec [osgi.identity; osgi.identity="org.apache.geronimo.specs.geronimo-jta_1.1_spec"; type="osgi.bundle"; version:Version="1.1.1"]

 

The bundle status is "resolved" but starting it manually runs into the same error.

 

It happens whatever the route/kar file we try. It often happens for the very first route that is deployed on Karaf.

Sometimes, juste installing a second route makes the first one start successfully. Sometimes it does not, then restarting Karaf makes all the bundles start successfully.

 

We use Talend OpenStudio for ESB 6.3

 

Loko

Labels (2)
1 Reply
Anonymous
Not applicable

Hello Loko,

Have you tried to use talend open studio for ESB V 6.4 to see if this issue repro?

Best regards

Sabrina