Wednesday, December 24, 2008

Oracle Moblie Application

MWA(Mobile Web Application) Server Setup

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 $MWA_TOP/secure directory.
2. Copy the file Mwa_template.cfg to the file mwa.cfg.
3. Edit the mwa.cfg file and configure following parameters:
a. Set mwa.DbcFolder=full directory of folder containing the .dbc file ending with “/”.
b. Set mwa.DbcFile=dbc file name
c. Set mwa.logdir=full directory of log file
d. Set mwa.TelnetPortNumber=default port#(10310)
e. Setmwa.DropConnectionTimeout= no. of minutes
f. Set mwa.StaleSessionTimeout= no. of minutes
g. Set mwa.LogLevel=error or trace
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 $MWA_TOP/secure 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
a. Associate Server-Defined actions to Device keys:
== eg. MWA_CLEAR_FIELD=CONTROLK=Clear
b. Specify a device
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 $MWA_TOP/secure 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:
a. Mapping by device name: Intermec 2415=intermec2415_key.ini
b. Mapping by IP address: 130.35.112.*=intermec2415.ini

Starting the MWA Telnet Server
To start the MWA telnet server complete the following procedure (at aUNIX/LINUX prompt):
1. Source the APPLSYS.env
2. Enter the following text:
cd $MWA_TOP/bin
3. Enter the following text:
mwactl.sh start [port number]


eg $MWA_TOP/bin/mwactl.sh start 10310

1 comment:

Anonymous said...

what is the full path behind $MWA_TOP