views:

676

answers:

1

how to run metro webservice on jetty in Maven project??

A: 

As per this source.

If you place your web service in a WAR file, like here, it should run fine on Jetty, just as it would on any servlet container. There might be some subsequent Jetty-specific configuration needed, but I would try to deploy the WAR first on Jetty and see where it gets you.

If you want to embed Jetty, instead of running on Jetty standalone, this might give you some pointers.

Kevin Boyd
We run Metro 1.4 in an embedded Jetty 6 here under Java 5. Works fine. Note: The Metro jars goes in the jetty lib, not the war.
Thorbjørn Ravn Andersen