Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/list/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Wildfly 8(JBOSS 8)中部署EJB时出错_Jboss_Ejb 3.0_Wildfly 8 - Fatal编程技术网

在Wildfly 8(JBOSS 8)中部署EJB时出错

在Wildfly 8(JBOSS 8)中部署EJB时出错,jboss,ejb-3.0,wildfly-8,Jboss,Ejb 3.0,Wildfly 8,我试图在Wildfly 8中部署EJB时出错。我正在尝试将我的ejb.ear文件(包含所有bean和远程类的beans.jar文件,以及包含ejb-jar.xml和jboss.xml的meta inf文件夹)放在wildfly8/standalone/deployments文件夹中。 它显示了我放置的所有bean文件的所有模块名和jndi名。但在显示以下内容后,我得到了错误 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) M

我试图在Wildfly 8中部署EJB时出错。我正在尝试将我的ejb.ear文件(包含所有bean和远程类的beans.jar文件,以及包含ejb-jar.xml和jboss.xml的meta inf文件夹)放在wildfly8/standalone/deployments文件夹中。 它显示了我放置的所有bean文件的所有模块名和jndi名。但在显示以下内容后,我得到了错误

ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.subunit."ejbs.ear"."beans.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."ejbs.ear"."beans.jar".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment "beans.jar" of deployment "ejbs.ear"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.0.0.Final.jar:8.0.0.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.Final.jar:1.2.0.Final]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011058: Failed to install component ReportBean
    at org.jboss.as.ee.component.deployers.ComponentInstallProcessor.deploy(ComponentInstallProcessor.java:109)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.Final.jar:8.0.0.Final]
    ... 5 more
Caused by: java.lang.NullPointerException
    at org.jboss.as.ejb3.component.session.SessionBeanObjectViewConfigurator$2.configureDependency(SessionBeanObjectViewConfigurator.java:94)
    at org.jboss.as.ejb3.component.session.SessionBeanObjectViewConfigurator$2.configureDependency(SessionBeanObjectViewConfigurator.java:91)
    at org.jboss.as.ee.component.deployers.ComponentInstallProcessor.deployComponent(ComponentInstallProcessor.java:151)
    at org.jboss.as.ee.component.deployers.ComponentInstallProcessor.deploy(ComponentInstallProcessor.java:101)
    ... 6 more
有人能帮忙吗

谢谢, 杰克