1 Reply Latest reply on Jul 31, 2014 5:51 AM by wdfink

    Error deploying an application via jboss windows service

    ikane

      Hi all,

       

      I'm facing the following issue deploying a war into jboss AS 6:

       

      When starting jboss with run.bat command, the deployment is fine!

       

      But when starting jboss as windows service, the war is not deployed and i get the following error logs:

       

      [CODE]

      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (Thread-2) Error installing to Create: name=vfs:///C:/MMS7/jboss-6.1.0.Final/server/MMSAPPLIS/mms-applications/mreport-gwt-gui-jee-7.1.2.0.war_WeldBootstrapBean state=Configured: java.lang.NullPointerException

        at org.jboss.weld.util.ApiAbstraction.annotationTypeForName(ApiAbstraction.java:86) [:6.1.0.Final]

        at org.jboss.weld.ejb.EJBApiAbstraction.<init>(EJBApiAbstraction.java:36) [:6.1.0.Final]

        at org.jboss.weld.bootstrap.BeanDeployment.<init>(BeanDeployment.java:100) [:6.1.0.Final]

        at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:185) [:6.1.0.Final]

        at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:197) [:6.1.0.Final]

        at org.jboss.weld.bootstrap.WeldBootstrap$DeploymentVisitor.visit(WeldBootstrap.java:156) [:6.1.0.Final]

      ....

       

      ERROR [ProfileServiceBootstrap] (Thread-2) Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

       

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "jboss-switchboard:appName=mreport-gwt-gui-jee-7.1.2.0,module=mreport-gwt-gui-jee-7.1.2.0" is missing the following dependencies:

          Dependency "java:global/cdi/mreport-gwt-gui-jee-7.1.2.0/mreport-gwt-gui-jee-7.1.2.0/BeanManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'java:global/cdi/mreport-gwt-gui-jee-7.1.2.0/mreport-gwt-gui-jee-7.1.2.0/BeanManager' **")

      [/CODE]

       

      Any idea of the cause of this problem?

       

      Thanks in advance