17 Oracle Identity Analytics Troubleshooting

This chapter contains the following sections:

17.1 Overview

This chapter lists solutions for common (and uncommon) system problems.

17.2 To Verify That Oracle Identity Analytics Started Properly

To verify that Oracle Identity Analytics started properly, do one of the following:

  • Check the log file.

    A successful launch of Oracle Identity Analytics is recorded in the application log file, which is named rbacx.log. The entry listed in the log file includes the Oracle Identity Analytics version number and a time stamp that records when the application started.

    An example log entry is listed here:

    "17:27:11,218 INFO [ContextLifecycleListener] Oracle Identity Analytics (build: 4.1.0.20080903_406_3061) Started"
    
  • Open the application in a browser.

    You can verify that Oracle Identity Analytics started correctly by typing http://localhost:9080/rbacx in a browser on the local application server machine.

    The localhost portion of the URL assumes that you are checking the application from the local application server (that is, you are not checking from a remote machine). The URL also assumes that Oracle Identity Analytics is deployed on TCP port 9080.

    If you are opening the URL from a remote machine, format the URL as follows:

    http://<application server hostname>:<port>/rbacx

17.3 To Start / Stop Oracle Identity Analytics

Start and stop Oracle Identity Analytics using the Application Control Panel of your application server. For example, if you are using the Glassfish™ application server, use the Administrative Console to start and stop Oracle Identity Analytics.

17.4 Troubleshooting Common Errors

This section describes solutions to errors that are commonly encountered when working with Oracle Identity Analytics.

17.4.1 JDBC Connection Error

This error occurs when Oracle Identity Analytics is unable to connect to the database. The error is logged in the rbacx.log file.

Failed to obtain DB connection from data source 
'springNonTxDataSource.QuartzScheduler': java.sql.SQLException: 
Connections could not be acquired from the underlying database! 
[ See nested exception: java.sql.SQLException: Connections 
could not be acquired from the underlying database!  ]

17.4.1.1 To Resolve the Error

  • Check the jdbc.properties configuration file in the $RBACX_HOME/conf folder.

  • Check the conf-context.xml file in the /WEB-INF/ folder.

  • Ensure that JDBC drivers corresponding to the database type are present in /WEB-INF/lib.

  • Verify that database server connectivity can be established from the application server.

17.4.2 Error Loading Workflow

The following error occurs when the workflows.xml file is not configured properly in the /WEB-INF/classes folder.

Error loading workflow Role Membership Workflow
com.opensymphony.workflow.FactoryException: 
Error in workflow descriptor: [file:/]
<WORKFLOWS_FILE_PATH>role-user-membership-workflow.xml: 
root cause: <$RBACX_HOME>\conf\workflows\role-user-membership-workflow.xml 
(The device is not ready)

17.4.2.1 To Resolve the Error

Verify that the $RBACX_HOME variable in workflows.xml in /WEB-INF/classes is set correctly.

17.4.3 Error Rendering Report

The following error is generated when Oracle Identity Analytics reports cannot be rendered by the system:

20:44:43,498 ERROR [JasperPrintRenderer] Error rendering report:
java.io.FileNotFoundException:<$FILE_PATH>\<$FILE_NAME>.jasper

17.4.3.1 To Resolve the Error

  • Validate the file path listed in reporting-context.xml.

  • Verify that the report being rendered (<$FILE_NAME>.jasper) exists in the reports folder.

17.4.4 Oracle Identity Analytics Configuration Error

Any inaccuracies in the Oracle Identity Analytics configuration would generate errors and cause Oracle Identity Analytics not to launch. Two common files where configuration errors can cause failure are conf-context.xml and reporting-context.xml.

Some of the common errors are listed here:

java.io.FileNotFoundException: C:\Vaau\rbacx-4.1\conf\jdbc.properties 
(The system cannot find the path specified)
java.io.FileNotFoundException: C:\Vaau\rbacx-4.1\conf\mail.properties 
(The system cannot find the path specified)
java.io.FileNotFoundException: C:\Vaau\rbacx-4.1\conf\ldap.properties 
(The system cannot find the path specified)
java.io.FileNotFoundException: C:\Vaau\rbacx-4.1\conf\iam.properties 
(The system cannot find the path specified)

17.4.4.1 To Resolve the Error

Verify that the $RBACX_HOME path outlined in conf-context.xml and reporting-context.xml is accurate.

17.4.5 Java Heap Out of Memory Error

The java.lang.OutOfMemoryError exception in the log is caused by Java heap fragmentation. This fragmentation occurs when no contiguous chunk of free Java heap space is available from which to allocate Java objects.

17.4.5.1 To Resolve the Error

Increase the size of the JVM™ memory pool and clear out the Java cache. The recommended setting for min. / max. value is 1024 MB / 2048 MB, respectively.

17.4.6 RACF Account Import Error

Importing RACF accounts from a file fails when running OIA on WebLogic. The following error is logged:

Error reading object from byte stream

17.4.6.1 To Resolve the Error

  1. Go to the following location and open iam.properties in a text editor:

    $RBACX_HOME/conf/iam.properties

  2. Locate the following line in iam.properties and change the value from 5 to 0:

    Old value for WebLogic:

    com.vaau.rbacx.iam.file.import.sharedAttributesCompressionLevel=5
    

    New value for WebLogic:

    com.vaau.rbacx.iam.file.import.sharedAttributesCompressionLevel=0
    
  3. Restart the server and try the account import again.