patch application assistant for R12
April 22, 2009 at 3:45 pm | In Oracle Apps Tips and Tricks | Leave a CommentTags: admsi.pl, adpatch new features r12, oracle patch application assistant, pre patch analysis tool in R12
Hi mates,
Lets explore the New feature of R12 “Patch Application Assistant.
This is used to a pre-patch analysis .Instead of doing the same manually,This tool will achieve the same.
After extracting the patch go in the patch directory and invoke “Patch Application Assistant” by
giving the following command
$admsi.pl
In these screenshots you can see that it automatically analyses and gives recomendations.
Your comments are welcome.
–Vivek R
Editing Context file(xml file) in Oracle apps R12 using Context editor.
April 15, 2009 at 12:26 pm | In Oracle Apps | 1 CommentTags: context editor, context editor configuration R12, context editor R12, edit xml file, edit xml file using context editor
It is a mandatory thing that you should not edit the context file or xml file manually .
Context editor should be used for this(This can be used for updating ports or to change any configuration)
of application Tier or database tier.
follow these steps to install context editor in your existing oracle apps R12 system.
Apply patch 2873456 from metalink
after applying you will not be able to invoke the editcontext executable and you will get a error. this is because jre 1.1.8 which is
supplied along with this patch is no longer supported.
So download jre1.5.0_10 from sun.java.com and unpack it inside the path editcontext/jre/Linux/
and rename the old 1.1.8 jre inside that
then go to the bin directory inside the editcontext directory
open the file runWizard.sh
and accordingly replace the jre directory and also replace the jre executable with java in the same file ..
and invoke it from
$RDBMS_ORACLE_HOME/appsutil for editing database context(xml) file.
$COMMON_TOP/util for editing Application context(xml) file.
Syntax is
./editcontext
Before editing shutdown the application tier and after editing run autoconfig.sh to update the configuration files to reflect the new value.
the screen shots are as follows.





Your Comments are Welcome.
–Vivek R
Script to find and kill runaway processes (concurrent requests) after termination
April 9, 2009 at 1:09 pm | In Oracle Apps | Leave a CommentTags: clear runaway processes, concurrent request status "terminating", kill processes conc requests, script to find runaway processes, sql to find pending and running concurrent requests
Hello Guys,
This script is useful for finding the SID and serial number for a specific 11i/R12 concurrent request that has been terminated in the applications, but has not been cleaned up by PMON.
Sometimes in 11i, when a long-running concurrent request is terminated, it will still be active in the database for long periods taking up resources. With this script, you can find the SID, serial number and server PID for a terminated concurrent request so that the process can be killed at the database and OS level. The input parameter for this script is the terminated concurrent request ID.
After running this script you can then do an “alter system kill session” and a “kill-9″ using the server pid to stop the processing faster.
This script has been tested on 8.1.7.4, and on 11.5.1 through 11.5.9.
rem fndreqidx.sql
rem
SET LINESIZE 132
rem
TTITLE ‘Deleted Concurrent Manager Requests’
rem
COL user_concurrent_queue_name FORMAT a15 HEADING ‘QUEUE NAME’ trunc
COL request_id FORMAT 9999999 HEADING ‘REQUEST|ID’
COL phase_code FORMAT a1 HEADING ‘P’
COL status_code FORMAT a1 HEADING ‘S’
COL actual_start_date FORMAT a11 HEADING ‘START DATE’
COL user_name FORMAT a15 HEADING ‘USER|NAME’
COL spid FORMAT a6 HEADING ‘SERVER|PID’ headsep ‘|’
COL program FORMAT a40 HEADING ‘PROGRAM’
COL duration FORMAT a10 HEADING ‘DURATION’
COL sidserial FORMAT a11 HEADING ‘SID,SERIAL#’
–
SELECT qt.user_concurrent_queue_name
, fcr.Request_Id Request_id
, fu.User_name
, p.spid
, s.sid ||’, ‘|| s.serial# SIDSERIAL
, substr( Fcpv.Concurrent_Program_Name ||’ – ‘|| Fcpv.User_Concurrent_Program_Name, 1,46) Program
, to_char( fcr.actual_start_date, ‘mm/dd hh24:mi’ ) actual_start_date
, phase_code, status_code
, to_char( trunc(sysdate) + ( sysdate – fcr.actual_start_date )
, ‘hh24:mi:ss’ ) duration
FROM apps.Fnd_Concurrent_Queues Fcq
, apps.fnd_concurrent_queues_tl qt
, apps.Fnd_Concurrent_Requests Fcr
, apps.Fnd_Concurrent_Programs Fcp
, apps.Fnd_User Fu
, apps.Fnd_Concurrent_Processes Fpro
, v$session s
, v$process p
, apps.Fnd_Concurrent_Programs_Vl Fcpv
WHERE phase_code = ‘C’
AND status_Code = ‘X’
AND s.paddr = p.addr
AND fcr.requested_by = user_id
AND fcq.application_id = qt.application_id
AND fcq.concurrent_queue_id = qt.concurrent_queue_id
AND userenv(‘lang’) = qt.language
AND fcr.os_process_id = s.process
AND fcr.Controlling_Manager = Concurrent_Process_Id
AND (fcq.concurrent_queue_id = fpro.concurrent_queue_id
AND fcq.application_id = fpro.queue_application_id )
AND (fcr.concurrent_program_id = fcp.concurrent_program_id
AND fcr.program_application_id = fcp.application_id )
AND (fcr.concurrent_program_id = fcpv.concurrent_program_id
AND fcr.program_application_id = fcpv.application_id )
ORDER BY fcr.actual_start_date;
Your Comments Most welcome.
– Vivek R
Fixing the forms error FRM-92101 after Oracle Apps R12 Installation in RHEL4
April 9, 2009 at 10:33 am | In Oracle Apps | 6 CommentsTags: Forms session aborted: runtime process failed during startup with errors, Forms sessionfailed during startup, Forms sessionfailed during startup:no response from runtime process, frm-92101 r12 installation, FRM-92101: There was a failure in the Forms Server during startup, libXm.so.2, libXm.so.2: ELF file data encoding not little-endian, no response from runtime process, openmotif21-2.1.30-11.RHEL4.6.i386.rpm, oracle.forms.net.ConnectionException, troubleshooting oracle apps r12 forms server
Hello Guys,
Recently I have installed Oracle Applications Release 12 in RHEL 4 and
when I tried to start the services everything started fine but
when I was trying to access the forms I was getting the following error
FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration
Please look into the web-server log file for details
Details…
Java Exception
oracle.forms.net.ConnectionException:Forms sessionfailed during startup:no response from runtime process
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown source)
…………………………………………………………..
I looked into the forms server log file which is given below
$LOG_HOME/ora/10.1.3/opmn/forms_default_group_1/formsstd.out
and found the following error
testMode: false
09/04/09 08:12:17 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
09/04/09 08:14:27 ListenerServlet init()
09/04/09 08:14:28 Forms session aborted: runtime process failed during startup with
errors /u03/oracle/VIS/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries:
/usr/X11R6/lib/libXm.so.2: ELF file data encoding not little-endian
The Actual cause for this is the openmotif package which comes by default in the Linux
So I have unInstalled the openmotif package
by querying $rpm -qa open*
and by uninstalling the openmotif using the option $rpm -e
after that i have installed the required package
openmotif21-2.1.30-11.RHEL4.6 by downloading from net and then after that
i relinked the frmweb executable of forms server after shutting the apps services
by giving the following command
$cd $ORACLE_HOME/forms/lib
$make -f ins_forms.mk install
then restarted the services using adstrtal.sh apps/
and thus fixed the issue and was able to access the forms.
You can download the correct openmotif rpm for RHEL 4 here
Your Comments are welcome .
Thanks
–Vivek R
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.







