Oracle EBS12.2 注册客制化应用
一、Oracle APP和DB的基本信息 1、应用和数据库环境: Application Node in Linux7.3 Database Node on Linux 7.3 2、Oracle EBS 应用版本: R12.2.6 on Linux7.3 x_86(64bit) 3、数据库信息: Oracle Database R12.1.0.2 on Linux 7.3 x_86(64bit) 二、实现步骤 1、在数据库中创建cux用户,并授权。相关命令如下: --(1)创建cux用户 CREATEUSERCUXIDENTIFIEDBYCUX DEFAULTTABLESPACEAPPS_TS_TX_DATA TEMPORARYTABLESPACETEMP1 PROFILEDEFAULT ACCOUNTUNLOCK; --(2)给出现用户授权 GRANTCONNECT,RESOURCETOCUX; GRANTCREATEANYCONTEXTTOCUX; GRANTCREATEANYTYPETOCUX; GRANTCREATECLUSTERTOCUX; GRANTCREATEDATABASELINKTOCUX; GRANTCREATEDIMENSIONTOCUX; GRANTCREATEINDEXTYPETOCUX; GRANTCREATELIBRARYTOCUX; GRANTCREATEMATERIALIZEDVIEWTOCUX; GRANTCREATEOPERATORTOCUX; GRANTCREATEPROCEDURETOCUX; GRANTCREATEPUBLICSYNONYMTOCUX; GRANTCREATESEQUENCETOCUX; GRANTCREATESYNONYMTOCUX; GRANTCREATETABLETOCUX; GRANTCREATETRIGGERTOCUX; GRANTCREATETYPETOCUX; GRANTCREATEVIEWTOCUX; 2、在Oracle官方网站下载3636980补丁,补丁为p3636980_R12_GENERIC.zip。 3、解压补丁p3636980_R12_GENERIC.zip,并将一下三个文件从p3636980_R12_GENERIC3636980izuadmin 下copy到当前用户的desktop/下。文件如下: izuprod.txt izuterr.txt newprods.txt 4、izupord.txt重命名为cuxprod.txt,izuterr.txt重命名为cuxterr.txt。相关命令如下: mvizupord.txtcuxprod.txt mvizuterr.txtcuxterr.txt 5、使用文本编辑器打开cuxprod.txt文件,将izu替换为cux,将IZU替换为CUX. %%%Splicercontrolfileformat12.0.A # #$Header:newprods.txt120.12006/09/2012:57:45jaobriennoship$ # # #SectionforOracleSupportDiagnosticTools product=cux base_product_top=*APPL_TOP* oracle_schema=cux sizing_factor=100 main_tspace=APPS_TS_TX_DATA index_tspace=APPS_TS_TX_IDX temp_tspace=TEMP1 default_tspace=APPS_TS_TX_DATA #endofOracleSupportDiagnosticTools 6、使用文本编辑器打开cuxprod.txt,完成一下操作: (1)将cuxprod.txt文档中所有的izu替换为cux,IZU替换为CUX。 (2)修改产品的applID,将278修改为50000以上没有被使用的APPLID。检查APPLID的SQL语句如下: SQL>select decode(count,'SelectednumberisAvailable','Selectednumberalreadyin use')Status,&&enter_custom_applID selected_number from ( selectcount(*)ascountfrom ( select'x'fromfnd_oracle_userid whereoracle_id=&&enter_custom_applID union select'x'fromfnd_application whereapplication_id=&&enter_custom_applID) ); 如果想将278修改为50303,那么就在enter_custom_applID输入50303。若出现SelectednumberisAvailable 表示50303可用。 7、使用文本编辑器打开cuxterr.txt,执行如下操作: (1)将izu替换为cux,将IZU替换为CUX 。 (2)将 Oracle_Support_Diagnostic_Tools 修改为 abcd_custom_appl 8、将以下三个文件拷贝到$APPL_TOP/admin 目录下。 cuxprod.txt cuxterr.txt newprods.txt 9、切换到$APPL_TOP/admin目录下,执行如下命令 $adsplice Copyright(c)2002,2012OracleCorporation RedwoodShores,California,USA ADSplicer Version12.2.0 NOTE:Youmaynotusethisutilityforcustomdevelopment unlessyouhavewrittenpermissionfromOracleCorporation. Yourdefaultdirectoryis'/home/oraebs/apps/PROD/fs1/EBSapps/appl'. IsthisthecorrectAPPL_TOP[Yes]? ADSplicerrecordsyourADSplicersessioninatextfile youspecify.EnteryourADSplicerlogfilenameorpress[Return] toacceptthedefaultfilenameshowninbrackets. Yourdefaultdirectoryis'/u01/app/oracle/fs1/EBSapps/appl'. IsthisthecorrectAPPL_TOP[Yes]? Filename [adsplice.log]:adsplice_xxont.log Youare abouttoinstallorupgradeOracleE-BusinessSuiteproducttables inyourORACLEdatabase'D599' usingORACLEexecutablesin'/u01/app/oracle/fs1/EBSapps/10.1.2'. Isthisthecorrectdatabase[Yes]? Enter thepasswordforyour'SYSTEM'ORACLEschema: Enter theORACLEpasswordofApplicationObjectLibrary[APPS]: Please enterthedirectorywhereyourADSplicercontrolfileislocated. Thedefaultdirectoryis[/u01/app/oracle/fs1/EBSapps/appl/admin]: PleaseenterthenameofyourADSplicercontrolfile[newprods.txt]: Doyou wishtoregenerateyourenvironmentfile[Yes]? Checking ifAutoConfigisenabled.... Running AutoConfigon:Allproducts... 11、通过以下SQL语句,检查 adsplice 和 autoconfig 执行后的结果。 select*fromfnd_applicationwhereapplication_short_name='CUX'; select*fromfnd_product_installationswhereAPPLICATION_ID=50303; select*fromdba_userswhereusername='CUX'; 登录用户节点,检查系统环境。 $env|grepXXONT XXONT_TOP=/u01/app/oracle/fs1/EBSapps/appl/xxont/12.0.0 $ls$XXONT_TOP adminlogmesgoutsql 如果您正在使用共享的APPL_TOP,则需要在其中一个节点上执行所有这些过程,然后在其他节点上运行 autoconfig。你不必重新运行adsplice。如果APPL_TOP未共享,请重复步骤8,9,10和11。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- C#计算两个时间差的方法代码分享
- Caliburn.Micro学习笔记(三)----事件聚合IEventAggregator和
- DWR反向ajax回传--真正的实时信息 (包含配置步骤)
- Swift Package Manager快速上手指南(一):环境搭建
- ruby-on-rails – activerecord has_many:通过一次sql调用
- Dojo 的 build 工具简介
- group by 与聚合函数错误分析
- 正则表达式学习30分钟入门教程
- Flash ActionScript3.0 (6)创建MovieClip类
- XML deserialization to POJO using Jackson XmlMapper