1. 创建数据库文件和帐号

[root@ebs12vis oracle]# su - oracle
[oracle@ebs12vis ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.1.0.7.0 - Production on Sun May 24 10:13:48 2015

Copyright (c) 1982, 2008, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create tablespace CUX_DATA datafile '/d01/oracle/VIS/db/apps_st/data/cux_data01.dbf' size 200M reuse autoextend on next 100M;

Tablespace created.

SQL> create tablespace CUX_INDEX datafile '/d01/oracle/VIS/db/apps_st/data/cux_index01.dbf' size 200M reuse autoextend on next 100M;

Tablespace created.

SQL> create temporary tablespace CUX_TEMP tempfile '/d01/oracle/VIS/db/apps_st/data/cux_temp01.dbf' size 200M;

Tablespace created.

SQL> create user cux identified by cux default tablespace CUX_DATA temporary tablespace CUX_TEMP;

User created.

SQL> grant resource to cux;

Grant succeeded.

SQL> grant connect to cux;

Grant succeeded.

SQL> grant create table to cux;

Grant succeeded.

SQL> grant create view to cux;

Grant succeeded.

SQL> grant create package to cux;
grant create package to cux
      *
ERROR at line 1:
ORA-00990: missing or invalid privilege

SQL> grant create synonym to cux;

Grant succeeded.

SQL> grant create sequence to cux;

Grant succeeded.

2. 创建客制应用文件目录结构(参考INV_TOP)

[root@ebs12vis ~]# su - applmgr
[applmgr@ebs12vis ~]$ cd $APPL_TOP/inv
[applmgr@ebs12vis inv]$ find . -type d -exec mkdir -p $APPL_TOP/cux/{} \;
[applmgr@ebs12vis inv]$ cd ..
[applmgr@ebs12vis appl]$ cd cux
[applmgr@ebs12vis cux]$ du
8       ./12.0.0/help/US
8       ./12.0.0/help/ZHS
24      ./12.0.0/help
8       ./12.0.0/html
8       ./12.0.0/reports/US
8       ./12.0.0/reports/ZHS
24      ./12.0.0/reports
8       ./12.0.0/log
8       ./12.0.0/lib
8       ./12.0.0/out
8       ./12.0.0/patch/115/import/US
8       ./12.0.0/patch/115/import/ZHS
24      ./12.0.0/patch/115/import
8       ./12.0.0/patch/115/odf
8       ./12.0.0/patch/115/xdf
8       ./12.0.0/patch/115/irep/patch/115/import/US
16      ./12.0.0/patch/115/irep/patch/115/import
8       ./12.0.0/patch/115/irep/patch/115/odf
8       ./12.0.0/patch/115/irep/patch/115/sql
40      ./12.0.0/patch/115/irep/patch/115
48      ./12.0.0/patch/115/irep/patch
8       ./12.0.0/patch/115/irep/java/ebi/item/server
16      ./12.0.0/patch/115/irep/java/ebi/item
24      ./12.0.0/patch/115/irep/java/ebi
32      ./12.0.0/patch/115/irep/java
88      ./12.0.0/patch/115/irep
8       ./12.0.0/patch/115/xml/US
8       ./12.0.0/patch/115/xml/ZHS
24      ./12.0.0/patch/115/xml
8       ./12.0.0/patch/115/driver
8       ./12.0.0/patch/115/publisher/templates/US
8       ./12.0.0/patch/115/publisher/templates/ZHS
24      ./12.0.0/patch/115/publisher/templates
8       ./12.0.0/patch/115/publisher/defs
40      ./12.0.0/patch/115/publisher
8       ./12.0.0/patch/115/sql
216     ./12.0.0/patch/115
224     ./12.0.0/patch
8       ./12.0.0/java/make
8       ./12.0.0/java/jar
24      ./12.0.0/java
8       ./12.0.0/xml/orc115
16      ./12.0.0/xml
8       ./12.0.0/forms/US
8       ./12.0.0/forms/ZHS
24      ./12.0.0/forms
8       ./12.0.0/mds/lov/webui/ZHS
16      ./12.0.0/mds/lov/webui
8       ./12.0.0/mds/lov/consign/webui/ZHS
16      ./12.0.0/mds/lov/consign/webui
24      ./12.0.0/mds/lov/consign
48      ./12.0.0/mds/lov
8       ./12.0.0/mds/wshtxn/server/ZHS
16      ./12.0.0/mds/wshtxn/server
24      ./12.0.0/mds/wshtxn
8       ./12.0.0/mds/consign/webui/ZHS
16      ./12.0.0/mds/consign/webui
24      ./12.0.0/mds/consign
8       ./12.0.0/mds/rcv/server/ZHS
16      ./12.0.0/mds/rcv/server
24      ./12.0.0/mds/rcv
8       ./12.0.0/mds/attributesets/ZHS
16      ./12.0.0/mds/attributesets
8       ./12.0.0/mds/txnui/webui/ZHS
16      ./12.0.0/mds/txnui/webui
8       ./12.0.0/mds/txnui/lotDetails/webui/ZHS
16      ./12.0.0/mds/txnui/lotDetails/webui
24      ./12.0.0/mds/txnui/lotDetails
8       ./12.0.0/mds/txnui/serialDetails/webui/ZHS
16      ./12.0.0/mds/txnui/serialDetails/webui
24      ./12.0.0/mds/txnui/serialDetails
72      ./12.0.0/mds/txnui
216     ./12.0.0/mds
8       ./12.0.0/bin
8       ./12.0.0/mesg
8       ./12.0.0/admin/driver
8       ./12.0.0/admin/sql
24      ./12.0.0/admin
8       ./12.0.0/sql
640     ./12.0.0
648     .

3. 增加客制应用到自动配置文件

[root@ebs12vis ~]# su - applmgr
[applmgr@ebs12vis ~]$ cd $APPL_TOP
[applmgr@ebs12vis appl]$ find . -name "*.env"
./ad/12.0.0/admin/template/APPSORA_ux.env
./ad/12.0.0/admin/template/adiasnt.env
./ad/12.0.0/admin/template/ad80nt.env
./ad/12.0.0/admin/template/install/template/db/ad8idbux.env
./ad/12.0.0/admin/template/install/template/db/ad8idbnt.env
./ad/12.0.0/admin/template/APPLSYS_nt.env
./ad/12.0.0/admin/template/APPLSYS_ux.env
./ad/12.0.0/admin/template/adovars_nt.env
./ad/12.0.0/admin/template/adiasux.env
./ad/12.0.0/admin/template/APPSORA_nt.env
./ad/12.0.0/admin/template/adovars_ux.env
./ad/12.0.0/admin/template/ad80ux.env
./asg/12.0.0/admin/template/asgovars_nt.env
./asg/12.0.0/admin/template/asgovars_ux.env
./fnd/12.0.0/fndenv.env
./fnd/12.0.0/usrxit/devenv.env
./APPSVIS_ebs12vis.env
./VIS_ebs12vis.env
./admin/adovars.env
[applmgr@ebs12vis appl]$ vi VIS_ebs12vis.env

#!/bin/sh
#
# $Header: APPLSYS_ux.env 120.29.12010000.3 2009/01/11 17:35:23 mmanku ship $
#
# ###############################################################
#
# This file is automatically generated by AutoConfig.  It will be read and
# overwritten.  If you were instructed to edit this file, or if you are not
# able to use the settings created by AutoConfig, refer to Metalink Note
# 387859.1 for assistance.
#
# ###############################################################

#

############################
# Set the variables required
############################

AFJSMARG="-server -Xmx384m -XX:NewRatio=2 -XX:+UseSerialGC -Doracle.apps.fnd.common.Pool.leak.mode=stderr:off -verbose:
gc"
export AFJSMARG

AFJCPARG="-client"
export AFJCPARG

APPLRGF="/d01/applmgr/VIS/inst/apps/VIS_ebs12vis/logs/appl/rgf"
export APPLRGF

CNTL_BREAK="ON"
export CNTL_BREAK

ORACLE_TERM="vt220"
export ORACLE_TERM

/CONTEXT_FILE
# Define APPS_JDBC_URL
######################

APPS_JDBC_URL="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOS
T=ebs12vis.oracle.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=VIS)))"
export APPS_JDBC_URL

##########################################
# Define AD_APPS_JDBC_URL for AD Utilities
##########################################

TEMP_APPS_JDBC_URL="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp
)(HOST=ebs12vis.oracle.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=VIS)))"
AD_APPS_JDBC_URL=`echo $TEMP_APPS_JDBC_URL | cut -d "@" -f2`
export AD_APPS_JDBC_URL

####################################################################
# The CONTEXT_FILE variable stores the location of the context file.
####################################################################

CONTEXT_FILE="/d01/applmgr/VIS/inst/apps/VIS_ebs12vis/appl/admin/VIS_ebs12vis.xml"
export CONTEXT_FILE

####################################################################
# The CONTEXT_NAME variable stores the value for the current context
####################################################################

CONTEXT_NAME="VIS_ebs12vis"
export CONTEXT_NAME

########################################################
# The APPLFENV variable is the filename of this file.
# If you rename this file, you should change this value.
########################################################
[applmgr@ebs12vis ~]$ cd $INST_TOP/appl/admin
[applmgr@ebs12vis appl]$ vi VIS_ebs12vis.xml

<AU_TOP oa_var="s_autop" oa_type="PROD_TOP" oa_enabled="FALSE">/d01/applmgr/VIS/apps/apps_st/appl/au/12.0.0</AU_TOP>
<CUX_TOP oa_var="s_cuxtop" oa_type="PROD_TOP" oa_enabled="FALSE">/d01/applmgr/VIS/apps/apps_st/appl/cux/12.0.0</CUX_TOP>
<GWYUID oa_var="s_gwyuid">APPLSYSPUB/PUB</GWYUID>

Application Developer ==> Application ==> Register

System Administrator ==> Security ==> ORACLE ==> Register

System Administrator ==> Security ==> ORACLE ==> DataGroup

Alter Manager ==> System ==> Installations

4. 客制应用CUX下应用APPS_DDL, APPS_ARRAY_DDL

SQL> @$AD_TOP/admin/sql/adaaddls.pls system_pword custom_schema custom_schema_pword
SQL> @$AD_TOP/admin/sql/adaaddlb.pls system_pword custom_schema custom_schema_pword

5. 重启EBS应用层服务

[applmgr@ebs12vis ~]$ cd $INST_HOME/admin/scripts
[applmgr@ebs12vis appl]$ sh adstpall.sh apps/apps
[applmgr@ebs12vis cux]$ sh adstrtal.sh apps/apps

EBS增加客制应用CUX:Custom Application的更多相关文章

  1. 转:FORM:客制化Form的菜单栏和右鍵菜單

    Oracle EBS还允许客制化Form的菜单栏. 用户最多可以定义45个form-level的trigger,名称必须为SPECIALn, 其中SPECIAL1 to SPECIAL15属于Tool ...

  2. Form_通过Zoom客制化跳转页面功能(案例)

    2012-09-08 Created By BaoXinjian

  3. SharePoint2013 Set a custom application page as site welcome page

    本文主要介绍如何添加一个custom application page as site welcome page 1.首先创建一个sharepoint 2013 empty solution, add ...

  4. Dynamics AX 2012 R2 客制化RDP报表参数对话框

    当我们在使用RDP报表时,AX会根据Data Contract,自动生成报表参数对话框上的字段控件.一般情况下,该对话框能够满足我们的需求,但是如果有较为复杂或特殊的需求,就要我们对该对话框进行客制化 ...

  5. BEvent_客制化BusinessEvent通过PLSQL Procedurer接受消息传递(案例)

    2014-06-27 Created By BaoXinjian

  6. Android MTK6580 客制化关机充电动画

    1.客制化关机充电图片 vendor/mediatek/proprietary/bootable/bootloader/lk/dev/logo/xxx 找到对应分辨率替换 2.调整显示图片位置.大小 ...

  7. T100——程序从标准签出客制后注意r.c和r.l

    标准签出客制后,建议到对应4gl目录,客制目录 r.c afap280_01 r.l afap280_01 ALL 常用Shell操作命令: r.c:编译程序,需在4gl路径之下执行,产生的42m会自 ...

  8. (整理)FORM:Oracle EBS客制化Form的菜单栏用法说明

    用户最多可以定义45个form-level的trigger,名称必须为SPECIALn, 其中SPECIAL1 to SPECIAL15属于Tools菜单项,放在“工具”主菜单下. SPECIAL16 ...

  9. Android RRO机制的运用-----google开机向导客制化

    上周五的时候领导分了一个任务,客户让在google开机向导里面增加一页,首先就想到了android的Overlay,然后网上搜了下,发下有很多人写了这方面的技术.而且写的都还不错,所以本篇只当记录作用 ...

随机推荐

  1. 黄聪:Microsoft office 2013版下载、安装及破解工具下载破解教程(Windows Toolkit)

    Microsoft Office 2013(Office 15)是微软的新一代Office办公软件,全面采用Metro界面.Microsoft Office 2013官方下载(Office2013专业 ...

  2. 简单对象访问协议(Simple Object Access Protocol),PHP调用SOAP过程中的种种问题;php的soap无故出错的真凶:wsdl缓存

       webservice的一种常用实现方式就是soap了.我们后端的JAVA也是用soap的原理实现的.那么我显然首先要上网上搜搜关于soap的文章.最早进入实现的是PHP写的nusoap类.这个n ...

  3. Check failed: mdb_status == 0 (2 vs. 0) No such file or directory

    运行  ./examples/mnist/train_lenet.sh  时,碰到了这个问题. 一定是路径问题!!!仔细查看prototxt文件里面的各种路径!!! 解决方案: 把.prototxt里 ...

  4. springcloud(九) springboot Actuator + admin 监控

    前一章讲的都是Feign项目(调用方)的监控.接下来讲的是服务提供方的监控 一.springboot actuator + springboot admin Spring Boot Admin 是一个 ...

  5. MyEclipse 生成APK文件

    MyEclipse 生成APK文件 Android Tools>Export  Signed  Application Packages. http://jingyan.baidu.com/ar ...

  6. dsm 黑 离线转码 备忘

    6.2以后不行 我用的是 DS3617_6.17-15284 进入下载安装文件和工具 1安装 .套件来源增加 packages.synocommunity.comb.设置信任级别为任何发行者 c.找到 ...

  7. git的基础操作-入门

    本文是根据廖雪峰的git教程写的笔记:https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b0 ...

  8. TFS自动签出解决方案sln或者项目文件csproj的解决办法

    问题: 最近公司一个项目组的源代码解决方案打开时总是出现解决方案或者部分项目被自动签出的情况,但签入又提示没有变更.事情虽 小,导致几个程序员要用项目文件时总是要找其他人签入.浪费不少时间.出现时间有 ...

  9. ora-01045错误的解决办法

    问题: 在用PL/SQL进行登录时,出现:”ora-01045 :user system lacks create session privilege; logon denied”. 原因:该用户没有 ...

  10. java关于密码的加密解密

    密码的加密方法有多种,常见的为Aes.Md5 Aes加密,可逆. 其中,Md5加密是采用了散列算法,也就是哈希算法,可以进行多次散列加密.Md5加密是不可逆的,无法解密. MD5是不可逆的单向加密方式 ...