Category Archives: 11i - Page 5

Cannot complete applications logon

Problem:

Cannot complete applications logon.  You may have entered an invalid applications password, or there may have been a database connect error.

Solution:

Use Metalink Doc ID: 153053.1 to reset the SYSADMIN password to WELCOME.

Internal Server Error

Problem:

Internal Server Error when trying to log in to Oracle Applications

Solution:

Ran out of tablespace. Checked alert log to tablespaces to extend.

AutoConfig taking long on database tier

Problem:

Running AutoConfig on the database tier of the ebusinesstest machine takes long (over 20 minutes).

Solution:

Log file (/u0/oracle/testdb/9.2.0/appsutil/log/TEST_ebusinesstest/03161419/adconfig.log) showed:

Starting synchronization of file system Context file and its templates with those in the database
Database connection     : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature  : Unverified
File system template    : /u0/oracle/testdb/9.2.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /u0/oracle/testdb/9.2.0/appsutil/template/custom/adxdbctx.tmp
Custom template         : Not available
Customizations found    : None
----------------------------------------------------------------
File system Context file :/u0/oracle/testdb/9.2.0/appsutil/TEST_ebusinesstest.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized

Edited context file (/u0/oracle/testdb/9.2.0/appsutil/TEST_ebusinesstest.xml) and changed domain name of machine from (s_domainname) ‘support.com’ to ‘illuminatnm.com’.

Reran AutoConfig on the database tier and it completed under one minute. ‘illuminatnm.com’ domain remains in context file.

Insufficient privileges for current operation

Problem:

When logging on to HRMS Production instance as SYSADMIN, the following message is displayed:

You have insufficient privileges for the current operation

Solution:

Log on to the HRMS Production server. Check the alert log for any ORA errors by issuing the following commands:

[applmgr@ebusiness /]$
[applmgr@ebusiness bdump]$ cd /u0/oracle/proddb/9.2.0/admin/PROD_ebusiness/bdump/
[applmgr@ebusiness bdump]$ tail alert_PROD.log
Current log# 2 seq# 33933 mem# 1: /u0/oracle/proddata/log02b.dbf
Tue Dec  2 09:46:30 2008
Completed checkpoint up to RBA [0x848d.2.10], SCN: 0x056d.102174e9
Tue Dec  2 10:00:40 2008
Beginning log switch checkpoint up to RBA [0x848e.2.10], SCN: 0x056d.1021d85e
Thread 1 advanced to log sequence 33934
Current log# 1 seq# 33934 mem# 0: /u0/oracle/proddata/log01a.dbf
Current log# 1 seq# 33934 mem# 1: /u0/oracle/proddata/log01b.dbf
Tue Dec  2 10:15:50 2008
ORA-1654: unable to extend index ICX.ICX_SESSIONS_N1 by 35 in tablespace              ICXX
[applmgr@ebusiness bdump]$
[applmgr@ebusiness 9.2.0]$ sqlplus apps/********
SQL*Plus: Release 9.2.0.3.0 - Production on Tue Dec 2 10:25:25 2008
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.3.0 - Production
SQL> desc dba_data_files
Name                                      Null?    Type
----------------------------------------- -------- ----------------------------
FILE_NAME                                          VARCHAR2(513)
FILE_ID                                            NUMBER
TABLESPACE_NAME                                    VARCHAR2(30)
BYTES                                              NUMBER
BLOCKS                                             NUMBER
STATUS                                             VARCHAR2(9)
RELATIVE_FNO                                       NUMBER
AUTOEXTENSIBLE                                     VARCHAR2(3)
MAXBYTES                                           NUMBER
MAXBLOCKS                                          NUMBER
INCREMENT_BY                                       NUMBER
USER_BYTES                                         NUMBER
USER_BLOCKS                                        NUMBER
SQL> select tablespace_name, file_name, bytes/1024/1024 from dba_data_files where tablespace_name = 'ICXX';
TABLESPACE_NAME FILE_NAME                      BYTES/1024/1024
--------------- ------------------------------ ---------------
ICXX            /u0/oracle/proddata/icxx01.dbf              20
SQL> alter tablespace icxx add datafile '/u0/oracle/proddata/icxx02.dbf' size 20M;
alter tablespace icxx add datafile '/u0/oracle/proddata/icxx02.dbf' size 20M
*
ERROR at line 1:
ORA-01031: insufficient privileges
SQL> connect system/********
Connected.
SQL> alter tablespace icxx add datafile '/u0/oracle/proddata/icxx02.dbf' size 20M;
Tablespace altered.
SQL>  select tablespace_name, file_name, bytes/1024/1024 from dba_data_files where tablespace_name = 'ICXX';
TABLESPACE_NAME FILE_NAME                      BYTES/1024/1024
--------------- ------------------------------ ---------------
ICXX            /u0/oracle/proddata/icxx01.dbf              20
ICXX            /u0/oracle/proddata/icxx02.dbf              20

Log on to SYSADMIN and confirm that the issue no longer exists.

Integrating UPK With Oracle E-Business Suite Help Menu

This documentation shows how integrate UPK content into the Help menu of Oracle E-Business Suite. Examples are drawn from the VIS4 instance; your instance may vary.

Step 1:        After creating the content in UPK Developer, publish the content to a UPK Player package. From the Tools menu, click Publish Content.

Step 2:        Choose Publish All Modules and click OK.

Step 3:        Check Deployment – Player Package and click Next.

Step 4:        Click Next.

Step 5:        Click Publish.

The modules are published.

Step 6:        In this example, the module is exported to the C:Program FilesUser Productivity KitUPK Developer 27PublishPlayer for Add New Responsibility to Existing User directory.

Rename the output directory to remove spaces.

Step 7:        The published directory (upktest in this example) must be copied onto the server. It must be copied to the $COMMON_TOP/portal/<context name> directory.

For VIS4, the upktest directory and its contents must be copied to:

/u3/oracle/vis4comn/portal/VIS4_appslinux

Step 8:        Copy the odcontenturl.js file in the hemi directory to odcustomurl.js. Modify the ORACLEHELP_URL to point to the old Oracle E-Business Suite help file (use the format “http://<oracle server>:<port> /OA_HTML/jsp/fnd/fndhelp.jsp”):

ORACLEHELP_URL=”http://appslinux.support.com:8004/OA_HTML /jsp/fnd/fndhelp.jsp?dbc=vis4″

The odcontenturl.js is located in /u3/oracle/vis4comn/portal/VIS4_appslinux /upktest/ORACLE/hemi/ directory.

Step 9:        Log on to the VIS4 instance and select the System Administrator responsibility. Navigate to Profile > System. The Find System Profile Values form appears. In the Profile field, enter %Help% and then click Find.

Step 10:   Locate the Applications Help Web Agent profile option.

Enter the following URL in the Site field:

http://appslinux.support.com:8004/upktest/ORACLE/hemi/odhelp.html?dbc=/u3/oracle/vis4appl/fnd/11.5.0/secure/VIS4_appslinux/vis4.dbc

Then click Save.

Step 11:    Finally, log off Oracle Applications and then log back on. When Help is selected, a new link (UPK) appears. When it is clicked, the custom Player content appears.

References:

Content Administration PDF (located in C:Program FilesUser Productivity KitUPK Developer 27docsReference).

[amazon asin=1849680167&template=iframe image&chan=default]     [amazon asin=1482009374&template=iframe image&chan=default]

Cloning of Production Instance

#

Step

Estimated duration

1. Prepare the test machine (echo) that shall be used as the new production machine for cloning:Remove any existing E-Business Suite instance on the machine. Ideally, reinstall the operating system, apply any required service packs, install the additional software such as JDK, Visual C++, MKS Toolkit etc. The software should be installed to the same directory paths as those on the production instance.If the test machine will not reinstalled, then remove the Oracle-related keys from the registry.

1 day

2. Carry out the pre-clone steps for the production instance (adpreclone.pl).

½ day

3. Shutdown the production E-Business Suite instance (application and database tier services) and copy the files from the production machine (delta) to the test machine (echo).

1 day

4. Disconnect the production server from the network. Change the name and IP address of the test machine (echo) to that of the production machine (delta). Update the ‘hosts’ file on the new production server, so that it now contains the new IP address and hostname.

1 hour

5. Clone the new production server. Run the clone scripts on the new production server (adcfgclone.pl).

½ day

6. Perform stress-testing of the new server to ensure that it responds suitably to the load.

1 day

7. Backup and test recovery of the instance on another server.

1 day

Please note:

1. Ensure that the Database processes are properly shut down before proceeding to copy the files; if files aren’t copied correctly, the cloning process would not be executed correctly.

2. Do not run the Gather Schema Statistics concurrent job on the new PROD instance.

Changing Domain Name in Oracle Applications 11i

This documentation shows how to change the network domain name of the server that houses an Oracle Applications 11i instance (ebusiness).

  1. Log on to the ebusiness server (either on the console or using VNC or PuTTY). Run the network system settings tool (Red Hat menu > System Settings > Network).

Change the server name from ebusiness.support.com to ebusiness. illuminatnm.com. Save the settings. Do not attempt to restart the network services using this tool, since it will disconnect the remote connection tool.

  1. Edit the context file $APPL_TOP/admin/TEST_ebusiness.xml and replace ‘support.com’ with ‘illuminatnm.com’. With vi, use this command:
:%s/support.com/illuminatnm.com/g

Save the context file and exit the text editor.

  1. Stop the application tier services and then run AutoConfig on the database and application tiers:
cd /u0/oracle/testcomn/admin/scripts/TEST_ebusiness
./adstpall.sh

On the database tier:

cd /u0/oracle/testdb/9.2.0
. TEST_ebusiness.env
cd /u0/oracle/testdb/9.2.0/appsutil/scripts/TEST_ebusiness
./adautocfg.sh

On the application tier:

cd /u0/oracle/testappl
. APPSORA.env
cd /u0/oracle/testcomn/admin/scripts/TEST_ebusiness
./adautocfg.sh

Run the database tier and application tier AutoConfig processes in separate sessions (terminal windows).

  1. As the root user, update the hosts file on the server (/etc/hosts) to reflect the new host name:
x.x.x.x   ebusiness.illuminatnm.com   ebusiness
  1. As the root user, restart network services:
service network restart
  1. As the applmgr user, bounce the application tier services.
cd /u0/oracle/testcomn/admin/scripts/TEST_ebusiness
./adstpall.sh
(wait five minutes)
./adstrtal.sh
  1. Log on to the E-Business TEST application on the client machine using the new URL:
http://ebusiness.illuminatnm.com:8001

If E-Business Suite does not launch properly, reboot the server. After booting, start the application tier services. Then log on to the TEST instance.

Metalink References:

Note: 177311.1 – How to Change Domain Name in Oracle Applications 11i

Note: 342332.1 – Troubleshooting Login Problems in Oracle Applications 11i (11.5.2 – 11.5.10+)

Customizing Fixed Assets Manager

1. Navigate to System Administrator > Application > Menu.
Query FA_MAIN in the User Menu  Name field.
Note the values in the Menu, User  Menu Name, Menu Type and Description fields.

2. Clear the form and enter a new menu.
In the Menu and User Menu Name  fields, enter CUSTOM_FA_MAIN.
Enter the same Menu Type (Standard)  and enter a new description (Custom Main menu for Oracle Assets).
Enter the original menu name as a  submenu of the custom menu. Then click Save.

3. Navigate to System Administrator > Security > Responsibility > Define
In the Responsibility Name field, query Fixed Assets Manager.
Note the Responsibility Name,  Application, Responsibility Key, Description, Data Group Name, Menu and Request Group Name.

4. Clear the form and enter a new responsibility. Enter a new Responsibility Name, Responsibility Key and Description.
The Menu must be the custom menu  created above. The Application, Data Group Name and Request Group Name fields remain the same.
Under Menu Exclusions, choose Menu and select the FA_SETUP_MAIN menu.
Then click Save.

5. Navigate to System Administrator > Security > User > Define
To add the custom responsibility to a user, query the user.
Under Direct Responsibilities, insert the custom responsibility.
Then click Save.

Note that the menu exclusion for the Fixed Assets Manager was included (FA_PURGE) in the new
responsibility Custom Fixed Assets Manager, so that additional functionality would not appear in this new
responsibility.

Insufficient privileges for cloning

Problem:

When trying to log on to the newly cloned TEST instance as sysadmin user, the following error appears:

You have insufficient privileges for the current operation. Please contact your System Administrator.

Solution:

Used URL:

http://ebusinesstest.support.com:8001/OA_HTML/jsp/fnd/aoljtest.jsp

to compare differences between TEST and PROD. Noticed that JSP Ping not working on both.

In Metalink, searched for error:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Checked document: Subject:  Troubleshooting Login (Doc ID:  Note:178437.1), “3. Login: java.lang.StringIndexOutOfBoundsException when log into jtflogin.jsp”

In SQL*Plus, executed the following code:

select SESSION_COOKIE_DOMAIN from icx_parameters;

update icx.icx_parameters set SESSION_COOKIE_DOMAIN = ‘.support.com’;

commit;

select SESSION_COOKIE_DOMAIN from icx_parameters;

Tested logon on ebusinesstest, working now.

Reference:

Subject:  Configuring and Troubleshooting the Self Service Framework 5.5.2 with 11i (Doc ID:  Note:177095.1)

TNS Connectivity With Database Breaks Running Autoconfig (Cloning)

Problem:

When running AutoConfig, it fails at 50% with the following error:

ERROR

ORA-12224: TNS:no listener

Solution:

Run the following, and then restart AutoConfig.

perl <AD_TOP>/bin/adgentns.pl appspass=<APPSpwd> contextfile=<CONTEXT> -removesystem

perl /u0/oracle/testappl/ad/11.5.0/bin/adgentns.pl appspass=APPS contextfile=/u0/oracle/testappl/admin/TEST_ebusinesstest.xml –removesystem

Reference:

Subject:  TNS Connectivity With Database Breaks After Running Autoconfig

Doc ID:  Note:377764.1

1020  unzip -od /u0/oracle/testora/iAS/ /u0/patches/p5035661_11i_LINUX.zip

1021  . /u0/oracle/testappl/APPSTEST_ebusinesstest.env

1022  cd /u0/oracle/testora/iAS/appsoui/setup/

1023  perl OUIsetup.pl

1024  perl /u0/oracle/testappl/ad/11.5.0/bin/adgentns.pl appspass=APPS contextfile=/u0/oracle/testappl/admin/TEST_ebusinesstest.xml -removesystem

1025  cd /u0/oracle/testcomn/clone/bin/

1026  perl adcfgclone.pl appsTier