Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

install runtime on linux server (debian, centos)

Hello all,
I would like to deploy my REST service exported from TOS ESB 5.1 (osgi bundle), on my personnal linux server but i don't know how to do that (now i test with success on local windows machine).
Please help.
Thanks in advance for your answers 0683p000009MACn.png
Labels (3)
10 Replies
Anonymous
Not applicable
Author

Hi Minchi,
we advice to download the TESB SE (or if you are lazy, you can simply copy the Runtime_ESBSE directory) to your linux server and make the bin/start.sh script to run after startup (place a link to the init.d or you can use Karaf Wrapper utility https://cwiki.apache.org/KARAF/49-wrapper.html). I personaly used the first option.
There you can deploy your exported OSGi bundle
Gabriel
Anonymous
Not applicable
Author

Just to clarify a little bit more, just right click on the Job or Route and select Export Route. Select the deploy folder in your ESB SE runtime. It is a hot deploy so it will start immediately if already running. This will work for both Routes and Jobs (assuming you select OSGI target jobs).
Here is a tutorial for deploying DI jobs to run an ESB runtime. http://talendforge.org/tutorials/tutorial.php?language=english&idTuto=102
Anonymous
Not applicable
Author

Thank you for your answers 0683p000009MACn.png it helps me a lot.
Actually i have installed talend SE, i have set java home and trun: I can start karaf without error.
But now i face a new problem: i can't access my endpoint with my web browser 0683p000009MPcz.png
Can you confirm that i can access it or not ?

Thank you for your help !
Anonymous
Not applicable
Author

Hi Minchi,
if you created your service using data integration jobs, then you can access your service by default on
http://localhost:8040/services/<ServiceName>
you can check your service name using command cxf:list-endpoints
good luck
Gabriel
Anonymous
Not applicable
Author

Hi gusto,
i understand but i need to access the web service (deployed on my linux server) from my actual PC (windows via web browser with URL of rest endpoint ?)
Anonymous
Not applicable
Author

up 0683p000009MACn.png
Anonymous
Not applicable
Author

Hello,
I deployed my osgi bundle (rest service) in deploy folder (talend se) on my linux server.
My endpoint is http://mywebsite/serviceO2, when i hit on my server cxf:list-enpoints i can see /serviceO2:
everything OK. But now i'm unable to access the wsdl from outside (my local pc) via http://mywebsite/serviceO2
Please help me 0683p000009MACn.png
Regards
Anonymous
Not applicable
Author

Hi minchi,
hava a look at the config file: etc/org.apache.cxf.osgi.cfg m there's a parameter where CXF deploy service endpoints by default - by default having value /services
so you can find your service at http;//localhost:8040/services/serviceO2
good luck
gabriel
Anonymous
Not applicable
Author

thank you so much for your help, have a good day