3.6. Configuring the DB Service (hsql)

The DB service is an optional service that can be used to start a Java database server in the same JVM as JOnAS.

The listening port and the database name can be set as follows:

jonas.service.db.port    9001
jonas.service.db.dbname  db_jonas

You can use the $JONAS_ROOT/conf/HSQL1.properties file with these default values.

The users are declared as follows:

jonas.service.db.user<1..n>   login:password

For example, to give access to this database to the user jonas with the password jonas, use:

jonas.service.db.user1   jonas:jonas

This login and this password (jonas/jonas) are used in the HSQL1.properties file.