Setting the default Tomee configurations configurations:
tomee.xmlfile located in the
In this file, you can configure the Datasources, Resources etc. See the following example where the "myDerbyDatasource" datasource is configured as a resource.
<Resource id="myDerbyDatasource" type="DataSource" classpath="/path/to/driver.jar"> . . . . <Resource>
See the documentation on Apache TomEE configurations for more examples on how to configure the
Setting the jvm system properties that will be used by TomEE TomEE:
system.propertiesfile located in the
Update the required properties. For a comprehensive list of system properties, see http://tomee.apache.org/properties-listing.html.