Identity Portal Can not execute against Oracle DB on IP startup
search cancel

Identity Portal Can not execute against Oracle DB on IP startup

book

Article ID: 136640

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

 

 

FATAL error after trying to start 3 times.  The FATAL error is an exit of the deployment after IP tried to start. Vapp deployment logs show IP tried to start 3 times and exits.

 

2019 Aug 28 12:11:58 <host> ##########################

 

2019 Aug 28 12:11:58 <host>  # STEP 5: Start Services #

 

2019 Aug 28 12:11:58 <host> ##########################

2019 Aug 28 12:11:58 <host>   

2019 Aug 28 12:11:58 <host> Starting Identity Portal on ##.###.##.###

2019 Aug 28 12:36:57 <host>  [WARN] Identity Portal on ##.###.##.### did not start within the configured threshold. Attempting to restart it

2019 Aug 28 13:02:03 <host>  [WARN] Identity Portal on 10.108.36.102 did not start within the configured threshold. Attempting to restart it

2019 Aug 28 13:27:06 <host>  [ERROR] Fatal deployment failure - error 

code 8 

 

Server.logs show:

 

Caused by: Error : 1950, Position : 12, Sql = insert into LoginData (counter, requester, id, loginData) values (:1 , :2 , :3 , :4 ), OriginalSql = insert into LoginData (counter, requester, id, loginData) values (?, ?, ?, ?), Error Msg = ORA-01950: no privileges on tablespace 'IP_PORTAL_STORE'

Can not execute against Oracle DB.

Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement

at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)

at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602) 

Environment

Release : 14.4

Component : Identity Suite / vApp

Cause

Incorrect privileges in Oracle for the first Identity Portal start.

Resolution

It will try 3 times and quits and we see the error where could not start the service for IP:

2019-08-28 13:04:18,932 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "sigma.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./sigma" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./sigma: Failed to start service


Please review:


https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/identity-suite/14-4/virtual-appliance/configuring-virtual-appliance.html 


Was the proper external Data source created for Oracle?

Also for external databases and Oracle:


https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/identity-suite/14-4/virtual-appliance/platform-support-matrix.html 


The doc says the following which I would like you to discuss with your DBA to confirm Oracle has the needed privileges for the first IP start.


"Note:

The Virtual Appliance deployment process automatically populates the database tables for the products, and it is the sole responsibility of the administrator to create the databases/schemas with proper privileges as described in the external database prerequisites readme file on the vApp Web Interface (referenced under both the help page and database configuration page).


For example:

If using an Oracle database, CA Identity Governance and CA Identity Portal schema need CONNECT and RESOURCE privileges. Whereas, the CA Identity Manager schema needs DBA privileges for the first time the product starts; later on, the DBA privileges can be revoked and replaced with standard CONNECT and RESOURCE privileges."