Configuring the database access

You must have configured a Database. The jndi name used in the bean is jdbc_1. See the section called Database access in the chapter called Getting started with JOnAS in this tutorial or Configuring the database access in JOnAS documentation.

You do not have to create the database (table), it will be done by the application (the first time you launch the EJB 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.