Steps Required for Controller Extension in R12.2.X
The method to deploy controller & OAF components in pre-R12.2.x is much diffrent than in R12.2 onwards. Lets see how it is done.
Note: This topic is not going to cover how to do controller extension, it only focus on changes deployment process for controller class files in version of R12.2 onwards.
R12.2.X moves away from conventional Oracle Application Server setup to Weblogic server and jar concept comes into the picture.
Recently, we wanted to do controller extension for one of our clients. We did controller extension and migrated the class file as we are doing in R12.1.3 version but pages failed each time. After lots of struggle we manage to run OAF page successfully. Below are the steps which we followed:
Step 1: Extend the require controller and give any name (for example: xxtest)
Step 2: move the above class file to the require product top under Java top (for example : $JAVA_TOP/oracle/apps/ak/attach/webui)
Step 3: Through personalization attach extended controller to OAF page
Step 4: Generate the product jar file. This can be done by running ‘adcgnjar’ utility at unix box, it will ask for weblogic credentials.
Note: Since Credentials require at this step, normally DBA won’t give it, so ask then to regenerate product jar where you place the file. Considering above example in step 2, I asked to regenerate “AK” product.
Step 5: this step and below step (i.e. step 6) may not be necessary for you, but if your change won’t reflect or OAF page error out then run below script in putty if have an access else ask DBA to do so
cd $ADMIN_SCRIPTS_HOME
./admanagedsrvctl.sh stop oacore_server1
./admanagedsrvctl.sh start oacore_server1
Step 6: Bounce the apache server.
Comments
Like that have any differences for VO exten?
We have followed all the steps you mentioned.
Unable to get it working..
Custom VO's and CO's aren't being picked up.
Errors are VO of type view object not found and CO could not create class.
We are stuck at this for 2 weeks now.
What can be missing?
I tried same above steps for eam product but unable to generate the customall.jar file and getting the below error while running adcgnjar utility.
[applmgr@plive1224 webui]$ adcgnjar
Copyright (c) 2002, 2012 Oracle Corporation
Redwood Shores, California, USA
AD Custom Jar Generation
Version 12.2.0
NOTE: You may not use this utility for custom development
unless you have written permission from Oracle Corporation.
Enter the APPS username: apps
Enter the APPS password:
Generating customall.jar ...
Not creating customall.jar as no custom java directories found under JAVA_TOP.
customall.jar generated successfully.
As i have placed extended controller files in $JAVA_TOP/oracl e/apps/eam/home /webui/ but dont understand that why its asking cutom files put in $JAVA_TOP. please update me with details steps to accomplish extension tasks.
Regards,
Mafaz
happening with this piece of writing which I am reading now.
my web blog OSRS: https://probemas.com/blog/how-much-is-osrs-gold-worth-today
thanmks admin
RSS feed for comments to this post