Application Integration (On-Premises) : Administering the Software AG Infrastructure : Running Web Applications : Configure JNDI Resources : Configure Environment Entries
Configure Environment Entries
Define environment entries using a dynamic configuration subsystem, typically property files whose names start with com.softwareag.catalina.env.pid (for example, com.softwareag.catalina.env.pid-petstore.properties). Store the configuration files in the Software AG_directory \profiles\CTP\configuration\com.softwareag.platform.config.propsloader directory. You can use the properties listed below in the environment entry configuration.
Property
Description
context
Optional. Name of the web context of the application into which to inject the resource configuration (for example, petstore). If the property is missing, the resource configuration will be injected into all web applications.
enabled
Optional. Indicates whether to have the JNDI injector process the resource configuration. Valid values are true (default) and false.
(1-9).name
Required. Name under which to bind the resource in the java:/comp/env namespace of the web application. The value is relative. For example, jdbc/JPetStoreDB means the absolute name of the resource will be java:/comp/env/jdbc/JPetStoreDB.
(1-9).type
Required. Fully qualified name of the environment entry class (for example, javax.lang.String).
(1-9).value
Required. Value to return when this environment entry is looked up through JNDI by its name or injected as a @Resource.
(1-9).override
Optional. Indicates whether an environment entry in the web.xml can override the same environment entry defined in a more global configuration (for example, the context.xml or server.xml file). Valid values are true (default) and false.
Below is a sample environment entry configuration.
context=/petstore1.name=env/
JPetStoreEnvConfiguration1.type=java.lang.
String1.value=EnvConfigurationValue
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback