EBS R12中forms的模式有:Servlet mode 和 Forms Socket mode

当我们完成Oracle EBS R12套件的快速安装后,forms的默认配置是Servlet mode。这种模式有利于公用网络(如Internet)的访问,但对于ERP局域网的用户而言,Forms Socket mode的效率更高。一般内部的ERP用户访问的Web服务器采用Forms Socket mode,而外部的用户访问的Web服务器则采用Servlet mode。

一、更改forms的模式由Servlet mode 到Forms Socket mode:

①检查当前forms的模式:

[root@ebsr12 ~]# su - applmgr

[applmgr@ebsr12 ~]$ cd /u01/oracle/PROD/apps/apps_st/appl/

[applmgr@ebsr12 appl]$ . ./APPSPROD_ebsr12.env 

[applmgr@ebsr12 appl]$ 

[applmgr@ebsr12 appl]$ cd $ADMIN_SCRIPTS_HOME

[applmgr@ebsr12 scripts]$ ./adformsrvctl.sh status

You are running adformsrvctl.sh  version 120.15.12010000.3

Forms Connect Mode is set to Servlet. Please Change Forms Mode to socket and then run this script.

adformsrvctl.sh: exiting with status 1

[applmgr@ebsr12 scripts]$

or:

[applmgr@ebsr12 scripts]$ cat $CONTEXT_FILE | grep s_frmConnectMode

         <forms_connect oa_var="s_frmConnectMode">servlet</forms_connect>

②停止所有的APPS Tier Services:

[applmgr@ebsr12 scripts]$ ./adstpall.sh apps/oracle

[applmgr@ebsr12 scripts]$ ps -ef |grep applmgr

[applmgr@ebsr12 scripts]$

③运行下面更改命令:

[applmgr@ebsr12 scripts]$ $FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \

-contextfile=/u01/oracle/PROD/inst/apps/PROD_ebsr12/appl/admin/PROD_ebsr12.xml \

-mode=socket -port=9095 -runautoconfig=No

注:-contextfile是context file的全路径;-port是Forms在Socket模式运行的端口号(默认9095),当Forms在Servlet模式运行时没有附加的端口号,依附http server port上。

④在apps tier运行autoconfig:

[applmgr@ebsr12 scripts]$ ./adautocfg.sh

⑤启动所有的application tier services

[applmgr@ebsr12 scripts]$ ./adstrtal.sh apps/oracle

⑥检查更改后forms的模式:

[applmgr@ebsr12 scripts]$ ./adformsrvctl.sh status

You are running adformsrvctl.sh  version 120.15.12010000.3

Checking status of FORMS Server (Socket Mode) ...

Forms Server (Socket) is running as PID  32610 

adformsrvctl.sh: exiting with status 0

adformsrvctl.sh: check the logfile /u01/oracle/PROD/inst/apps/PROD_ebsr12/logs/ora/10.1.2/forms/socket.log for more information ...

[applmgr@ebsr12 scripts]$ 

[applmgr@ebsr12 scripts]$ cat $CONTEXT_FILE |grep s_frmConnectMode

         <forms_connect oa_var="s_frmConnectMode">socket</forms_connect>

[applmgr@ebsr12 scripts]$

二、如果要更改Forms Socket mode到Servlet mode,所有的步骤和上面的基本一样,只需更改如下:

$FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \

-contextfile=/u01/oracle/PROD/inst/apps/PROD_ebsr12/appl/admin/PROD_ebsr12.xml \

-mode=servlet -runautoconfig=No

验证Forms的servlet模式应该反映的“Mode”指令显示在Sun Java控制台启动时:

forms-      based applications, is set to http,native

Direct Forms Servlet Launch is:
web_protocol>://<web_host>.<web_domain>:<web_port>/forms/frmservlet

///========

手工管理Forms Server:

On UNIX:

$INST_TOP/admin/scripts/adformsrvctl.sh start | stop | status

Reference: Metalink ID : 384241.1

更改EBS R12中forms的模式Servlet/Socket的更多相关文章

  1. MO_GLOBAL - EBS R12 中 Multi Org 设计的深入研究 (3)

    这是多组织访问的第三篇文章,翻译自Anil Passi的MO_GLOBAL-Dive into R12 Multi Org Design 我希望你已经读了文章 EBS R12 中的 Multi Org ...

  2. MO_GLOBAL - EBS R12 中 Multi Org 设计的深入研究 (2)

    这是多组织访问的第二篇文章,翻译自Anil Passi的Multi Org R12 我们都知道,在Oracle Release 12中多组织模型(Multi Org)会被改变, 它被叫作多组织访问控制 ...

  3. 两种方法 更改 EBS R12界面LOGO以及内容

    from:metalink more: Note 174219.1 - How To Change The Logo In The Oracle Application Menu Note 84975 ...

  4. 两种步骤 更改 EBS R12界面LOGO以及内容

    from:metalink more: Note 174219.1 - How To Change The Logo In The Oracle Application Menu Note 84975 ...

  5. MO_GLOBAL - EBS R12 中 Multi Org 设计的深入研究(1)

    在改EBS的BUG过程中,会在网上查找很多资料,这次是碰到一个多组织(Multi Org)的问题,发现Anil Passi写的几篇文章不错,慢慢的会陆续翻译过来,这次翻译的是http://getapp ...

  6. EBS R12中重新enable失效用户之后,丢失职责

    以下请求跑完不能立即生效,需要等上一段时间! oracle support说这并不是一个bug,是一个问题,呵呵,bug和问题,都是你的错,oracle! 工 作中将某个用户失效之后,有可能又需要重新 ...

  7. EBS R12中FND凭证打印警告:OPP响应超时

    接近年关,最近年结忙的飞起,此为背景,今天运维那边反应日记账凭证打印报错,看了下后台请求发现请求有警告. 查看日志发现报了“并发:OPP响应超时”的警告,这个地方响应超时可能是配置文件中“并发:OPP ...

  8. R12中注册客户化应用为多组织应用

    Oralce EBS R12中引入了MOAC的控制,所有多OU的表对象都添加了数据库VPD的控制策略,需要访问这些对象中的数据,首先需要进行多组织环境的初始化,但是如果客户化的应用中也需要具备多OU的 ...

  9. Oracle EBS R12 XML数据表格的Excel脚本报表

    http://www.cnblogs.com/quanweiru/archive/2012/07/28/2612680.html 一.概述 在EBS系统中,报表是一个非常重要的客户化开发内容,也是系统 ...

随机推荐

  1. Android Studio: You need to use a Theme.AppCompat theme (or descendant) with this activity.

    错误描述为: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with ...

  2. Linux文件编辑命令详细整理

    刚接触Linux,前几天申请了个免费体验的阿里云服务器,选择的是Ubuntu系统,配置jdk环境变量的时候需要编辑文件. vi命令编辑文件,百度了一下,很多回答不是很全面,因此编辑文件话了一些时间. ...

  3. linux C 获取与修改IP地址

    主要有两种方法: 一种是用system执行shell命令,如: system("ifconfig usb0 192.168.1.188"); 另一种用ioctl系统调用: int ...

  4. 【Android应用开发】 Universal Image Loader ( 使用简介 | 示例代码解析 )

    作者 : 韩曙亮 转载请注明出处 : http://blog.csdn.net/shulianghan/article/details/50824912 相关地址介绍 : -- Universal I ...

  5. Web Service进阶(三)HTTP-GET, HTTP-POST and SOAP的比较

    XML Web Service支持三种协议来与用户交流数据.这三种协议分别是: 1.SOAP:Simple Object Access Protocol 2.HTTP-GET 3.HTTP-POST ...

  6. lucene查询索引库、分页、过滤、排序、高亮

    2.查询索引库 插入测试数据 xx.xx. index. ArticleIndex @Test public void testCreateIndexBatch() throws Exception{ ...

  7. iOS开发之字数不一的多标签Demo

    有朋友让帮他写一个封装的字数不一的多标签视图,所以今天将代码展示一下,供大家学习 代码中封装了两种方法,分别是:1.传递数组,数组中是NSString类型的方法:2.传递数组,数组中是NSDictio ...

  8. LInux last命令详解

    命令简介:     该命令用来列出目前与过去登录系统的用户相关信息.指令英文原义:show listing of last logged in users 执行权限 :有些需要特殊权限 指令所在路径: ...

  9. HTML5中 基本用法及属性 韩俊强的博客

    从今天开始更新H5相关学习:希望大家能一起学习,多学习一门语言,多一门乐趣! 了解Html5: Html5基本属性: <!DOCTYPE html> <html lang=" ...

  10. android开发之broadcast学习笔记

    android中的广播用的太多了,今天稍微总结一下. 按注册方式分为两种: 1.静态注册广播: 静态注册广播就是在androidManifest.xml文件中注册广播,假设我们要实现这样一个效果,在一 ...