• Functional build environment for Apache ESME including maven, current source code etc.
  • Account on
  • Stax SDK must be installed locally
  • An application on the stax cloud must already exist



Add the following text to your file


Create a file in your webapp\WEB-INF directory. The contents of the file looks like this

 <resource name="esme" auth="Container" type="javax.sql.DataSource">
  <param name="username" value="[Username for DB]" />
  <param name="password" value="[Password for DB]" />
  <param name="url" value="jdbc:stax://[DB name]" />

The information for database is available in the Stax Console for your DB

Build Apache ESME

use mvn clean install

Deploy on Stax
  1. Start the "Stax Console.bat" command (on windows)
  2. In this console use the app:deploy command to deploy the application:

 Example: stax app:deploy -a  esme/esmecloudperf -m 2010_01_04 -u [StaxUser]-p [StaxPassword] D:\\apache\esme\\server\target\esme-server-0.3.0-SNAPSHOT.war