Skip Headers
Oracle® Application Server Metadata Repository Creation Assistant User's Guide
10g Release 2 (10.1.2) for UNIX
Part No. B14129-01
  Go To Documentation Library
Home
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

B Troubleshooting OracleAS Metadata Repository Creation Assistant

This appendix describes how to solve common problems that you might encounter when running OracleAS Metadata Repository Creation Assistant. It contains the following sections:

B.1 Unable to Connect to the Database

Problem

OracleAS Metadata Repository Creation Assistant is unable to connect to the database

Solution

Check the following:

B.2 Unable to Connect as "sys" User

Problem

You get the following message when running OracleAS Metadata Repository Creation Assistant:

RepCA unable to connect as sys. Error message:
*** Specify Database Connect ***
ERROR -SQLException on getting SID and SYSTEMNAME
informationjava.sql.SQLException:
@ ORA-01017 : invalid username/password; logon denied

Solution

Try the following:

B.3 Manual Steps: Cleaning Up a Failed Registration or Deregistering OracleAS Metadata Repository

This section describes how to clean up registration entries in Oracle Internet Directory without using OracleAS Metadata Repository Creation Assistant.

  1. Connect to Oracle Internet Directory using Oracle Directory Manager.

    1. Start up Oracle Directory Manager.

      prompt> $ORACLE_HOME/bin/oidadmin
      
      
    2. In the Connect screen, enter the connect information. Log in as the Oracle Internet Directory superuser (cn=orcladmin).

  2. Clean up the database registration entries in Oracle Internet Directory:

    1. Expand the following entries (shown in Figure B-1):

      Entry Management > cn=OracleContext > cn=your_database_name

    2. Delete all the child entries under cn=your_database_name, starting with the bottom-most child entry.

      Before deleting the cn=DESCRIPTION_0 entry, expand it until you reach the last child. Then delete each child starting with the innermost child.

      To delete an entry, right-click each child entry and select Delete from the pop-up menu. Click Yes in the Confirmation dialog. When deleting some child entries, you may get some error messages. You can ignore these error messages.

    3. Right-click cn=your_database_name and delete it.

    Figure B-1 Clean up Database Registration Entries

    Description of odm_cleanup1.gif follows
    Description of the illustration odm_cleanup1.gif

  3. Clean up the metadata repository registration entries in Oracle Internet Directory:

    1. Expand the following entries (shown in Figure B-2):

      Entry Management > cn=OracleContext > cn=Products > cn=IAS > cn=IAS Infrastructure Databases > orclReferenceName=your_database_name

    2. Delete each child entry under orclReferenceName=your_database_name.

    3. Delete the orclReferenceName=your_database_name entry.

    Figure B-2 Clean up Metadata Repository Registration Entries

    Description of odm_cleanup2.gif follows
    Description of the illustration odm_cleanup2.gif

B.4 ORA-01403: No Data Found

Problem

When OracleAS Metadata Repository Creation Assistant loads the Workflow schema, it returns a PL/SQL error ORA-01403: "no data found".

Solution

Your NLS_LANG environment variable is set to a non-English locale. Before you run OracleAS Metadata Repository Creation Assistant, you need to make sure that the NLS_LANG environment variable is unset or is set to american_america.us7ascii.

prompt> unsetenv NLS_LANG
 - or -
prompt> setenv NLS_LANG american_america.us7ascii

You can set NLS_LANG back to its original value after running OracleAS Metadata Repository Creation Assistant.

B.5 Need More Help?

If this appendix does not solve the problem you encountered, try these other sources:

If you do not find a solution for your problem, open a service request.