[jboss-jira] [JBoss JIRA] (WFLY-1981) JSF component disappears on refresh using a4j:poll
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Tue Sep 3 15:55:04 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801312#comment-12801312 ]
Brian Leathem edited comment on WFLY-1981 at 9/3/13 3:54 PM:
-------------------------------------------------------------
While deploying I see
{code}
21:34:54,068 INFO [org.jboss.as.server.deployment#start] JBAS015876: Starting deployment of "web.war" (runtime-name: "web.war")
21:34:59,308 INFO [org.jboss.weld.deployer#deploy] JBAS016002: Processing weld deployment web.war
21:35:00,272 INFO [org.jboss.weld.deployer#deploy] JBAS016005: Starting Services for CDI deployment: web.war
21:35:00,363 INFO [org.jboss.weld.deployer#start] JBAS016008: Starting weld service for deployment web.war
21:35:01,492 INFO [javax.enterprise.resource.webcontainer.jsf.config#contextInitialized] Initializing Mojarra 2.2.2-jbossorg-1 20130814-1231 for context '/web'
21:35:04,881 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.openfaces.application.OpenFacesApplicationFactory which does not have any appropriate constructor.
21:35:04,898 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.openfaces.application.ViewExpiredExceptionHandlerFactory which does not have any appropriate constructor.
21:35:04,906 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.richfaces.context.SkinningExternalContextFactory which does not have any appropriate constructor.
21:35:04,917 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.richfaces.context.FileUploadFacesContextFactory which does not have any appropriate constructor.
21:35:04,934 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.openfaces.ajax.PartialViewContextFactory which does not have any appropriate constructor.
21:35:04,943 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.richfaces.context.ExtendedPartialViewContextFactoryImpl which does not have any appropriate constructor.
21:35:04,954 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.richfaces.view.facelets.html.BehaviorsTagHandlerDelegateFactoryImpl which does not have any appropriate constructor.
21:35:08,880 INFO [javax.enterprise.resource.webcontainer.jsf.config#<init>] Monitoring file:/mbi/tools/jboss/8.0/standalone/tmp/vfs/temp9107fab8a420cc03/web.war-2485cd5f0cf3e5b7/WEB-INF/faces-config.xml for modifications
21:35:09,123 INFO [org.richfaces.log.Cache#getCacheFactory] Selected fallback cache factory
21:35:09,126 INFO [org.richfaces.log.Cache#createCache] Creating LRUMap cache instance using parameters: {org.richfaces.enableControlSkinningClasses=false, javax.faces.PROJECT_STAGE=Development, org.richfaces.push.jms.enabled=true, org.richfaces.enableControlSkinning=false, org.jboss.jbossfaces.IS_CDI=true}
21:35:09,148 INFO [org.richfaces.log.Cache#createCache] Creating LRUMap cache instance of 512 items capacity
21:35:09,173 INFO [org.richfaces.log.Application#onStart] RichFaces Core Implementation by JBoss by Red Hat, version 4.3.3.Final
21:35:09,187 INFO [org.richfaces.log.Application#initializePushContext] Startup initialization of PushContext
21:35:09,226 INFO [org.wildfly.extension.undertow#registerDeployment] JBAS018210: Register web context: /web
21:35:09,503 INFO [org.jboss.as.server#handleResult] JBAS018565: Replaced deployment "web.war" with deployment "web.war"
{code}
But nothing more after that, only the logging output from my app.
When deploying using mojarra-2.1.19 I don't get those warnings:
{code}
21:38:47,806 INFO [org.jboss.as.server.deployment#start] JBAS015876: Starting deployment of "web.war" (runtime-name: "web.war")
21:38:52,002 INFO [org.jboss.weld.deployer#deploy] JBAS016002: Processing weld deployment web.war
21:38:52,888 INFO [org.jboss.weld.deployer#deploy] JBAS016005: Starting Services for CDI deployment: web.war
21:38:52,963 INFO [org.jboss.weld.deployer#start] JBAS016008: Starting weld service for deployment web.war
21:38:54,631 INFO [javax.enterprise.resource.webcontainer.jsf.config#contextInitialized] Initializing Mojarra 2.1.19 ( 20130213-1512 https://svn.java.net/svn/mojarra~svn/tags/2.1.19@11614) for context '/web'
21:39:00,262 INFO [org.richfaces.log.Cache#getCacheFactory] Selected fallback cache factory
21:39:00,266 INFO [org.richfaces.log.Cache#createCache] Creating LRUMap cache instance using parameters: {org.richfaces.enableControlSkinningClasses=false, javax.faces.PROJECT_STAGE=Development, org.richfaces.push.jms.enabled=true, org.richfaces.enableControlSkinning=false, org.jboss.jbossfaces.IS_CDI=true, org.jboss.jbossfaces.JSF_CONFIG_NAME=mojarra-2.1.19}
21:39:00,269 INFO [org.richfaces.log.Cache#createCache] Creating LRUMap cache instance of 512 items capacity
21:39:00,279 INFO [org.richfaces.log.Application#onStart] RichFaces Core Implementation by JBoss by Red Hat, version 4.3.3.Final
21:39:00,288 INFO [org.richfaces.log.Application#initializePushContext] Startup initialization of PushContext
21:39:00,325 INFO [javax.enterprise.resource.webcontainer.jsf.config#<init>] Monitoring file:/mbi/tools/jboss/8.0/standalone/tmp/vfs/temp9107fab8a420cc03/web.war-fc3e6c1c2132b080/WEB-INF/faces-config.xml for modifications
21:39:00,331 INFO [org.wildfly.extension.undertow#registerDeployment] JBAS018210: Register web context: /web
21:39:00,530 INFO [org.jboss.as.server#handleResult] JBAS018565: Replaced deployment "web.war" with deployment "web.war"
{code}
was (Author: lafr):
While deploying I see
21:34:54,068 INFO [org.jboss.as.server.deployment#start] JBAS015876: Starting deployment of "web.war" (runtime-name: "web.war")
21:34:59,308 INFO [org.jboss.weld.deployer#deploy] JBAS016002: Processing weld deployment web.war
21:35:00,272 INFO [org.jboss.weld.deployer#deploy] JBAS016005: Starting Services for CDI deployment: web.war
21:35:00,363 INFO [org.jboss.weld.deployer#start] JBAS016008: Starting weld service for deployment web.war
21:35:01,492 INFO [javax.enterprise.resource.webcontainer.jsf.config#contextInitialized] Initializing Mojarra 2.2.2-jbossorg-1 20130814-1231 for context '/web'
21:35:04,881 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.openfaces.application.OpenFacesApplicationFactory which does not have any appropriate constructor.
21:35:04,898 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.openfaces.application.ViewExpiredExceptionHandlerFactory which does not have any appropriate constructor.
21:35:04,906 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.richfaces.context.SkinningExternalContextFactory which does not have any appropriate constructor.
21:35:04,917 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.richfaces.context.FileUploadFacesContextFactory which does not have any appropriate constructor.
21:35:04,934 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.openfaces.ajax.PartialViewContextFactory which does not have any appropriate constructor.
21:35:04,943 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.richfaces.context.ExtendedPartialViewContextFactoryImpl which does not have any appropriate constructor.
21:35:04,954 WARN [org.jboss.weld.Bean#chooseInjectionTarget] WELD-001529 An InjectionTarget is created for a class org.richfaces.view.facelets.html.BehaviorsTagHandlerDelegateFactoryImpl which does not have any appropriate constructor.
21:35:08,880 INFO [javax.enterprise.resource.webcontainer.jsf.config#<init>] Monitoring file:/mbi/tools/jboss/8.0/standalone/tmp/vfs/temp9107fab8a420cc03/web.war-2485cd5f0cf3e5b7/WEB-INF/faces-config.xml for modifications
21:35:09,123 INFO [org.richfaces.log.Cache#getCacheFactory] Selected fallback cache factory
21:35:09,126 INFO [org.richfaces.log.Cache#createCache] Creating LRUMap cache instance using parameters: {org.richfaces.enableControlSkinningClasses=false, javax.faces.PROJECT_STAGE=Development, org.richfaces.push.jms.enabled=true, org.richfaces.enableControlSkinning=false, org.jboss.jbossfaces.IS_CDI=true}
21:35:09,148 INFO [org.richfaces.log.Cache#createCache] Creating LRUMap cache instance of 512 items capacity
21:35:09,173 INFO [org.richfaces.log.Application#onStart] RichFaces Core Implementation by JBoss by Red Hat, version 4.3.3.Final
21:35:09,187 INFO [org.richfaces.log.Application#initializePushContext] Startup initialization of PushContext
21:35:09,226 INFO [org.wildfly.extension.undertow#registerDeployment] JBAS018210: Register web context: /web
21:35:09,503 INFO [org.jboss.as.server#handleResult] JBAS018565: Replaced deployment "web.war" with deployment "web.war"
But nothing more after that, only the logging output from my app.
When deploying using mojarra-2.1.19 I don't get those warnings:
21:38:47,806 INFO [org.jboss.as.server.deployment#start] JBAS015876: Starting deployment of "web.war" (runtime-name: "web.war")
21:38:52,002 INFO [org.jboss.weld.deployer#deploy] JBAS016002: Processing weld deployment web.war
21:38:52,888 INFO [org.jboss.weld.deployer#deploy] JBAS016005: Starting Services for CDI deployment: web.war
21:38:52,963 INFO [org.jboss.weld.deployer#start] JBAS016008: Starting weld service for deployment web.war
21:38:54,631 INFO [javax.enterprise.resource.webcontainer.jsf.config#contextInitialized] Initializing Mojarra 2.1.19 ( 20130213-1512 https://svn.java.net/svn/mojarra~svn/tags/2.1.19@11614) for context '/web'
21:39:00,262 INFO [org.richfaces.log.Cache#getCacheFactory] Selected fallback cache factory
21:39:00,266 INFO [org.richfaces.log.Cache#createCache] Creating LRUMap cache instance using parameters: {org.richfaces.enableControlSkinningClasses=false, javax.faces.PROJECT_STAGE=Development, org.richfaces.push.jms.enabled=true, org.richfaces.enableControlSkinning=false, org.jboss.jbossfaces.IS_CDI=true, org.jboss.jbossfaces.JSF_CONFIG_NAME=mojarra-2.1.19}
21:39:00,269 INFO [org.richfaces.log.Cache#createCache] Creating LRUMap cache instance of 512 items capacity
21:39:00,279 INFO [org.richfaces.log.Application#onStart] RichFaces Core Implementation by JBoss by Red Hat, version 4.3.3.Final
21:39:00,288 INFO [org.richfaces.log.Application#initializePushContext] Startup initialization of PushContext
21:39:00,325 INFO [javax.enterprise.resource.webcontainer.jsf.config#<init>] Monitoring file:/mbi/tools/jboss/8.0/standalone/tmp/vfs/temp9107fab8a420cc03/web.war-fc3e6c1c2132b080/WEB-INF/faces-config.xml for modifications
21:39:00,331 INFO [org.wildfly.extension.undertow#registerDeployment] JBAS018210: Register web context: /web
21:39:00,530 INFO [org.jboss.as.server#handleResult] JBAS018565: Replaced deployment "web.war" with deployment "web.war"
> JSF component disappears on refresh using a4j:poll
> --------------------------------------------------
>
> Key: WFLY-1981
> URL: https://issues.jboss.org/browse/WFLY-1981
> Project: WildFly
> Issue Type: Bug
> Components: JSF, Web (Undertow)
> Affects Versions: 8.0.0.Beta1
> Reporter: Frank Langelage
> Assignee: Brian Leathem
> Attachments: install-mojarra-2.1.19.cli, Jira-WFLY-UT.tar, xaa, xab, xac
>
>
> On some of my pages I'm using richfaces a4j:poll to refresh components regularly. The components refreshed is an openfaces datatable.
> This does not work with WildFly build from current sources.
> Same code works with JBoss AS 7.20. So problem is not related to richfaces or openfaces for me. Probably related to replacement of jboss-web with undertow.
> I'll attach a small project showing the problem.
> The mojarra datatable works fine, is refreshed every 10 seconds.
> The openfaces datatable below disappears on first refresh.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list