> 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-9-enable-jboss-classloader-to-load-classes-from-sun-jdk.md).

# Step 9: Enable JBoss classloader to load classes from Sun JDK

JBoss allows a specific set of packages from the JDK to load by default. To configure the Pentaho platform in JBoss, add this list of packages.

1. Locate the `pentaho/server/pentaho-server/<your jboss installation directory>/modules/system/layers/base/sun/jdk/main` directory.
2. Open the `module.xml` file with any text editor.
3. Add these three lines below the list of packages in the `module.xml`.

   ```
   <path name="sun/net/www/protocol/jar"/>
   <path name="sun/net/www/protocol/jar/JarURLConnection"/>
   <path name="com/sun/org/apache/xerces/internal/jaxp/datatype"/>

   ```
4. Save and close the `module.xml` file.
5. Navigate to the `...modules/system/layers/base/sun/jdk/main/service-loader-resources/META-INF/services` directory.
6. Find and remove this driver: **java.sql.Driver.driver**


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
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-9-enable-jboss-classloader-to-load-classes-from-sun-jdk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
