Versions Compared

Key

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

...

The installation of Apache ServiceMix is as simple as uncompressing the .zip or .tar files. The next step is to start the server.

#top

Start the server

With Apache ServiceMix already installed, open a command line console and change directory to <servicemix_home>. To start the server, run the following command in Windows

Code Block

bin\servicemix

respectively in Linux:

Code Block

bin/servicemix

Once the server is started, you should see the following informations on the command line console:

No Format
borderStylesolid

Starting Apache ServiceMix ESB: 3.0-incubating

Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
INFO  - JBIContainer                   - ServiceMix 3.0-incubatingJBI Container (ServiceMix) is starting
INFO  - JBIContainer                   - For help or more informations please see: http://incubator.apache.org/servicemix/
INFO  - ComponentMBeanImpl             - Initializing component: #SubscriptionManager#
INFO  - DeploymentService              - Restoring service assemblies
INFO  - JBIContainer                   - ServiceMix JBI Container (ServiceMix) started

At this point, you have Apache ServiceMix up and running and the time spent has been minimal. The following section will propose to deploy one of the sample application.

In case you get a

No Format

Exception in thread "main" java.lang.IllegalArgumentException

...

Include Page
SM:Starting ServiceMix
SM:Starting ServiceMix

#top

Deploy a sample application

...