MWA Server

This chapter covers the following topics:

Introduction

This chapter provides basic information on configuring and operating the mobile web application (MWA) server and dispatcher. For more information see the following My Oracle Support notes:

Overview of the Mobile Supply Chain Application Server

The Oracle Mobile Supply Chain Applications Server is a java based mobile server that supports the Telnet Protocol. The Telnet Server module has two sub-modules:

The following illustration depicts how a mobile application request is handled:

Mobile Application Request Sequence

the picture is described in the document text

Setting Up the MWA Server

The following paragraphs contain information on setting up the mobile web application (MWA) server.

Important: Configuring Key Mappings for the Oracle Mobile Supply Chain Applications for Oracle E-Business Suite Application (Smartphone Mobile App): Use the mobile_key.ini file to configure key mappings for the Oracle Mobile Supply Chain Applications for Oracle E-Business Suite. For information about the key mapping setup, see My Oracle Support document, Oracle Mobile Supply Chain Applications for Oracle E-Business Suite Release Notes.

MWA Configuration File: Configure mwa.cfg

The following procedure lists the steps necessary to configure the mwa.cfg file.

  1. Locate the mwa.cfg file in the $INST_TOP/admin/install directory.

  2. Copy the file Mwa_template.cfg to the file mwa.cfg

  3. Edit the mwa.cfg file and configure following parameters

    1. Set mwa.DbcFolder=full directory of folder containing the .dbc file ending with “/”.

    2. Set mwa.DbcFile=dbc file name

    3. Set mwa.logdir=full directory of log file

    4. Set mwa.TelnetPortNumber=default port#

    5. Setmwa.DropConnectionTimeout= no. of minutes

    6. Set mwa.StaleSessionTimeout= no. of minutes

    7. Set mwa.LogLevel=error or trace

Key Mappings: Configure default_key.ini

The following procedure lists the steps necessary to configure the default_key.ini file.

  1. Locate the default_key.ini file in the $INST_TOP/admin/install directory.

  2. Use the default_key.ini file if you do not need to make any changes.

  3. If you need to make customizations, create a new file e.g. intermec2415_key.ini

    1. Associate Server-Defined actions to Device keys:

      <Action> =<Key>=<Description> eg. MWA_CLEAR_FIELD=CONTROLK=Clear

    2. Specify a device

Device IP: Configure Device IP.ini

The following procedure lists the steps necessary to configure the deviceIP.ini file.

  1. Locate the deviceIP.ini file in the $INST_TOP/admin/install directory.

  2. Copy the deviceIP_template.ini file to the deviceIP.ini file. This file associates a device with a key mapping file.

  3. Map the device name and IP address as follows:

    1. Mapping by device name: Intermec 2415=intermec2415_key.ini

    2. Mapping by IP address: 130.35.112.*=intermec2415.ini

Verify Environment

To ensure you installed your environment properly, verify the following information:

Configure MWA Dispatcher

Use the following procedures to configure and manage the dispatcher to perform load balancing among multiple MWA servers.

Setup Dispatcher parameters in mwa.cfg

The following procedure lists the steps required to setup dispatch parameters in the mwa.cfg file.

  1. Specify the port number and machine for running the dispatcher where

    mwa.Dispatcher=hostname:port#

    Note: The dispatcher uses three consecutive ports for internal control.

  2. Specify the dispatcher worker thread count where

    mwa.DispatcherWorkerThreadCount=15

  3. Specify the dispatcher clients per worker where

    mwa.DispatcherClientsPerWorker=10

Running MWA Server

The following paragraphs describe how to run the MWA server.

Additional Information: You can use the following information while running the MWA server.

To start the MWA Telnet Server

To start the MWA telnet server, complete the following procedure (at a UNIX/LINUX prompt):

  1. Source the APPLSYS.env

  2. Enter the following text:

      cd $INST_TOP/admin/scripts
    
    
  3. Enter the following text:

      mwactl.sh start [port number]
    
    

To shut down the MWA Telnet Server

To shut down the MWA telnet server, complete the following procedure (at a UNIX/LINUX prompt):

  1. Enter the following text:

     cd $INST_TOP/admin/scripts
    
    
  2. Enter the following text where xxx is application user id with system administrator responsibility or a valid database user and yyy is the application user password.

    mwactl.sh-login xxx/yyy stop [port number] 
    
    

Starting/Shutting down the MWA Servers and Dispatcher

You can use the MWA Dispatcher to balance user load across many MWA Servers. Users connect to a single dispatcher port. The Dispatcher then re-directs each connection to one of the available servers associated with that dispatcher.

Starting the MWA Servers and Dispatcher

To start two MWA servers and the MWA Dispatcher complete the following procedure (at a UNIX/LINUX prompt):

  1. Source the APPLYSYS.env.

  2. Enter the following text:

    cd $INST_TOP/admin/scripts
    
    
  3. Enter the following text to start the server:

     mwactl.sh start 2310 (or any port number)
    
    
  4. Enter the following text to start the server:

    mwactl.sh start 2320 (or any other port number).
    
    
  5. Enter the following text to start the dispatcher:

     mwactl.sh start_dispatcher
    
    

    You connect to the Dispatcher port 2300. The dispatcher distributes mobile users between the two MWA servers. You can select control-X to view the MWA server port#, host name and other connection information.

Shutting Down the MWA Servers and Dispatcher

To shutdown the MWA servers and the MWA Dispatcher complete the following procedure (at a UNIX/LINUX prompt):

Source the APPLYSYS.env.

  1. Enter the following text:

     cd $INST_TOP/admin/scripts
    
    
  2. Enter the following text where xxx is application user id with system administrator responsibility or a valid database user, yyy is the application user password, and 2310 is the port number of the first server.

     mwactl.sh-login xxx/yyy stop 2310  
    
    
  3. Enter the following text where xxx is application user id with system administrator responsibility, yyy is the application user password, and 2320 is the port number of the second server.

  4. mwactl.sh-login xxx/yyy stop 2320

  5. Enter the following text:

     mwactl.sh stop_dispatcher. 
    
    

    Note: The MWA server terminates only when all mobile users are disconnected. New users cannot sign-on when the server is stopped. If you want to terminate the server while users are connected, you can use the stop_force command in place of the stop command to stop the server immediately.

Alternating MWA Servers and Dispatcher

You can establish a rotation of multiple MWA servers managed in conjunction with the dispatcher to avoid impacting daily operations. For Example: You can use one Dispatcher to manage to sets of MWA Servers (MWA Servers Set A and MWA Servers Set B respectively). You can set the rotation as follows:

Servers
MWA Servers Week 1 Week 2 Week 3
MWA Servers Set A 12:00am start 12:05 am stop 12:00am start
MWA Servers Set B 12:05 am stop 12:00am start 12:05 am stop

You can adjust the times and numbers of servers to match you shift schedule and volume of users.

Accessing MWA Server

You can use a telnet client to access the Oracle Applications Mobile User Interface. Connect to the machine where the MWA server is running on the port number where the server has been started or on the port number of the dispatcher.

For example, if the MWA server was started on mwa.oracle.com on port 2323, then you use a telnet client access to the Oracle Applications UI to connect to mwa.oracle.com on port 2323. To access the UI from a mobile device, you configure the telnet client on the device to access the IP of the machine on the appropriate port. To access the UI from a desktop computer, you can use a compatible telnet client to connect to the appropriate machine and port number.

Note: The default telnet client that ships with Windows 2000 and later is not compatible with character mode User interfaces using the telnet protocol, which includes the Oracle Applications Mobile UI. Refer to the Microsoft Knowledge Base Article #253918 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q253918) for more information. As per the instructions on this support note, to use a GUI based telnet client on a Windows 2000 machine, it is necessary to copy the telnet client that shipped with Windows NT or obtain a third party telnet client software.

After you complete the change recommended in the knowledge base article, you can access the mobile UI. Launch the following executable from a command prompt where server.mwa.com represents the machine, and 2323 represents the port number: telent32.exe ap100.mwa.com 2323.

Logging in to the Oracle Mobile Web Application Using Single Sign-On Credentials

You can use your single sign-on (SSO) credentials to log in to the Oracle mobile web application (MWA) server. The SSO option simplifies the log on process because only a single password is required to access your password-protected enterprise applications. For more information about how to enable SSO for MWA, see My Oracle Support note ID 2103675.1, E-Business Suite Mobile Application Server Steps To Enable SSO For MWA Server R12.x.

Note: This option is supported only for instances enabled with single sign-on.

Prerequisites