Enhydra Director Integration

1. Enhydra Director Connector
2. Configuring EnhydraEnterprise 6.2.x (Jetty ver.) to use with Enhydra Director.

1. Enhydra Director Connector

Jetty connectors provide the external interface (over HTTP or HTTPS) to Jetty clients. There are two kinds of connectors - that that implement an HTTP stack of their owner (called HTTP connectors) and those (called web server connectors) that tie Jetty to an external web server like Apache (or IIS) or, in this case, to Enhydra Director.

In Enhydra5.1.xx and prior version, every Enhydra Multiserver application (configured to handle request from Enhydra Director) have separate connection (on different port) to Enhydra Director.

Unlike Enhydra5.1.xx, Jetty Connector, for Enhydra Director use only one connection (port) for all applications hosted on that instance of server.

2. Configuring EnhydraEnterprise 6.2.x (Jetty ver.) to use with Enhydra Director.

To use EnhydraEnterprise with Enhydra Director put "jetty-director.jar" to:


Since EnhydraEnterprise v6.2.2 distributions (Jetty ver.) uses Jetty5.1.1 as servlet container, all details related to connector configurations is in jetty5.xml:


in <Configure> section:

<Call name="addListener">
      <New class="org.enhydra.servlet.connectionMethods.EnhydraDirector.EnhydraListener">
      <Set name="Port">9003</Set>
      <Set name="MinThreads">10</Set>
      <Set name="MaxThreads">100</Set>
      <Set name="SessionAffinity">true</Set>
      <Set name="BindAddress">(All Interfaces)</Set>
      <Set name="AuthKey">(Unauthenticated)</Set>
      <Set name="ClientTimeout">300</Set>

Configuration parameters are:

1.Class that implements Enhydra Director Connector.


2.This instructs the Enhydra Director Connector to directly listen for requests on the specified port.

port = <port>

3. Minimum threads in threadpool for listener.

MinThreads = <MinThreads>

4. Maximum threads in threadpool for listener.

MaxThreads = <MaxThreads>

5.The idle timeout period for a client connection, in seconds. This is the amount of time to block without activity.

clientTimeout = <num>   (optional)

6.IP address of Enhydra Director host that is alowed to bind to this server instance.

bindAddress = <ipAdress> | "(All Interfaces)"  (optional)

7.The authKey .

authKey = <authKey> | "(Unauthenticated)"   (optional)