Configuring Direct IOS for WebSphere

Use the instructions to configure Direct IOS for WebSphere.

  1. Log in to the server that is hosting the Infor Lawson System Foundation environment.
  2. Ensure that the $LAWDIR/system/services.cfg exists.
  3. If not, copy the services.cfg from $GENDIR/install to $LAWDIR/system.
    Note: Entries exist in the copied file and they are listed in the table below:
    Entry name Description
    CONTEXT_FACTORY

    The context factory to be used by the remote APIs.

    If the client is running inside IBM WebSphere, as a web or enterprise application, the recommended value is:

    com.ibm.websphere.naming.WsnInitialContextFactory

    For standalone applications, the recommended context factory is the SUN provided:

    com.sun.jndi.cosnaming.CNCtxFactory

    SERVER_NAME

    A comma-delimited list of server name(s) where LSF is hosted on.

    The hostname must be the fully-qualified domain name of the Infor Lawson System Foundation server. If your Infor Lawson System Foundation server is clustered, you will need to specify more than one hostname.

    SERVER_IIOP_PORT

    A comma-delimited list of the Application Server IIOP/Remoting listening ports.

    This value can be found through the WebSphere Administrative Console.

    Navigate to Servers > Server Types > WebSphere application servers, and then click the server name. In the Communications section, expand the Ports list. Type the value that is in the BOOTSTRAP_ADDRESS "Port" column.

    If your Infor Lawson System Foundation setup is clustered, you must specify more than one port. If you are listing more than one port, the port sequence must match its partner hostname in the SERVER_NAME parameter.

    For horizontally scaled configurations, refer to the example below:

    Infor Lawson System Foundation is hosted on 3 servers of names lsfserver1 to lsfserver3, on the domain acme.com, and your ports are all 2809:

    serverName: lsfserver1.acme.com, lsfserver2.acme.com, lsfserver3.acme.com

    serverIIOPPort: 2809, 2809, 2809

    For vertically scaled configurations, refer to the example below:

    Infor Lawson System Foundation is hosted on server lfserver1.acme.com, and the IIOP ports are 2809, 2810 and 2811:

    serverName: lsfserver1.acme.com, lsfserver1.acme.com, lsfserver1.acme.com

    serverIIOPPort: 2809, 2810, 2811

    SERVER_ NAMESPACE

    The server name space is the location with the naming directory where the remote IOS objects will be retrieved.

    Example

    cell/nodes/<node name>/servers/<server name>/

    For cluster configuration:

    clusters/<cluster name>/

  4. Restart the WebSphere Application Server where your Infor Lawson System Foundation Environment is running.