<?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: Cannot access deployed service from Runtime in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Cannot-access-deployed-service-from-Runtime/m-p/2305595#M143985</link>
    <description>&lt;P&gt;I was able to resolve this by specifying a specific URL.&amp;nbsp; By setting the endpoint to "http://localhost:8040/services" in the job and then deploying it to Runtime, I was able to then access the service from that same URL via the Runtime.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it isn't clear:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Why the URL generated and used when running the job in Studio doesn't also work when deployed to Runtime, nor does the deployment indicate upon what port the job is hosted.&lt;/LI&gt;&lt;LI&gt;Why&amp;nbsp;Studio doesn't display the info about where it is hosted when using a generic name; e.g., "/services"&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 06 Mar 2018 18:36:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-06T18:36:34Z</dc:date>
    <item>
      <title>Cannot access deployed service from Runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-access-deployed-service-from-Runtime/m-p/2305594#M143984</link>
      <description>&lt;P&gt;I built the Employee service as found in&amp;nbsp;&lt;A href="https://help.talend.com/reader/akzLCJX2jurKtvXycoNGyQ/7WnC7DzjJD_gvNOwfkcIGA" target="_self" rel="nofollow noopener noreferrer"&gt;Building a simple REST service&lt;/A&gt;&amp;nbsp;and am able to run it in Studio.&amp;nbsp; First, when I run the job, it does not display anything about where it is being hosted, etc. -- see below:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="no-hosting-info.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsIQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151345iE0D690C0382CA7F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsIQ.png" alt="0683p000009LsIQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, using the info from the example, I can successfully access the service -- see below:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="service-works.png" style="width: 714px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lt0L.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137016iE5C5565F699A45C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lt0L.png" alt="0683p000009Lt0L.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I was then able to successfully deploy the job to my runtime using &lt;A href="https://help.talend.com/reader/Le3CQSmd8KQrsDxjrH8xCw/Ij~7tBlW8im63rAGnGHT3A" target="_self" rel="nofollow noopener noreferrer"&gt;Deploying the REST service&lt;/A&gt;, section &lt;STRONG&gt;Local deployment (Talend Open Studio for ESB)&lt;/STRONG&gt;&amp;nbsp;-- see below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;karaf&lt;/STRONG&gt;@trun()&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;list&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;|&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;grep&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; Employee&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;344 │ Active &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;│&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;80 │ 0.1 &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;│ &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;Employee&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;RestService&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But I can't figure out by what address to access it.&amp;nbsp; The URL listed in the deployment tutorial (&lt;A href="http://localhost:8040/services/services/employees" target="_blank"&gt;http://localhost:8040/services/services/employees&lt;/A&gt;) does not work.&amp;nbsp; I tried the same URL as used when running from Studio and that does not work.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-access-deployed-service-from-Runtime/m-p/2305594#M143984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access deployed service from Runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-access-deployed-service-from-Runtime/m-p/2305595#M143985</link>
      <description>&lt;P&gt;I was able to resolve this by specifying a specific URL.&amp;nbsp; By setting the endpoint to "http://localhost:8040/services" in the job and then deploying it to Runtime, I was able to then access the service from that same URL via the Runtime.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it isn't clear:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Why the URL generated and used when running the job in Studio doesn't also work when deployed to Runtime, nor does the deployment indicate upon what port the job is hosted.&lt;/LI&gt;&lt;LI&gt;Why&amp;nbsp;Studio doesn't display the info about where it is hosted when using a generic name; e.g., "/services"&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 06 Mar 2018 18:36:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-access-deployed-service-from-Runtime/m-p/2305595#M143985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-06T18:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access deployed service from Runtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-access-deployed-service-from-Runtime/m-p/2305596#M143986</link>
      <description>&lt;P&gt;Well, not sure why it wasn't working yesterday as listed in the tutorial, but it is working today.&amp;nbsp; I was successful running it from port 8090 within Studio (http://localhost:8090/demo/employees) and then deploying to "container" in the Runtime and accessing the service (http://localhost:8040/services/demo/employees).&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 17:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-access-deployed-service-from-Runtime/m-p/2305596#M143986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-07T17:11:39Z</dc:date>
    </item>
  </channel>
</rss>

