Versions Compared


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

Starting from WSO2 AS 5.3.0, AS supports JavaEE 6 Web Profile. This support is provided using Apache TomEE, which is a project developed at Apache Software Foundation, and is a Java EE 6 Web Profile certified stack. With the Javaee runtime environment, you can now deploy Javaee web applications (that uses Apache TomEE) in WSO2 AS.

 The following configurations should be in place in order to use this feature: 

Table of Contents


The following configurations are required if the Javaee runtime is enabled for your AS as explained above. There are two Apache TomEE configurations:

  • Setting the default Tomee TomEE configurations: 

    1. Open the tomee.xml file located in the <AS_HOME>/repository/conf/tomee/ directory.

    2.  In this file, you can configure the Datasources, Resources etc. See the following example where the "myDerbyDatasource" datasource is configured as a resource.

      Code Block
      <Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar">
       . . . .
    3. See the documentation on Apache TomEE configurations for more examples on how to configure the tomee.xml file.

  • Setting the jvm system properties that will be used by TomEE:

    1. Open the file located in the <AS_HOME>/repository/conf/tomee/ directory. 

    2. Update the required properties. For a comprehensive list of system properties, see