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 Atlassian JIRA by Akash Jain, 1 year ago
Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition
via Atlassian JIRA by Akash Jain, 2 years ago
Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition
via Atlassian JIRA by mayank, 2 years ago
Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition
via Atlassian JIRA by mayank, 1 year ago
Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition
via Atlassian JIRA by Jeff Turner, 2 years ago
Write operations are not allowed in read-only mode (FlushMode.NEVER): Turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition.
via Atlassian JIRA by Jeff Turner (Unused account), 1 year ago
Write operations are not allowed in read-only mode (FlushMode.NEVER): Turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition.
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition	at org.springframework.orm.hibernate.HibernateTemplate.checkWriteOperationAllowed(HibernateTemplate.java:988)	at org.springframework.orm.hibernate.HibernateTemplate$9.doInHibernate(HibernateTemplate.java:555)	at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:364)	at org.springframework.orm.hibernate.HibernateTemplate.save(HibernateTemplate.java:553)	at com.atlassian.user.impl.hibernate.DefaultExternalEntityDAO.saveExternalEntity(DefaultExternalEntityDAO.java:46)	at com.atlassian.user.impl.hibernate.HibernateGroupManager.createExternalEntity(HibernateGroupManager.java:484)	at com.atlassian.user.impl.hibernate.HibernateGroupManager.getCorrespondingExternalEntity(HibernateGroupManager.java:474)	at com.atlassian.user.impl.hibernate.HibernateGroupManager.getGroups(HibernateGroupManager.java:88)	at com.atlassian.user.impl.delegation.DelegatingListGroupManager.getGroups(DelegatingListGroupManager.java:77)	at bucket.user.DefaultUserAccessor.getGroups(DefaultUserAccessor.java:448)	at com.atlassian.bamboo.user.BambooUserManagerImpl.getGroupNamesAsList(BambooUserManagerImpl.java:181)	at com.atlassian.bamboo.user.AcegiBambooUser.getAuthorities(AcegiBambooUser.java:36)	at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:51)	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191)	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)	at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)	at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)	at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:71)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:49)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:83)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:91)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)	at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:69)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)	at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:275)	at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:169)	at org.mortbay.jetty.servlet.Default.handleGet(Default.java:312)	at org.mortbay.jetty.servlet.Default.service(Default.java:232)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:832)	at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:177)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:78)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:71)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177)	at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)	at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)	at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)	at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)	at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158)	at org.mortbay.http.HttpServer.service(HttpServer.java:954)	at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)	at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)