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
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
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
Thank you for your answers
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
Can you confirm that i can access it or not ?
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
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 ?)
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
Regards
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