TOS ESB deploy Job with tRESTrequest & tRESTreponse to Tomcat or other
Hi all, Using TOS for ESB, I have a simple job like this : tRESTRequest > tXMLMap > tRESTResponse I have no problem to call the REST service when I run it from the studio. But if I deploy a war in tomcat, I have a runjob method and not the expected REST URL call as I have in TOS. How to deploy this simple REST call on a webapp server and to call it like in TOS ? I have also tried to deploy the job as jar for OSGI but in the Talend Runtime I have this error: karaf@trun> install file://C:/talend/DummyREST/DummyREST-0.1.jar Bundle IDs: Error executing command: Error installing bundles: Unable to install bundle file://C:/talend/DummyREST/DummyREST-0.1.jar (Tomcat if my prefered option to host this job) any idea ? Paul.
Re: TOS ESB deploy Job with tRESTrequest & tRESTreponse to Tomcat or other
Hi, For deploy REST service into Talend Runtime option, you should either put the jar file into deploy/ folder or install it from console command: install -s file:///C:/talend/DummyREST/DummyREST-0.1.jar (-s Starts the bundles after installation) file:/// or file:/ is correct prefix , but not file://