Hi Albert

If you want Tuscany to fire up Tomcat then replace the
tuscany-host-jetty-*.jar with tuscany-host-tomcat-*.jar on the
classpath.

If you want to deploy an application into an existing instance of
Tomcat then what we do in 1.x is package the contributions up into a
WARs along with the Tuscany JARs. There are some samples for this, for
example, samples/calculator-webapp. IIRC the base directory of the WAR
is treated as the location of the contribution so in an application,
like the travel sample, where there are lots of contributions, you end
up with multiple WARs.

In 2.x we're building some tighter integration with Tomcat where
Tuscany is installed into Tomcat once and you can then add
contributions without having to package Tuscany into each WAR. Only
2.x though not 1.x and we haven't ported the travel sample across to
2.x yet.

Hope that helps

Simon

Reply via email to