6 Replies Latest reply on Sep 16, 2010 6:22 AM by Marcel Kolsteren

    ConversationAwareViewHandler causing performance problems

    Pjotter Tommassen Newbie

      Hi,


      We have just started using Weld in our JSF2 web application. After a while we noticed a huge drop in performance.


      Using a profiler, we managed to trace this problem to the getActionURL method of the ConversationAwareViewHandler class, and specifically its call to org.jboss.weld.servlet.BeanProvider.conversation. For some reason, it takes up most of the CPU time in each request, and the time spend in this method increases when application has been running for a longer period.


      Since we don't use conversations in our application, we solved this by removing the view handler from the faces-config.xml in our Weld jar, but this solution doesn't seem ideal.


      Is anyone else having similar problems?