2 Replies Latest reply on May 6, 2013 1:15 PM by raghuram maturi

    Caused by: java.lang.IllegalArgumentException: No enum constant org.jboss.metadata.javaee.spec.ResourceAuthorityType.CONTAINER

    raghuram maturi Newbie

      I am trying to migrate the application from websphere application server to jboss 6.0.0.GA with jdk 1.7.0.09. when I tried to deploy the OEDCIEAR.ear file to the jboss application server 6.0 I am getting the below error.Anyone face similar issue before and got resolved.please let me know.

       

       

      15:40:15,912 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."OEDCIEAR.ear"."OEDCIWeb.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."OEDCIEAR.ear"."OEDCIWeb.war".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "OEDCIWeb.war" of deployment "OEDCIEAR.ear"

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_11]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_11]

          at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_11]

      Caused by: java.lang.IllegalArgumentException: No enum constant org.jboss.metadata.javaee.spec.ResourceAuthorityType.CONTAINER

          at java.lang.Enum.valueOf(Unknown Source) [rt.jar:1.7.0_11]

          at org.jboss.metadata.javaee.spec.ResourceAuthorityType.valueOf(ResourceAuthorityType.java:30)

          at org.jboss.metadata.parser.ee.ResourceReferenceMetaDataParser.parse(ResourceReferenceMetaDataParser.java:81)

          at org.jboss.metadata.parser.ee.EnvironmentRefsGroupMetaDataParser.parseRemote(EnvironmentRefsGroupMetaDataParser.java:118)

          at org.jboss.metadata.parser.ee.EnvironmentRefsGroupMetaDataParser.parse(EnvironmentRefsGroupMetaDataParser.java:75)

          at org.jboss.metadata.parser.ee.EnvironmentRefsGroupMetaDataParser.parse(EnvironmentRefsGroupMetaDataParser.java:51)

          at org.jboss.metadata.parser.servlet.WebMetaDataParser.parse(WebMetaDataParser.java:178)

          at org.jboss.metadata.parser.servlet.WebMetaDataParser.parse(WebMetaDataParser.java:55)

          at org.jboss.as.web.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:91)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

          ... 5 more

       

      15:40:16,116 INFO  [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS015870: Deploy of deployment "OEDCIEAR.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"OEDCIEAR.ear\".\"OEDCIWeb.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"OEDCIEAR.ear\".\"OEDCIWeb.war\".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment \"OEDCIWeb.war\" of deployment \"OEDCIEAR.ear\"

          Caused by: java.lang.IllegalArgumentException: No enum constant org.jboss.metadata.javaee.spec.ResourceAuthorityType.CONTAINER"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"OEDCIEAR.ear\".DEPENDENCIES Missing[JBAS014861: <one or more transitive dependencies>]"]}

      15:40:22,377 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment OEDCIWeb.war in 6260ms

      15:40:22,382 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment OEDCIEAR.ear in 6266ms