Contents
 Contents

JNDI Environment

The following parameters should be specified within the environment passed to JNDI while looking up for an admin object from the FioranoMQ Server. The FioranoMQ Server would be running on the default socket acceptor configuration.

Icon
  • An application can use the actual string values of the static variables defined in javax.naming.Context class.
  • An application can also specify these parameters in a file called jndi.properties, located in the working directory of the application. The user code does not need to pass any parameters programmatically.

Looking up from Server Running on HTTP Protocol

In addition to specifying the jndi parameters as mentioned in the preceding section, the application needs to specify the protocol as HTTP. This is done by adding the following line to the application code:

Icon

Since the code uses the FioranoJNDIContext class, the following must be added to the code:

Code modifications are not required when viewed from an external JNDI repository or when picking up environment variables from jndi.properties.

Viewing from Server Running on JSSE Protocol

When viewing from a server running on JSSE protocol, the application, besides specifying the jndi parameters specified above, should also specify the protocol as JSSE_SSL. In addition, it should specify the security manager. This can be done by adding the following line to the application code:

Icon

Since the code uses the FioranoJNDIContext class, the following must be added to the code:

Looking up from Server Running on LPC Protocol

When viewing from a server running on LPC protocol, the application should specify the protocol as LPC in addition to specifying the jndi parameters mentioned above. This is done by adding the following line to the application code:

Icon

Since the code uses the FioranoJNDIContext class, the following must be added to the code:


Adaptavist ThemeBuilder EngineAtlassian Confluence