#1 2012-06-06 13:10:08

minchi
Member
Registered: 2012-04-25
Posts: 43

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 smile

Offline

#2 2012-06-07 09:11:25

gusto2
Member
Company: Apogado
Registered: 2011-09-27
Posts: 164
Website

Re: install runtime on linux server (debian, centos)

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


Gabriel Vince
Senior Consultant
Apogado
www.apogado.com

Offline

#3 2012-06-07 15:13:41

eost
Talend Team
Registered: 2010-12-07
Posts: 246

Re: install runtime on linux server (debian, centos)

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/tutori … idTuto=102

Offline

#4 2012-06-08 10:06:12

minchi
Member
Registered: 2012-04-25
Posts: 43

Re: install runtime on linux server (debian, centos)

Thank you for your answers smile 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 sad

Can you confirm that i can access it  or not ?


Thank you for your help !

Offline

#5 2012-06-08 10:43:56

gusto2
Member
Company: Apogado
Registered: 2011-09-27
Posts: 164
Website

Re: install runtime on linux server (debian, centos)

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


Gabriel Vince
Senior Consultant
Apogado
www.apogado.com

Offline

#6 2012-06-08 11:15:13

minchi
Member
Registered: 2012-04-25
Posts: 43

Re: install runtime on linux server (debian, centos)

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 ?)

Last edited by minchi (2012-06-11 15:17:38)

Offline

#7 2012-06-11 09:44:00

minchi
Member
Registered: 2012-04-25
Posts: 43

Re: install runtime on linux server (debian, centos)

up smile

Offline

#8 2012-06-11 16:18:44

minchi
Member
Registered: 2012-04-25
Posts: 43

Re: install runtime on linux server (debian, centos)

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 smile

Regards

Offline

#9 2012-06-11 20:22:31

gusto2
Member
Company: Apogado
Registered: 2011-09-27
Posts: 164
Website

Re: install runtime on linux server (debian, centos)

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


Gabriel Vince
Senior Consultant
Apogado
www.apogado.com

Offline

#10 2012-06-12 09:33:27

minchi
Member
Registered: 2012-04-25
Posts: 43

Re: install runtime on linux server (debian, centos)

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

Last edited by minchi (2012-06-12 11:10:30)

Offline

#11 2012-06-21 17:24:47

minchi
Member
Registered: 2012-04-25
Posts: 43

Re: install runtime on linux server (debian, centos)

Hello,

Is it possible to have apache2 and karaf contrainer (KRAF-service) on the same debian or centos server ?
If then how can we switch between karaf and apache2 shell ?

Regards,

Last edited by minchi (2012-06-21 17:32:31)

Offline

Board footer

Powered by FluxBB