1 Reply Latest reply on Aug 25, 2011 10:51 AM by Benjamin Maisano

    ajax4jsfFilter initialized twice?

    Adrian Mitev Master

      Hi all! When starting project with Seam 2.1 SP1 i got the following


      05-11-2008 16:35:32,734 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter
      05-11-2008 16:35:32,765 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      05-11-2008 16:35:32,765 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.richfaces.CONTROL_SKINNING=disable, codelistPopupPath=common/codelistSuggestPopup.ecs, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.CONTROL_SKINNING_CLASSES=disable, facelets.DEVELOPMENT=true, com.sun.faces.externalizeJavaScript=true, org.richfaces.SKIN=ecs2, com.sun.faces.disableUnicodeEscaping=true, javax.faces.DEFAULT_SUFFIX=.xhtml}
      05-11-2008 16:35:32,765 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      05-11-2008 16:35:32,812 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      05-11-2008 16:35:32,812 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {org.richfaces.CONTROL_SKINNING=disable, codelistPopupPath=common/codelistSuggestPopup.ecs, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.CONTROL_SKINNING_CLASSES=disable, facelets.DEVELOPMENT=true, com.sun.faces.externalizeJavaScript=true, org.richfaces.SKIN=ecs2, com.sun.faces.disableUnicodeEscaping=true, javax.faces.DEFAULT_SUFFIX=.xhtml}
      05-11-2008 16:35:32,812 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      



      Is the ajax4jsfFilter loaded twice?

        • 1. Re: ajax4jsfFilter initialized twice?
          Benjamin Maisano Newbie
          Seam 2.1.2, RichFaces 3.3.3.Final, JSF 1.2, Facelets 1.1.15

          I see this printing four times actually.....I'm also having an issue where if I debug and grab the ViewHandler
          ViewHandler vh = FacesContext.getCurrentInstance().getApplication().getViewHandler();
          its an AjaxViewHandler that has a handler member variable holding the actual FaceletsViewHandler, and that has developmentMode = true always, despite my init param....



          10:45:19,141 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {oflows.TRUSTED_X_FORWARDED_FOR_CLIENTS=127.0.0.1, facelets.DEVELOPMENT=false, facelets.BUILD_BEFORE_RESTORE=false, WORKING_FOLDER_ACCESS_ONLY=false, facelets.LIBRARIES=/META-INF/compositions.taglib.xml; /META-INF/elfunctions.taglib.xml; /META-INF/oconsole.taglib.xml; /META-INF/seam-birt.taglib.xml; /META-INF/cufunctions.taglib.xml; /META-INF/validation.taglib.xml; /META-INF/joda.taglib.xml;, BIRT_VIEWER_CONFIG_FILE=WEB-INF/viewer.properties, BIRT_VIEWER_PRINT_SERVERSIDE=ON, BIRT_VIEWER_DOCUMENT_FOLDER=, HTML_ENABLE_AGENTSTYLE_ENGINE=true, BIRT_VIEWER_LOG_LEVEL=WARNING, BIRT_VIEWER_SCRIPTLIB_DIR=, org.apache.myfaces.ERROR_HANDLING=false, org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, facelets.RESOURCE_RESOLVER=com.oflows.seam.infrastructure.CustomResourceResolver, BIRT_VIEWER_MAX_ROWS=, BIRT_VIEWER_IMAGE_DIR=, BIRT_VIEWER_WORKING_FOLDER=/oconsole/reports/designs/, BIRT_VIEWER_MAX_CUBE_COLUMNLEVELS=, javax.faces.PROJECT_STAGE=Deployment, BIRT_VIEWER_CUBE_MEMORY_SIZE=, BIRT_RESOURCE_PATH=/report/, BIRT_OVERWRITE_DOCUMENT=true, BIRT_VIEWER_LOCALE=en-US, BIRT_VIEWER_MAX_CUBE_ROWLEVELS=, facelets.REFRESH_PERIOD=500, facelets.SKIP_COMMENTS=true, BIRT_VIEWER_TIMEZONE=, oflows.TRUST_X_FORWARDED_FOR=true, javax.faces.DEFAULT_SUFFIX=.xhtml, BIRT_VIEWER_LOG_DIR=}
          10:45:19,141 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
          10:45:19,171 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
          10:45:19,171 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {oflows.TRUSTED_X_FORWARDED_FOR_CLIENTS=127.0.0.1, facelets.DEVELOPMENT=false, facelets.BUILD_BEFORE_RESTORE=false, WORKING_FOLDER_ACCESS_ONLY=false, facelets.LIBRARIES=/META-INF/compositions.taglib.xml; /META-INF/elfunctions.taglib.xml; /META-INF/oconsole.taglib.xml; /META-INF/seam-birt.taglib.xml; /META-INF/cufunctions.taglib.xml; /META-INF/validation.taglib.xml; /META-INF/joda.taglib.xml;, BIRT_VIEWER_CONFIG_FILE=WEB-INF/viewer.properties, BIRT_VIEWER_PRINT_SERVERSIDE=ON, BIRT_VIEWER_DOCUMENT_FOLDER=, HTML_ENABLE_AGENTSTYLE_ENGINE=true, BIRT_VIEWER_LOG_LEVEL=WARNING, BIRT_VIEWER_SCRIPTLIB_DIR=, org.apache.myfaces.ERROR_HANDLING=false, org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, facelets.RESOURCE_RESOLVER=com.oflows.seam.infrastructure.CustomResourceResolver, BIRT_VIEWER_MAX_ROWS=, BIRT_VIEWER_IMAGE_DIR=, BIRT_VIEWER_WORKING_FOLDER=/oconsole/reports/designs/, BIRT_VIEWER_MAX_CUBE_COLUMNLEVELS=, javax.faces.PROJECT_STAGE=Deployment, BIRT_VIEWER_CUBE_MEMORY_SIZE=, BIRT_RESOURCE_PATH=/report/, BIRT_OVERWRITE_DOCUMENT=true, BIRT_VIEWER_LOCALE=en-US, BIRT_VIEWER_MAX_CUBE_ROWLEVELS=, facelets.REFRESH_PERIOD=500, facelets.SKIP_COMMENTS=true, BIRT_VIEWER_TIMEZONE=, oflows.TRUST_X_FORWARDED_FOR=true, javax.faces.DEFAULT_SUFFIX=.xhtml, BIRT_VIEWER_LOG_DIR=}
          10:45:19,171 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
          10:45:19,171 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.contextFilter
          10:45:19,172 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
          10:45:19,172 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
          10:45:19,172 INFO  [SeamFilter] Initializing filter: baseUrlFilter
          10:45:19,172 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.identityFilter
          10:45:19,174 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
          10:45:19,174 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {oflows.TRUSTED_X_FORWARDED_FOR_CLIENTS=127.0.0.1, facelets.DEVELOPMENT=false, facelets.BUILD_BEFORE_RESTORE=false, WORKING_FOLDER_ACCESS_ONLY=false, facelets.LIBRARIES=/META-INF/compositions.taglib.xml; /META-INF/elfunctions.taglib.xml; /META-INF/oconsole.taglib.xml; /META-INF/seam-birt.taglib.xml; /META-INF/cufunctions.taglib.xml; /META-INF/validation.taglib.xml; /META-INF/joda.taglib.xml;, BIRT_VIEWER_CONFIG_FILE=WEB-INF/viewer.properties, BIRT_VIEWER_PRINT_SERVERSIDE=ON, BIRT_VIEWER_DOCUMENT_FOLDER=, HTML_ENABLE_AGENTSTYLE_ENGINE=true, BIRT_VIEWER_LOG_LEVEL=WARNING, BIRT_VIEWER_SCRIPTLIB_DIR=, org.apache.myfaces.ERROR_HANDLING=false, org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, facelets.RESOURCE_RESOLVER=com.oflows.seam.infrastructure.CustomResourceResolver, BIRT_VIEWER_MAX_ROWS=, BIRT_VIEWER_IMAGE_DIR=, BIRT_VIEWER_WORKING_FOLDER=/oconsole/reports/designs/, BIRT_VIEWER_MAX_CUBE_COLUMNLEVELS=, javax.faces.PROJECT_STAGE=Deployment, BIRT_VIEWER_CUBE_MEMORY_SIZE=, BIRT_RESOURCE_PATH=/report/, BIRT_OVERWRITE_DOCUMENT=true, BIRT_VIEWER_LOCALE=en-US, BIRT_VIEWER_MAX_CUBE_ROWLEVELS=, facelets.REFRESH_PERIOD=500, facelets.SKIP_COMMENTS=true, BIRT_VIEWER_TIMEZONE=, oflows.TRUST_X_FORWARDED_FOR=true, javax.faces.DEFAULT_SUFFIX=.xhtml, BIRT_VIEWER_LOG_DIR=}
          10:45:19,174 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
          10:45:19,177 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
          10:45:19,178 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {oflows.TRUSTED_X_FORWARDED_FOR_CLIENTS=127.0.0.1, facelets.DEVELOPMENT=false, facelets.BUILD_BEFORE_RESTORE=false, WORKING_FOLDER_ACCESS_ONLY=false, facelets.LIBRARIES=/META-INF/compositions.taglib.xml; /META-INF/elfunctions.taglib.xml; /META-INF/oconsole.taglib.xml; /META-INF/seam-birt.taglib.xml; /META-INF/cufunctions.taglib.xml; /META-INF/validation.taglib.xml; /META-INF/joda.taglib.xml;, BIRT_VIEWER_CONFIG_FILE=WEB-INF/viewer.properties, BIRT_VIEWER_PRINT_SERVERSIDE=ON, BIRT_VIEWER_DOCUMENT_FOLDER=, HTML_ENABLE_AGENTSTYLE_ENGINE=true, BIRT_VIEWER_LOG_LEVEL=WARNING, BIRT_VIEWER_SCRIPTLIB_DIR=, org.apache.myfaces.ERROR_HANDLING=false, org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, facelets.RESOURCE_RESOLVER=com.oflows.seam.infrastructure.CustomResourceResolver, BIRT_VIEWER_MAX_ROWS=, BIRT_VIEWER_IMAGE_DIR=, BIRT_VIEWER_WORKING_FOLDER=/oconsole/reports/designs/, BIRT_VIEWER_MAX_CUBE_COLUMNLEVELS=, javax.faces.PROJECT_STAGE=Deployment, BIRT_VIEWER_CUBE_MEMORY_SIZE=, BIRT_RESOURCE_PATH=/report/, BIRT_OVERWRITE_DOCUMENT=true, BIRT_VIEWER_LOCALE=en-US, BIRT_VIEWER_MAX_CUBE_ROWLEVELS=, facelets.REFRESH_PERIOD=500, facelets.SKIP_COMMENTS=true, BIRT_VIEWER_TIMEZONE=, oflows.TRUST_X_FORWARDED_FOR=true, javax.faces.DEFAULT_SUFFIX=.xhtml, BIRT_VIEWER_LOG_DIR=}
          10:45:19,178 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
          10:45:19,237 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
          10:45:19,296 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
          10:45:19,321 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 2m:11s:861ms