[
https://issues.jboss.org/browse/GTNPORTAL-2505?page=com.atlassian.jira.pl...
]
Marko Strukelj commented on GTNPORTAL-2505:
-------------------------------------------
Would be good to find out if
org.richfaces.javascript.ClientServiceConfigParser.parseConfig refers to an internal map,
and it's the configuration being parsed that contains double keys, or is it an
external map that conteins information from previous deployments maybe.
Error when hot re-deploying a JSF portlet on AS 7
-------------------------------------------------
Key: GTNPORTAL-2505
URL:
https://issues.jboss.org/browse/GTNPORTAL-2505
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Packaging
Reporter: Chris Laprun
Assignee: Marko Strukelj
Fix For: 3.4.0.Final
Using AS 7.1.0 and looks maybe like a JSF issue:
17:06:36,792 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-12) Initializing Mojarra 2.1.5 (SNAPSHOT 20111202) for context
'/gatein-admin-ui'
17:06:37,406 WARNING [javax.enterprise.resource.webcontainer.jsf.managedbean] (MSC
service thread 1-12) JSF1074: Managed bean named 'a4j' has already been
registered. Replacing existing managed bean class type org.richfaces.VersionBean with
org.richfaces.VersionBean.
17:06:37,406 WARNING [javax.enterprise.resource.webcontainer.jsf.managedbean] (MSC
service thread 1-12) JSF1074: Managed bean named 'a4jSkin' has already been
registered. Replacing existing managed bean class type org.richfaces.skin.SkinBean with
org.richfaces.skin.SkinBean.
17:06:37,407 WARNING [javax.enterprise.resource.webcontainer.jsf.managedbean] (MSC
service thread 1-12) JSF1074: Managed bean named 'richSkin' has already been
registered. Replacing existing managed bean class type org.richfaces.skin.SkinBean with
org.richfaces.skin.SkinBean.
17:06:37,973 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-12) Critical error during deployment: :
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! duplicate key:
interface javax.validation.constraints.AssertTrue
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376)
[jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT]
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
[jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT]
at
org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
[jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
[jbossweb-7.0.10.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
[jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[classes.jar:1.6.0_33]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[classes.jar:1.6.0_33]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
Caused by: java.lang.IllegalArgumentException: duplicate key: interface
javax.validation.constraints.AssertTrue
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
[guava-r09.jar:]
at
com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:72)
[guava-r09.jar:]
at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:221)
[guava-r09.jar:]
at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:207)
[guava-r09.jar:]
at
org.richfaces.javascript.ClientServiceConfigParser.parseConfig(ClientServiceConfigParser.java:53)
[richfaces-components-ui-4.3.0-20120716.091232-81.jar:4.3.0-SNAPSHOT]
at
org.richfaces.application.ValidatorModule.createClientScriptService(ValidatorModule.java:65)
[richfaces-components-ui-4.3.0-20120716.091232-81.jar:4.3.0-SNAPSHOT]
at org.richfaces.application.ValidatorModule.configure(ValidatorModule.java:60)
[richfaces-components-ui-4.3.0-20120716.091232-81.jar:4.3.0-SNAPSHOT]
at org.richfaces.application.ServicesFactoryImpl.init(ServicesFactoryImpl.java:27)
[richfaces-core-impl-4.3.0-20120716.085859-54.jar:4.3.0-SNAPSHOT]
at
org.richfaces.application.InitializationListener.createFactory(InitializationListener.java:129)
[richfaces-core-impl-4.3.0-20120716.085859-54.jar:4.3.0-SNAPSHOT]
at
org.richfaces.application.InitializationListener.onStart(InitializationListener.java:67)
[richfaces-core-impl-4.3.0-20120716.085859-54.jar:4.3.0-SNAPSHOT]
at
org.richfaces.application.InitializationListener.processEvent(InitializationListener.java:147)
[richfaces-core-impl-4.3.0-20120716.085859-54.jar:4.3.0-SNAPSHOT]
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
[jboss-jsf-api_2.1_spec-2.0.0.Final.jar:2.0.0.Final]
at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168)
[jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT]
at
com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2144)
[jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT]
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302)
[jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT]
at com.sun.faces.config.ConfigManager.publishPostConfigEvent(ConfigManager.java:601)
[jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:370)
[jsf-impl-2.1.5-jbossorg-1.jar:2.1.5-SNAPSHOT]
... 9 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira