Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

oracle search

Showing posts with label 11i. Show all posts
Showing posts with label 11i. Show all posts

Saturday, July 12, 2008

Messed up with AutoConfig !!!

Autoconfig messed up what to do?

after you changed your current xml file (context file) of courser without taking backup and then after you had run adautocfg.sh you find out that you messed every thing up, and you need to go back to the previous status but you don’t have backup of your xml file so what can you do?.

-Fist of all before editing the xml file always take backup.
-If you want to do changes on your xml file try to do it using OAM (Oracle applications manger) Site Map->System Configuration ->Autoconfig. OAM backup your xml by default. And it also allows you to see the history of your xml files and what compare between current xml and the one in history.
-Incase you don’t have backup and you messed every thing up you can do the following.

When you run adautocfg.sh it takes backup under the following directory
-$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/out/MMDDhhmm for the database tire.
-$APPL_TOP/admin/$CONTEXT_NAME/out/MMDDhhmm for the applications tire.
* Where MM is the month, DD is the day, hh is the hour, and mm is the minute when adconfig.sh was executed.

All what you have to do is to go to this directories and run a script called restore.sh

Nice thing you can do before you run adautocfg.sh is to run adchkcfg.sh script. This script
generates an HTML file named cfgcheck.html that displays the differences
in the configurations. The file will be located under
-$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/out/MMDDhhmm on the database tire.
-$APPL_TOP/admin/$CONTEXT_NAME/out/MMDDhhmm on the application tire.

Please leave a comment if this post was helpful or not and thank you for taking time to read my posts

And always keep in mind
Oracle is not Magic, it just takes years of experience ;-)

Wednesday, July 9, 2008

Apps DBAs Sharing!




















Dear all,

I would like to share with the you a few chapters of a book I like a lot; most of you know the book (Oracle Applications DBA Field Guide), I came a cross this copy on the net on the http://www.apress.com/ site so I wanted it to share it with you all.
I am sure you will all benefit from the book.
Click to Download Book

The original copy is available on après in the following link
-Apress
-Amazon

I hope any one have good link or document and can share it with us to post it on the comments part.

Fadi

Things I faced during implementing apps (11.5.10.2) on IBM AIX 5.3

Things I faced during implementing apps (11.5.10.2) on IBM AIX 5.3

Direct to the point, the issue is

1- After the installation and the post installation tasks went successfully I tried to create a user from sysadmin responsibility and I faced the following error when trying to display responsibilities to that user.

ORA-01403: no data foundFRM-40502: ORACLE error: unable to read list of values.
FRM-40815: Variable GLOBAL.LLL(xx) does not exist.
This problem seems to affect several different LOVs.

According to metalink note 338469.1 the problem is related to IBM OS security patches (APAR IY68989 and APAR IY73497) and there are 2 solutions for this problem

1- Revert the patches (APAR IY68989 and APAR IY73497 ) applied in the system.
2- Permanent Solution is to apply oracle patch no. (4689213).

Fadi Hasweh

My Daily Check list

My daily Check list

Every day at the morning i do tow things
- Oracle applications and database check list.
- Oracle applications community check list.
In the first check list (apps and db) check list I check for the following

Check Apache server is up
Check Discoverer processes
Check Concurrent manager is up
Check forms is up
Clear tmp logs
Check disk space
Check memory usage
Look for new entries on alert log file
Verify success of database backup
Verify archive logs
Verify that all instances are up


In the second check list (apps community) check list I check the following websites and email lists

Oracle Apps Forums
Steven Chan an Oracle insider
Atul Become an Apps DBA
Sam Apps DBA Blog
Anil Apps Techno Functional Blog

I also keep monitoring the oracle-apps-l@Groups.ITtoolbox.com, oracle-db-l@Groups.ITtoolbox.com email lists.

If someone can add more resources please leave your comments

Oracle is not Magic, it just takes years of experience and doing my check lists ;-

Apps 11i Keys shortcut

below are 11i keys quick shortcut it will help to save time
F4 Exit
F5 Clear Field
F6 Clear Record
F7 Clear Block
F8 Clear Form
F11 Query Enter
F12 Count Query
Ctrl + S Save
Ctrl + L List of Values
Ctrl + F11 Query Run
Ctrl + E Edit
Ctrl + Up Delete Record
Ctrl + Down Insert Record
Ctrl + P Print
Ctrl + U Update Record
Ctrl + B Block Menu
Ctrl + K Display list of Keys
Shift + F5 Duplicate Field
Shift + F6 Duplicate Record
Shift + F8 Next Set of Records (Same as Page Down)
Shift + Page Down Next Block
Shift + Tab Previous Field
Shift + Page Up Previous Block
Shift + Ctrl + E Display Error
Page Down Scroll Down (Same as Shift + F8)
Page Up Scroll Up
Tab Next Field
Down Arrow Next Record
Up Arrow Previous Record
Return Return

Harder Passwords

On apps there are a lot of profile options that are useful in making apps passwords difficult to guess, the profiles are

1-Signon password failure limit
2-Signon Password Length
3-Signon Password No Reuse
4-Signon Password Hard to Guess

For the first one it means how many time can I try to access the system using wrong password by default apps leave the open you can try wrong passwords as much as you like but the recommendation it to change this value to 3.

The second one is how much is your password length by default it is set to 5 it is recommended to make it 6 or 7.

The 3ed profile is for how long I cannot use the same password on day I have this value at my environment set to 90 days I cannot use the same password unless at least 90 days pass by default this value is set to none.

For the 4th profile option by default it is set to no making it yes will give you the following benefits 1) The password contains at least one letter and at least one number.2) The password does not contain the username.3) The password does not contain repeating characters. (By repeating characters, we mean *consecutively* repeating characters).

Of course when you creating a user at your system using sysadmin->security->users there is an option that the user must change its password every n days I have this set to 30 days so my users have to change their passwords every 30 days


Thank you all for reading and please leave your comments

Fadi

Are you looking for apps 11i book check this out

I think this is the second book after the (Oracle Applications DBA Field Guide) that discuses in details about oracle applications 11i (11.5.10+). It is a new book and from the index, I can tell that it seems to be a very good book, which I will try to buy. The book is OnCallDBA and Solution Beacon's latest collaboration and it was written by (Barbara Matthews , John Stouffer , Karen Brownfield , Randy Giefer , James Morrow , Bruno Coon , Faun deHenry , Jeff Holt , Tim Sharpe).

The topics discussed in this book are
-Release 11i Concepts and Architecture.
-Installing Release 11i.
-Upgrading or Migrating to Release 11i.
-Maintaining Release 11i.
-Administering Release 11i.
-Securing Release 11i.
-Setting Up and Using the Concurrent Manager.
-Release 11i Reporting.
-Tuning and Troubleshooting.
-Oracle 10g.

The book details as follow
Printed: 559 pages, 8.50" x 11.00", perfect binding, black and white interior ink
Publisher: Barbara Matthews
Copyright: © 2007 Standard Copyright License
Language: English
Country: United States

Finally, the price is $ 69.99 I hope if any one who had the book can share what he thinks about it.

For more information, please visit

Monitor your apps performance

I came across note 244040.1 the note name is (Recommended Performance Patches for Oracle E-Business Suite) this note states the following (This document contains a list of performance patches that E-Business Suite development recommends customers to apply)and have the following fields

Product: FORMS
Bug#: 2283443
Description: Menu toolbar icons not picked up from cached jar file.
Affected Versions: Regression in Forms Patchset 8 (Forms ver. 6.0.8.17).
Fix/Workaround: Fixed in Forms Patchset 10 ( Forms ver. 6.0.8.19.1) and higher.
Symptoms/Comments: Access log file of the web listener will show icon gif files being downloaded from the media directory for each Forms application startup.

I think apps dbas should monitor this note once in while so they can stay updated incase any patch related to apps performance needs to be applied.

Do you want to remap your keyboard keys with oracle apps?

Sorry for the not posting lately but I am busy with a project anyway my development team asked me to disable ctlr+s for saving they don’t want the end user to you use it to save, he must click the save button, they want to make sure that he want to save and its not just an habit.

So all what I have to do is the following:
-Make a backup copy of $ORACLE_HOME/forms60/admin/resource/US/fmrweb.res
-edit the fmrweb.res file.
-search for the ctrl+s line and I deleted/commented it.
-an example below on what else you can do
Before Change
-------------
118 : 0 : "F7" : 69 : "Clear Block"
119 : 0 : "F8" : 74 : "Clear Form"
122 : 0 : "F11" : 76 : "Enter Query"
122 : 2 : "Ctrl+F11" : 77 : "Execute Query"

Modified
--------
118 : 0 : "F11" : 76 : "Clear Block"
119 : 0 : "Ctrl+F11" : 77 : "Clear Form"
122 : 0 : "F7" : 69 : "Enter Query"
122 : 2 : "F8" : 74 : "Execute Query"

The above changes will enable users to use F7 and F8 to 'Enter Query' and 'Execute Query' instead of default settings of F11 and Ctrl+F11.

For more info go to metalink and search for fmrweb.res you will find a lot of related info.
have a magicla day
fadi

1Z1-233 Beta Exam 11i Install Patch and Maintain Oracle Applications Ed 5.1

Two days ago I applied the 11i Install Patch and Maintain Oracle Applications Ed 5.1 beta exam, the exam had 153 questions within 3 hours time, some of the questions was an easy going and a little of them were mid/difficult but in general it was an easy going exam, I think I will pass, I will know the results after 10 weeks and I will update you, the exam cover every thing from rapiwiz, cloning, adadmin, admerg, logs, autoconfig, xml file, CM …etc every thing really. But I liked the exam I will prepare for the sysadmin production exam soon.

i think all apps dba should apply it when they have some time (when they are not appling patchs;-)

Have fun with oracle exams
Fadi

Apps 11i with Windows vista

(just an update, As a workaround for IE on Vista issue, Apps 11.5.10 works fine on Vista with firefox)
Our network department has a plan to go with windows vista and they asked me to open a TAR with oracle to get their official response.
Below is oracle response

QUESTION
=========
Summarize customer's question here. One question per heading.
Unable to connect from MS-Vista Client on e-Business suite 11.5.10
RESEARCH
=========
Steven's Blog
ANSWER
=======
Currently Jinitiator is not certified on MS-VistaDevelepemt is working on it but we don't have any ETA for it So, please don't upgrade to MS-Vista Sorry for that
KNOWLEDGE CONTENT
=================
Platform / Port Specific? = Not certified for the moment

Upgrade journey to R12

Well at the beginning I though it will be a difficult task but when you get in to it, you will find out that it's kind of clear task so far ;-)

My plan was to clone my production system to a new server just for the upgrade purpose so I had to do a cloning from multi-node to single node based on note 233428.1 and of course with a great help from sam's post (Multi Node to Single Node Cloning) thank you sam.

After that I started the upgrade journey to R12 I just finished the Database upgrade path acutely I am running the utlrp.sql script while I am writing this post, every thing is clear so far.
I will keep you posted in case of any issue and incase I reach the R12 successfully or not (I hope I will).

I need to major the time needed to do the upgrade and to know if there any issues, my next step will be the upgrade to R12 on my Test servers.

Fadi

What a mess

Today when the purchasing consultant tried to enter employees through the Purchasing Setup the following error occurs
ERROR
Error message is APP-PAY-06041, you cannot enter person form because HR is fully installed.

I felt like reinstallation is coming on the way, as far as I know you cannot do unlicensed a registered products (please leave comment if you know a way to do that).
Any way after searching on metalink I found note 360552.1 and the note says that to solve this issue I have to 2 options
-we should use Human resource to enter employee not purchasing.
Or (this is the first time I like or ;-)
- using sql

update FND_PRODUCT_INSTALLATIONSset STATUS ='S' where application_id= 800;

commit;

Now every is working fine enjoy consultants
fadi

Easy tool for building ER diagrams

I was searching for an easy free tool for building ER diagram, and found this amazing tool (DBDesigner 4) below is a screenshot, you can download it from here and it also build oracle scripts for you.




Sunday, March 25, 2007

Starting on apps field (my personal theory)

I receive this question (how can I start on apps technical filed? How can I be an apps dba?...etc)
Well I am going to give some hints from my point of view, those hint may not be the ideal therefore any reader of this post can leave any suggestions to make the steps better and easier.

-First of all you need to have instance (vision demo database) so you can test things on it, by this I mean that you should read the installation guide which will guide you on how to build the stage area and what are the pre-requisites (hardware/software) for the installation and the installation process using rapidwiz
The installation will not finish successfully form the first time unless you are so lucky, and from the installation you will get a good experience.
-after the installation you need to understand the applications file system structure.
- also you have to read oracle applications concepts guide.
Then you can start reading about applications administration and maintaining procedures, you need to understand both adpatch and adadmin.
- By now if you manage to install oracle applications and to apply patches on it then you are in the right track.
-then after that you need to read about backup and recovery.
-you need also to monitor oracle forums and oracle blogs.
-keep metalink as your friend.
-when you see an interesting issue in forum or blog try to track it and maybe try to solve it if you can this will give you an add experience.
-try to participate on oracle applications email lists like ittoolbox …etc.
-try to get oracle applications administration books like dba filed guide and others.

finaly keep in mind that (no pain no gain)

Please leave comments on what you think the best way to be an apps dba

Fadi P.S all the guides mentioned above can be found under (for apps 11i)

Small issue with workflow email notifications

Well been busy last week and couldn't update the blog, before a couple of days tow users called me complaining that they stopped receiving emails informing them that they have a new notifications that needs their approval, well to be honest I thought I have a serious issue because both users called in different time at the same day, I check the workflow email server setup and it is working fine, after a little investigation I find out that in some how both users preferences got changed, so I change it back as follow

-Once logged into Applications, go to preferences link in the Home page . - At the bottom of that page is the Header - Notifications, Email Type - Select HTML Mail (It was empty)

And every thing back to normal.

Fadi

CM priority vs. new manager

At my production environment we have a complete customized module called PoS (Point of Sale) which we use to sale our products and it is integrated with oracle apps financials and CRM modules, among of this customized module we have a lot of customized concurrent requests related to sale process and printing contracts. Those requests mainly related to customer service for ex. If the customer buys a product a concurrent request to print the contract will run when the user submit the sale. we faces an issue at the begging of each month that when the financial users run the journal import and end of month requests which they are many requests by the way. Those requests took a lot of time to run and in turn affect the customer which has to wait until his contract got processed by the CM which is busy handling other request. I hope I described the issue clearly since it is difficult to write.

Anyway to solve this issue I create a new stander manger just for the point of sales module, but I found out that when there is no point of sale requests this manager will stay ideal while the other manger that handle all the other request is busy which is not correct. So I deleted this new stander manager and changed all the PoS request priority to a higher priority, now when every a PoS request run it run first because it has higher priority than the stander request and by this I managed to solve my issue.

To do that I went to system administrator->concurrent->program->define->query the requests and change all its priority to 30.

(0 is highest priority and 100 is the lowest and the default priority value 50)

Please leave a comment if you have better way to solve the issue.

increment date paramters each run is not working

i schedualed concurrent request that take a date prameter to run daily with the option "increment date paramters each run" but it runs daily without incremeting the date what could be worng i thought the issue was on the date format so i change it but still, i opened a forum under oracle forums with the issue and my friend dgood76 gave me a metalink note with a hint on how to work around this issue. the note number is 339849.1(Unexpected Behavior Using Increment Date Parameter Each Run)

in this note the workaround suggested by oracle development is to make use of a wrapper Concurrent Program which submits the actual Concurrent Request. Any Default Parameter that needs to be reevaluate for each run needs to behandled within the wrapper script.

then note has an examble on how to do that. You basically need to have 2 concurrent programs one that take that date parameter and other concurrent program calculated the date parameter value and submit the first concurrent request with the correct value.

so thank you dgood76 for your support ;-)

fadi

Shay's 10 Commandments for the OTN forums

I was reading a funny forum it's titled is "URGENT URGENT PLZ READ B4 OTHERS VERY URGENT NO TIME WASTERS" you should read it when you have time and one of the forum users replied asking to read Shay's Shmeltzer post about the (10 Commandments for the OTN Forums Member) and below I am copying and pasting from shay's blog you can go to his blog to read the full article

"Five rules to getting a better solution
1. Have a meaningful subject line
I'm tired of seeing a subject line like "I need urgent help". Your subject should specify what the problem core is and in what area
2. Give details about versions and technologies
Are you using JDeveloper 10.1.3.1 or JDeveloper 9.0.4? Are you using ADF BC or EJB?
3. Give detailed error messages
Don't say - it throws an error - tell us what the error is and give the stack trace.
4. If possible provide steps to reproduce the problem
If something doesn't work for you - I can't know why if you don't tell me what you did. Sometime you can even post code that reproduce the problem
5. Search before you post
It's for your own good - it brings you the solution faster. Search both the forum and Google for your question - you'll be surprised how many times you'll find a solution that someone else got.

Five rules to become a better member of the community
6. Get a name
In your forums preferences you can set up a name or handle that will help us recognize you (and even a link to your blog). Do you really want to be known as user5667847? Using your real name is even better - then when someone meets you in a conference or an event - They'll already know who you are.
7. Post the solution
If your issue was solved post the solution on the thread so others that run into the same error can fix it faster. Just writing "I fixed it" doesn't count.
8. Mark solved problems with [Solved]
Once you found a solution to a problem edit the thread and add [SOLVED] to the subject line. This will help people identify solved problems.
9. Track your threads
In your forum preferences check the option that alerts/emails you when your thread has been updated. This way you'll be able to get better response time and also answer follow up questions. 10. Don't just ask question
give some answers as wellThe forum is a community - the community will only grow if you'll be an active participant. Posting question is just one side of the coin - actually answering other people questions is even more important. So go ahead and show off the knowledge you have gathered - it is the first step to take if you want to become an Oracle ACE.
"

It’s a great commandment and again I copied/pasted them from his blog so the credit goes to him.
Thank you Shay

I would like to add number 11. is to be gentle at your replies to the users even if they made mistakes since no one knows every thing and we all learn from our mistakes, so try to be gentle as much as you can when you are trying to correct someone mistake and don’t try to embarrass him.

fadi

Oracle Applications SQL scripts

Oracle Applications has useful collection of ready SQL scripts under $AD_TOP/sql. The following list shows the description of each script. For more details like if a specific script is available on a specific Apps version you need to check metalink note 108207.1 you will find the script and its description below.

adcompsc.pls
Compile objects in a given schema

adcpresp.sql
The script duplicates rows in FND_RESPONSIBILITY in the following way: Find data_group_id dg_id for the given data_group_name. For each row with data_group_id 0 in FND_RESPONSIBILITY, look for a corresponding row with data_group_id dg_id, with the same application_id, and responsibility_name that only differs in the given suffix string suffix_string. If such a row does not exist for the data_group_id dg_id, insert it.

aderrch2.sql
Reports all compilation errors for a given schema.

aderrchk.sql
Same as aderrch2.sql plus it fails if there are any errors

adtresp.sql
A fix for customers who have more than one set of books and they installed languages other than AMERICAN English. The symptom of the bug is that responsibility names are not translated properly for non-Standard data groups.

adutcobj.sql
Count objects by object type in schema

adutconf.sql
Utility script to display configuration of Applications

adutfip.sql
Utility script to display worker information

adutfpd.sql
Utility script to display product dependency information

ADXANLYZ.sql
Analyze all tables in an ORACLE ID with estimate sample 20%

ADXCKPIN.sql
Query the shared_pool area to determine space used by PL/SQL objects and whether they have been pinned.

ADXGNPIN.sql
Creates and runs a "pin" script for all packages and functions in a give schema

ADXGNPNS.sql
Creates and runs a "pin" script for all sequences in a give schema

ADXINMAI.sql
Install tables and views used by the Applications*DBA sql scripts.

adxirc.sql
AD - index - report columns

ADXLMCBC.sql
Live Monitor, Categorize Block Contention

ADXLMLSO.sql
Live Monitor, List Session Objects

ADXLMQMS.sql
Live Monitor, Query Monitor Statistics

ADXLPFLS.sql
Lock Problem, Find Lock Source

ADXLPSLU.sql
Lock Problem, Show Lock Users

adxpriv7.sql
grant privileges to a user

ADXRCSDC.sql
Report Configuration, Show Database Configuration formerly, config.sql (rollback, tablespace, data files)

ADXRCSTG.sql
Report Configuration, Select Table Grants

ADXRSEBH.sql
Estimate the effect of a bigger SGA cache on cache hit rate.

ADXRSESH.sql
Estimate the effect of a smaller SGA cache on cache hit rate.

ADXRSFIS.sql
Find the size (blocks, extents, extpct) of the given index.

ADXRSFTS.sql
Find the size (blocks, extents, extpct) of the given table.

ADXRSFUA.sql
Report the number of blocks used and the number of extents used for every table or index in every user in the database.

ADXRSLFS.sql
Report free extents in each tablespace.

ADXRSQDP.sql
Check for cache effectiveness for dc_xxxxx parameters' values.

ADXRSRTS.sql
Produce a brief database used space report.

ADXRSSIE.sql
Generate a list of tables and indexes whose next extent to be grabbed would be too large to be allocated in their corresponding tablespaces.

ADXRSSMF.sql
List tables and indexes with a number of allocated extents close to their max_extents.

ADXRSSMS.sql
Find space used for one's own segments.

ADXRSSRS.sql
Show v$rollstat statistics.

ADXRSSSU.sql
For a username, report the number of blocks used and the number of extents used for every table or index in that username.

ADXRSSTF.sql
Produce a brief report of database fragmentation by tablespace.

ADXRSSUS.sql
Report how much space each user has.

ADXUPLUP.sql
Generate a list of processes which the given user (NOT the database account's username) owns.

ADXUPSRU.sql
Show all users that have active transactions per Rollback Segment that they are writing to.

Small issue after cloning

After I cloned my production system I faced the following error when I run adadmin or adpatch

"
AD code level : [11i.AD.I.4]


The Applications System names per the APPL_TOP and the database are different.
Applications System name per the APPL_TOP: clone
Applications System name per the database: prod

If you continue, the Applications System name per the APPL_TOP will be ignored.

Do you wish to continue [No] ?
"
To solve it I had to run the following update statement on my clone database
update FND_PRODUCT_GROUPSset APPLICATIONS_SYSTEM_NAME ='clone' ;commit;


Hope that helped

fadi