-
1. Re: problem in starting WildFly 8.2.0.Final with JSF2.2
jaysensharma Dec 7, 2014 10:24 PM (in response to masummymesingh)The error which you are getting is not specific to JSF2.2 based application.
But in general the error ["JBAS014803: Duplicate resource [(\"deployment\" => \"hdivbill.war\")]"] indicates that you might be trying to deploy the same application twice. One using deployment-scanner by placing the file using "standalone/deployments/hdivbill.war" and you might be trying to deploy the same application using management utilities which adds an entry inside the JBoss profile like standalone.xml <deployments> tag.
Example:
<deployments> <deployment name="test.war" runtime-name=" .war"> <fs-archive path="deployments/hdivbill.war" relative-to="jboss.server.base.dir"/> </deployment> </deployments>
So can you verify the jboss profile (like standalone.xml or whatever u are using) and check the standalone/deployments directory to see if application is present in both places.
One thing is surprising to me is Duplicate entry in your log as following:
22:57:37,440 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found hdivbill.war in deployment directory. To trigger deployment create a file called hdivbill.war.dodeploy 22:57:37,450 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found hdivbill.war in deployment directory. To trigger deployment create a file called hdivbill.war.dodeploy
Have you altered in the deployment-scanner subsystem of your wildFly profile ?