Announcement Announcement Module
No announcement yet.
ServletConfig not set Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Hmmm...sounds strange...I'll see if I can reproduce it today. In the meantime, can you go ahead and open a Jira issue?


    • #3
      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?