For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.

Configure Apache Tomcat for Derby manually for Application Center

We can set up and configure your Apache Derby database manually for Application Center with the Apache Tomcat application server.


Complete the Apache Derby database setup procedure before continuing.


  1. Add the Derby JAR file from product_install_dir/ApplicationCenter/tools/lib/derby.jar to the directory $TOMCAT_HOME/lib.
  2. Prepare an XML statement that defines the data source, as shown in the following code example.

    <Resource auth="Container" driverClassName="org.apache.derby.jdbc.EmbeddedDriver" name="jdbc/AppCenterDS" username="APPCENTER" password="" type="javax.sql.DataSource" url="jdbc:derby:DERBY_DATABASES_DIR/APPCNTR"/>

  3. Insert this statement in the server.xml file, as indicated in Configuring Apache Tomcat for Application Center manually.

Parent topic: Configuring the Apache Derby database manually for Application Center