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. AbstractQueuedSynchronizer 原理分析 - 独占/共享模式

    1.简介 AbstractQueuedSynchronizer (抽象队列同步器,以下简称 AQS)出现在 JDK 1.5 中,由大师 Doug Lea 所创作.AQS 是很多同步器的基础框架,比如 ...

  2. AbstractQueuedSynchronizer源码解读

    1. 背景 AQS(java.util.concurrent.locks.AbstractQueuedSynchronizer)是Doug Lea大师创作的用来构建锁或者其他同步组件(信号量.事件等) ...

  3. JDBC访问数据库的一些小技巧

    一. 连接 1.使用try with resources关闭JDBC资源 示例代码如下: public List<User> getUser(int userId) { try (Conn ...

  4. 使用Linux脚本更新Weblogic部署的应用程序

    在利用Jenkins实现Weblogic应用自动部署的功能时,如何通过Shell 脚本自动更新Weblogic部署的应用程序呢? 可以使用weblogic.jar包中的weblogic.Deploye ...

  5. Android图表库MPAndroidChart(七)—饼状图可以再简单一点

    Android图表库MPAndroidChart(七)-饼状图可以再简单一点 接上文,今天实现的是用的很多的,作用在统计上的饼状图,我们看下今天的效果 这个效果,我们实现,和之前一样的套路,我先来说下 ...

  6. 用Python最原始的函数模拟eval函数的浮点数运算功能

    前几天看一个网友提问,如何计算'1+1'这种字符串的值,不能用eval函数. 我仿佛记得以前新手时,对这个问题完全不知道如何下手. 我觉得处理括号实在是太复杂了,多层嵌套括号怎么解析呢?一些多余的括号 ...

  7. Android底部导航栏

    Android底部导航栏 今天简单写了一个底部导航栏,封装了一个库,用法比较简单 效果图 Github地址:https://github.com/kongqw/KqwBottomNavigation ...

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

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

  9. JAVA之旅(三十五)——完结篇,终于把JAVA写完了,真感概呐!

    JAVA之旅(三十五)--完结篇,终于把JAVA写完了,真感概呐! 这篇博文只是用来水经验的,写这个系列是因为我自己的java本身也不是特别好,所以重温了一下,但是手比较痒于是就写出了这三十多篇博客了 ...

  10. mac os X下的updatedb

    unix或linux下使用locate指令在其数据库中查询文件,使用updatedb可以 更新locate的数据库.而在mac os X下却找不到updated这个程序.使用 man locate查看 ...