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

UnexpectedRollbackException when doing View Logs #660

Yaytay opened this Issue Jun 26, 2017 · 0 comments


None yet
3 participants

Yaytay commented Jun 26, 2017

Expected Behavior

Hitting View Logs in the management UI should generate a UI for viewing logs.

Current Behavior

The API is generating:

UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
at com.sun.proxy.$Proxy48.findByApi(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Steps to Reproduce (for bugs)

  1. Navigate to Dashboard.
  2. Choose an API.
  3. Click View Logs


I was just trying to smoke test the system to see if my JDBC repo was breaking anywhere.
My JDBC repo is not reporting any failures and does not do anything about storing logs, but I don't know whether it was involved in the transaction.

Your Environment

  • Version used: 1.7.0, not tried View Logs on previous versions.
  • Browser Name and version: Chrome
  • Operating System and version: Windows 10

brasseld added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Jun 26, 2017

@brasseld brasseld self-assigned this Jun 26, 2017

@brasseld brasseld added this to the 1.8.0 milestone Jun 27, 2017

NicolasGeraud added a commit to gravitee-io/gravitee-management-rest-api that referenced this issue Jun 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment