Versions Compared

Key

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

...

  • Setting the default Tomee configurations 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">
       . . . .
      <Resource>
    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 TomEE:

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

    2. Update the required properties. For a comprehensive list of system properties, see http://tomee.apache.org/properties-listing.html.

...