#### Specifying data source in dbconfig.xml

By default, JReport Enterprise Server assumes that jreport.datasource.systables=file:///${rpthome}/bin/dbconfig.xml. You can specify either a JDBC or JNDI data source using the `<datasource></datasource>` tags in the dbconfig.xml file.

For details about configuring the JDBC data source, see Configuring the server database in a standalone environment.

The following is an example of specifying the JNDI data source:

    <?xml version="1.0" encoding="UTF-8"?>
    <dbconfig>
    <workspace name="defaultRealm">
    <database name="systables">
    <datasource>jndi://datasource-name</datasource>
    </database>
    </workspace>
    </dbconfig>