I am trying to deploy a Web Service I created with Talend ESB on Tomcat, but I do not seem to find a way to do it.
I have been searching for some online information and I have had a look at the examples provided with the Talend distribution, but it uses other types of examples, not Talend generated classes.
Could anyone point me in the right way to achieve this? I would like to be able to reuse the code generated from Talend.
What I would like to do is deploy my service (created as a Service in Talend ESB) directly in Tomcat, not wrap it on a Talend job exported as a war.
But I guess Talend does not provide that feature yet.
you can export your service to Axis WebService (WAR), for example:
Job Designs -> DemoService, Right click menu -> Export Job, select the export type: Axis WebService (WAR), you will got an DemoService.war which can be deployed into Tomcat container.
after put this war into webapps, you will see a log like this:
2013-06-26 09:46:51.876:INFOejs.AbstractConnectortarted SelectChannelConnect
web service published
ocations_0.6/WEB-INF/lib/geronimo-servlet_3.0_spec -1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
12:32:09,376 INFO Setting the server's publish address to be http://192.168.1.101:8088/
12:32:09,519 INFO jetty-8.1.7.v20120910
12:32:09,594 INFO Started SelectChannelConnector@192.168.1.101:8088