SnapCreator生成大量日志
适用场景
SnapCreator 4.x
问题描述
SnapCreator生成大量日志、但出现错误 "An SQL data change is not permitted for a read-only connection, user or database"
日志:
Caused by: org.apache.derby.impl.jdbc.EmbedSQLException: An SQL data change is not permitted for a read-only connection, user or database.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.3.1.4.jar:na]
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ~[derby-10.3.1.4.jar:na]
... 53 common frames omitted
Caused by: org.apache.derby.iapi.error.StandardException: An SQL data change is not permitted for a read-only connection, user or database.
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.3.1.4.jar:na]
at org.apache.derby.impl.sql.conn.GenericAuthorizer.authorize(Unknown Source) ~[derby-10.3.1.4.jar:na]
at org.apache.derby.impl.sql.execute.GenericResultSetFactory.getInsertResultSet(Unknown Source) ~[derby-10.3.1.4.jar:na]
at org.apache.derby.exe.ac560c80d5x0174x73c5x5c22x00001be8f63b1.fillResultSet(Unknown Source) ~[na:na]