Summary

The SHRINE adapter encountered a problem with one of its databases.

Explanation

A SHRINE adapter uses one database for operations and a second for providing audit logs. Interacting with one of these databases caused a problem.

Resolution

If you are a user, supply all details to your site admin who can work with the adapter admin to resolve the issue.

If you are the adapter admin, examine the details to help determine what is wrong. Frequently this problem will be caused by problems in the configuration or problems in the database schema.

java.sql.SQLSyntaxErrorException in the details stack trace with the message "ORA-00911: invalid character" might be caused by using the wrong Slick profile class with an Oracle database. Try setting shrine.adapter.audit.database.slickProfileClassName = "freeslick.OracleProfile$" in the adapter's shrine.conf.

A com.microsoft.sqlserver.jdbc.SQLServerException in the details with the message "Incorrect syntax near '`'" might be caused by using the wrong Slick profile class with a Microsoft database. Try setting shrine.adapter.audit.database.slickProfileClassName = "freeslick.MSSQLServerProfile$" in the adapter's shrine.conf.


  • No labels