<?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: tRESTRequest Service not started after exporting and deploying in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269109#M47469</link>
    <description>can you post a picture of your route using the tESBconsumer.  Is this a SOAP or a REST service?</description>
    <pubDate>Tue, 26 Jun 2012 13:15:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-26T13:15:27Z</dc:date>
    <item>
      <title>tRESTRequest Service not started after exporting and deploying</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269105#M47465</link>
      <description>Hello, 
&lt;BR /&gt;I have problems with deploying tRESTRequest Services Job to karaf. In Open Studio it works fine, but deployed to the server the port is not opened and I cannot call it. Neither a simple example works for me. 
&lt;BR /&gt;I am using the newest version of Talend Open Studio for ESB Version 5.1.1. I have created a simple tRESTRequest -&amp;gt; tLogRow. 
&lt;BR /&gt;The Endpoint is: "&lt;A href="http://localhost:6088/Test" target="_blank"&gt;http://localhost:6088/Test&lt;/A&gt;" 
&lt;BR /&gt;URI pattern is: "/{test}" . 
&lt;BR /&gt;I have created the variable in the schema editor and are putting it to the tLogRow component. 
&lt;BR /&gt;As I said, it works fine in Talend Open Studio. Deploying to Karaf does not start the service. The port is not opened. I have checked the open ports with "netstat". I do not have any problems with cCXF Components in Routes. The services there are working fine deployed on karaf. 
&lt;BR /&gt; 
&lt;BR /&gt;The Log output of karaf after deploying the TestJob is: 
&lt;BR /&gt; 
&lt;BR /&gt;16:10:29,627 | INFO | container/deploy | ultOsgiApplicationContextCreator 67 | 91 - org.springframework.osgi.extender - 1.2.1 | Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle 
&lt;BR /&gt;16:10:29,635 | INFO | ExtenderThread-7 | pport.AbstractApplicationContext 456 | 86 - org.springframework.context - 3.0.7.RELEASE | Refreshing OsgiBundleXmlApplicationContext(bundle=masterarbeit.TestJob, config=osgibundle:/META-INF/spring/*.xml): startup date ; root of context hierarchy 
&lt;BR /&gt;16:10:29,638 | INFO | ExtenderThread-7 | ractOsgiBundleApplicationContext 365 | 86 - org.springframework.context - 3.0.7.RELEASE | Application Context service already unpublished 
&lt;BR /&gt;16:10:29,640 | INFO | ExtenderThread-7 | tory.xml.XmlBeanDefinitionReader 315 | 84 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean definitions from URL 
&lt;BR /&gt;16:10:29,665 | INFO | ExtenderThread-7 | tory.xml.XmlBeanDefinitionReader 315 | 84 - org.springframework.beans - 3.0.7.RELEASE | Loading XML bean definitions from OSGi resource 
&lt;BR /&gt;16:10:29,709 | INFO | ExtenderThread-7 | WaiterApplicationContextExecutor 243 | 91 - org.springframework.osgi.extender - 1.2.1 | No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=masterarbeit.TestJob, config=osgibundle:/META-INF/spring/*.xml) 
&lt;BR /&gt;16:10:29,724 | INFO | ExtenderThread-8 | pport.DefaultListableBeanFactory 557 | 84 - org.springframework.beans - 3.0.7.RELEASE | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@b600ec: defining beans ; root of factory hierarchy 
&lt;BR /&gt;16:10:29,739 | INFO | ExtenderThread-8 | t.jmx.InstrumentationManagerImpl 329 | - - | registering MBean org.apache.cxf:bus.id=masterarbeit.TestJob-cxf5841812,type=Bus: org.apache.cxf.bus.ManagedBus@29bdff 
&lt;BR /&gt;16:10:29,740 | INFO | ExtenderThread-8 | t.jmx.InstrumentationManagerImpl 329 | - - | registering MBean org.apache.cxf:bus.id=masterarbeit.TestJob-cxf5841812,type=Bus: javax.management.modelmbean.RequiredModelMBean@78d55c 
&lt;BR /&gt;16:10:29,741 | INFO | ExtenderThread-8 | t.jmx.InstrumentationManagerImpl 195 | - - | registered org.apache.cxf:bus.id=masterarbeit.TestJob-cxf5841812,type=Bus 
&lt;BR /&gt;16:10:29,741 | INFO | ExtenderThread-8 | t.jmx.InstrumentationManagerImpl 329 | - - | registering MBean org.apache.cxf:bus.id=masterarbeit.TestJob-cxf5841812,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager: org.apache.cxf.bus.managers.WorkQueueManagerImplMBeanWrapper@ffa1d3 
&lt;BR /&gt;16:10:29,742 | INFO | ExtenderThread-8 | t.jmx.InstrumentationManagerImpl 329 | - - | registering MBean org.apache.cxf:bus.id=masterarbeit.TestJob-cxf5841812,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager: javax.management.modelmbean.RequiredModelMBean@d93cc6 
&lt;BR /&gt;16:10:29,905 | INFO | ExtenderThread-8 | g.apache.cxf.endpoint.ServerImpl 94 | - - | Setting the server's publish address to be /Test 
&lt;BR /&gt;16:10:29,907 | INFO | ExtenderThread-8 | t.jmx.InstrumentationManagerImpl 329 | - - | registering MBean org.apache.cxf:bus.id=masterarbeit.TestJob-cxf5841812,type=Bus.Service.Endpoint,service="{ 
&lt;A href="http://testjob_0_1.masterarbeit/}RestServiceProviderImpl4TalendJob&amp;quot;,port=&amp;quot;RestServiceProviderImpl4TalendJob" target="_blank" rel="nofollow noopener noreferrer"&gt;http://testjob_0_1.masterarbeit/}RestServiceProviderImpl4TalendJob",port="RestServiceProviderImpl4TalendJob&lt;/A&gt;": org.apache.cxf.endpoint.ManagedEndpoint@19703d5 
&lt;BR /&gt;16:10:29,911 | INFO | ExtenderThread-8 | t.jmx.InstrumentationManagerImpl 329 | - - | registering MBean org.apache.cxf:bus.id=masterarbeit.TestJob-cxf5841812,type=Bus.Service.Endpoint,service="{ 
&lt;A href="http://testjob_0_1.masterarbeit/}RestServiceProviderImpl4TalendJob&amp;quot;,port=&amp;quot;RestServiceProviderImpl4TalendJob" target="_blank" rel="nofollow noopener noreferrer"&gt;http://testjob_0_1.masterarbeit/}RestServiceProviderImpl4TalendJob",port="RestServiceProviderImpl4TalendJob&lt;/A&gt;": javax.management.modelmbean.RequiredModelMBean@cd2814 
&lt;BR /&gt;16:10:29,946 | INFO | ExtenderThread-8 | r.support.OsgiServiceFactoryBean 301 | 90 - org.springframework.osgi.core - 1.2.1 | Publishing service under classes 
&lt;BR /&gt;16:10:29,947 | INFO | ExtenderThread-8 | r.internal.JobTracker$Customizer 106 | - - | Service with reference {routines.system.api.TalendJob}={org.springframework.osgi.bean.name=job, Bundle-SymbolicName=masterarbeit.TestJob, Bundle-Version=0.1, name=TestJob, type=job, service.id=331} added 
&lt;BR /&gt;16:10:29,947 | INFO | ExtenderThread-8 | troller.internal.JobLauncherImpl 144 | - - | Adding job TestJob. 
&lt;BR /&gt;16:10:29,950 | INFO | pool-9-thread-1 | internal.SimpleJobTask$JobRunner 68 | - - | Starting job TestJob 
&lt;BR /&gt;16:10:29,960 | INFO | ExtenderThread-8 | ractOsgiBundleApplicationContext 327 | 86 - org.springframework.context - 3.0.7.RELEASE | Publishing application context as OSGi service with properties {org.springframework.context.service.name=masterarbeit.TestJob, Bundle-SymbolicName=masterarbeit.TestJob, Bundle-Version=0.1.0} 
&lt;BR /&gt;16:10:29,961 | INFO | ExtenderThread-8 | BundleApplicationContextListener 45 | 91 - org.springframework.osgi.extender - 1.2.1 | Application context successfully refreshed (OsgiBundleXmlApplicationContext(bundle=masterarbeit.TestJob, config=osgibundle:/META-INF/spring/*.xml)) 
&lt;BR /&gt; 
&lt;BR /&gt;What is wrong there?</description>
      <pubDate>Sat, 16 Nov 2024 12:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269105#M47465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTRequest Service not started after exporting and deploying</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269106#M47466</link>
      <description>have you tried http://localhost:8040/services to access your service description ?</description>
      <pubDate>Thu, 21 Jun 2012 20:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269106#M47466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-21T20:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTRequest Service not started after exporting and deploying</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269107#M47467</link>
      <description>you are right, with this URL I can reach my service. but now I get the following exception: 
&lt;BR /&gt; 
&lt;PRE&gt;Exception in component tESBConsumer_1&lt;BR /&gt;java.lang.ClassCastException: org.dom4j.tree.DefaultDocument cannot be cast to org.dom4j.Document&lt;BR /&gt;        at org.talend.esb.job.controller.internal.RuntimeESBConsumer.invoke(RuntimeESBConsumer.java:206)&lt;BR /&gt;        at masterarbeit.edinotify2xml_0_1.EDINotify2XML.tEDIFACTtoXML_1Process(EDINotify2XML.java:2220)&lt;BR /&gt;        at masterarbeit.edinotify2xml_0_1.EDINotify2XML.tRESTRequest_1_LoopProcess(EDINotify2XML.java:3599)&lt;BR /&gt;        at masterarbeit.edinotify2xml_0_1.EDINotify2XML$RestServiceProviderImpl4TalendJob.processRequest(EDINotify2XML.java:448)&lt;BR /&gt;        at masterarbeit.edinotify2xml_0_1.EDINotify2XML$RestServiceProviderImpl4TalendJob.out(EDINotify2XML.java:496)&lt;BR /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt;        at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt;        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)&lt;BR /&gt;        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)&lt;BR /&gt;        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)&lt;BR /&gt;        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)&lt;BR /&gt;        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)&lt;BR /&gt;        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)&lt;BR /&gt;        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&lt;BR /&gt;        at java.util.concurrent.FutureTask.run(FutureTask.java:138)&lt;BR /&gt;        at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)&lt;BR /&gt;        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)&lt;BR /&gt;        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)&lt;BR /&gt;        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:122)&lt;BR /&gt;        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)&lt;BR /&gt;        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)&lt;BR /&gt;        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)&lt;BR /&gt;        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:129)&lt;BR /&gt;        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:187)&lt;BR /&gt;        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:110)&lt;BR /&gt;        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)&lt;BR /&gt;        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:166)&lt;BR /&gt;        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)&lt;BR /&gt;        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)&lt;BR /&gt;        at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)&lt;BR /&gt;        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)&lt;BR /&gt;        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)&lt;BR /&gt;        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:117)&lt;BR /&gt;        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)&lt;BR /&gt;        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)&lt;BR /&gt;        at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)&lt;BR /&gt;        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)&lt;BR /&gt;        at org.eclipse.jetty.server.Server.handle(Server.java:349)&lt;BR /&gt;        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)&lt;BR /&gt;        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)&lt;BR /&gt;        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)&lt;BR /&gt;        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)&lt;BR /&gt;        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)&lt;BR /&gt;        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)&lt;BR /&gt;        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)&lt;BR /&gt;        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)&lt;BR /&gt;        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)&lt;BR /&gt;        at java.lang.Thread.run(Thread.java:662)&lt;/PRE&gt; 
&lt;BR /&gt;So it seems to be that the tEDIFACT or the tXMLMap component creates a "org.dom4j.tree.DefaultDocument" but the tESBConsume needs a "org.dom4j.Document" 
&lt;BR /&gt;The werid thing is, that it is working on Talend Studio</description>
      <pubDate>Mon, 25 Jun 2012 10:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269107#M47467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-25T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTRequest Service not started after exporting and deploying</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269108#M47468</link>
      <description>I am facing the same issue. Were you able to deploy and test successfully?</description>
      <pubDate>Tue, 26 Jun 2012 09:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269108#M47468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-26T09:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTRequest Service not started after exporting and deploying</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269109#M47469</link>
      <description>can you post a picture of your route using the tESBconsumer.  Is this a SOAP or a REST service?</description>
      <pubDate>Tue, 26 Jun 2012 13:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269109#M47469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-26T13:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTRequest Service not started after exporting and deploying</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269110#M47470</link>
      <description>Hi&lt;BR /&gt;check with the version once</description>
      <pubDate>Fri, 22 Nov 2013 14:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269110#M47470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-22T14:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: tRESTRequest Service not started after exporting and deploying</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269111#M47471</link>
      <description>It appears to be a class loading issue. Multiple versions of DOM4J are loaded by different bundle loaders,
&lt;BR /&gt;Perhaps you can trace it by "headers | grep org.dom4j"
&lt;BR /&gt;Cheers. Sergey</description>
      <pubDate>Mon, 25 Nov 2013 16:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRESTRequest-Service-not-started-after-exporting-and-deploying/m-p/2269111#M47471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-25T16:51:21Z</dc:date>
    </item>
  </channel>
</rss>

