Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Configuring JNDI Services

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 Connection Factory - java:comp/env/jms/JMSConnectionFactory
JNDI services are configured in the following locations:
Project Module(s) File Purpose
commerce-extensions ext-cortex-webapp web.xml Injects the services into the web application.
commerce-extensions ext-cortex-webapp applicationContext-webapp.xml Brings the services into the OSGi environment.
commerce-engine ep-core

ep-core-*-messaging

*-blueprint.xml Makes 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.