<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rest Webservice deployment failure in Karaf in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Rest-Webservice-deployment-failure-in-Karaf/m-p/2302827#M145712</link>
    <description>&lt;P&gt;I have the same problem and I'm not able to solve it.&lt;/P&gt;
&lt;P&gt;I've modelled the process with&amp;nbsp;Talend Open Studio 6.5 on a Windows OS.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the studio, everything works fine, but I'm facing an issue on Karaf when I'm trying to deploy my process (it includes a tRestRequest component).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The error is caused by:&amp;nbsp;java.lang.ClassNotFoundException: javax.ws.rs.InternalServerErrorException ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In&amp;nbsp;an old thread I've found the following suggestion:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Looks like the class loader problem of duplicated JAX-RS api, could you please try this workaround?&amp;nbsp;&lt;BR /&gt;1) check the exported kar file from Studio to see if there is jersey-core-xx.jar or other jar may have JAX-RS api included, if you find it then remove it from the kar file.&lt;BR /&gt;2) modify the Manifest of the bundle in the kar file, add package javax.ws.rs.* to the Import-Package section.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;now there's only one error:&lt;BR /&gt;routines.system.api -- Cannot be resolved&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(to be honest there are other errors like: "Cannot be resolved but is not required", but routines.system.api seems to be "required")&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My process is Installed but not Active&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can someone help me?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2017 13:14:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-06T13:14:11Z</dc:date>
    <item>
      <title>Rest Webservice deployment failure in Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-Webservice-deployment-failure-in-Karaf/m-p/2302826#M145711</link>
      <description>&lt;P&gt;Hi All,&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RestService.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrXw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139004iEB3A75BA3D32DF66/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrXw.png" alt="0683p000009LrXw.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I have created a REST service in Talend ESB open studio to accept JSON body and it is calling another REST service (using tREST).&lt;/P&gt; 
&lt;P&gt;This is service is working fine locally. When is build the job and copy the "RestService.jar" file to deploy folder and run trun list command i am getting state failure.&lt;/P&gt; 
&lt;P&gt;Please help to under the failure and is there a way in which i can see the actual error.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt; 
&lt;P&gt;Vikas.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-Webservice-deployment-failure-in-Karaf/m-p/2302826#M145711</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Webservice deployment failure in Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-Webservice-deployment-failure-in-Karaf/m-p/2302827#M145712</link>
      <description>&lt;P&gt;I have the same problem and I'm not able to solve it.&lt;/P&gt;
&lt;P&gt;I've modelled the process with&amp;nbsp;Talend Open Studio 6.5 on a Windows OS.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the studio, everything works fine, but I'm facing an issue on Karaf when I'm trying to deploy my process (it includes a tRestRequest component).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The error is caused by:&amp;nbsp;java.lang.ClassNotFoundException: javax.ws.rs.InternalServerErrorException ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In&amp;nbsp;an old thread I've found the following suggestion:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Looks like the class loader problem of duplicated JAX-RS api, could you please try this workaround?&amp;nbsp;&lt;BR /&gt;1) check the exported kar file from Studio to see if there is jersey-core-xx.jar or other jar may have JAX-RS api included, if you find it then remove it from the kar file.&lt;BR /&gt;2) modify the Manifest of the bundle in the kar file, add package javax.ws.rs.* to the Import-Package section.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;now there's only one error:&lt;BR /&gt;routines.system.api -- Cannot be resolved&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(to be honest there are other errors like: "Cannot be resolved but is not required", but routines.system.api seems to be "required")&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My process is Installed but not Active&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can someone help me?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 13:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-Webservice-deployment-failure-in-Karaf/m-p/2302827#M145712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-06T13:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Webservice deployment failure in Karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rest-Webservice-deployment-failure-in-Karaf/m-p/2302828#M145713</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have the same your problem.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;I have created a simple REST service in Talend ESB Open Studio 6.5 on a Windows OS (using tREST).&lt;/P&gt; 
&lt;P&gt;Then, from the Preferences window I set ESB Studio Runtime to use Local Talend Runtime.&lt;/P&gt; 
&lt;P&gt;When I started the Job, I got the following errors:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Execution failed : javax.management.MBeanException: javax.management.MBeanException: org.osgi.framework.BundleException: Could not resolve module: trillion.request_response [192]&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: com.google.gson; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: io.swagger.annotations; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: javassist; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: javassist.bytecode; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: javassist.bytecode.annotation; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: javassist.expr; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: org.apache.commons.vfs2; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: sun.security.action; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: routines.system.api&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;[javax.management.MBeanException: org.osgi.framework.BundleException: Could not resolve module: trillion.request_response [192]&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: com.google.gson; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: io.swagger.annotations; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: javassist; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: javassist.bytecode; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: javassist.bytecode.annotation; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: javassist.expr; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: org.apache.commons.vfs2; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: sun.security.action; resolution:="optional"&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;Unresolved requirement: Import-Package: routines.system.api&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT color="#ff0000" face="courier new,courier" size="2"&gt;]&lt;/FONT&gt;&lt;/P&gt; 
&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P align="left"&gt;All steps are described in the attached pictures.&lt;/P&gt; 
&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P align="left"&gt;Can someone help me?&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrGN"&gt;Job.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrLm"&gt;Preference.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrHq"&gt;Start Job Error.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrDZ"&gt;Start Job.png&lt;/A&gt;</description>
      <pubDate>Tue, 07 Nov 2017 11:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rest-Webservice-deployment-failure-in-Karaf/m-p/2302828#M145713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T11:06:14Z</dc:date>
    </item>
  </channel>
</rss>

