<?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 HELP: Deployed REST job not working in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/HELP-Deployed-REST-job-not-working/m-p/2362803#M126865</link>
    <description>Hi there, packaged up a REST service, which I deployed using the karaf webconsole/admin, but it doesn't appear to work despite working in the studio. Here's the error shown at the trun console: 
&lt;BR /&gt; 
&lt;PRE&gt;karaf@trun&amp;gt; java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.cxf.jaxrs.client.JAXRSClientFacto&lt;BR /&gt;ryBean.setServiceName(Ljavax/xml/namespace/QName;)V" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClas&lt;BR /&gt;sLoader) of the current class, transportdataportal/retrievecarparkinfo_0_1/RetrieveCarParkInfo, and the class loader (instance of or&lt;BR /&gt;g/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean, have&lt;BR /&gt; different Class objects for the type he.cxf.jaxrs.client.JAXRSClientFactoryBean.setServiceName(Ljavax/xml/namespace/QName;)V used i&lt;BR /&gt;n the signature&lt;BR /&gt;        at transportdataportal.retrievecarparkinfo_0_1.RetrieveCarParkInfo.tRESTRequest_1_LoopProcess(RetrieveCarParkInfo.java:4324)&lt;BR /&gt;        at transportdataportal.retrievecarparkinfo_0_1.RetrieveCarParkInfo$RestServiceProviderImpl4TalendJob.processRequest(Retrieve&lt;BR /&gt;CarParkInfo.java:498)&lt;BR /&gt;        at transportdataportal.retrievecarparkinfo_0_1.RetrieveCarParkInfo$RestServiceProviderImpl4TalendJob.GetAllCarParks(Retrieve&lt;BR /&gt;CarParkInfo.java:641)&lt;BR /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;BR /&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;        at java.lang.reflect.Method.invoke(Method.java:606)&lt;BR /&gt;        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:188)&lt;BR /&gt;        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:104)&lt;BR /&gt;        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:204)&lt;BR /&gt;        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:101)&lt;BR /&gt;        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)&lt;BR /&gt;        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)&lt;BR /&gt;        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)&lt;BR /&gt;        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)&lt;BR /&gt;        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:355)&lt;BR /&gt;        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:319)&lt;BR /&gt;        at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:65)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1040)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:976)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)&lt;BR /&gt;        at org.eclipse.jetty.server.Server.handle(Server.java:363)&lt;BR /&gt;        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)&lt;BR /&gt;        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)&lt;BR /&gt;        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)&lt;BR /&gt;        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)&lt;BR /&gt;        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)&lt;BR /&gt;        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)&lt;BR /&gt;        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)&lt;BR /&gt;        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)&lt;BR /&gt;        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)&lt;BR /&gt;        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)&lt;BR /&gt;        at java.lang.Thread.run(Thread.java:745)&lt;/PRE&gt; 
&lt;BR /&gt;I suspect the solution may not be obvious, can anyone give me any insights. Please bear in mind that I'm a newbie, only been using this for about 2 weeks! 
&lt;BR /&gt;Thank you</description>
    <pubDate>Sat, 16 Nov 2024 11:34:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:34:07Z</dc:date>
    <item>
      <title>HELP: Deployed REST job not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HELP-Deployed-REST-job-not-working/m-p/2362803#M126865</link>
      <description>Hi there, packaged up a REST service, which I deployed using the karaf webconsole/admin, but it doesn't appear to work despite working in the studio. Here's the error shown at the trun console: 
&lt;BR /&gt; 
&lt;PRE&gt;karaf@trun&amp;gt; java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.cxf.jaxrs.client.JAXRSClientFacto&lt;BR /&gt;ryBean.setServiceName(Ljavax/xml/namespace/QName;)V" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClas&lt;BR /&gt;sLoader) of the current class, transportdataportal/retrievecarparkinfo_0_1/RetrieveCarParkInfo, and the class loader (instance of or&lt;BR /&gt;g/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean, have&lt;BR /&gt; different Class objects for the type he.cxf.jaxrs.client.JAXRSClientFactoryBean.setServiceName(Ljavax/xml/namespace/QName;)V used i&lt;BR /&gt;n the signature&lt;BR /&gt;        at transportdataportal.retrievecarparkinfo_0_1.RetrieveCarParkInfo.tRESTRequest_1_LoopProcess(RetrieveCarParkInfo.java:4324)&lt;BR /&gt;        at transportdataportal.retrievecarparkinfo_0_1.RetrieveCarParkInfo$RestServiceProviderImpl4TalendJob.processRequest(Retrieve&lt;BR /&gt;CarParkInfo.java:498)&lt;BR /&gt;        at transportdataportal.retrievecarparkinfo_0_1.RetrieveCarParkInfo$RestServiceProviderImpl4TalendJob.GetAllCarParks(Retrieve&lt;BR /&gt;CarParkInfo.java:641)&lt;BR /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;BR /&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;        at java.lang.reflect.Method.invoke(Method.java:606)&lt;BR /&gt;        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:188)&lt;BR /&gt;        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:104)&lt;BR /&gt;        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:204)&lt;BR /&gt;        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:101)&lt;BR /&gt;        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)&lt;BR /&gt;        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)&lt;BR /&gt;        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)&lt;BR /&gt;        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)&lt;BR /&gt;        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:355)&lt;BR /&gt;        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:319)&lt;BR /&gt;        at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:65)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1040)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:976)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)&lt;BR /&gt;        at org.eclipse.jetty.server.Server.handle(Server.java:363)&lt;BR /&gt;        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)&lt;BR /&gt;        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)&lt;BR /&gt;        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)&lt;BR /&gt;        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)&lt;BR /&gt;        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)&lt;BR /&gt;        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)&lt;BR /&gt;        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)&lt;BR /&gt;        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)&lt;BR /&gt;        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)&lt;BR /&gt;        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)&lt;BR /&gt;        at java.lang.Thread.run(Thread.java:745)&lt;/PRE&gt; 
&lt;BR /&gt;I suspect the solution may not be obvious, can anyone give me any insights. Please bear in mind that I'm a newbie, only been using this for about 2 weeks! 
&lt;BR /&gt;Thank you</description>
      <pubDate>Sat, 16 Nov 2024 11:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HELP-Deployed-REST-job-not-working/m-p/2362803#M126865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: HELP: Deployed REST job not working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/HELP-Deployed-REST-job-not-working/m-p/2362804#M126866</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;After you export the rest service job as OSGI Bundle FOR ESB and install it from karaf web console, don't forget to start the bundle and make sure it's status is 'Active'.&amp;nbsp; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/1_20140808-0928.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEdD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157051i6A1EA0477BAE3272/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEdD.png" alt="0683p000009MEdD.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 08 Aug 2014 08:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/HELP-Deployed-REST-job-not-working/m-p/2362804#M126866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-08T08:28:53Z</dc:date>
    </item>
  </channel>
</rss>

