General properties
openejb.assembler
openejb.base
openejb.home
openejb.conf.file
openejb.configuration
openejb.deploymentId.format
openejb.deployments.classpath.exclude
openejb.deployments.classpath.include
openejb.localcopy
openejb.naming
openejb.nobanner
Overriding openejb.conf
Anything in the openejb.conf file can be overridden via system properties of the format:
-D<id>.<property-name>=<property-value>
..where id is the value in the config file for example:
<Connector id="mysql">
JdbcDriver com.mysql.jdbc.Driver
JdbcUrl jdbc:mysql://localhost/test
UserName test
</Connector>
Could be overridden as follows via system properties on the command line:
./bin/openejb start -Dmysql.JdbcDriver=com.mysql.jdbc.Driver -Dmysql.JdbcUrl=jdbc:mysql://localhost/test -Dmysql.UserName=test
Overriding Server Services
Any server service installed into OpenEJB can be overridden in the same fashion as things in the openejb.conf file.
For example, when OpenEJB starts it prints out the following:
Each of those has the same standard xinet.d-like properties which can also be configured as such:
-D<id>.<property-name>=<property-value>
... where 'id' is the name of the server service and 'property-name' is one of the following: bind, port, threads, disabled, only_from.
So to set the address and port the ejbd service will bind to, simply specify this on the command line:
./bin/openejb start -Dejbd.bind=192.168.1.12 -Dejbd.port=9988