Sunday, May 29, 2011

ORA-20001

hi Everyone ,

After We installed Oracle EBS on Our PC'S I have to say this is not the end theres's lot of common problems for Oracle EBS that you will faced one of them The Above Error
This error actually Appear when you try to add Functional Administrator to your Responsibly .

Cause of this error is :

There's some package have not been complied yet so you need to drop it and recreate it again , change some parameter and bounce Apache we will talk about every steps .

Solution Of this Error :

1- As we said before you need to Drop And recreate One Produce Responsible for this error .all this inside Sqlplus (But How can you enter Sqlplus)

To enter Sql-plus as Apps user you need to set your env . just Follow these Steps and you thank me later :)

On Linux Env :
cd $ORACLE_HOME/apps/apps_st/appl




After This
. Your Env-name

And Now you can enter to your Sqlplus apps/apps .

No , we not Finish Yet . all this to enable Sqlplus . we back to the error now .

Following to Support.oracle [ID 839423.1] you need to follow these Steps :
  • Drop / recreate the subscriber from sqlplus as the apps user as follows:
declare
lagent sys.aq$_agent;
subscriber_exist exception;
pragma EXCEPTION_INIT(subscriber_exist, -24034);
begin
lagent := sys.aq$_agent('WF_BPEL_Q',null,0);
dbms_aqadm.add_subscriber(queue_name
=>'APPS.WF_BPEL_Q',subscriber=>lagent,rule=>'1=1');
exception
when subscriber_exist then
-- just add the rule if subscriber exists
dbms_aqadm.alter_subscriber(queue_name =>'APPS.WF_BPEL_Q',
subscriber=>lagent,
rule=>'1=1');
end;
/

In Above Steps you recreate This Produce to enable it , There's some error in the installation doesn't appear to you .



  • Run the concurrent request Workflow Directory Services User/Role Validation as follows (just Follow the screen Shot) :

To enter to Concurrent and start new Request .


Then Search for Following :



you need make new request with following parameter (parameter Not the picture)




two Request :
a. "Workflow Directory Services User/Role Validation" Parameters : 100000, Yes, No, No"
b. "Workflow Directory Services User/Role Validation" Parameters : 100000, No, Yes, No"

After You made this sometimes we face another problem that is the concurrent manager doesn't work at all so you need to enable again . But HOW Believe me its easy more than you think ?

Enter to Sqlplus (apps user) and Enter the following command :

exec wf_maintenance.ValidateUserRoles(p_BatchSize => null, p_check_dangling => TRUE, p_check_missing_ura => TRUE, p_UpdateWho => FALSE);

imagine in above steps that you enable Concurrent manager this is AMAZING !!!!!

now After you made all the perviuos steps all you have to do is the Final Steps

  • Bounce Apache But what we mean in this ???!!!!!
I mean is Stop Apache And run it Again like the following :

- you need to run env like the pervious Step.
-cd $ADMIN_SCRIPTS_HOME.
-./adapcctl.sh stopall.
-Wait Wait Wait Wait.
-./adapcctl.sh startall.


Thanks For All of you to reading this Article hope it will be useful .


Osama Mustafa .
Oracle Database Consultant .



No comments:

Post a Comment