Whats new in Oracle Apps R12
Key points to Note:
1)Oracle Applications Release 12 is the latest release in the chain of E-Business Suite Releases by Oracle.
2)This release came up with the new file system model
Whats new in Oracle Apps R12
Key points to Note:
1)Oracle Applications Release 12 is the latest release in the chain of E-Business Suite Releases by Oracle.
2)This release came up with the new file system model
A)How to identify the Forms connect mode:
grep -i connectMode $COMMON_TOP/html/bin/appsweb_$CONTEXT_NAME.cfg
If the above command returns connect mode as http/https -> The forms are running in Servlet Mode:
If the above command returns connect mode as socket -> The forms are running in Socket Mode:
Socket to Servlet conversion (vice - versa) - Oracle Apps 11i
A)In Servlet mode the context file values looks like the following:
<server_url oa_var="s_forms_servlet_serverurl">/forms/formservlet</server_url>
<servlet_comment oa_var="s_forms_servlet_comment"/>
<forms_connect oa_var="s_frmConnectMode">https</forms_connect>
B)In Socket mode the context file values looks like the following:
$APPL_TOP/admin/SID_hostname.xml
<server_url oa_var="s_forms_servlet_serverurl"/>
<servlet_comment oa_var="s_forms_servlet_comment">#</servlet_comment>
<forms_connect oa_var="s_frmConnectMode">socket</forms_connect>
C)Edit the context file as required (servlet or socket) and run the autoconfig to reflect the change
D)Verify the Forms connect mode and start the services
grep -i connectMode $COMMON_TOP/html/bin/appsweb_$CONTEXT_NAME.cfg
check the connectMode socket or http(s)
For more information on socket or servlet mode please go to http://www.dbatutor.com/2010/12/forms-servlet-or-socket-mode-which-is.html
The situation here is we have taken an RMAN backup on PROD (Source) and we need to restore those backup pieces on different server as TEST (target) database.
Its actually cloning the database from PROD(SOURCE) to TEST(target) using RMAN backup piecies taken on source.
Please follow the following steps outlined below.
Please note source (PROD) is where the backup piecies are available, we need to clone and create a database with another name TEST (target) on different server.
In target Database (TEST) perform the below
Modify the db_name in the $ORACLE_HOME/dbs/init
Eg: PROD
Start database in nomount mode and restore controlfile (this controlfile should be the RMAN backup controlfile after the RMAN backup on source)
Copy the control file backup piece from source to target and restore the controlfile.
rman target /
RMAN>startup nomount;
RMAN>restore controlfile from '/u01/backup/ccf_c-1250176543-20081031-01';
--Mount the database
RMAN>alter database mount;
Copy all the backup piecies of source(PROD) database to target(TEST) server.
Copy all the backup piecies of source(PROD) database to target(TEST) server using scp.
Once copy completes,Run the following script to list the backup pieces available:
Register all the copied backup piecies in the controlfile. (/u01/backup is the location of copied backup piecies in the target)
RMAN target /
RMAN>catalog backuppiece '/u01/backup/LEVEL0_1-10-2010_dxxthtcn_1_1';
--Run the above command for all the backup piecies copied from the source (PROD) to target (TEST)
List the archive logs. Note the last sequence number
The last sequence number should be used in the set until clause in the rman restore script.
It is referred to $SEQ
RMAN>list backup of archivelog all;
In a separate sqlplus session, rename the log files
sqlplus ‘/ as sysdba’
alter database rename file '/prod/oradata/log01.dbf' to '/test/oradata/log01.dbf';
alter database rename file '/prod/oradata/log02.dbf' to '/test/oradata/log02.dbf';
Run the following SQL to create the SQL to create the temp files for the temporary tablespace:
sqlplus ‘/ as sysdba’
select 'alter database rename file '''name''' to '''replace(name,'
Run the generated SQL
alter database rename file '/prod/oradata/temp01.dbf' to '/test/oradata/temp01.dbf' ;
alter database rename file '/prod/oradata/temp02.dbf' to '/test/oradata/temp02.dbf' ;
Use the following SQL to generate the SQL to create the set new name commands to go into the rman command file for the restore
Sql> select 'set newname for datafile ' file# ' to ''' replace(name,'
Restore the database & Recover it:
Run the following rman restore command, pasting in the result of the above SQL where indicated.
Replace the SEQ+1 value with the sequence number + 1 obtained in step Note the last sequence number.
RMAN target /
run { set until sequence
-- Paste in set newname commands from previous SQL here restore database;
switch datafile all;
recover database;
}
Open the database and configure the database
Once Successful recovery of the database Recreate the controlfile:
Sql> alter database backup control file to trace;
Modify the trace file generated in the udump as required (file locations..etc) and SET the DB Name to TARGET SID.
Bring down the database
Modify the db_name parameter in the init
Eg: TEST
Recreate the controlfile:
Open the database:
Sql> alter database open resetlogs;
10.2.0.5 database install, Relink issue
When attempting to Install 10.2.0.5.0 database on Linux 64bit, below relink error encoutered.
The cause of the issue is Missing pre-requisite RPM "compat-libstdc++-33-3.2.3-61(x86_64)", The issue solved by installing the missing RPM "compat-libstdc++-33-3.2.3-61(x86_64)" and completed the 10.2.0.5.0 Software installation.
ERROR
-------
INFO: /usr/bin/ld: warning: libstdc++.so.5, needed by /u01/oracle/product/102/ctx/lib//libsc_fa.so, not found (try using -rpath or -rpath-link)/u01/oracle/product/102/ctx/lib/libwv_core.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.2'/u01/oracle/product/102/ctx/lib//libsc_fa.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'/u01/oracle/product/102/ctx/lib/libwv_core.so: undefined reference to `INFO: vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2'/u01/oracle/product/102/ctx/lib/libsc_ch.so: undefined reference to `__gxx_personality_v0'/u01/oracle/product/102/ctx/lib//libsc_fa.so: undefined reference to `_Unwind_Resume'/u01/oracle/product/102/ctx/lib/libwv_core.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2'/u01/oracle/product/102/ctx/lib/libwv_core.so: undefined reference to `std::ios_base::Init::Init()@GLIBCPP_3.2'/u01/oracle/product/102/ctINFO: x/lib/libwv_core.so: undefined reference to `std::ios_base::Init::~Init()@GLIBCPP_3.2'/u01/oracle/product/102/ctx/lib/libwv_core.so: undefined reference to `operator delete(void*)@GLIBCPP_3.2'collect2: ld returned 1 exit statusINFO: make: *** [ctxhx] Error 1
Program Name | Scripts For Downloading |
Concurrent Program | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt PROGRAM APPLICATION_SHORT_NAME="prod" CONCURRENT_PROGRAM_NAME="concurrent name" |
Request Groups | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt REQUEST_GROUP REQUEST_GROUP_NAME="request group" APPLICATION_SHORT_NAME="prod" |
Request Sets | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct file_name.ldt REQ_SET APPLICATION_SHORT_NAME="prod" REQUEST_SET_NAME="request set" |
Lookups | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME="prod" LOOKUP_TYPE="lookup name" |
Profile Options | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct file_name.ldt PROFILE PROFILE_NAME="profile option" APPLICATION_SHORT_NAME="prod" |
Value Sets | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET FLEX_VALUE_SET_NAME="value set name" |
Descriptive Flexfield | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt DESC_FLEX P_LEVEL=?COL_ALL:REF_ALL:CTX_ONE:SEG_ALL? APPLICATION_SHORT_NAME="prod" DESCRIPTIVE_FLEXFIELD_NAME="desc flex name" P_CONTEXT_CODE="context name" |
Key Flexfield | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt KEY_FLEX P_LEVEL=?COL_ALL:FQL_ALL:SQL_ALL:STR_ONE:WFP_ALL:SHA_ALL:CVR_ALL:SEG_ALL? APPLICATION_SHORT_NAME="prod" ID_FLEX_CODE="key flex code" P_STRUCTURE_CODE="structure name" |
Value Sets with values | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET_VALUE FLEX_VALUE_SET_NAME="value set name" |
Messages | FNDLOAD apps/apps@db 0 Y DOWNLOAD $FND_TOP/patch/115/import/afmdmsg.lct file_name.ldt FND_NEW_MESSAGES APPLICATION_SHORT_NAME='prod' MESSAGE_NAME='message name' |
Menus | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt MENU MENU_NAME="menu_name" |
Responsibilities | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct file_name.ldt FND_RESPONSIBILITY RESP_KEY="responsibility" |
Printer Styles | FNDLOAD apps/apps@db O Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl.lct file_name.ldt STYLE PRINTER_STYLE_NAME="printer style name" |
Spread Table | FNDLOAD apps/apps@db 0 Y DOWNLOAD $FND_TOP/patch/115/import/jtfgrid.lct IEX_CASE.ldt JTF_GRID_DATASOURCES GRID_DATASOURCE_NAME="IEX_CASE" |
Program name | Scripts For Uploading |
Concurrent Program | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt |
Request Groups | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt |
Request Sets | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afcprset.lct file_name.ldt |
Lookups | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt |
Profile Options | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afscprof.lct file_name.ldt |
Value Sets | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt |
Descriptive Flexfield | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt |
Key Flexfield | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt |
Value Sets with values | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt |
Messages | FNDLOAD apps/apps@db 0 Y UPLOAD $FND_TOP/patch/115/import/afmdmsg.lct file_name.ldt |
Menus | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt |
Responsibilities | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afscursp.lct file_name.ldt |
Printer Styles | FNDLOAD apps/apps@db O Y UPLOAD $FND_TOP/patch/115/import/afcppstl.lct file_name.ldt |
Spread Table | FNDLOAD apps/apps@db 0 Y UPLOAD $FND_TOP/patch/115/import/jtfgrid.lct IEX_CASE.ldt |