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]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web98

  • via Unknown by ernst Developer,
  • via Unknown by ernst Developer,
  • via Unknown by ernst Developer,
  • Stack trace

    • 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.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8) at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:124) at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:111) 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.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:49) at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) 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.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:106) 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) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) Caused by: 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) ... 18 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    WoodenDoorsWoodenDoors
    60 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    3 more bugmates