Skip to main content
Version: 8.5.x

Configuring JNDI Services

Cortex makes use of JNDI Services provided by the application server. By default Cortex is configured to use the following services:

  • Datasource - java:comp/env/jdbc/epjndi
  • JMS (Java Messaging Service) Connection Factory - java:comp/env/jms/JMSConnectionFactory

JNDI services are configured in the following locations:

ModuleSubmoduleFilePurpose
extensionsext-cortex-webappweb.xmlInjects the services into the web application.
extensionsext-cortex-webappapplicationContext-webapp.xmlBrings the services into the OSGi environment.
commerce-engineep-core, ep-core-*-messaging*-blueprint.xmlMakes JNDI services visible to each bundle requiring service access.

If you are changing the names of default services or adding new services you need to ensure that the configuration is updated in all relevant locations.