Monday, 27 March 2017

validating the front end user in oracle apps R12?

If we need to validate the front end user password is working fine or not then we can fire the below query to check the authentication of password.

Login to Database as Apps user.

SQL> select fnd_web_sec.validate_login('GUEST','welcome') from dual;

FND_WEB_SEC.VALIDATE_LOGIN('GUEST','WELCOME')
--------------------------------------------------------------------------------
Y
 

query to check work flow mailer status?

SELECT component_status
  FROM apps.fnd_svc_components
 WHERE component_id =
          (SELECT component_id
             FROM apps.fnd_svc_components
            WHERE component_name = 'Workflow Notification Mailer');



                                                                          (or)


select component_status from apps.fnd_svc_components where component_name='Workflow Notification Mailer';

Sunday, 26 March 2017

unable to launch the java virtual machine sqldeveloper?

while installing sqldeveloper if you face this error.follow the below steps to resolve this issue:-














copy the mscvcr100.dll file from C:\Users\subbu\Downloads\sqldeveloper-4.2.0.16.356.1154-x64\sqldeveloper\jdk\jre\bin\msvcr100.dll  to C:\sqldeveloper\sqldeveloper\bin\

Monday, 20 March 2017

ORA-27154,ORA-27300,ORA-27301,ORA-27302?

while starting the database if we get the following errors

ORA-27154 : past/wait create failed.
ORA-27300 : OS System dependent operation segment failed.
ORA-27301 : OS failure msg : no space left on device
ORA -27302 : failure occurred at :sskgpsemsper

sql>exit

go to root user----> vi /etc/sysctl.conf

As per the oracle the semaphore value should be set to

kernel.sem=250 32000 100 200

can we change characterset and tablespace block size after database creation?

If Tablespace block size is showing 4096.It is because while creating the database we had given db_block_size=4096,so after creation of database we cannot able to change the block size to 8192.
And also we cannot able to change the change the characterset after the database creation.

If you want to find the block size of tablespaces?

select block_size from dba_tablespaces;

If you want to find the characterset of the database?

select * from NLS_DATABASE_PARAMETERS;

select * from NLS_DATABASE_PARAMETERS where parameter='NLS_CHARACTERSET';


Friday, 24 February 2017

Difference between Oracle EBS R12.1.3 and Oracle EBS R12.2.4?

There are lot of differences.

1)In R12.2 we have to kind of filesystems fs1(run filesystem) and fs2(patch filesystem) where as In R12.1.3 we only deal with one application filesystem.

2)In R12.2 we have the Application servers replaced by Weblogic server to manage the technology statck.
The 10.1.3 Home is replaced by FMW (Fusion Middleware Home) i.e $FMW_HOME

The major change in R12.2 is involvement of Weblogic server to manager all the forms,oacore servers
where as in R12.1.3 we had the Application server 10.1.3 to manage the web home or Java Home

3)The adpatch(patching) in R 12.1.3 is replaced by adop(online patching) in R 12.2.4

adop(online patching) utility involves 5 phases to apply a standard patch in Oracle EBS R12.2.
adop involves 5 phases
1)prepare => prepare phase involves synchronization of the filesystems fs1 (run ,filesystem) and fs2(patch filesystem), filesystems are inter changeable.
2)apply=>In this phase we apply all the patches
Note: These patches need to be copied in fs_ne (non editioned filesystems)
3)finalize =>In this phase we are getting ready for cutover phase
4)cutover =>In cutover phase the filesystem switchover takes place. Previously the filesystem which was patch filesystem will now become run filesystem.)
5) cleanup =>In cleanup phase all the obsolute objects gets compiled .

adop online patching utility doesn't require downtime. It involves minimal downtime during cutover phase where switching of filesystems happens. We can apply lot of patches and do cutover any time to minimize downtime

where as in adpatch we just apply patch most of the times by bringing down applications or in hot patch mode.

4)'Apps' user Password change:
The 'apps' user password change involve 3 steps in R12.2.4
1)Change the password with FNDCPASS
2)Change the password in EBS Datasource from Weblogic admin console

Where as in R 12.1.3 It only involves 2 steps:
1)Change the password with FNDCPASS
2)Run Autoconfig
5)Log files locations:
All the oacore,forms log files are placed in $EBS_DOMAIN_HOME in R12.2. I will explain this in details in my upcoming posts.
Where as in R12.1.3 all the logs for oacore,forms are under $LOG_HOME/ora/10.1.3

Tuesday, 14 February 2017

opatch?

OPATCH---->oracle patch

To apply Opatch conditions are database and listener both must be down.
As opatch will update your current ORACLE_HOME with patches.In single instance it is not possible.
But for RAC instance it is possible.As in RAC there will be two separate oracle home and 2 separate instances running one
instance on each oracle home.

Steps before applying patch:---

1)check database status:-

select name,open_mode,database_name,created,log_mode,platform_name from v$database;

NAME            OPEN_MODE       DATABASE_NAME   CREATED         LOG_MODE
--------------- --------------- --------------- --------------- ---------------
PLATFORM_NAME
---------------
VIS             READ WRITE      VIS.subbuapps 31-OCT-16       NOARCHIVELOG
                                .COM
Linux x86 64-bit


2)check the invalid objects:-

select owner,count(*) from dba_objects where status like '%INVALID% GROUP BY owner;

3)Check Opatch version using opatch -v
if opatch version is not compatible check the readmefile and download the latest version and uncompress in $ORACLE_HOME

4)Check oraInst.loc file pointing to your current $ORACLE_HOME or not.
cat /etc/oraInst.loc

inventory_loc=/u01/app/oracle/10.2.0/GlobalOraInv
inst_group=dba

5)If your server have more then one $ORACLE_HOME then comment the other $ORACLE_HOME and
uncomment the current $ORACLE_HOME

inventory must point to the current $ORACLE_HOME which is getting patched.

6)Unzip the patch,go to patch directory and then bring down the listener,bring down the database.

7)export Opatch
export PATH=$PATH:$HOME:$ORACLE_HOME/OPatch:/bin

8)Apply Patch
opatch apply