Upgrading JNDI Data Source Usage

Upgrading Frameworks and Features

Step 1 of 4

In Liferay DXP’s OSGi environment, you must use the portal’s class loader to load the application server’s JNDI classes. An OSGi bundle’s attempt to connect to a JNDI data source without using Liferay DXP’s class loader results in a java.lang.ClassNotFoundException.

For more information on how to do this, see the Connecting to JNDI Data Sources article.

« Upgrading Frameworks and FeaturesUpgrading Service Builder Service Invocation »
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0