1 Reply Latest reply on Apr 2, 2015 1:42 PM by jaikiran pai

    Failed to deploy web project in JBoss7

    Jiamei Shen Newbie

      Once run this project on the jboss7, error occurs:

      20:25:55,517 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."JuliaStore.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."JuliaStore.war".INSTALL: Failed to process phase INSTALL of deployment "JuliaStore.war"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)

        at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [:1.7.0_21]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [:1.7.0_21]

        at java.lang.Thread.run(Thread.java:722) [:1.7.0_21]

      Caused by: java.lang.NullPointerException

        at org.jboss.as.ee.component.ComponentDescription$DefaultFirstConfigurator.configure(ComponentDescription.java:532)

        at org.jboss.as.ee.component.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:65)

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)

        ... 5 more

       

       

      20:25:55,727 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "JuliaStore.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"JuliaStore.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"JuliaStore.war\".INSTALL: Failed to process phase INSTALL of deployment \"JuliaStore.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.JuliaStore.JuliaStore.JuliaStore.Validator missing [ jboss.naming.context.java.module.JuliaStore.JuliaStore ]","jboss.naming.context.java.comp.JuliaStore.JuliaStore.JuliaStore.ValidatorFactory missing [ jboss.naming.context.java.module.JuliaStore.JuliaStore ]"]}

      20:25:55,751 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment JuliaStore.war in 25ms

      20:25:55,755 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"JuliaStore.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"JuliaStore.war\".INSTALL: Failed to process phase INSTALL of deployment \"JuliaStore.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.JuliaStore.JuliaStore.JuliaStore.Validator missing [ jboss.naming.context.java.module.JuliaStore.JuliaStore ]","jboss.naming.context.java.comp.JuliaStore.JuliaStore.JuliaStore.ValidatorFactory missing [ jboss.naming.context.java.module.JuliaStore.JuliaStore ]"]}}}

       

      The web.xml is:

      <?xml version="1.0" encoding="UTF-8"?>

      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">

       

       

        <welcome-file-list> 

          <welcome-file>login.jsp</welcome-file> 

        </welcome-file-list> 

       

         <servlet>

              <servlet-name>RegisterServlet</servlet-name>

              <servlet-class>store.servlet。RegisterServlet</servlet-class>

          </servlet>

      ...

         

           <servlet-mapping>

              <servlet-name>RegisterServlet</servlet-name>

              <url-pattern>/store。servlet。RegisterServlet</url-pattern>

          </servlet-mapping>

      ...

      </web-app>

      what can be wrong?