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 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, 4 months 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 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]
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.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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