org.apache.openjpa.lib.jdbc.ReportingSQLException: Connection is read-only. Queries leading to data modification are not allowed {prepstmnt 546819090 insert into ACT_RE_DEPLOYMENT(ID_, NAME_, DEPLOY_TIME_) values(?, ?, ?) [params=?, ?, ?]} [code=0, state=S1009]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via incubator-syncope-user by ernst Developer, 1 year ago
Connection is read-only. Queries leading to data modification are not allowed {prepstmnt 546819090 insert into ACT_RE_DEPLOYMENT(ID_, NAME_, DEPLOY_TIME_) values(?, ?, ?) [params=?, ?, ?]} [code=0, state=S1009]
via syncope-user by ernst Developer, 1 year ago
Connection is read-only. Queries leading to data modification are not allowed {prepstmnt 546819090 insert into ACT_RE_DEPLOYMENT(ID_, NAME_, DEPLOY_TIME_) values(?, ?, ?) [params=?, ?, ?]} [code=0, state=S1009]
via syncope-user by ernst Developer, 1 year ago
Connection is read-only. Queries leading to data modification are not allowed {prepstmnt 546819090 insert into ACT_RE_DEPLOYMENT(ID_, NAME_, DEPLOY_TIME_) values(?, ?, ?) [params=?, ?, ?]} [code=0, state=S1009]
org.apache.openjpa.lib.jdbc.ReportingSQLException: Connection is read-only. Queries leading to data modification are not allowed {prepstmnt 546819090 insert into ACT_RE_DEPLOYMENT(ID_, NAME_, DEPLOY_TIME_) values(?, ?, ?) [params=?, ?, ?]} [code=0, state=S1009]
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:247)
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:223)
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$1000(LoggingConnectionDecorator.java:72)
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.execute(LoggingConnectionDecorator.java:1258)
at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:367)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.execute(JDBCStoreManager.java:1768)
at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:367)
at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:22)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:51)
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:29)
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:88)
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:43)
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:122)
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:124)
at org.activiti.engine.impl.db.DbSqlSession.flushInserts(DbSqlSession.java:437)
at org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:347)
at org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:149)
at org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:105)
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:46)
at org.apache.syncope.core.init.ActivitiWorkflowLoader.load(ActivitiWorkflowLoader.java:52)
at org.apache.syncope.core.init.SpringContextInitializer.afterPropertiesSet(SpringContextInitializer.java:68)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)

Users with the same issue

60 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.