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 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]
@chkal chkal closed this in 960a47b Feb 24, 2014
chkal added a commit that referenced this issue Feb 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant