3 Replies Latest reply on Jul 30, 2010 12:17 PM by Stan Silvert

    JBOSS  deployement error

    Vijay Maske Newbie

      While deploying project in JBOSS 6.0.0.M3 I am getting following error message.

      Please suggest a solution.

       


      12:37:34,479 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] dep
      loy, ctxPath=/NewCars
      12:37:34,510 INFO  [javax.enterprise.resource.webcontainer.jsf.config] Initializ
      ing Mojarra 2.0.2 (FCS b10) for context '/NewCars'
      12:37:35,260 WARN  [org.jboss.weld.Servlet] WELD-000700 Not starting Weld/Servle
      t integration as Weld failed to initialize
      12:37:35,276 WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner]
      Failed to process changes: org.jboss.deployers.client.spi.IncompleteDeploymentEx
      ception: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "vfs:///D:/dev-tools/jboss-6.0.0-M3/server/default/deploy/NewCars.w
      ar_WBInjector" is missing the following dependencies:
          Dependency "vfs:///D:/dev-tools/jboss-6.0.0-M3/server/default/deploy/NewCars
      .war_WeldBootstrapBean" (should be in state "Installed", but is actually in stat
      e "**ERROR**")

      DEPLOYMENTS IN ERROR:
        Deployment "vfs:///D:/dev-tools/jboss-6.0.0-M3/server/default/deploy/NewCars.w
      ar_WeldBootstrapBean" is in error due to the following reason(s): org.jboss.weld
      .exceptions.ForbiddenArgumentException: WELD-001301 Annotation @javax.enterprise
      .inject.Any() is not a qualifier, **ERROR**

        • 1. Re: JBOSS  deployement error
          Stan Silvert Master

          Vijay Maske wrote:

           


          12:37:35,276 WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner]
          Failed to process changes: org.jboss.deployers.client.spi.IncompleteDeploymentEx
          ception: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):


           

          Did you see the previous errors?  What are they?

           

          Stan

          • 2. Re: JBOSS  deployement error
            Vijay Maske Newbie

            Hi Stan, thanks for giving time for me.

            I am getting these errors on command prompt.


            10:33:51,574 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] dep
            loy, ctxPath=/NewCars
            10:33:51,589 INFO  [javax.enterprise.resource.webcontainer.jsf.config] Initializ
            ing Mojarra 2.0.2 (FCS b10) for context '/NewCars'
            10:33:52,167 WARN  [org.jboss.weld.Servlet] WELD-000700 Not starting Weld/Servle
            t integration as Weld failed to initialize
            10:33:52,167 WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner]
            Failed to process changes: org.jboss.deployers.client.spi.IncompleteDeploymentEx
            ception: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

            DEPLOYMENTS MISSING DEPENDENCIES:
              Deployment "vfs:///D:/dev-tools/jboss-6.0.0-M3/server/default/deploy/NewCars.w
            ar_WBInjector" is missing the following dependencies:
                Dependency "vfs:///D:/dev-tools/jboss-6.0.0-M3/server/default/deploy/NewCars
            .war_WeldBootstrapBean" (should be in state "Installed", but is actually in stat
            e "**ERROR**")

            DEPLOYMENTS IN ERROR:
              Deployment "vfs:///D:/dev-tools/jboss-6.0.0-M3/server/default/deploy/NewCars.w
            ar_WeldBootstrapBean" is in error due to the following reason(s): org.jboss.weld
            .xml.WeldXmlException: WELD-001202 Error parsing org.xml.sax.SAXParseException:
            Premature end of file., **ERROR**

                    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
            loyersImpl.java:1395) [:2.2.0.Alpha4]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
            loyersImpl.java:1341) [:2.2.0.Alpha4]
                    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainD
            eployerImpl.java:968) [:2.2.0.Alpha4]
                    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter
            .checkComplete(MainDeployerAdapter.java:128) [:6.0.0.20100429-M3]
                    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDSca
            nner.java:416) [:6.0.0.20100429-M3]
                    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScan
            ner.java:294) [:6.0.0.20100429-M3]
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
            1) [:1.6.0_13]
                    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java
            :317) [:1.6.0_13]
                    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.
            6.0_13]
                    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
            access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_13]
                    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
            runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_13]
                    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
            run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_13]
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
            utor.java:886) [:1.6.0_13]
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
            .java:908) [:1.6.0_13]
                    at java.lang.Thread.run(Thread.java:619) [:1.6.0_13]

             

             

             

             

             

             

            If I still try to open project on browser its showing that

            WELD-000702 Unable to find BeanManager for org.apache.catalina.core.ApplicationContextFacade@71e0e9

            • 3. Re: JBOSS  deployement error
              Stan Silvert Master

              This is a Weld deployment error that is unrelated to JSF.  You should go to seamframework.org and ask your question in their forums.

               

              Also, you are still not showing the "Previous Errors" that the message talks about.  You need to look further back in your server.log file to find the original error.

               

              Stan