1 Reply Latest reply on Jul 9, 2013 1:32 PM by ssilvert

    Not able to deployee JSF1.2 application in JBOSS EAP 6.1 windows environment

    jbosssuren

      Dear All,

       

      I am trying to deployee JSF1.2 application into Jboss EAP 6.1 but its not deployeeing getting the error message as below.

       

      as i have read some blog as well they told that add 'jboss-deployment-structure.xml'

       

      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">

          <deployment>

              <dependencies>

                  <module name="javax.faces.api" slot="1.2" export="true" />

                  <module name="com .sun.jsf-impl" slot="1.2" export="true" />

              </dependencies>

          </deployment>

          <sub-deployment name="Test.war">

              <exclusions>

                  <module name="javax.faces.api" slot="main" />

                  <module name="com.sun.jsf-im pl" slot="main" />

                  <module name="org.apache.log4j"/>           

              </exclusions>

              <dependencies>

                  <module name="javax.faces.api" slot="1.2" />

                  <module name="com.sun.jsf-impl" slot="1.2" />

              </dependencies>

          </sub-deployment>

          </jboss-deployment-structure>

       

       

      above .xml file i added but its not deployeeing properly .

       

       

       

       

       

      14:42:22,641 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC0000

      01: Failed to start service jboss.deployment.unit."Test.war".STRUCTURE: org

      .jboss.msc.service.StartException in service jboss.deployment.unit."MFPMS-TOS.wa

      r".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "MFPMS

      -TOS.war"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo

      ymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.

      Final-redhat-8]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se

      rviceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-

      1]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont

      rollerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec

      utor.java:886) [rt.jar:1.6.0_26]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor

      .java:908) [rt.jar:1.6.0_26]

              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBA

      S018746: Sub deployment MFPMS-TOS.war in jboss-deployment-structure.xml was not

      found. Available sub deployments:

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureD

      escriptorParser.subDeploymentNotFound(DeploymentStructureDescriptorParser.java:2

      75) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

              at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureD

      escriptorParser.deploy(DeploymentStructureDescriptorParser.java:184) [jboss-as-s

      erver-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo

      ymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.

      Final-redhat-8]

              ... 5 more

       

      14:42:22,672 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: De

      ployed "MFPMS-TOS.war" (runtime-name : "Test.war")

      14:42:22,672 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774

      : Service status report

      JBAS014777:   Services which failed to start:      service jboss.deployment.unit

      ."MFPMS-TOS.war".STRUCTURE: org.jboss.msc.service.StartException in service jbos

      s.deployment.unit."MFPMS-TOS.war".STRUCTURE: JBAS018733: Failed to process phase

      STRUCTURE of deployment "MFPMS-TOS.war"

       

      14:42:22,813 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http mana

      gement interface listening on http://0.0.0.0:9990/management

      14:42:22,813 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin con

      sole listening on http://0.0.0.0:9990

      14:42:22,813 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP

      6.1.0.GA (AS 7.2.0.Final-redhat-8) started (with errors) in 36766ms - Started 1

      25 of 180 services (1 services failed or missing dependencies, 53 services are p

      assive or on-demand)

       

      Pls help me to resolve the same.