> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/install/9.3-install/pentaho-installation-overview-cp/manual-installation/manual-installation-process/prepare-jboss-connections-and-web-app-servers/install-jdbc-driver-as-a-module-in-jboss/step-8-update-jndi-data-source-reference-to-conform-to-jboss-standards.md).

# Step 8: Update JNDI data source reference to conform to JBoss standards

Update these files so that referenced JNDI datasources conform to JBoss standards.

1. Use a text editor to open the `pentaho/server/pentaho-server/pentaho-solutions/system/quartz/quartz.properties` file. Change the **org.quartz.dataSource.myDS.jndiURL** value to **jboss/datasources/Quartz**, then save and close the file.
2. Use a text editor to open the `pentaho/server/pentaho-server/pentaho-solutions/system/audit_sql.xml` file. Change the JNDI value to **jboss/datasources/Hibernate**, then save and close the file.
3. Use a text editor to open the `pentaho/server/pentaho-server/pentaho-solutions/system/data-access/settings.xml` file. Change the **data-access-staging-jndi** value to **jboss/datasources/Hibernate**, then save and close the file.
4. Open the `pentaho/server/pentaho-server/pentaho-solutions/system/audit/dialects/h2` directory, making sure to open the file from the correct folder.

   Use the text editor to open each file in the `H2` directory and make the following changes:

   * Change **\<database>Audit\</database>** to **\<database>jboss/datasources/Audit\</database>**.
   * Change **\<database>Hibernate\</database>** to **\<database>jboss/datasources/Hibernate\</database>**.
5. Navigate to the `server/pentaho-server/pentaho-solutions/system/hibernate` directory and open the `.hibernate.cfg.xml` file corresponding to your repository database with any text editor.

   For the default PostgreSQL database, the file is `postgresql.hibernate.cfg.xml`.
6. Revise the `<property name="hibernate.connection.datasource">java:comp/env/jdbc/Hibernate</property>` entry to the value `<property name=“hibernate.connection.datasource”>java:jboss/datasources/Hibernate</property>`.
7. Save and close the file.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/install/9.3-install/pentaho-installation-overview-cp/manual-installation/manual-installation-process/prepare-jboss-connections-and-web-app-servers/install-jdbc-driver-as-a-module-in-jboss/step-8-update-jndi-data-source-reference-to-conform-to-jboss-standards.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
