on 09-27-2016 11:00 AM
Hi Friends,
i am implementing RDS 2.8 IN idm, at step 3.1.4 Notification upload step i am getting errors
SQL Update failed. SQL:insert into mc_template_class values ( 'SAPC_PF', NULL, 'PAR_REPOSITORIES|PAR_PASSWORD|PAR_PASSWORD_GENERATED|PAR_REPOSITORIES_FAILED', '', (SELECT mcPackageID FROM mc_package where mcDisplayName = 'com.sap.rds.idm.forms.default') )
java.lang.Throwable: ORA-01400: cannot insert NULL into ("MXMC_OPER"."MC_TEMPLATE_CLASS"."MCATTRIBUTES")
Error putNextEntry failed storingNo_DeltaKey
and
Error addEntry failed
java.sql.SQLSyntaxErrorException: ORA-01704: string literal too long
Error addEntry failed
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (UNKNOWN.obj#=15996) violated
Error addEntry failed
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (UNKNOWN.obj#=15996) violated
Error addEntry failed
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (UNKNOWN.obj#=15996) violated
Error addEntry failed
Regrads,
Mohinder
Mohinder,
What version of IDM and Oracle, please?
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, are you using the 8.0 RDS? If not, wait a couple of days and it should be out. I think things will be much easier then. If it is the 8.0 RDS, you might need to raise a note with SAP.
Also please check some of the other threads, there are some issues with ORACLE 12. If all else fails, can you work with ORACLE 11?
Matt
Hi Mohinder,
can you disable the failing pass of that job and execute the following statement in an SQL studio manually, or replace the query in that pass by the following query:
insert into mc_template_class
values ('SAPC_PF', '', 'PAR_REPOSITORIES|PAR_PASSWORD|PAR_PASSWORD_GENERATED|PAR_REPOSITORIES_FAILED', '', (select mcPackageID from mc_package where mcQualifiedName = 'com.sap.rds.idm.core'))
U will get an official reply to the incident later today.
Regards
Norman
OK, I understand now what Oracle is doing here, it is converting emtpy strings to null values.
Please try this query:
insert into mc_template_class
values ('SAPC_PF', 'RDS Message Templates', 'PAR_REPOSITORIES|PAR_PASSWORD|PAR_PASSWORD_GENERATED|PAR_REPOSITORIES_FAILED',
'APPROVED|DECLINED|TIMEOUT', (select mcPackageID from mc_package where mcQualifiedName = 'com.sap.rds.idm.core'))
Regards
Norman
Hi Mohinder,
I guess the source csv file is where it is supposed to be (in the upload folder)?
This is another Oracle specific error where Oracle just does not like a value of more than 4000 characters.
Since the logic used to import the data is a standard IdM To Database pass I would like to aks you to open an incident on component BC-IAM-IDM and report the error.
In the meantime can you please check in the Administration UI in tab Message Templates, whether you can find any templates for the class SAPC_PF.
Thanks
Norman
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.