This page of the tutorial describes how to install and start ServiceMix
Starting ServiceMix
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
bin\servicemix
respectively in Linux:
bin/servicemix
Once the server is started, you should see the following informations on the command line console:
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
Exception in thread "main" java.lang.IllegalArgumentException
you may have some illegal characters in the path, e.g. !, % etc., that cause Java not to find the files.