0 Replies Latest reply on Aug 27, 2012 12:06 PM by Marko Strukelj

    Hot-Redeploy issue

    Marko Strukelj Master

      Any ideas why one would get this exception when redeploying an archive?

       

      (Running on JBoss AS 7.1.0.Final)

       

      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]

      ...

      ...

       

      This is a reported issue here: https://issues.jboss.org/browse/GTNPORTAL-2505