Migration

IG is delivered in this release as a standalone Java executable in a .zip file, as well as in a .war file. Consider these points to migrate from IG in web container mode to IG in standalone mode.

Session replication between IG instances

Use only stateless sessions, as described in "Sessions". Stateful sessions are not supported.

Streaming of asynchronous responses and events

In ClientHandler and ReverseProxyHandler, use only the default mode of asyncBehavior:non_streaming; responses are processed when the entity content is entirely available. If the property is set to streaming, the setting is ignored. For information, see "ClientHandler" and "ReverseProxyHandler".

Connection reuse when a client certificate is used for authentication

In ClientHandler and ReverseProxyHandler, use only the default mode of stateTrackingEnabled:true; when a client certificate is used for authentication, connections cannot be reused. If the property is set to false, the setting is ignored. For information, see "ClientHandler" and "ReverseProxyHandler".

Tomcat configuration alternative
Port number
  • Tomcat: Configure in the Connector element of /path/to/tomcat/conf/server.xml:

    <Connector port="8080" protocol="HTTP/1.1"
    connectionTimeout="20000"
    redirectPort="8443" />
  • Standalone: Configure the connectors property $HOME/.openig/config/admin.json, where $HOME/.openig is the instance directory. For information, see "AdminHttpApplication (admin.json)".

Configuring IG for HTTPS server-side
Session cookie name
  • Tomcat: Configure WEB-INF/web.xml when you unpack the IG .war file.

  • Standalone: Configure the session property of $HOME/.openig/config/admin.json, where $HOME/.openig is the instance directory. For information, see "AdminHttpApplication (admin.json)".

Access logs
JDBC datasource
Environment variables
  • Tomcat: Configure in /path/to/tomcat/bin/setenv.sh, where $HOME/.openig is the instance directory.

  • Standalone: Configure in $HOME/.openig/bin/env.sh, where $HOME/.openig is the instance directory.

Jar files
  • Tomcat: Add to to web container classpath; for example /path/to/tomcat/webapps/ROOT/WEB-INF/lib.

  • Standalone: Add to $HOME/.openig/extra, where $HOME/.openig is the instance directory.

Read a different version of :