adformsctl.sh 与 adformsrvctl.sh, 10.1.2 及10.1.3

参考  http://blog.csdn.net/cai_xingyun/article/details/40393885  ,  adformsctl.sh 是开启forms oc4j ,  根据之后的adformsrvctl.sh
的描述,  adformsctl.sh 应该是开启 forms ( servlet mode ) ,  但是后面的  Forms OC4J from  10.1.3   Oracle _Home 是什么意思 ? 
因为  adformsrvctl.sh  是开启 socket mode 的 forms  (frmsrv executable from  10.1.2  Oracle_Home in Apps R12)  。 

因为原来学习到的是 : 
应用层主要由10gAS来组成, 但有两个不同的  ORACLE _HOME:
10.1.3 ORACLE_HOME : Web 应用 (HTTP, servlet, JSP, J2EE, etc)
10.1.2 ORACLE_HOME : Tools应用 (Forms, Reports, OCI applications like sqlplus, concurrent programs)

分别在 $INST_TOP/ora/10.1.2/ 下  及  $INST_TOP/ora/10.1.3/j2ee 下有看到 forms 。具体区别是 ?  


vi) adformsctl.sh
Script to start / stop Forms OC4J from 10.1.3 Oracle_Home. This script will also use opmnctl to start/stop Forms OC4J like
opmnctl stopproc type=oc4jinstancename=forms

vii) adformsrvctl.sh
This script is used only if you wish to start forms in socket mode. Default forms connect method in R12 isservlet.

If started this will start frmsrv executable from 10.1.2 Oracle_Home in Apps R12


The EBS app modules (formsapp.ear) are deployed into the OC4J-Forms instance running out of the OracleAS 10.1.3 ORACLE_HOME, while the Forms runtime process (frmweb) is calling from the OracleAS 10.1.2 ORACLE_HOME.

So in $INST_TOP/ora/10.1.2, you will fine the main configuration file appsweb.cfg etc for frmweb;
in $INST_TOP/ora/10.1.3/j2ee  , it is about the FORMs j2ee app.

This avoids having to run both 10.1.2 and 10.1.3 instances of the http server. And allow the  use of 10.1.2 forms java code with the 10.1.3 Application servers.

Once again , it goes back to the primary reason of why there are two Oracle HOME :
Tools oracle_home : forms , report ,as they are matured products , not much changes
Java oracle_home: java ,oc4j stuff, change continously. 

你可能感兴趣的:(adformsctl.sh 与 adformsrvctl.sh, 10.1.2 及10.1.3)