Script to generate Kill Locked Sessions in Oracle :
In case of RDS ,
SELECT 'exec rdsadmin.rdsadmin_util.kill('||s.sid ||','|| s.serial# ||' );' FROM v$session s , v$process p , v$lock l , dba_objects o WHERE s.paddr = p.addr AND l.sid = s.sid AND l.id1 = o.object_id AND s.username = 'XXAPPS' --- Change as needed. AND object_name like ('XXSC%'); --- Change as needed.
When you try to Open R12 Form template fmb files in Oracle forms, you may receive FRM-10102: Cannot attach PL/SQL library APPCORE .
Unable to open Template.fmb. Getting following error
FRM-10102: Cannot attach PL/SQL library APPCORE. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library APPDAYPK. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library GLOBE. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library FNDSQF. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library JA. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library JE. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library JL. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library VERT. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library GHR. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library PQH_GEN. This library attachment will be lost if the module is saved. FRM-10102: Cannot attach PL/SQL library PSAC. This library attachment will be lost if the module is saved.
Solution : Set the Path for FORMS_PATH with the location of all core libraries(pll files).