Results 1 to 3 of 3

Thread: ServletConfig not set

  1. #1
    Join Date
    Jan 2011
    Posts
    14

    Default ServletConfig not set

    We recently upgraded from 1.0.3.RELEASE to 1.5.0.M2 (and the flex 4 libraries from Adobe) and now the FlexContext class always has a null servletConfig.

    I've debugged it and I see it getting set when Spring first starts up but when we try to access it later (for dpHibernate) it is always null.

    From what I can tell, the MessageBrokerHandlerAdapter never has the setServletConfig called when we actually call a Flex service.

    Again, this is only in 1.5.0.M2. If I go back to 1.0.3.RELEASE everything works fine.

    Any ideas what might be causing this?

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

    Default

    Hmmm...sounds strange...I'll see if I can reproduce it today. In the meantime, can you go ahead and open a Jira issue?

    http://jira.springsource.org/browse/FLEX
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

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

    Default

    Ok, I've been unable to reproduce this so far. From what I can see, we are properly setting the ServletConfig at the beginning of the request and clearing it at the end.

    At what point are you trying to reference the ServletConfig for dpHibernate? Is it during a request, or is it perhaps at startup time?
    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
  •