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
Not sure what the problem is.
But I recommend to upgrade to WildFly as this version is old and there are less participants to answer your questions, also this version is more than 3 years old and there is no maintance.