Configuring the Database Access

You must have configured a Database. The jndi name used in the bean is jdbc_1. See the section Database Access in this tutorial or Configuring Database service in the JOnAS documentation.

You do not have to create the database (table), it will be done by the application (the first time you launch the JOnAS server you will see an exception saying that the table does not exist, do not worry about that, this is a normal behaviour, the table will be created just after).

If you use InstantDB with the $JONAS_ROOT/config/InstantDB1.properties file, you have nothing else to do, a db1.prp file is already supplied in this directory.