This is an old revision of the document!


DRAFT

OdxNet Omnidex Network Services

ODXNET (Omnidex Network Server) is the client/server listener program that runs as a socket listening process on a UNIX or Windows server, trafficking client requests. ODXNET uses pooled processes to increase connection speed and preconnected processes can also be configured to further improve connection speed.

By default, ODXNET creates pooled processes for each application type (ODBC, JDBC, OmniAccess) automatically when the listener is started. Each client connection attempts to use a pooled process unless explicitly directed through an option to have a new process created.

Each application type comes with a generic application pool that is used by ODXNET. Environment specific application pools can be setup in the ODXNET configuration file for the listener.

OdxNet Setup

Setting up ODXNET varies depending on the operating system and intended use.

Modify the ODXNET configuration file

First, create or modify the ODXNET configuration file. This file contains settings that ODXNET will use at run-time.

The configuration file should be used in a production environment but can be optionally omitted for a test environment. Most of the required settings have defaults that will be used if the configuration file is omitted. However, some scenarios, such as setting up a Windows NT Service or creating environment specific application pools, require settings that can only be defined in the configuration file.

Set the required environment variables.

Certain operating system Environment variables should be set up that OdxNet may need for proper access to Omnidex libraries.

Start the listener process.

The simplist way to start OdxNet is to simply enter the name at the operating system command line.

os> odxnet

This will start ODXNET using default configuration values and listening on PORT 7555.

Set up the client.

Omnidex client must be installed on each client machine intending to connect to an Omnidex environment.

Test the connection.

It is always a good idea to test the connection before trying to use a client application with the data source. The Windows client tool DS EDIT is ideal for this. Run the client application.

C:\dev\odx> odxnet -?


Omnidex Network Server                              Tue Dec 01 08:57:46 2009
(C) Dynamic Information Systems Corporation                   Version 5.0.00

ODXNet - Omnidex Network Server

   odxnet runs as a socket listening process to enable client/server
   connections to Omnidex.  Valid directives are:

   odxnet [<cnfgfile>]
            [-port=n]
            [-maxsons=n]
            [-bufsize=n]
            [-nopools]
            [-usegenpools]
            [-nohostaddresslookup]
            [-NoPrintfs]
            [-idletimeout=numminutes]
            [-nontservice]
            [-debug=ALL | PROCESS | APPS | CONNECTIONS]
            [-tfile=<traceFilename>]
            [-topts=<traceOptions>]
   odxnet [-shutdown]
            [-delay=n]
            [<cnfgfile>]
            [-port=n]
   odxnet [<cnfgfile>]
            [-ntservice=<unique service name>]
            -ntsrvaction=<INSTALL | INSTALL_AUTO | DELETE |
                           START | STOP | PAUSE | CONTINUE>
   odxnet [-admin=[GENERAL | SONLIST | ALL]
            [<cnfgfile>]
            [-port=n]
   odxnet -help | -?
   odxnet -version
 
Back to top
programs/odxnet/home.1260143835.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)