Skip Headers
Oracle® Identity Manager Connector Guide for SAP Enterprise Portal
Release 9.0.3

Part Number B32370-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

3 Testing and Troubleshooting

After you deploy the connector, you must test it to ensure that it functions as expected. This chapter discusses the following topics related to connector testing:

Running Test Cases

You can use the troubleshooting utility to identify the cause of problems associated with connecting to the target system and performing basic operations on the target system.

To use the troubleshooting utility:

  1. Specify the required values in the global.properties file.

    This file is in the OIM_home\Xellerate\SAP_EP\Troubleshoot directory. The following table describes the sections of this file in which you must provide information for running the tests.

    Section Information
    SAP Enterprise Portal connection Parameters Connection parameters required to connect to the target system

    Refer to the "Defining IT Resources" section for information about the values that you must provide.

    Create User Parameters Field information required to create a user profile
    Modify User Parameters This covers multiple sections of parameters that are used to modify user profile information.
    Delete User Parameters Field information required to delete a user profile
    Reconciliation information The From Date time stamp

    The To Date is set to the current date and time by default.


  2. Add all the JAR files mentioned in the "Step 2: Copying the Connector Files and External Code" section to the CLASSPATH environment variable. In addition, you need to add the JAR files in the following directories to the CLASSPATH environment variable:

    Sample commands for setting the CLASSPATH environment variable is given in the global.properties file.

    OIM_home\xellerate\lib
    OIM_home\xellerate\ext
    
    
  3. Create an ASCII-format copy of the global.properties file as follows:

    Note:

    You must perform this procedure every time you make a change in the contents of the global.properties file.
    1. In a command window, change to the following directory:

      OIM_home\Xellerate\sapep\Troubleshoot
      
      
    2. Enter the following command:

      native2ascii global.properties troubleshoot.properties
      
      

      The troubleshoot.properties is created when you run the native2ascii command. The contents of this file are an ASCII-format copy of the contents of the global.properties file.

  4. Perform the following tests:

    • Enter the following command to create a user:

      java -DTproperties=OIM_home\Xellerate\SAP_EP\Troubleshoot\troubleShoot.properties -Dlog4j.configuration=file:\OIM_home\Xellerate\SAP_EP\Troubleshoot\log.properties troubleshoot.TroubleShootUtility C
      
      
    • Enter the following command to modify a user:

      java -DTproperties=OIM_home\Xellerate\SAP_EP\Troubleshoot\troubleShoot.properties -Dlog4j.configuration=file:\OIM_home\Xellerate\SAP_EP\Troubleshoot\log.properties TroubleShootingUtility M
      
      
    • Enter the following command to delete a user:

      java -DTproperties=OIM_home\Xellerate\SAP_EP\Troubleshoot\troubleShoot.properties -Dlog4j.configuration=file:\OIM_home\Xellerate\SAP_EP\Troubleshoot\log.properties troubleshoot.TroubleShootUtility D
      
      
    • Enter the following command to test reconciliation:

      java -DTproperties=OIM_home\Xellerate\SAP_EP\Troubleshoot\troubleShoot.properties -Dlog4j.configuration=file:\OIM_home\Xellerate\SAP_EP\Troubleshoot\log.properties troubleshoot.TroubleShootUtility R
      
      

Troubleshooting

The following sections list solutions to some commonly encountered issues associated with this connector:

Connection Errors

The following table lists solutions to some commonly encountered connection errors.

Problem Description Solution
Oracle Identity Manager cannot establish a connection to SAP Enterprise Portal.

Returned Error Message:

SAP Connection exception

Returned Error Code:

INVALID_CONNECTION_ERROR

  • Ensure that SAP Enterprise Portal is running and that the sapum.properties file has been correctly configured.
  • Ensure that Oracle Identity Manager is running (that is, the database is running).

  • Ensure that all the adapters have been compiled.

  • Examine the Oracle Identity Manager record (from the IT Resources form). Ensure that the IP address, admin ID, and admin password are correct.

Target not available

Returned Error Message:

Target Server not available

Connection error - unable to create SAP Enterprise Portal Connection.

Returned Error Code:

TARGET_UNAVAILABLE_ERROR

  • Ensure that SAP Enterprise Portal is running.
  • Ensure that the specified SAP Enterprise Portal connection values are correct.

Authentication error

Returned Error Message:

Authentication error

Returned Error Code:

AUTHENTICATION_ERROR

Ensure that the specified SAP Enterprise Portal connection user ID and password are correct.

Create User

The following table lists solutions to some commonly encountered Create User errors.

Problem Description Solution
Oracle Identity Manager cannot create a user

Returned Error Message:

Required information missing

Returned Error Code:

INSUFFICIENT_INFORMATION_PROVIDED

Ensure that the following information has been provided:
  • User ID

  • User first name

  • User last name

  • User password

  • User e-mail address

Oracle Identity Manager cannot create a user

Returned Error Message:

User already exists

Returned Error Code:

USER_ALREADY_EXIST

User with the assigned ID already exists in SAP Enterprise Portal. Assign a new ID to this user, and try again.
Oracle Identity Manager cannot create a user

Returned Error Message:

User creation failed

Returned Error Code:

USER_CREATION_FAILED

User could not be created because of any one of the following reasons:
  • The Change Password function failed.

  • Values for mandatory fields have not been specified.


Delete User

The following table lists solutions to some commonly encountered Delete User errors.

Problem Description Solution
Oracle Identity Manager cannot delete a user.

Returned Error Message:

Require information missing

Returned Error Code:

INSUFFICIENT_INFORMATION_PROVIDED

Ensure that the required information has been provided. In this case, the required information is the user ID.
Oracle Identity Manager cannot delete a user.

Returned Error Message:

User does not exist in target

Returned Error Code:

USER_DOESNOT_EXIST

The specified user does not exist in SAP Enterprise Portal.

Modify User

The following table lists solutions to some commonly encountered Modify User errors.

Problem Description Solution
Oracle Identity Manager cannot update new information about the user.

Returned Error Message:

Error while updating user info

Returned Error Code:

USER_MODIFICATION_FAILED

Generic error. Review the log for more details.
Oracle Identity Manager cannot update a user.

Returned Error Message:

User does not exist in target system

Returned Error Code:

USER_DOESNOT_EXIST

The specified user does not exist in SAP Enterprise Portal. Check the user ID.

Child Data

The following table lists solutions to some commonly encountered Child Data errors.

Problem Description Solution
Oracle Identity Manager cannot add a user to a group.

Returned Error Message:

Group does not exist

Returned Error Code:

GROUP_DOESNOT_EXIST

The specified group does not exist in SAP Enterprise Portal. Check the name of the group.
Oracle Identity Manager cannot add a role to a user

Returned Error Message:

Role does not exist

Returned Error Code:

ROLE_DOESNOT_EXIT

The specified role for the user in Oracle Identity Manager does not exist in SAP Enterprise Portal. Check the role name.
Trying to add a duplicate value to a group or role.

Returned Error Message:

Duplicate value

Returned Error Code:

ROLE_ALREADY_EXISTS

GROUP_ALREADY_EXISTS

The user has already been added to the particular profile or role.