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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
dneeraj
Contributor
Contributor

unable to run DemoREST ESB job in ESB Runtime version - 7.4.1

Hi, I am new to Talend ESB. I am able to run DemoREST ESB job in ESB studio successfully. I am building the Job by - right click on job->build job (OSBI Bundle for ESB) , then copying jar file to deploy folder of Runtime Containter. I am getting follow error while starting the container in trun console of Runtime ESB (bundle:start

319)

.

I have no clue how to resolve these dependencies since version is not mentioned in the error. Kindly help.

Error executing command: Error executing command on bundles:

Error starting bundle 319: Could not resolve module: local_project.DemoREST [319]

 Unresolved requirement: Import-Package: com.conversantmedia.util.concurrent; resolution:="optional"

 Unresolved requirement: Import-Package: com.fasterxml.jackson.dataformat.xml; resolution:="optional"

 Unresolved requirement: Import-Package: com.fasterxml.jackson.dataformat.xml.annotation; resolution:="optional"

 Unresolved requirement: Import-Package: com.fasterxml.jackson.dataformat.xml.util; resolution:="optional"

 Unresolved requirement: Import-Package: com.google.gson; resolution:="optional"

 Unresolved requirement: Import-Package: com.lmax.disruptor; resolution:="optional"

 Unresolved requirement: Import-Package: com.lmax.disruptor.dsl; resolution:="optional"

 Unresolved requirement: Import-Package: io.swagger.annotations; resolution:="optional"

 Unresolved requirement: Import-Package: javassist; resolution:="optional"

 Unresolved requirement: Import-Package: javassist.bytecode; resolution:="optional"

 Unresolved requirement: Import-Package: javassist.bytecode.annotation; resolution:="optional"

 Unresolved requirement: Import-Package: javassist.expr; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.commons.compress.compressors; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.commons.compress.utils; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.commons.configuration2; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.commons.configuration2.builder; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.commons.configuration2.builder.fluent; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.commons.configuration2.ex; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.commons.csv; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.http.client.utils; resolution:="optional"

 Unresolved requirement: Import-Package: org.apache.kafka.clients.producer; resolution:="optional"

 Unresolved requirement: Import-Package: org.jctools.queues; resolution:="optional"

 Unresolved requirement: Import-Package: org.slf4j.ext; resolution:="optional"

 Unresolved requirement: Import-Package: org.talend.commons.ui.runtime.exception; resolution:="optional"

 Unresolved requirement: Import-Package: org.zeromq; resolution:="optional"

 Unresolved requirement: Import-Package: sun.reflect; resolution:="optional"

 Unresolved requirement: Import-Package: sun.security.action; resolution:="optional"

 Unresolved requirement: Import-Package: response.body; resolution:="optional"

 Unresolved requirement: Import-Package: response_aggregate.body; resolution:="optional"

 Unresolved requirement: Import-Package: this.doc; resolution:="optional"

 Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=9))"

Labels (2)
5 Replies
Anonymous
Not applicable

Hello,

Is the bundle active?

Are you able to launch the command tesb:start-all in talend runtime?

Best regards

Sabrina

dneeraj
Contributor
Contributor
Author

Hi,

The bundle was installed but could be not be active. When I run , bundle:start DemoREST, I get error attached previously.

 

Yes, esb:start-all works without error.

mwieschollek
Contributor
Contributor

Hi,

 

I have a similar problem when trying to deploy a Rest-Service to talend runtime.

I use the Talend Open ESB Studio 7.3.1 and the corresponding runtime.

In Studio I have choosen "Add classpath jar in exported jobs..."

The bundle of the employee Rest Service is active, but I cannot see it as an endpoint in cxf:list-endpoints or reach it via url defined in the tRestRequest component.

tesb:start-all works without an error.

What do am I missing?

When I try to deploy a soap service everything is fine and I can see it at localhost:8040/services. But the Rest endpoint does not show up.

Is there a feature I need to install?

 

Thanks in advance

Martin

dneeraj
Contributor
Contributor
Author

Hi @Martin Wieschollek​ , How did you set "Add classpath jar in exported jobs..." this option in Studio? Kindly help.

 

Thanks,

Neeraj

dneeraj
Contributor
Contributor
Author

I have found it. Please ignore.