Upgrading JNDI Data Source Usage

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 »
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助