Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Creating the WAR from the source

The servicemix-web project is available in the 3.0 distribution

Code Block

cd examples/servicemix-web

or get Get the latest checkout then perform the following command

Code Block
cd tooling/servicemix-web
maven 

Then, launch the jetty embedded server with

Code Block

mvn jetty6:run

Then and point your browser to http://localhost:8080/ to see the management console. There are also one or two examples described below.

An alternative to the above is to use your existing Servlet engine and create the WAR yourself then deploy it into your servlet engine. e.g. type this

Code Block
mavenmvn warpackage

Then deploy the war into your servlet engine. You'll typically need to use a different URL then such as http://localhost:8080/servicemix-web/

...