2 Replies Latest reply on Mar 5, 2008 3:12 AM by mindlink

    Richfaces and Terracotta

    mindlink

      Hello,
      I have problems when running a richfaces app (download from http://download.jboss.com/jboss-richfaces/richfaces-demo-3.1.4.GA.war) with Terracotta.
      When using honor transient true it gives a NPE when switching servers on eg the polling demo.
      stack:
      at java.lang.NullPointerException
      at org.apache.commons.collections.map.AbstractHashedMap.getEntry(AbstractHashedMap.java:433)
      at org.apache.commons.collections.map.LRUMap.get(LRUMap.java:173)
      at org.ajax4jsf.application.AjaxStateManager.saveStateInSession(AjaxStateManager.java:365)

      Does anyone have experience with richfaces and terracotta and can give a sample tc-config to run with Tomcat?
      thanks
      Sascha

        • 1. Re: Richfaces and Terracotta
          nbelaevski

          Sascha,

          Could you please check if the problem exists with the latest 3.2.0-snapshot? Thank you in advance!

          • 2. Re: Richfaces and Terracotta
            mindlink

            Nick,
            I tried 3.2 but have trouble with the 3.14 demo war. I dropped the 3.2 libs into it and it does not start due to the following error:

            java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
            javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)

            Can you provide me a demo war with 3.2 polling demo or help me to fix the configuration in the 3.14 demo war?
            thank you