Apache ServiceMix 3.x Users' Guide

Welcome to Apache ServiceMix Users' Guide. This guide is a work in progress from the Apache ServiceMix community. Your contributions to this documentation effort are welcome; just comment the appropriate wiki page (bottom of page) or use the freely accessible wiki area or ask for a wiki log in (best for continous contribution) or send your suggestions at the mailing list.

Pages not written yet

Everytime you see a link with a small green sign, it means the page has not been created yet. Please, do not create them, unless you want to contribute documentation.

  • No labels

2 Comments

  1. Unknown User (lilian.duchene@tiepolo98.be)

    In the component matrix:

    • eip component is writen twice
  2. Deploying to an existing tomcat install can be accomplished by downloading the war file.

    current war file has no components bundled with it

    Need to download and deploy individual components individually.

    deploying war in Ubuntu 10.04 version of tomcat will likely have the following error.

    javax.jbi.JBIException: Directory could not be created: /var/lib/tomcat6/data/smx
    

    and

    ERROR XBM0H: Directory /var/lib/tomcat6/servicemixDB cannot be created.
    

    Recommended solution is to edit the expanded servicemix.xml and change the location of these two directories to an absolute path OUTSIDE the tomcat bin directory.

     <sm:container id="jbi" 
                    rootDir="/var/servicemix/data/smx" 
    
     <audit:dataSource> 
          <bean class="org.apache.derby.jdbc.EmbeddedDataSource">
            <property name="databaseName" value="/var/servicemix/data/derby/servicemixDB"/>
            <property name="createDatabase" value="create"/>
          </bean>
        </audit:dataSource> 
    
    

    then create directory with read/write permissions for the tomcat user

    sudo mkdir /var/servicemix
    sudo chmod 700 /var/servicemix
    sudo chown /var/servicemix tomcat6