Pages

Tuesday, February 10, 2015

ORA-20001 The LDAP APPS DN ldap password has expired when creating oracle accounts in EBS.

Tip of the week
Issue: ora-20001 The LDAP APPS DN ldap wrapper error message when trying to create oracle accounts in EBS R12.1.3 integrated with IDM 11g.

Solution: you can reset the password using the following command. But you need to get the DN and APPS_DN password.
  1. To get DN, run the following from the apps user in EBS node
SQL> select fnd_preference.get(‘#INTERNAL’, ‘LDAP_SYNCH’,’USERNAME’) Apps_Instance_OID_Account from dual;
APPS_INSTANCE_OID_ACCOUNT
——————————————————————————–
orclApplicationCommonName=”Instance”,cn=”EBusiness”,cn=Products,cn=OracleContext,dc=company,dc=com
  1. Get current password for appsDN user:
SQL> select fnd_preference.eget(‘#INTERNAL’, ‘LDAP_SYNCH’,’EPWD’,’LDAP_PWD’) Apps_Password from dual;
APPS_PASSWORD
——————————————————————————–
current_password
  1. Run the following command.
$ORACLE_HOME/bin/ldapmodify -h <oid_host> -p <oid_port> -D cn=orcladmin -w <passwd> -v <<EOF
dn: orclapplicationcommonname=prd1, cn=ebusiness,cn=products,cn=oraclecontext,cn=ddi,cn=net
changetype: modify
replace: userpassword
userpassword: <existing_APPS_DN_password>
EOF
4. Redo the “ldapbind” test and ensure that it is successful.
PS: You can do this while all the services are up and running.
Reference docs: How To Change AppsDN Password For E-Business Suite In OID 11g (Doc ID 1902514.1)

Thursday, September 19, 2013

Attending Oracle Open World? What to expect?

Well its that time of the year and that type of blog post. Its imperative to get pumped up on Oracle Open World 2013.  So where would be the focus? Like last year, propaganda on Cloud is inevitable and that has created even more buzz with Oracle’s strategic partnership with Salesforce.com.  Big data & Analytics, 12c Database with Oracle’s Mobile strategy are few more that can generate ample curiosity among attendees.  So how about Engineered Systems? Of course. Especially when Oracle’s mid-market penetration strategies allow to come up with ¼ rack size for ES, which in turn triggers attractive entry points. Don’t know why I think about BMW’s 1-series here ;) If you work directly with any of your Oracle accounts team members, they will highly ‘recommend or encourage’ you to attend ES sessions.
By the way, how many of you thought Oracle and Microsoft never get along. Well you might be right for several years and now that phenomenon has changed. “Microsoft and Oracle: Partners in the enterprise cloud”.  That’s one of the key note topics from Brad Anderson, Corporate Vice President,Microsoft. Yet another reason for OOW’s Cloud mantra.
Anyways, here are few tracks that you can get a glimpse on. Honestly, I find quite a few sessions that elicit significant interest in me.
Oracle database
https://oracleus.activeevents.com/2013/connect/focusOnDoc.do?focusID=23520
Oracle EBS Tools & Technology
https://oracleus.activeevents.com/2013/connect/focusOnDoc.do?focusID=22573
Oracle Mobile
https://oracleus.activeevents.com/2013/connect/focusOnDoc.do?focusID=23570
Oracle EBS Management
https://oracleus.activeevents.com/2013/connect/focusOnDoc.do?focusID=23512
Fusion Apps
https://oracleus.activeevents.com/2013/connect/focusOnDoc.do?focusID=23534
Business Analytics
https://oracleus.activeevents.com/2013/connect/focusOnDoc.do?focusID=22725
Useful links
http://www.oracle.com/openworld/index.html
Schedule Builder
https://oracleus.activeevents.com/2013/connect/dashboard.ww
High level Agenda
http://www.oracle.com/openworld/agenda/index.html

Its official. Oracle Releases E-Business Suite R12.2

Long wait is finally over. Oracle just released E-Business Suite R12.2 (General Release). This release signifies  Online Patching and Enhancements Across Integrated Suite of Business Applications. For further details please refer to the official press release below.
http://www.oracle.com/us/corporate/press/2016931?rssid=rss_ocom_pr
Useful R12.2 links
http://oracletechnologistblog.wordpress.com/2012/01/17/r12-2-key-features/
http://oracletechnologistblog.wordpress.com/2012/06/20/oracle-ebs-r12-2-online-patching-via-adop/

Wednesday, March 27, 2013

Introducing Concurrent Processing Analyzer


In many instances, to get holistic view of concurrent processing in Oracle E-Business Suite we either use Applications Management Pack (AMP) or run several scripts and analyze the results to determine the health of CP. I guess the wait is finally over. Oracle has come up with Concurrent Processing Analyzer (CPA) for EBS, a solid tool that can give you not only a holistic view of concurrent processing, but also provides recommendations based on best practices that can fit the environment. Interestingly, this is a non-invasive script that can be run in production too.
Concurrent Processing Analyzer benefits are categorized into 4 and they are
  • Helps to identify concurrent system setup and configurations
  • Analysis and output of concurrent environment
  • Identifies and recommends concurrent best practices
  • and more importantly regular concurrent maintenance to compare trending.
Some of the benefits that we have realized by taking advantage of this tool are
  • Number of eligible records in FND_CONCURRENT_REQUESTS that can be purged.
  • Current list of patches in the system
  • Volume of daily concurrent requests
  • Request managers with Incorrect Cache size
  • Long running reports during core business hours
  • Based on current concurrent processing, it helps to identify possible bottlenecks with recommendations to resolve those based on best practices.
Here is a screen shot of the tool
CPAR12_1
To get comprehensive list of benefits that can be realized by CPA, please refer to MOS note
 Concurrent Processing - CP Analyzer for E-Business Suite [ID 1411723.1]
Kudos to ATG proactive support team. 

Wednesday, February 20, 2013

Implementing Simplified Chinese or other languages in Oracle EBS R12

Tip of the week: Implementing Simplified Chinese or other languages in Oracle EBS R12
One of the requests I recently came across was to eliminate ambiguity on implementing a new language. Furthermore, many folks wanted to ensure their existing Oracle E-Business Suite language packs are in sync with the primary applications language American English.
Now you can hit both the sparrows in one stone, as they say.
In the past, we apply the language specific 4440000 patches and then apply the relevant language patches. Now that has become history, Oracle has considerably enhanced yet streamlined the process to address the requirement.
So where do you start?
Identify the language that you wanted to install and activate it using Oracle Applications Manager’s (OAM) License Manager.
Oracle recommends that you run maintain multi-lingual tables from the Maintain Applications Database Entities menu in adadmin.
To be on safer side, run the maintain snapshots from adadmin.
Now you have set your environment to install the new language pack.
Oracle provides scripts to generate the manifest of your R12 EBS environment, Output of those scripts needed to be uploaded to https://updates.oracle.com/TransSync .
In 2-4 hours you will start receiving emails for each language in your environment from Translation Synchronization Notification team. Similar to the below.
Dear Customer,
Your R12 Translation Synchronization patch 12345678 for Simplified Chinese is available at:
https://updates.oracle.com/ARULink/SimpleSearch/process_form?search_type=patch&patch_number=12345678&plat_lang=14L
 The current authorization password is "hello2323". It is valid for 7 days from the date of this email. You may access all your Translation Synchronization patches at any time, with up-to-date passwords, at the following URL:
https://updates.oracle.com/TransSync
 Contact Oracle Support if you have any issue or concern with this patch.
 You just have to download the patches and apply in the appropriate instance using adpatch. Thats it :)
Useful MOS note: Requesting Translation Synchronization Patches [ID 252422.1]

Friday, October 12, 2012

Oracle E-Business Suite on Mobile

Colossal  list of technology announcements and too short of time to digest. That’s the gist I got from Oracle OpenWorld ‘2012. I am certain, many of you felt same way too. Immense list of innovation in every possible category of Oracle’s product line including Cloud, Mobility, Analytics, Fusion Apps, Fusion Middleware, 12c Database, Engineered Systems. Several great sessions from various product teams. As I continue to digest and pen down the information overload in various categories, I will share the details in a precise manner without getting astounded.
To start with, much awaited Oracle E-Business Suite on Mobile has been showcased. iPad access to self-service modules is available in Release 12.2. What it also tells us is gaining expertise in Applications Development Framework (ADF) is inevitable.

Oracle’s product strategy is pushing Hybrid Mobile Applications where you develop once & deploy to multiple platforms such as iOS and Android based on proven technology standards such as ADF, Java technology, CSS3, JavaScript.  If you want to extent EBS,  Oracle E-Business Suite SDK for Java Enables integration using Oracle ADF. You may want to consider such integration if you what to Have multi-channel rich user interfaces, Same development platform as Oracle Fusion Applications, Support mobile devices, Protect your investment in the future, Co-exist with Fusion Applications.
Well a common question that may rise is related to small form factor devices security. Oracle mentioned quite a few security capabilities to protect the environment. A few capabilities to mention here are,
For data at rest, SQLLite database encrypted using the encryption libraries from ADF Mobile.
For Data In Flight, Standard SSL encryption and certificates being used.
 Authentication
– HTTP Authentication for data synchronization
– Using FND API against EBS instance, with support for SSO
– Credentials cached for local login and protected by ADF preferences store
Authorization
– Application access defined by EBS Responsibilities and Profile Options
– Field Service Task assignment rules for data visibility & access
 Architectural changes in R12.2 to accommodate mobile form factor.

Based on what we have seen, R12.2 environment will enable better tool kit to adopt, extend EBS mobility.
Thanks to various Oracle product teams to provide right details to write this post.
To jump start your ADF capabilities, please refer to the following.
http://www.oracle.com/technetwork/developer-tools/adf/overview/index.html
http://www.oracle.com/technetwork/developer-tools/adf/overview/adfessentials-1719844.html
https://oracleus.activeevents.com/connect/sessionDetail.ww?SESSION_ID=3429

Monday, September 17, 2012

Magic ingredient EBR in E-Business Suite R12.2’s ADOP

As Oracle EBS R12.2 gearing up to enhance HA capabilities, an interesting metaphor is reducing downtime for planned software maintenance. As enough said on ADOP here http://oracletechnologistblog.wordpress.com/2012/06/20/oracle-ebs-r12-2-online-patching-via-adop/
http://oracletechnologistblog.wordpress.com/2012/01/17/r12-2-key-features/ and elsewhere, there is less emphasis on the revolutionary 11gR2 database feature Edition-Based Redefinition, which is essential to ADOP.
If you are an Oracle E-Business Suite customer, multi-tier patching is inevitable. EBS R12.2’s ADOP is certainly a revolutionary feature that comprehensively provides minimal definable downtime.  Complexity in R12.2’s ADOP feature resides in the database. Magical ingredient here is Edition-Based Redefinition (EBR) feature within the database.
Lets briefly dig into the recent evolution of minimizing downtime features in Oracle database and more. Over the years, Oracle database team has developed several key capabilities such as online index rebuild, non-blocking nature of ALTER TABLE DDLs, eliminating object invalidations due to logical changes, that continue to reduce downtime along with costly endeavors such as schema clones and log-based replication, still you are left with noticeable downtimes. That changes with EBR, which provides three features such as edition, edition view and crossedition trigger that helps online application patching and upgrades. Lets take a look at these three features in detail.
Edition: Edition’s principal objective is to provide isolation mechanism and is considered as a non-schema object type.  It permits same object to occur multiple times in same database yet maintain unalike or different editions. Furthermore, all the database objects fall under two types of editions such as editionable and non-editionable types.
whats editionable object type:  Code type objects such as PL/SQL, views, types, synonyms, triggers and editioning views supports edition. Nonetheless, it prevents changes in one edition of the object to impact other editions of same object. Especially in ADOP where the instance has to maintain multiple copies of the code objects, edition feature come in handy to accomplish the online patching capability.
Whats non-editionable object type: So what about storage objects? Will that provide any editioning? Short answer is no. Here are the details. Storage objects such as tables, indexes, materialized views and also sequences do not support editioning and are categorized as non-editionable types.
Editioning View:
In edition world, there is a potential to have multiple editioned table data. With editioning view capabilities, it’s truly possible. Editioning view allows several versions of table’s data by logical representations, where a physical table cannot be editioned. In other words, a table can store data related to multiple editions but its the editioning view that provides the accurate subsection of data from underlying table.
On a side note, Oracle highly recommends that in preparation for R12.2, its vital to not to have any of your customizations refer to base tables directly as EBS data model now provides a cover layer via editioning views. It is extremely important that you refer the cover layer to access EBS data model instead of physical layer to prevent any integrity issues. The reason behind this requirement is to prevent any code accessing outdated columns in physical layer. In R12.2 world, Oracle strongly recommends that all code should access the data model only via apps synonym as it internally points to editioning view. Nonetheless, editioning views allow triggers to be defined on them along with hint reference.
Crossedition Trigger
Oracle 11.2 introduced a special kind of editionable object type trigger called crossedition trigger. Lets assume the patch process need to change the structure of an OLTP table. ADOP to work properly a mechanism that can keep up the pace with changes that user makes to the pre-patch state of the data yet transform the data into postpatch state. Pre-patch will continue to see the running edition of the table while the post-patch would see the new structure. This is possible due to crossedition trigger that uses advanced synchronization mechanism to ensure the values of the pre-patch transactional data is in sync with what could be post-patch transactional data inspite of structural changes to the table.
Within crossedition trigger, Oracle introduced two types of triggers that are forward corssedition trigger and reverse crossedition trigger.
Simply put, forward Crossedition trigger is instrumental for bringing the pre-patch column values to the post-patch values and reverse Crossedition trigger exactly does the contrary.
EBR re-definition lifecycle in ADOP process would have similar pattern
  • Virgin state of the database will have only one edition, prepatch
  • During the patching process, the database will have two editions called prepatch and its child edition called postpatch.
  • When you have successfully executed the ‘cutover’ stage of the ADOP cycle which is at the stage where you no longer need prepatch edition, it will be retired and postpatch will now become parent edition and thus will have one edition.
Reference:
http://www.oracle.com/technetwork/database/features/availability/edition-based-redefinition-1-133045.pdf
http://docs.oracle.com/cd/E11882_01/appdev.112/e10471/adfns_editions.htm
http://www.oracle.com/webfolder/technetwork/tutorials/obe/ebs/ebs121/atg/OnlinePatching.pdf
MOS: Example of Edition-Based Redefinition using Cross-Edition Triggers [ID 845667.1]

Monday, August 27, 2012

Tip of the week: Resolving 12C Cloud Control database backup notification issues.

Scenario:
In 12c CC, after scheduling database backup job and configuring email notification, system doesn’t successfully email the status of the backup jobs. Email notification within 12c would work otherwise. Interestingly, the notification would not work just for database backup jobs.
Steps to diagnose the issue:
1.Please ensure your database target ‘yourdb’ in issue has been listed in the 'Job Events For Targets' by navigating to EM 12c -> Setup -> Incidents -> Job Events
2.If the above doesn't help, then please do:
2.1 Log on the repository db of EM 12c as SYSMAN user to query the following then upload the output.html file for checking
SQL>set markup html on spool on
SQL>spool output.html
SQL>select * from mgmt_targets where target_name='PRD1';
SQL>select * from mgmt_notification_log;
SQL>spool off
2.2 Set EM 12c OMS to DEBUG level
cd <OMS_HOME>/bin
emctl set property -name log4j.rootCategory -value 'DEBUG, emlogAppender, emtrcAppender' -module logging
2.3 Then reproduce this issue.
If you find below errors in <gc_inst>/em/EMGC_OMS1/sysman/log/emoms.trc, then perform the below mentioned Resolution to resolve the issue.
2012-08-23 17:05:51,519 [DeliveryThread-EMAIL6] WARN notification.pbs logp.251 - Delivery.run: java.util.MissingResourceException: Can't find bundle for base name oracle.sysman.db.rsc.rec.BackupJobMsg, locale en_US
java.util.MissingResourceException: Can't find bundle for base name oracle.sysman.db.rsc.rec.BackupJobMsg, locale en_US
Resolution:
As per the uploaded file emoms_pbs.trc, it shows the exactly same error messages described in the bug 13334194.
Apply the EM 12c BP1( per Doc ID 1430518.1) patch to resolve this issue, as it has included the fix of bug 13334194.
Reference:
Mandatory Enterprise Manager Cloud Control 12c Release 12.1.0.1 Bundle Patch 1 (BP1) for all available platforms (Doc ID 1430518.1)
Document 1395505.1 - Announcing Enterprise Manager Cloud Control 12c Release 12.1.0.1 Bundle Patch 1(BP1) and 12.1.0.2 Plug-ins.
EM 12c How to Configure Notifications for Job Executions? (Doc ID 1386816.1)

Monday, August 20, 2012

Attending OOW '12? Learn Automating business processes in Oracle EBS R12.1.3 using Oracle WebCenter Imaging.

At Oracle Open World 2012, Jamie Rancourt and I are presenting on Oracle Webcenter Imaging and how it helps with business process automation and seamless integration with Oracle E-Business Suite.  In this session, we’ll be sharing one of the first successful implementations of Oracle Webcenter Imaging with Oracle E-Business Suite 12.1.3, which opened up opportunities for global shared services Center of Excellence, technology platform consolidation and an opportunity to enable a robust green initiative.
If you are attending OpenWorld, please come and learn more about the successful implementation of Oracle WebCenter Imaging including the business drivers and challenges that elicited the implementation, the challenges that were faced during the implementation, the immediate and long term benefits that we are realizing.
In fact, a live demo is planned as part of this session.
Session details:
CON8881 - Cut Costs by as Much as 90 Percent with Accounts Payable Automation
Thursday, Oct 4, 2:15 PM - 3:15 PM - Moscone West - 2005
Session Speakers
Sunthar Tharmalingam - Technical Team Lead - Oracle Systems, DDI
Jamie Rancourt - Senior Manager of Product Management, Oracle
Session Description
How can you reduce accounts payable processing costs as much as 90 percent? By eliminating paper and automating data entry. And what’s the best way to do that? Attend this session, and learn how Oracle WebCenter helps reduce invoice processing costs while speeding business processes. Learn how businesses such as The Home Depot, Costco, and Texas Industries have benefited from Oracle WebCenter by automating accounts payable as well as by expanding in areas such as employee on boarding, travel and expense, customer support, and other uses through a single content management infrastructure.

Monday, July 23, 2012

Tip of the week: Resolving ECM starting issues in Oracle WebCenter

Tip of the week: Resolving ECM starting issues in Oracle WebCenter
Issue: Unable to start ECM service. Even though starting the service ECM_server1 from windows services appears to be working, but in few minutes the service would automatically shuts down. While we continue to analyze the reason, here is a solution to resolve the issue. Just wanted share the solution in case if you are experiencing the same.
 Solution:
  1. Open a command prompt.
  2. Navigate to F:\Oracle\Middleware\user_projects\domains\ECM_domain\bin
  3. Run “startManagedWebLogic.cmd UCM_server1”
  4. Monitor messages in command prompt until UCM service shows a status of RUNNING.
  5. Press Ctrl-C to terminate the service.  Answer ‘Y’ when prompted to terminate the batch job.
  6. Close the command prompt and start the UCM service in Windows Services again.
Thanks to the contributors Dave Sagendorf and Scott St.Laurent

Sunday, July 8, 2012

Ready for Fusion Apps? Thoughts on AL32UTF8 characterset.

So we all get excited about Oracle’s Fusion Apps. Even though this post is not to talk much about Fusion Apps, yet help you prepare for Fusion Apps in one specific way. That’s from character set perspective. AL32UTF8 is the ONLY supported character set in Fusion Apps. In fact any of the Oracle products that got ‘Fusion’ in it such as Fusion Analytics, Fusion WebCenter, requires AL32UTF8 character set.  That being said, many organizations are running database character sets ranging from US7ASCII to UTF8. Well, all these are not going to be supported when you get to Fusion apps. Wait; there is more of disappointing news. If you are in UTF8 today, it is deprecated too.
With all the above not so good news, it’s highly recommended that we start planning for AL32UTF8 character set migration.  In past, many of us used CSSCAN and CSALTER tools for character set migration. Now those tools are desupported. The official desupport announcement is included in the My Oracle Support note with the document ID 1418321.1.
I certainly don’t want this post to be a downer by not bringing in good news. So here you go.
Oracle introduced Database Migration Assistant for Unicode (DMU), which is a Java based GUI tool that is more intuitive than prior character set migration tools. DMU is the recommended character set migration of any database in version 11.2.0.3 or newer. In fact, 11.2.0.3 comes with DMU. It provides a robust scan capability that produces in a grid format with various states of your data such as Need No Change, Need Conversion, Invalid Binary Representation, Over Column Limit, and Over Type Limit. Moreover, DMU provides several compelling characteristics such as allowing inline conversion of data set instead of exporting and importing the entire database, which is quite an undertaking in huge database environments. Imagine how this tool becomes handy when your Terabyte+ database has less that 5% of data actually requires migration. It also provides you approximate space requirements for the conversion too. Standby, for more in depth analysis of DMU.
Reference Documents:
MOS: The Database Migration Assistant for Unicode (DMU) Tool [ID 1272374.1]
http://www.oracle.com/technetwork/database/globalization/dmu/overview/index.html

Wednesday, June 20, 2012

Oracle EBS R12.2 Online patching via ADOP

Oracle EBS R12.2 Online patching via ADOP
Recently, had an opportunity to attend an interesting session orchestrated by ATG team at Oracle to discuss the new online patching tool (ADOP) in R12.2. Loads of changes to the entire patching process yet mammoth advantages.
New ADOP has 5 phases. My understanding is the ADOP process got 5 phases.
Prepare: Copies the production application code, which in turn creates so called patch edition. During this stage, patch edition and the actual run edition of the file systems are synchronized. It’s in a way easier to sync the patch and run edition. But becomes more complicated during the database’s prepare phase. Even in database, the ADOP process creates a patch version. Here, code objects in the patch edition got just pointers to the actual run edition. Interestingly, none of the storage objects (tables, indexes, etc.) are not copied though.
Apply: In this phase, ADOP applies one or more patches to the copy edition. It executes the patch drivers to the patch edition.
Finalize: This is the final online phase where ADOP process performs tasks such as compile invalid objects, pre-compute DDL to be run. Once this process is completed, the next phase ‘Cutover’ can be scheduled.
Cutover: This is the phase that requires predictable downtime. Here the actual migration of run version to patch version in both file system and database occurs. A restart of middle-tier is required at this stage. Per Oracle, we still are able to perform certain patches in hotpatch mode that doesn’t require downtime. Details to follow upon further hands-on.
Cleanup: Literally clean-up occurs after the users are back online. In this phase ADOP starts cleaning up the old editions to recover space.
ADOP’s Major capabilities are not limited to the following.
  • A patch cycle can be aborted any time before cutover phase.
  • As the new ADOP process maintains a copy of the file system, the size would absolutely double.
  • System and seed tablespaces would now require 100% more space.
  • You can have one instance top to point to multiple environments.
As database edition based patching cycle is significant portion of 12.2’s patching, I will address it as a separate post in coming days.
A special thanks to Oracle’s ATG team.

Sunday, April 29, 2012

Fixing Output Post-processor actions failed issues in EBS R12

Tip of the week:
Environment: Oracle EBS 12.1.3, Oracle Database 11gR2, RedHat Linux5
Symptoms:
Users unable to open the out files.
Concurrent requests failed with "Post-processing of request failed error message"
One or more post-processing actions failed. Consult the OPP service log for details.
No further attempts will be made to post-process this request.
Cause:
The concurrent manager process was able to successfully invoke the Output Post-Processor (OPP) but encountered a timeout as the OPP takes longer than the value assigned to complete the job.
 Solution:
Increase the value of profile Concurrent: OPP Response Timeout . Bounce Apache and retest.
If the issue still exists, perform the following steps.
Increase the number of Output Post Processors as follows:
Increase the number of processes for Output Post Processor.
Additionally, ensure there is a setting of  oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5 under Parameters.

Monday, April 16, 2012

Post R12 Upgrade Financial statement Generators fails with ORA-01722: invalid number.


Tip of the week:
Issue: When Financial Statement Generator (FSG) reports are run after R12 .1.3 upgrade, they end in following errors.
 1.  rgrsap.rgrsxp: ORA-01722: invalid number
2. rgrdpg.rgrdpg: Unable to read value for profile option RG_DEBUG_ON
3. PERF0005: Oracle error detected in get_def_ldgs - ORA-01403: no data found

Resolution:
1.     Set the Profile option "FSG: Enable search Optimization" to 'YES'.
In R12.1.3 this profile option value MUST be set to YES. It is no longer used in R12.1.3, however having it set to NO can cause unpredictable and invalid results in reports.
2.     Run the following command from $RG_TOP/patch/115/import/US
[applmgr]$ FNDLOAD apps/fnd 0 Y UPLOAD $RG_TOP/patch/115/import/rgnlssra.lct $RG_TOP/patch/115/import/US/b5922303.ldt RG_REPORT_STANDARD_AXES
This should resolve the issue.

Reference MOS documents:
R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS - ORA-01403: No Data Found Common Issues [ID 1368691.1]
R12: RGRARG FSG Completes with Error, rgrsap.rgrsxp: ORA-01722: Invalid Number [ID 579655.1]

Tuesday, April 10, 2012

Resolving OID/SSO issues during Oracle EBS R12.1.3 Upgrade


During our recent EBS 12.1.3 upgrade, we ran into an enthralling yet a show-stopper issue. Just to elaborate a bit, instantly after the upgrade, we can successfully log into EBS 12.1.3. But opening forms would take forever.  Even enabling trace level 5 for Java console, did not produce useful results.  After exhausting customary troubleshooting steps in such scenarios and as part of process of elimination, we managed to nail the issue down to OID/SSO. Yes. This is not an issue for users with “Applications SSO Login Types set to Local”.
Furthermore, we tried removing the references, de-register/register options all produced successful completion, yet failed to resolve the issue. Run the following SQL statement to see whether OID/SSO registration was done correctly:
SELECT * FROM fnd_user_preferences
WHERE user_name='#INTERNAL' AND module_name= 'OID_CONF';

Interestingly, query did not return any values. In such cases, run the following to populate fnd_user_preferences with appropriate OID/SSO values.
SQL> execute fnd_oid_plug.setPlugin;

Verify that Custom DIT entries are now present in FND_USER_PREFERENCES table using below query:

SELECT * FROM fnd_user_preferences WHERE user_name='#INTERNAL' AND module_name= 'OID_CONF'
 
Now de-register EBuisness Instance with SSO/OID via interactive or non-interactive mode.
Syntax for interactive mode:
$FND_TOP/bin/txkrun.pl \
-script=SetSSOReg \
-deregister=yes
Non-interactive mode:
$FND_TOP/bin/txkrun.pl \
-script=SetSSOReg \
-deregister=yes \
-appspass= \
[-oidadminuser=cn= \]
-oidadminuserpass= \
[-ldaphost= \]
[-ldapport= \]
[-appname= \]
[-svcname= ]


Before registering make sure to change the following profiles with the values give as below.
  • Applications SSO Type: SSWAw/SSO
  • Applications SSO Auto Link User: Enable
  • Applications SSO Login Types: Both
  • Application SSO LDAP Synchronization: Enable
  • Applications SSO Enable OID Identity Add Event: Enable
  • Link Applications user with OID user with same username: Enable
 Re-register Ebiz with OID/SSO  and re-test.
Interactive mode:
$FND_TOP/bin/txkrun.pl \
-script=SetSSOReg \
-registerinstance=yes$FND_TOP/bin/txkrun.pl \
-script=SetSSOReg \
-registerinstance=yes
Non-interactive mode
$FND_TOP/bin/txkrun.pl \
-script=SetSSOReg \
-registerinstance=yes \
-infradbhost= \
-ldapport= \
-ldapportssl= \
[-ldaphost= \]
[-oidadminuser=cn= \]
-oidadminuserpass= \
-appspass=

Reference Library
MOS
ORA:20001 Not Able To Create Users In Oracle Appsable To Call Fnd_ldap [ID 1237624.1]
Cannot Launch Multiple Forms Sessions After Registering with SSO Due to Lock on FND_USER_PREFERENCES [ID 1360722.1]
"Applications SSO Auto Link User" (APPS_SSO_AUTO_LINK_USER) Profile option doesn't work and still ask to manually link the user [ID 399117.1]
ORA:20001 Not Able To Create Users In Oracle Appsable To Call Fnd_ldap [ID 1237624.1]
Integrating Oracle EBusiness Suite Release 12 with 10g AS Oracle Internet Directory and Oracle Single Sign-On [376811.1]
http://docs.oracle.com/cd/B34956_01/current/acrobat/120sasg.pdf