Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3764

Problem with Infinispan and transactions

XMLWordPrintable

    • Hide

      Create a web application.
      Using a cookie manager plugin for firefox or chrome, send a cookie with the name "comment" or "path" or other reserved token. After this the error starts.

      Show
      Create a web application. Using a cookie manager plugin for firefox or chrome, send a cookie with the name "comment" or "path" or other reserved token. After this the error starts.
    • User Experience

      We are using Jasing CAS 3.5.2 for Single Sign On purposes deployed on a server in a Wildfly 8.0.0 Final domain (yesterday we upgraded to 8.1.0 Final).

      The application is working just fine, but in sometimes we detect this error:
      2014-08-22 00:30:50,365 ERROR [io.undertow.request] (default task-85) UT005023: Exception handling request to /SSO/login: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Cookie name "comment" is a reserved token

      After this error the applications starts to fail with this error:
      2014-08-22 00:31:24,387 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-91) ISPN000136: Execution error: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [15 seconds] on key [Urkr0TVHiwJ95KJnuhz9IB9n] for requestor [GlobalTransaction:<master:sso-server-1/web>:308:local]! Lock held by [GlobalTransaction:<master:sso-server-1/web>:296:local]

      2014-08-22 00:31:24,407 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (default task-91) ISPN000136: Execution error: java.lang.IllegalStateException: Transaction DummyTransaction{xid=DummyXid

      {id=308}

      , status=1} is not in a valid state to be invoking cache operations on.

      After this happens we need to restart the server, because the application cannot be restored from those errors.

              pferraro@redhat.com Paul Ferraro
              joelsteve Joel Sebastian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: