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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
xsasiela
Contributor III
Contributor III

[resolved] Problem when deploying on karaf container

Hi,
i can't deploy a tRest service (with tRestRequest and tRestResponse) on Karaf. The service works fine when i deploying on Studio, but when i export the job (.jar for bundle osgi), Karaf can't deploy, here the stack trace (v5.3.0 RC1 and RC2, i need v5.3.0 because i have a problem with trest component in older version):

karaf@trun> Exception in thread "SpringOsgiExtenderThread-2" org.springframework
.beans.factory.BeanCreationException: Error creating bean with name 'service': C
annot resolve reference to bean 'wrongCallHandler' while setting bean property '
providers' with key ; nested exception is org.springframework.beans.factory.B
eanCreationException: Error creating bean with name 'wrongCallHandler' defined i
n URL : Resolution of
declared constructors on bean Class from ClassLoader ] failed;
nested exception is java.lang.LinkageError: loader constraint violation: when r esolving overridden method

To see the whole post, download it here
Labels (4)
1 Solution

Accepted Solutions
xsasiela
Contributor III
Contributor III
Author

I found the solution (by chance)!
I work with tRestRequest and tRestResponse components and there is a limitation when you try to deploy on Karaf: you can't recover some son SubJobs you have in your main Job for Rest exposure! So if you have complex job you want split in subjobs, you only can do this with a SOAP job and deploy with a .kar in Karaf.
It is a bug?
Xavier

View solution in original post

3 Replies
xsasiela
Contributor III
Contributor III
Author

I found the solution (by chance)!
I work with tRestRequest and tRestResponse components and there is a limitation when you try to deploy on Karaf: you can't recover some son SubJobs you have in your main Job for Rest exposure! So if you have complex job you want split in subjobs, you only can do this with a SOAP job and deploy with a .kar in Karaf.
It is a bug?
Xavier
Anonymous
Not applicable

hi
i have the some issue can you explain how did you resolve it ;
xsasiela
Contributor III
Contributor III
Author

Hi,
if you use trest components and subjobs to exposure your web service, ... i doesn't know solution! My only solution is to change Rest exposure with SOAP exposure with tesb components to produce a .kar and deploy on Karaf. Only .kar is able to consider subjobs.
Did i answered to you?