Oracle Mobile Web Application (MWA) 学习小结(1)- 简略介绍

MWA Server

Oracle® Mobile Supply Chain Applications (MSCA) enables automated mobile user operations. This is performed using hand held radio frequency (RF) devices, PDA’s, and lift truck mounted RF scanners. The usage of mobile devices results in improved data accuracy and increased mobility and convenience thereby streamlining movement and reducing human errors.
Oracle MSCA is part of the Oracle Supply Chain Management solution, the integrated suite that streamlines design, planning, manufacturing and fulfillment.

参考网址:http://www.oracle.com/us/products/applications/057129.pdf

  1. MWA Service Management – Brief

  2. MWA Server

  3. Oracle Applications MWA Configuration

  4. Mobile Web Applications (MWA) Troubleshooting Tips for Release 12 Mobile Web Applications Server [ID 782162.1]

  5. Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 [ID 387859.1]

  6. Mobile Web Applications Server - MWA Troubleshooting Tips for E-Business Suite 11i and R12 Oracle Mobile Application Server [ID 269991.1]

Mobile Application Server - Advanced Configurations and Topologies for Mobile Web Applications (MWA) of E-Business Suite 11i and R12 (文档 ID 1081404.1)

WMA Configure

Setup

1.Source the APPLSYS.env

cd $INST_TOP/admin/install

2.Configure mwa.cfg
mwa.cfg 文件包括:Database Configuration,Logging,MSCA Server,Server Manager设置。

WMA Command

Starting 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]

启动端口:mwactl.sh -login apps/apps start [port number]

我们能用下面的语句来查看正在运行的MWA server:

ps -ef|grep mwa

Shutting Down the MWA Telnet Server

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

  1. Enter the following text:
cd $INST_TOP/admin/scripts
  1. 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.RAC database must use system administrator responsibility user

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

关闭端口:mwactl.sh -login apps/apps stop_force [port number]
mwactl.sh -login SYSADMIN/vindamanager stop_force 10238
mwactl.sh -login APPS/APPS stop_force 10238

如果要Start/Shut Down 系统中中所有MWA server,可以使用mwactlwrpr.sh

停止所有端口: mwactlwrpr.sh stop apps/apps
启动所有端口: mwactlwrpr.sh start apps/apps

MWA主要结构

MWA主要使用JAVA语言开发出JAVA程序包,再将此程序包关联到EBS系统中由StartMWA.bat进行访问。

JAVA程序:
WMA的JAVA程序主要由三部分组成:function,page,listener。
1.Function:为程序运行时调用的入口程序页面;主要用于定义WMA的首页面等信息及实现首页面跳转。
2.Page:page是在MWA上进行显示的页面,需要显示的项、LOV都需要在MWA上定义。
3.Listener:listener中定义事件的监听器,在界面进行操作触发的时间在此进行定义。

MWA发布顺序

编写好的JAVA包需要在EBS中定义,定义顺序为:
 1.将编译好的JAVA程序包上传到EBS服务器的 $OA_JAVA路径下该package的相应文件夹下,如:$OA_JAVA/oracle/apps/cux/demo/server。其中的文件夹与放置JAVA文件的文件夹相对应。
 2.将JAVA程序包挂到功能上,设置类型为移动设备应用产品,HTML调用为包名.function名。
 3.将功能挂到菜单上,定义可采用为oracle mobile应用产品,并定义数据组。
 4.将菜单挂到职责下。
 5.定义组织访问。
接下来就可以运行StartMWA.bat程序进行显示了。因为StartMWA.bat访问JAVA程序是通过定义的端口进行访问的,因此在程序进行修改,修改后再次运行软件之前需要重启端口。

遇到的问题及注意事项

 在将JAVA包定义到EBS上时,必须定义组织访问,否则不能显示。
 查看运行的日志文件或trace信息:在EBS服务器中运行:

cd $LOG_HOME
tail -f 111444.system.log  /  tail -f 11444.INV.log

 在使用定义的AK进行显示提示字段时,调用方法为:控制器对象类型.属性名称。

 导入JDBC的语句为:import oracle.jdbc.OracleCallableStatement;

在每次改动代码后运行StartMWA.bat之前一定要重启端口。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值