Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDBCStateRepository fails with managed DataSource #77

chkal opened this issue Feb 21, 2014 · 0 comments

JDBCStateRepository fails with managed DataSource #77

chkal opened this issue Feb 21, 2014 · 0 comments


Copy link

chkal commented Feb 21, 2014

The JDBCStateRepository will always try to commit the transaction, even managed transactions:

11:10:30,747 ERROR [org.togglz.core.repository.jdbc.JDBCStateRepository] Failed: java.sql.SQLException: You cannot commit during a managed transaction!
    at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit( [:6.1.0.Final]
    at org.jboss.resource.adapter.jdbc.WrappedConnection.commit( [:6.1.0.Final]
    at org.togglz.core.repository.jdbc.JDBCStateRepository.setFeatureState( [:]
    at org.togglz.core.manager.DefaultFeatureManager.setFeatureState( [:]
    at org.togglz.core.manager.LazyResolvingFeatureManager.setFeatureState( [:]
    at org.togglz.console.handlers.edit.EditPageHandler.process( [:]
    at org.togglz.console.TogglzConsoleServlet.service( [:]
    at javax.servlet.http.HttpServlet.service( [:1.0.0.Final]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( [:6.1.0.Final]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter( [:6.1.0.Final]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant