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.
Locate the
pentaho/server/pentaho-server/<your jboss installation directory>/modules/system/layers/base/sun/jdk/main
directory.Open the
module.xml
file with any text editor.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"/>
Save and close the
module.xml
file.Navigate to the
...modules/system/layers/base/sun/jdk/main/service-loader-resources/META-INF/services
directory.Find and remove this driver: java.sql.Driver.driver
PreviousStep 8: Update JNDI data source reference to conform to JBoss standardsNextStep 10: Update the security file
Last updated
Was this helpful?