error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found

June 4, 2009 at 4:05 am | In Oracle Apps, Tips and Tricks | Leave a Comment
Tags: , , ,

Dear Readers,
You may face the above error when You Upgrade the forms 6i developer Patchset to the
latest one 19 and if you are still in jinitiator 1.8.1 …. we all should know that the jinitiator 1.8.1 is no longer supported
by oracle …and the latest developer patchset 19 needs either SUN JRE or Jinitiator 1.3.1.x for running forms.
So If you Upgrade to either SUN JRE or Jinitiator 1.3.1.x then the issue is going to be solved.
– 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 Comment
Tags: , , , ,

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.

Screen 1

Screen 2 Locate Context File

Screen 3 Edit Values

Screen 4 Edit Ports

Screen 5 Finish & Exit

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 Comment
Tags: , , , ,

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 Comments
Tags: , , , , , , , , , ,

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

Datablock corruption after Cloning Oracle Applications Using Rapid Clone…

March 31, 2009 at 2:19 pm | In Oracle Apps | Leave a Comment
Tags: , , , , , , , , ,

Hi All,
If You follow hotbackup strategy for Oracle E-business Suite then You Sometimes land with the following problem
after cloning the instance..The root cause of which very difficult to Find.

You will land with the following Error while opening forms :–

ORA-01578: ORACLE data block corrupted (file # 96, block # 5409)
ORA-01110: data file 96: ‘/u02/oradata/a_txn_data05.dbf’
ORA-26040: Data block was loaded using the NOLOGGING option

The error indicates that This error is very serious and database is corrupted but it is NOT as it says..

I have also faced the same issue and after digging out my mind I found the following

1.When the hotbackup was taken that time one or more of the WorkFlow(WF) Tables were in NOLOGGING MODE..
and Found that the Concurrent Program “Synch WF LOCAL Tables” was doing this NOLOGGING to enable direct path LOAD…

I have used the following solutions to Solve this particular issue.

a. After Cloning from a Hotbackup
run the concurrent Program “Synch WF LOCAL Tables” which will solve the issue.

b. Do not run the hotbackup while this particular concurrent program is running.

What I would Advise is to follow Cold backup restore for Cloning(where ever possible). This will be my Best Solution to finish
the clone without issues.

Your comments are welcome…

–Vivek R

Migrate Users From E-business Suite R12 to Oracle Internet Directory

March 26, 2009 at 4:07 pm | In Oracle Apps | Leave a Comment
Tags: , , , , , , , , , , , , , , ,

Hi All,
After Integrating the Existing E-business suite R12 Instance with Single Sign On(OID)
we will find that the existing users are NOT automatically migrated to the Oracle Internet Directory.

So I will explain Here How to Migrate the existing Users from E-Business Suite to Oracle Internet Directory.
Later on depending upon the provisioning profile It will synchronize accordingly.(default setting is bi-directional).

step I.Use AppsUserExport to export apps user information from R12 E-Business Suite…

$java oracle.apps.fnd.oid.AppsUserExport -v -dbc $INST_TOP/appl/fnd/12.0.0/secure/VIS.dbc
-o usersr12.txt -pwd apps -g -l usersr12.log

Step II.Convert Intermediate LDIF file to Final LDIF File from OID Server…

Transfer the file usersr12.txt which we got from AppsUserExport to OID Server and
Execute the following command

$ldifmigrator “input_file=usersr12.txt” “output_file=usersr12.ldif”
“s_UserContainerDN=cn=users,dc=vectorconsulting,dc=co.uk”
“s_UserNicknameAttribute=uid”

Output

Migration of LDIF data completed.All entries are successfully migrated…

Step III.Loading Final LDIF File into Oracle Internet Directory..

a. disable the provisioning profile with oidprovtool..

$oidprovtool operation=disable ldap_host=sso.vectorconsulting.co.uk ldap_port=369
ldap_user_dn=cn=orcladmin ldap_user_password=welcome123 application_dn=”orclApplicationCommonName=VIS,
cn=EBusiness,cn=Products,cn=OracleContext,dc=vectorconsulting,dc=co.uk” profile_mode=BOTH

b. Stop OID Server using $ORACLE_HOME/opmn/bin/opmnctl stopall

c. Incase you used oidmon or oidctl then check using ldapcheck whether they are stopped..

d. Shutdown any other running OID processes manually by
oidctl connect=VIS server= instance=3 stop

and now grep the procesess and ensure that no OID processes are running..

e. Finally coming to the actual loading part.

we use bulkload for loading but before loading we should use the -check and -generate option
as follows to check duplicates and if duplicates are found in the logfile ,manually edit the LDIF file
and remove those user entries like follows

$bulkload connect=”IASDB” check=true generate=true file=”usersr12.ldif”

Enter OID password(orcladmin password)
the resultant logfile will be bulkload.log in $ORACLE_HOME/ldap/log directory.
After ensuring that you encounter no errors in the bulkload.log file proceed to the next step..

f.bulkload connect=’IASDB’ load=true file=”usersr12.ldif”

Now You can Start the OID Server then enable the provisiong profile using the following
$oidprovtool operation=enable ldap_host=sso.vectorconsulting.co.uk ldap_port=369
ldap_user_dn=cn=orcladmin ldap_user_password=welcome123 application_dn=”orclApplicationCommonName=VIS,
cn=EBusiness,cn=Products,cn=OracleContext,dc=vectorconsulting,dc=co.uk” profile_mode=BOTH

and check whether populated users are successfully able
to login to E-business Suite R12 Via Single-Sign On….

Your comments are welcome..

—Vivek R

How to get rid of aferror.log in Desktop while accessing R12 Instance

March 20, 2009 at 5:11 pm | In Oracle Apps | 2 Comments
Tags: ,

Hi All,
Although getting aferror.log in your desktop while accessing the R12 instance is expected behaviour,

Oracle has found ways to get rid of that… no more cleaning desktops now and no more annoying

Apply the patch Patch 6866258

I would like to mention here currently this patch is controlled with addl password

anyways from Release 12.0.5 you will no more have this issue.

– Vivek

Troubleshooting Oracle Applications Integration with SSO OID

March 19, 2009 at 1:47 pm | In Oracle Apps | Leave a Comment
Tags: , , , , , ,

a)How to reflect apps password change in OID,SSO Infra
If you Change apps account password in oracle applications then the provisioning profile must to be updated with the new information.
This can be done by running the “oidprovtool” utility, as follows:
oidprovtool operation=modify \
ldap_host= ldap_port= \
ldap_user_dn=”cn=orcladmin” ldap_user_password= \
application_dn=”" \
interface_connect_info=

For example:

oidprovtool operation=modify \
ldap_host=infra30qa ldap_port=3060 \
ldap_user_dn=cn=”orcladmin” ldap_user_password=welcome1 \
application_dn=”orclApplicationCommonName=VIS,cn=EBusiness,cn=Products,cn=OracleContext,dc=vectorconsulting,dc=co,dc=uk” \
interface_connect_info=vector01:1521:VIS:apps:welcome123

2.
Often You can find the ORCLADMIN User is locked due to the Password Policy
and further you can’t do any thing without entering into Identity manager or Selfservice…
There are ways to unlock the password ..

2.
How to Unlock ORCLADMIN (super user for IAS Infrastructure) account
In the OracleAS 10g environment,from the console run the command:

oidpasswd unlock_su_acct=true

At the prompt “OID DB user password:” enter the Infrastructure password (the old orcladmin password).
this will unlock the locked orcladmin password..

what is dbc file in Apps and its Importance

March 18, 2009 at 9:54 pm | In Oracle Apps | Leave a Comment
Tags: , , ,

dbc (database connector) file is the key configuration file in oracle applications(E-business suite)
Its Location is $FND_TOP/secure..

It is the main configuration file using which applications connect to the database.
It has the following information also i have given the equivalent parameter in the xml(context) file.

Context File Parameter Parameter in the DBC File Description
———————————————————————————————————————————-

s_guest_user GUEST_USER_PWD Guest Account
s_guest_pass

s_dbhost DB_HOST Database hostname

s_dbport DB_PORT Port number for database listener

s_dbSid DB_NAME Database name

s_fnd_jdbc_buffermin FND_JDBC_BUFFER_MIN Minimum Number of
connections the pool maintains

s_fnd_jdbc_buffermax FND_JDBC_BUFFER_MAX Maximum number of connections
the pool allows

s_fnd_jdbc_buffer_decay_interval FND_JDBC_BUFFER_DECAY_INTERVAL Specifies how often the
connection pool checks buffer size

s_fnd_jdbc_buffer_decay_size FND_JDBC_BUFFER_DECAY_SIZE Maximum number of connections
removed during a cycle.

Oracle E-business Suite R12/11i Users not synchronizing with OID(SSO)

March 18, 2009 at 3:15 pm | In Oracle Apps | Leave a Comment
Tags: , , , , , , , ,

Hi All,
In this post I would like to take the oppurtunity about one of the possible issues everyone will face when supporting Single Sign On (with OID) and Oracle E-business R12/R11i.
For Some time After the Implementation the synchronization will work fine , i.e If you create a User in Oracle Apps from Sysadmin->Security –> Define –> User then it will automatically propogate in SSO(OID) if you have enabled bidirectional profiling. But After some time you will face issues and your user created in apps will not be propogated to single sign on and there may be many reasons behind this.
1. like the related procedures becoming invalid or something like that.
2.The odisrv sync process may not be running
3.You can query FND_LOG_MESSAGES after enabling Debug for FND..
but the thing which you will not come to know is about the Password Expiry date of AppsDN User…
AppsDN is the user which internally links OID to Oracle Apps R12/11i.
by default OID sets the Password Expiry to 60 days so after that the synchronization will not happen automatically.
How to check that this the original cause?

AppsDN password is kept in two places, one in OID Repository and one in Oracle Apps Instance

If you do a ldapcompare of this then you will be able to find whether the password is locked or you can troubleshoot further…

This is stored in Entry Management realm DN and in Oracle Context ->Products->Ebusiness->DN..

steps to verify this are as follows..

1.execute the following in the apps instance to get the actual password

SQL>select fnd_preference.eget(‘#INTERNAL’, ‘LDAP_SYNCH’,'EPWD’,'LDAP_PWD’) Password from dual;
PASSWORD
———————————–
vivek123

in my case the password is vivek123

and orcladmin password is sunmicro1

AppsDN from OID Manager i found is VIS (since this one is vision)

Now login to shell prompt in Infra Instance where OID is installed and fire the following command

a) [oracle@ssoserver bin]$ $ORACLE_HOME/bin/ldapcompare -h sso.vectorconsuting.co.uk -p 389 -D cn=orcladmin -w sunmicro1 -b “orclApplicationCommonName=VIS, cn=EBusiness,cn=Products,cn=OracleContext,dc=vectorconsulting,dc=co,dc=uk” -a userpassword -v vivek123
The value oracleadmin1 is contained in the attribute userpassword in DN orclApplicationCommonName=VIS, cn=EBusiness,cn=Products,cn=OracleContext,dc=vectorconsulting,dc=co,dc=uk.

This means the password is working properly and synchronization is happening properly without any issues…

b) [oracle@ssoserver bin]$ $ORACLE_HOME/bin/ldapcompare -h sso.vectorconsuting.co.uk -p 389 -D cn=orcladmin -w sunmicro1 -b “orclApplicationCommonName=VIS, cn=EBusiness,cn=Products,cn=OracleContext,dc=vectorconsulting,dc=co,dc=uk” -a userpassword -v vivek123

The value oracleadmin1 is not contained in the attribute userpassword in DN orclApplicationCommonName=VIS, cn=EBusiness,cn=Products,cn=OracleContext,dc=vectorconsulting,dc=co,dc=uk.

for this output the password is wrong(not matching)

c) [oracle@ssoserver bin]$ $ORACLE_HOME/bin/ldapcompare -h sso.vectorconsuting.co.uk -p 389 -D cn=orcladmin -w sunmicro1 -b “orclApplicationCommonName=VIS, cn=EBusiness,cn=Products,cn=OracleContext,dc=vectorconsulting,dc=co,dc=uk” -a userpassword -v vivek123

ldap_compare_s: Invalid credentials
ldap_compare_s: additional info: Password Policy Error :9000: GSL_PWDEXPIRED_EXCP :Your Password has expired. Please contact the Administrator to change your password.

This means the password is expired..

So If you can find that AppsDN password is expired then either you can increase the expiry days to a big value by creating a New Password Policy with option “Not to Lock Account” in OID Manager and assigning it to the AppsDN

or reset the password to a new password but take care to remove the option “password reset when login next time”

I hope this Post Sounds Interesting for troubleshooting..

More to come..
–Vivek R

Next Page »

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.