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]

syncope-user | ernst Developer | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error using syncope 1.0.2-incubating

    syncope-user | 4 years ago | ernst Developer
    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]
  2. 0

    Error using syncope 1.0.2-incubating

    incubator-syncope-user | 4 years ago | ernst Developer
    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]
  3. 0

    Error using syncope 1.0.2-incubating

    syncope-user | 4 years ago | ernst Developer
    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]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. OpenJPA Aggregate Jar
      DelegatingPreparedStatement.execute
      1. org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:247)
      2. org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:223)
      3. org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$1000(LoggingConnectionDecorator.java:72)
      4. org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.execute(LoggingConnectionDecorator.java:1258)
      5. org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:367)
      6. org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.execute(JDBCStoreManager.java:1768)
      7. org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:367)
      7 frames
    3. MyBatis
      DefaultSqlSession.insert
      1. org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:22)
      2. org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:51)
      3. org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:29)
      4. org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:88)
      5. org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:43)
      6. org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:122)
      7. org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
      8. org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:124)
      9. org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:111)
      9 frames
    4. Activiti - Engine
      CommandContextInterceptor.execute
      1. org.activiti.engine.impl.db.DbSqlSession.flushInserts(DbSqlSession.java:437)
      2. org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:347)
      3. org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:149)
      4. org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:105)
      5. org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:49)
      5 frames
    5. Activiti - Spring
      SpringTransactionInterceptor$1.doInTransaction
      1. org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
      1 frame
    6. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      1 frame
    7. Activiti - Spring
      SpringTransactionInterceptor.execute
      1. org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
      1 frame
    8. Activiti - Engine
      DeploymentBuilderImpl.deploy
      1. org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
      2. org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:46)
      3. org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:106)
      3 frames
    9. org.apache.syncope
      SpringContextInitializer.afterPropertiesSet
      1. org.apache.syncope.core.init.ActivitiWorkflowLoader.load(ActivitiWorkflowLoader.java:52)
      2. org.apache.syncope.core.init.SpringContextInitializer.afterPropertiesSet(SpringContextInitializer.java:68)
      2 frames
    10. Spring Beans
      AbstractAutowireCapableBeanFactory.initializeBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
      2 frames