0 Replies Latest reply on Feb 27, 2014 1:28 PM by D. Alvarado

    How do I figuure out why my WAR deployment is failing (JBAS018040: Failed to start context)?

    D. Alvarado Newbie

      Hi,

       

      I’m using JBoss 7.1.3.AS.  I’m getting this baffling error when I deploy my WAR and I don’t know how to get more information about the error.  The core of the error is “JBAS018040: Failed to start context”.  Below is the complete list of what’s happening in my server log …

       

      [code]

      12:10:50,965 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015876: Starting deployment of "myproject.war"

      12:10:57,409 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015960: Class Path entry activation.jar in /content/myproject.war/WEB-INF/lib/mail-1.4.jar  does not point to a valid jar for a Class-Path reference.

      12:10:57,417 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015960: Class Path entry xercesImpl.jar in /content/myproject.war/WEB-INF/lib/xalan-2.7.0.jar  does not point to a valid jar for a Class-Path reference.

      12:10:57,417 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015960: Class Path entry xml-apis.jar in /content/myproject.war/WEB-INF/lib/xalan-2.7.0.jar  does not point to a valid jar for a Class-Path reference.

      12:10:57,418 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-13) JBAS015960: Class Path entry serializer.jar in /content/myproject.war/WEB-INF/lib/xalan-2.7.0.jar  does not point to a valid jar for a Class-Path reference.

      12:10:57,501 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) JBAS018567: Deployment "deployment.myproject.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice.

      12:10:57,501 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) JBAS018567: Deployment "deployment.myproject.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice.

      12:10:57,501 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) JBAS018567: Deployment "deployment.myproject.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice.

      12:10:57,501 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) JBAS018567: Deployment "deployment.myproject.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice.

      12:10:57,947 INFO  [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011907: Register module: Module "deployment.myproject.war:main" from Service Module Loader

      12:11:03,039 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-13) Error listenerStart

      12:11:03,039 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-13) Context [/myproject] startup failed due to previous errors

      12:11:03,118 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-13) MSC00001: Failed to start service jboss.web.deployment.default-host./myproject: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./myproject: JBAS018040: Failed to start context

        at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [classes.jar:1.6.0_65]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [classes.jar:1.6.0_65]

        at java.lang.Thread.run(Thread.java:695) [classes.jar:1.6.0_65]

      [/code]

       

      How do I get more information about what’s causing my deployment to fail?