Results 1 to 10 of 13

Thread: Problem upgrading from M2 to RC1

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    160

    Default Problem upgrading from M2 to RC1

    I am having some problems with the upgrade path to RC1. I have changed the version of the blazeds integration to RC1. I had to add the org.codehaus.jackson/jackson-core-asl dependency and change the flex:remote-service into flex:remoting-destination. I also use the service-id, which I had to change into destination-id. (Wrong in the documentation by the way).

    Now I am starting the application and I am receiving the following message. Does someone have a clue what I need to change as well?

    2009-05-09 23:26:00.560::WARN: Nested in javax.servlet.ServletException: org.springframework.beans.factory.NoSuchBeanDefini tionException: No bean named '_filterChainList' is defined:
    org.springframework.beans.factory.NoSuchBeanDefini tionException: No bean named '_filterChainList' is defined
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.getBeanDefinition(DefaultListab leBeanFactory.java:387)
    at org.springframework.flex.config.SessionFixationPro tectionConfigurer.postProcessBeanFactory(SessionFi xationProtectionConfigurer.java:60)
    at org.springframework.context.support.AbstractApplic ationContext.invokeBeanFactoryPostProcessors(Abstr actApplicationContext.java:553)
    at org.springframework.context.support.AbstractApplic ationContext.invokeBeanFactoryPostProcessors(Abstr actApplicationContext.java:544)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:362)
    at org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(FrameworkServlet.java:4 02)
    at org.springframework.web.servlet.FrameworkServlet.i nitWebApplicationContext(FrameworkServlet.java:316 )
    at org.springframework.web.servlet.FrameworkServlet.i nitServletBean(FrameworkServlet.java:282)
    at org.springframework.web.servlet.HttpServletBean.in it(HttpServletBean.java:126)
    Jettro Coenradie
    http://www.gridshore.nl

  2. #2
    Join Date
    Oct 2005
    Posts
    6

    Default me too

    seems like it might be an issue with the springsecurity settings, but not sure yet

  3. #3
    Join Date
    Oct 2005
    Posts
    6

    Default not ideal, but workaround for now

    If you turn off session fixation it will go away. Since i'm in dev this is ok for now:

    <http auto-config="false" entry-point-ref="preAuthenticatedEntryPoint" session-fixation-protection="none">


    FWIW, I tried what is suggested in the source code, but it didn't fix the prob:

    if (filterList == null) {
    log.warn("Spring Security filter chain could not be found. You must install the RequestContextFilter or RequestContextListener"
    + "manually in order for the flex session fixation protection integration to function as expected.");
    return;
    }

  4. #4
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    160

    Default

    You are absolutely right, that did the trick. Strange message for this problem, does seem like a bug to me. Did you already file this as a bug?

    regards Jettro
    Jettro Coenradie
    http://www.gridshore.nl

  5. #5
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    Quote Originally Posted by jettro View Post
    You are absolutely right, that did the trick. Strange message for this problem, does seem like a bug to me. Did you already file this as a bug?

    regards Jettro
    You're right, it is definitely a bug...just created http://jira.springframework.org/browse/FLEX-46 to capture it. Fix will be committed shortly and I'll fire off a snapshot build so that you guys can test it out if you like...I'll update here when it's ready.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

  6. #6
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    FLEX-46 is fixed. You should be able to run with the session fixation protection enabled now. The fix is available in build 148 (or later). http://s3.amazonaws.com/dist.springf...0.0.CI-148.zip
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

  7. #7
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    Quote Originally Posted by jettro View Post
    I also use the service-id, which I had to change into destination-id. (Wrong in the documentation by the way).
    Thanks for pointing it out...captured as http://jira.springframework.org/browse/FLEX-45.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •