IBM Support

IJ00775: INSTALLING A CONTENT PACK CONTAINING A CUSTOM PROPERTY WITH AN ALREADY EXISTING CEP CAUSES A FOREIGN KEY VIOLATION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Adding a QRadar Content Pack provides sometimes does not
    install Custom Properties from the package if there is a name
    collision with a custom property already on the system.  When
    this happens you'll have this exception in the logs:
    
     ::ffff:192.168.1.31 [tomcat.tomcat] [admin@localhost]
    com.q1labs.core.cmt.Content: [ERROR] Chained SQL Exception
    [1/2]: ERROR: insert or update on table
    "ariel_property_expression" violates foreign key constraint
    "arielregexproperty_fkey"  Detail: Key
    (ap_id)=(Authorized_token) is not present in table
    "ariel_regex_property". {prepstmnt -868634278 insert into
    ariel_property_expression
    (ap_id,creationdate,deviceid,qid,enabled,devicetypeid,capturegro
    up,regex,payload,propertybase,rank,id,category,editdate,username
    ) values( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}
    [code=0, state=23503]
     ::ffff:192.168;.1.31 [tomcat.tomcat] [admin@localhost]
    com.q1labs.core.cmt.Content: [ERROR] Chained SQL Exception
    [2/2]: ERROR: insert or update on table
    "ariel_property_expression" violates foreign key constraint
    "arielregexproperty_fkey"  Detail: Key
    (ap_id)=(Authorized_token) is not present in table
    "ariel_regex_property".
     ::ffff:192.168;.1.31 [tomcat.tomcat] [admin@localhost]
    com.q1labs.core.cmt.Content: [ERROR]
    [NOT:0000003000][192.168.1.31/- -] [-/- -]Failed to import
    [ariel_property_expression] (Foreign key constraint violation).
    Parameters: [15=admin]
     ::ffff:192.168;.1.31 [tomcat.tomcat] [admin@localhost]
    org.apache.openjpa.lib.jdbc.ReportingSQLException: ERROR:
    insert or update on table "ariel_property_expression" violates
    foreign key constraint "arielregexproperty_fkey"  Detail: Key
    (ap_id)=(Authorized_token) is not present in table
    "ariel_regex_property". {prepstmnt -868634278 insert into
    ariel_property_expression
    (ap_id,creationdate,deviceid,qid,enabled,devicetypeid,capturegro
    up,regex,payload,propertybase,rank,id,category,editdate,username
    ) values( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}
    [code=0, state=23503]
     ::ffff:192.168.1.31 [tomcat.tomcat] [admin@localhost]    at
    org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(Logg
    ingConnectionDecorator.java:219)
     ::ffff:192.168.1.31 [tomcat.tomcat] [admin@localhost]    at
    org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(Logg
    ingConnectionDecorator.java:195)
     ::ffff:192.168.1.31 [tomcat.tomcat] [admin@localhost]    at
    org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$10
    00(LoggingConnectionDecorator.java:59)
     ::ffff:192.168.1.31 [tomcat.tomcat] [admin@localhost]    at
    org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingCo
    nnection$LoggingPreparedStatement.execute(LoggingConnectionDecor
    ator.java:1230)
    

Local fix

  • Contact Support for a possible workaround that might address
    this issue in some instances.
    

Problem summary

  • This issue was fixed in QRadar QRM QVM release of 7.3.2 Patch 2.
    

Problem conclusion

  • This issue was fixed in QRadar QRM QVM release of 7.3.2 Patch 2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ00775

  • Reported component name

    QRADAR SOFTWARE

  • Reported component ID

    5725QRDSW

  • Reported release

    728

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-16

  • Closed date

    2019-07-26

  • Last modified date

    2019-07-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    QRADAR SOFTWARE

  • Fixed component ID

    5725QRDSW

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"}, "Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"728","Edition":""}]

Document Information

Modified date:
26 July 2019