无法在jboss gatein服务器上部署

时间:2013-08-01 13:16:23

标签: java jboss war gatein

我的战争已成功部署在tomee中,但当我尝试将其部署在jboss gatein中时,我会得到下一个日志:

2013-08-01 16:04:09,240 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Start: name=vfs:///D:/java/GateIn-3.2.0.Final-jbossas6/server/default/deploy/jsfbootstrap.war_WeldBootstrapBean state=Create: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Logger] with qualifiers [@Default] at injection point [[field] @Inject private com.rkovacevic.jsfbootstrap.service.MemberRegistration.log]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305) [:6.0.0.Final]
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:139) [:6.0.0.Final]
. . .
at java.lang.Thread.run(Thread.java:722) [:1.7.0_13]

2013-08-01 16:04:09,265 WARN  [org.jboss.profileservice.deployment.hotdeploy.HDScanner] (HDScanner) Scan failed: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "jboss-injector:appName=jsfbootstrap,module=jsfbootstrap" is missing the following dependencies:
    Dependency "<UNKNOWN jboss-injector:appName=jsfbootstrap,module=jsfbootstrap>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jboss-switchboard:appName=jsfbootstrap,module=jsfbootstrap' **")
  Deployment "jboss-injector:topLevelUnit=jsfbootstrap.war,unit=jsfbootstrap.war,bean=CalculatorImpl,interceptor=org.jboss.weld.

integration.ejb.SessionBeanInterceptor" is missing the following dependencies:

more with same errors...

DEPLOYMENTS IN ERROR:
  Deployment "<UNKNOWN jboss-injector:topLevelUnit=jsfbootstrap.war,unit=jsfbootstrap.war,bean=CalculatorImpl,interceptor=org.jboss.weld.integration.ejb.SessionBeanInterceptor>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss-switchboard:appName=jsfbootstrap,module=jsfbootstrap' **

  more with same errors...

  Deployment "<UNKNOWN jboss.j2ee:jar=jsfbootstrap.war,name=CalculatorImpl,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss-injector:bean=CalculatorImpl,interceptor=org.jboss.weld.integration.ejb.interceptor.Jsr299BindingsInterceptor,topLevelUnit=jsfbootstrap.war,unit=jsfbootstrap.war' **, ** UNRESOLVED Demands 'jboss-injector:bean=CalculatorImpl,interceptor=org.jboss.weld.integration.ejb.SessionBeanInterceptor,topLevelUnit=jsfbootstrap.war,unit=jsfbootstrap.war' **

at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.0.GA]
. . .
at java.lang.Thread.run(Thread.java:722) [:1.7.0_13]

我在这里得到了这个例子 - 我分叉了这个项目https://github.com/rkovacevic/JSFBootstrap 并添加一些ejb3 bean。正如我所说,这场战争在TomEE成功部署......

1 个答案:

答案 0 :(得分:0)

在我看来,我的server \ lib文件夹中缺少一些像portlet-api,portletbridge-api等库,请参阅我的另一个问题:

GateIn Quickstarts: can't deploy JSF2 HelloWorld example