Product: TIBCO Spotfire®
Issue with writing Web Player logs to Oracle Database
Description:
Some log messages not get written into the Oracle Database when database logging of Web Player is enabled.
Example: AuditLog with ADONETAppender.
Symptoms:
1). In some cases nothing will be written into the database with the option bufferSize=10 and only a few message will be written with bufferSize < 10.
2). The following error message will be logged if a user enables log4net internal debugging.
------------------------------------
system.Data.OracleClient.OracleException (0x80131938): ORA-00001: unique constraint (<CONSTRAINT NAME>) violated
------------------------------------
Cause:
This ERROR message indicates that a unique constraint exists on the table which prevents the messages from being logged. With bufferSize > 1, a group of insert statements is sent to the database as one transaction. If any of those are duplicates, then the whole transaction is rolled back. This result is no logging or only fewer message logging with respect to the Log File. This issue can also occur with any other Database with UNIQUE Constraint.
Comments
0 comments
Article is closed for comments.