Grails
  1. Grails
  2. GRAILS-8501

Spring Security Plugin produces error 500 No thread-bound request found(Maybe due to of Plugin)

    Details

      Description

      Hi All,

      Maybe someone can help me. I am just using plain spring-security-plugin core and executed s2-quickstart command, the command executes fine until you run-app and it produces this error:

      Error 500:
      Servlet: default
      URI: /jeepnee/
      Exception Message: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet

      ...

      Maybe something is amiss with the plugins:

      plugins.bubbling=2.1.3
      plugins.class-diagram=0.5.2
      plugins.cloud-foundry=1.2
      plugins.cloud-support=1.0.6
      plugins.flash-player=1.4
      plugins.grails-ui=1.2.2
      plugins.hibernate=1.3.7
      plugins.navigation=1.3.2
      plugins.resources=1.1.1
      plugins.richui=0.8
      plugins.swfobject=2.2.1
      plugins.tomcat=1.3.7
      plugins.yui=2.8.2.1

      can someone enlighten me. I am stuck with the issue. this is maybe a plugin conflicts with spring security who does web.xml manipulation via runtime too??

      Thanks

        Activity

        Hide
        Burt Beckwith added a comment -

        Be sure to use the latest version of the resources and Spring Security plugins

        Show
        Burt Beckwith added a comment - Be sure to use the latest version of the resources and Spring Security plugins
        Hide
        Aldrin Tingson added a comment -

        Hi Burt, Requesting for reopening of ticket. I am using spring security core 1.2.6(The latest one) since this is a fresh installation from 1.3.7

        Thank you

        Show
        Aldrin Tingson added a comment - Hi Burt, Requesting for reopening of ticket. I am using spring security core 1.2.6(The latest one) since this is a fresh installation from 1.3.7 Thank you
        Hide
        Burt Beckwith added a comment -

        You're using version 1.1.1 of the resources plugin. Upgrade that to the latest (v1.1.6)

        Show
        Burt Beckwith added a comment - You're using version 1.1.1 of the resources plugin. Upgrade that to the latest (v1.1.6)
        Hide
        David Trattnig added a comment -

        Please reopen. I have the same issue with

        runtime ":spring-security-core:1.2.7.1"
        runtime ":resources:1.1.6"

        Downgrade to

        runtime ":spring-security-core:1.2.4"

        solves the issue though.

        Show
        David Trattnig added a comment - Please reopen. I have the same issue with runtime ":spring-security-core:1.2.7.1" runtime ":resources:1.1.6" Downgrade to runtime ":spring-security-core:1.2.4" solves the issue though.
        Hide
        David Trattnig added a comment -

        (this issue is referring to the cloud foundry deployment as the OT has the cloud foundry plugin referenced, normal dev run-app works fine)

        Show
        David Trattnig added a comment - (this issue is referring to the cloud foundry deployment as the OT has the cloud foundry plugin referenced, normal dev run-app works fine)
        Hide
        David Trattnig added a comment -

        Created a cloud-foundry JIRA: GPCLOUDFOUNDRY-32

        Show
        David Trattnig added a comment - Created a cloud-foundry JIRA: GPCLOUDFOUNDRY-32
        Hide
        Aldrin Tingson added a comment -

        Sorry for very late reply. I resolve this issue by upgrading resources plugin to latest.

        I havent use cloudfoundry...

        Thanks

        Show
        Aldrin Tingson added a comment - Sorry for very late reply. I resolve this issue by upgrading resources plugin to latest. I havent use cloudfoundry... Thanks

          People

          • Assignee:
            Unassigned
            Reporter:
            Aldrin Tingson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development