Sunteți pe pagina 1din 4

9/2/2015

BlueSky..GreenSea..RedEarth:R12.2.xRegisteringCustomApplication/Product/CUSTOM_TOPinOracleEBusinessSuiteRelease12.2
0

More NextBlog

CreateBlog

BlueSky..GreenSea..RedEarth
Theorems,Equations&Reactions

R12.2.xRegisteringCustomApplication/Product/CUSTOM_TOPinOracleEBusinessSuiteRelease12.2
Theprocessofregisteringcustomapplicationisdifferentfromotherversionoracleapplications.BelowarethestepsthatIfollowedto
perform the register custom application like XXONT (An extension to the standard Oracle Order Management module). The same
appliesforanyCustomApplication/Product.
With R12.2.x, Oracle have introduced online patching functionality using two file editions RUN and PATCH. We should NOT use
Applicationsformtoregistercustomapplicationratheruseadsplicetoensurethattheapplicationissetupforonlinepatching.
Environment:
TwonodearchitecturewithapplicationnodeinLinuxandDatabaseonHPUXItanium

"DREAMISTHEFUEL"

CherrishVaidiyan
Idealist,Minimalistand
Enthusiast
Viewmycompleteprofile
TRANSLATE

SelectLanguage

ApplicationRelease:R12.2.3onLinuxx8664bit6
ThisnoderunsallthecomponentsoftheOracleEBSlikeforms,weblogic,concurrentmanagers,OACoreandsoon.
Database:11.2.0.3onHPUXItanium.Databasenodecontainsonlythedatabase.
Steps:

Poweredby

Translate

BLOGARCHIVE

2015(8)
2014(30)

1.Createtheschemainthedatabase.Iamcreatingaschemacalled'PLUM'andIusethesameschemaforallthecustomapplication.
Youarealwayswelcometocreateeachschemaforeachcustomapplication.

Dec(5)
Nov(3)
Oct(4)

CREATEUSERPLUMIDENTIFIEDBYplum
DEFAULTTABLESPACEAPPS_TS_TX_DATA
TEMPORARYTABLESPACETEMP1
PROFILEDEFAULT
ACCOUNTUNLOCK;
GRANTCONNECT,RESOURCETOPLUM;
GRANTCREATEANYCONTEXTTOPLUM;
GRANTCREATEANYTYPETOPLUM;
GRANTCREATECLUSTERTOPLUM;
GRANTCREATEDATABASELINKTOPLUM;
GRANTCREATEDIMENSIONTOPLUM;
GRANTCREATEINDEXTYPETOPLUM;
GRANTCREATELIBRARYTOPLUM;
GRANTCREATEMATERIALIZEDVIEWTOPLUM;
GRANTCREATEOPERATORTOPLUM;
GRANTCREATEPROCEDURETOPLUM;
GRANTCREATEPUBLICSYNONYMTOPLUM;
GRANTCREATESEQUENCETOPLUM;
GRANTCREATESYNONYMTOPLUM;
GRANTCREATETABLETOPLUM;
GRANTCREATETRIGGERTOPLUM;
GRANTCREATETYPETOPLUM;
GRANTCREATEVIEWTOPLUM;

R12.2.xRegistering
CustomApplication/
Product/...
Oracle10g/11gORA
02082:aloopback
databasel...
Oracle11gRDBMS
RenamingtheOracle
Database(S...
OracleRDBMS:DROP
DATABASEORA
01586:database...
Sep(5)
Jun(1)
May(5)
Apr(4)
Feb(3)
2013(15)
2012(13)
2011(18)
2010(5)
2009(4)
2008(1)
2007(2)

2.Downloadthepatch3636980(SupportDiagnostics(IZU)patchforADSplice).ThispatchisgenericforR12.

2006(1)

3.Unzipthefilesinthepatchandcopythefollowingthreefilesfromp3636980_R12_GENERIC\3636980\izu\admintoyourdesktop/
currentworkingfolder.
izuprod.txt
izuterr.txt
newprods.txt
4.Renamethefileizuprod.txtto[CUSTOM_MODULE]prod.txtandizuterr.txtto[CUSTOM_MODULE]terr.txt
Inmycase,Irenamedthefileasxxontprod.txtandxxontterr.txt.
5.Openthenewprods.txtinatexteditorandchangeallreferencesof"izu"to[custom_module]andallreferencesof"IZU"to
[CUSTOM_MODULE].Pleasedomaintainthecasesensitivity.

http://zealtheory.blogspot.com/2014/10/r122xregisteringcustomapplication.html

1/4

9/2/2015

BlueSky..GreenSea..RedEarth:R12.2.xRegisteringCustomApplication/Product/CUSTOM_TOPinOracleEBusinessSuiteRelease12.2

Inmyexample,Iwillchange'izu'to'xxont'and'IZU'to'XXONT'.

%%%Splicercontrolfileformat12.0.A
#
#$Header:newprods.txt120.12006/09/2012:57:45jaobriennoship$
#
#
#SectionforOracleSupportDiagnosticTools
product=xxont
base_product_top=*APPL_TOP*
oracle_schema=plum
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.Openthexxontprod.txtinatexteditor
Changeallthereferencesof'izu'and'IZU'with'xxont'and'XXONT'respectively.Pleasedomaintainthecasesensitivity.
ChangetheApplication/ProductIDfrom278toyourownuniquenumber.
Note: Oracle recommends to pick a number above 50000 that is not already in use. You can use the below SQL to confirm that
Application/ProductIDisavailabletouseornot:

SQL>selectdecode(count,0,'SelectednumberisAvailable','Selectednumberalreadyinuse')
Status,&&enter_custom_applIDselected_number
from
(
selectcount(*)ascountfrom
(
select'x'fromfnd_oracle_userid
whereoracle_id=&&enter_custom_applID
union
select'x'fromfnd_application
whereapplication_id=&&enter_custom_applID)
);

I wanted to give 50301 for XXONT, so I entered 50301 as the parameter for the query. The SQL returned "Selected number is
Available".
SoIchanged278to50301inthefilexxontprod.txt.
7.Openthexxontterr.txtinatexteditor.
Changeallthereferencesof'izu'to[custom_module]and'IZU'to[CUSTOM_MODULE]keepingthecasesensitivity.Inour
example,'izu'>'xxont'and'IZU'>'XXONT'.
Changethetext'Oracle_Support_Diagnostic_Tools'to'abc_custom_app".Inmyexample,Ichangedthetextto
'Plum_Oracle_Order_Management'.
8.Copythethreefilesto$APPL_TOP/admindirectory.
xxontprod.txt
xxontterr.txt
newprods.txt
9.Changethedirectoryto$APPL_TOP/adminandrunadsplice.
Note:adsplicemustberunfromtheadmindirectoryunderAPPL_TOP.

$adsplice

Yourdefaultdirectoryis'/u01/app/oracle/fs1/EBSapps/appl'.
IsthisthecorrectAPPL_TOP[Yes]?
Filename[adsplice.log]:adsplice_xxont.log

http://zealtheory.blogspot.com/2014/10/r122xregisteringcustomapplication.html

2/4

9/2/2015

BlueSky..GreenSea..RedEarth:R12.2.xRegisteringCustomApplication/Product/CUSTOM_TOPinOracleEBusinessSuiteRelease12.2

YouareabouttoinstallorupgradeOracleEBusinessSuiteproducttables
inyourORACLEdatabase'D599'
usingORACLEexecutablesin'/u01/app/oracle/fs1/EBSapps/10.1.2'.
Isthisthecorrectdatabase[Yes]?

Enterthepasswordforyour'SYSTEM'ORACLEschema:

EntertheORACLEpasswordofApplicationObjectLibrary[APPS]:

PleaseenterthedirectorywhereyourADSplicercontrolfileislocated.
Thedefaultdirectoryis[/u01/app/oracle/fs1/EBSapps/appl/admin]:
PleaseenterthenameofyourADSplicercontrolfile[newprods.txt]:

Doyouwishtoregenerateyourenvironmentfile[Yes]?
CheckingifAutoConfigisenabled....
RunningAutoConfigon:Allproducts...

10.ChecktheadspliceandAutoconfiglogfile.
NowyoucanverifythattheCustomProduct/Applicationisinthedatabaseusingthefollowingqueries:
LogintoSQLPLUSasapps.
select*fromfnd_applicationwhereapplication_short_name='XXONT'
select*fromfnd_product_installationswhereAPPLICATION_ID=50301
select*fromdba_userswhereusername='XXONT'
LogintonewsessionofApplicationnodeandcheckforenvironmentfile
$env|grepXXONT
XXONT_TOP=/u01/app/oracle/fs1/EBSapps/appl/xxont/12.0.0
$
$ls$XXONT_TOP
adminlogmesgoutsql
11.Youcannotcreateotheradditionaldirectoriesifneededlikebin,/forms/US,include,lib,mds,reports/US,workflow.
Note:
IfyouareusingSharedAPPL_TOP,youneedtodoalltheseprocessonONEnodeandthenrunautoconfigonothers.Youdon'thave
torerunadsplice.IfAPPL_TOPisNOTSHARED,repeatthesteps8,9,10and11.

DoyouhavetorepeatthestepsforPatchFilesystem?
Whenyoustartthenextonlinepatchingcycle,thepreparephasewillrunadsplicesyncupactionstosynchronizethetwofilesystems.
Checkforaknownbug18815526:R12.AD.Cincaseadsplicesyncupfailswhenpreparephaseisrun.
Reference:
CreatingaCustomApplicationinOracleEBusinessSuiteRelease12.2(DocID1577707.1)
scribbledbyCherrishVaidiyanonThursday,October23,2014

Recommend this on Google

1comment:
Nadh August25,2015at4:18:00AMEDT
Hi,
Thanksaalotforyournotes.Itisindeedveryhelpful.
Butcanyoupleasealsoincludehowtheoutputattheuserinterfacelookslike?

http://zealtheory.blogspot.com/2014/10/r122xregisteringcustomapplication.html

3/4

9/2/2015

BlueSky..GreenSea..RedEarth:R12.2.xRegisteringCustomApplication/Product/CUSTOM_TOPinOracleEBusinessSuiteRelease12.2
Regards,
Nadhrah
Reply

Enteryourcomment...

Commentas:

Unknown(Google)
Signout

Publish

Notifyme

Preview

NewerPost

Home

OlderPost

Subscribeto:PostComments(Atom)

POPULARPOSTS

Oracle11g:DataGuardPhysicalStandbyDatabaseSetupGuideusingRMANDuplicate
OracleRMAN11g:SQLqueriesagainstCatalogDatabaseforbackupinfo
R12.2.xRegisteringCustomApplication/Product/CUSTOM_TOPinOracleEBusinessSuiteRelease12.2
CommonDataGuardBroker(DGMGRL)ErrorsORA16664,ORA16809,ORA16714,ORA16826
OracleDiscovererERROR:Theshiphomeyouaretryingtoinstallisnotthepropershiphomeforthecurrentplatform.TheshiphomeisforMicrosoftWindows(32bit)platform.
OracleDiscovererdis51adm.exeordis51usr.exeERROR:Theprogramcan'tstartbecauseMSVCR71.dllismissingfromyourcomputer.Tryreinstallingtheprogramtofixthis
problem.
R12.xORA20100:Error:FND_FILEfailure.Unabletocreatefile,lxxxxxxx.tmpinthedirectory,/yyy/zzzz/abc
OracleDatabase:UTL_FILE_DIRinitParametervalidationscript
OracleRDBMS:DROPDATABASEORA01586:databasemustbemountedEXCLUSIVEandnotopenforthisoperation
R12.2.xadopphase=prepareORA20008:NoConcurrentManagerisdefinedthatcanrunconcurrentprogramADZDPATCH

PictureWindowtemplate.PoweredbyBlogger.

http://zealtheory.blogspot.com/2014/10/r122xregisteringcustomapplication.html

4/4