<?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 ESB tRestClient bug? - Service runs in studio but not in runtime in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292893#M65923</link>
    <description>Hi, 
&lt;BR /&gt;I am encountering an error when deploying a service into Talend ESB runtime. The service works as expected within the studio but throws a linkage error when running in the ESB runtime environment. 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;The job design has the following components (screenshot also attached of job design) 
&lt;BR /&gt;tESBProviderRequest &amp;gt;&amp;gt;&amp;gt; tRestClient (to make call to custom REST service) &amp;gt;&amp;gt; tlogrow &amp;gt;&amp;gt; textractJSONFields &amp;gt;&amp;gt; txmlmap &amp;gt;&amp;gt; tESBProviderResponse 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;As I say running this in the studio and sending a test request using SOAP Ui works without any errors. However when deployed in the runtime, although the service is published, when making a call to the service the following error is displayed. 
&lt;BR /&gt; 
&lt;I&gt;has thrown exception, unwinding now&lt;BR /&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;I&gt;org.apache.cxf.interceptor.Fault: Talend job execution error: loader constraint violation: when resolving method "org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.setServiceName(Ljavax/xml/namespace/QNameV" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, richie_project/edrgenericporttype_searchtest2_0_1/edrGenericPortType_searchtest2, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for the method's defining class, org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean, have different Class objects for the type javax/xml/namespace/QName used in the signature&lt;BR /&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;I&gt;at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)&lt;BR /&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;I&gt;at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:267)&lt;BR /&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;I&gt;at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)&lt;/I&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;I have included the full stack trace for the error. I notice an issue raised which refers to the use of context variables causing a similar problem. 
&lt;A href="https://jira.talendforge.org/browse/TESB-11530" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TESB-11530&lt;/A&gt;&amp;nbsp;Is the error I am getting the same as this bug? 
&lt;BR /&gt;Is this a bug with Talend or something not right in my job design? I am using version 6.1.1 on windows 7. 
&lt;BR /&gt;Any help would be appreciated. 
&lt;BR /&gt;Thank you, 
&lt;BR /&gt;Richard 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/3858/runtimeerror.txt_20160323-0356.txt" target="_blank"&gt;runtimeerror.txt_20160323-0356.txt&lt;/A&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDek.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151649iC75372E7D8F1BD02/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDek.png" alt="0683p000009MDek.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDfJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146271i7809E0E245A681B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDfJ.png" alt="0683p000009MDfJ.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:43:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:43:39Z</dc:date>
    <item>
      <title>ESB tRestClient bug? - Service runs in studio but not in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292893#M65923</link>
      <description>Hi, 
&lt;BR /&gt;I am encountering an error when deploying a service into Talend ESB runtime. The service works as expected within the studio but throws a linkage error when running in the ESB runtime environment. 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;The job design has the following components (screenshot also attached of job design) 
&lt;BR /&gt;tESBProviderRequest &amp;gt;&amp;gt;&amp;gt; tRestClient (to make call to custom REST service) &amp;gt;&amp;gt; tlogrow &amp;gt;&amp;gt; textractJSONFields &amp;gt;&amp;gt; txmlmap &amp;gt;&amp;gt; tESBProviderResponse 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt;As I say running this in the studio and sending a test request using SOAP Ui works without any errors. However when deployed in the runtime, although the service is published, when making a call to the service the following error is displayed. 
&lt;BR /&gt; 
&lt;I&gt;has thrown exception, unwinding now&lt;BR /&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;I&gt;org.apache.cxf.interceptor.Fault: Talend job execution error: loader constraint violation: when resolving method "org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean.setServiceName(Ljavax/xml/namespace/QNameV" the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) of the current class, richie_project/edrgenericporttype_searchtest2_0_1/edrGenericPortType_searchtest2, and the class loader (instance of org/eclipse/osgi/internal/loader/EquinoxClassLoader) for the method's defining class, org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean, have different Class objects for the type javax/xml/namespace/QName used in the signature&lt;BR /&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;I&gt;at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)&lt;BR /&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;I&gt;at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:267)&lt;BR /&gt;&lt;/I&gt; 
&lt;BR /&gt; 
&lt;I&gt;at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)&lt;/I&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;I have included the full stack trace for the error. I notice an issue raised which refers to the use of context variables causing a similar problem. 
&lt;A href="https://jira.talendforge.org/browse/TESB-11530" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TESB-11530&lt;/A&gt;&amp;nbsp;Is the error I am getting the same as this bug? 
&lt;BR /&gt;Is this a bug with Talend or something not right in my job design? I am using version 6.1.1 on windows 7. 
&lt;BR /&gt;Any help would be appreciated. 
&lt;BR /&gt;Thank you, 
&lt;BR /&gt;Richard 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/3858/runtimeerror.txt_20160323-0356.txt" target="_blank"&gt;runtimeerror.txt_20160323-0356.txt&lt;/A&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDek.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151649iC75372E7D8F1BD02/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDek.png" alt="0683p000009MDek.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDfJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146271i7809E0E245A681B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDfJ.png" alt="0683p000009MDfJ.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292893#M65923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: ESB tRestClient bug? - Service runs in studio but not in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292894#M65924</link>
      <description>Hi,&lt;BR /&gt;Did you use c&lt;FONT face="Arial, Helvetica, sans-serif"&gt;ontext variable for&lt;/FONT&gt;&lt;FONT face="Arial, Helvetica, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="Arial, Helvetica, sans-serif"&gt;tRESTClient url? If so, can you use&lt;/FONT&gt;&lt;FONT face="Arial, Helvetica, sans-serif"&gt;&amp;nbsp;absolute URL&lt;/FONT&gt;&lt;FONT face="Arial, Helvetica, sans-serif"&gt;&amp;nbsp;in&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="Arial, Helvetica, sans-serif"&gt;tRESTClient&lt;/FONT&gt;&lt;FONT face="Arial, Helvetica, sans-serif"&gt;&amp;nbsp; to see if it works in runtime?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="Arial, Helvetica, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="Arial, Helvetica, sans-serif"&gt;Sabrina&lt;/FONT&gt;</description>
      <pubDate>Thu, 24 Mar 2016 07:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292894#M65924</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-24T07:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: ESB tRestClient bug? - Service runs in studio but not in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292895#M65925</link>
      <description>Hi 
&lt;BR /&gt;The original job I developed did use contexts as the query parameters, but when it failed in runtime, i removed these. 
&lt;BR /&gt;The job I have now does not use any context variables but it still fails to run in the runtime container. 
&lt;BR /&gt;I have attached a screenshot of the trestclient settings. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Richard 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/3858/rest.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDeB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134714iC3FF21046C13D269/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDeB.png" alt="0683p000009MDeB.png" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
      <pubDate>Thu, 24 Mar 2016 10:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292895#M65925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-24T10:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: ESB tRestClient bug? - Service runs in studio but not in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292896#M65926</link>
      <description>Hi, 
&lt;BR /&gt;Have you already checked the KB article about: 
&lt;A href="https://community.qlik.com/s/article/ka03p0000006EFMAA2" target="_blank"&gt;TalendHelpCenter:java.lang.LinkageError: Talend job execution error in ESB runtime&lt;/A&gt;? 
&lt;BR /&gt;Here is a related forum: 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCr96CAC" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Errors-in-ESB-Runtime/td-p/113688&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 28 Mar 2016 09:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292896#M65926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-28T09:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: ESB tRestClient bug? - Service runs in studio but not in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292897#M65927</link>
      <description>Hi,
&lt;BR /&gt;Thank you for the KB article, I hadn't seen this.&amp;nbsp;
&lt;BR /&gt;Carrying out the actions suggested I have been able to get the service working in runtime.
&lt;BR /&gt;To do so, I removed the jaxrpc.jar from the bundle-classpath in the manifest.mf file.&amp;nbsp;
&lt;BR /&gt;I had to do this using Winrar, should it be possible to do this using the studio?
&lt;BR /&gt;Thanks for your help.
&lt;BR /&gt;Richard</description>
      <pubDate>Tue, 29 Mar 2016 12:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2292897#M65927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-29T12:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: ESB tRestClient bug? - Service runs in studio but not in runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2500689#M141687</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/95729"&gt;@Sabrina&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please describe more the solution, because both pages are unavailable, and i have the same problem.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Elyes&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 17:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ESB-tRestClient-bug-Service-runs-in-studio-but-not-in-runtime/m-p/2500689#M141687</guid>
      <dc:creator>elyes_mn</dc:creator>
      <dc:date>2025-01-09T17:53:18Z</dc:date>
    </item>
  </channel>
</rss>

