Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.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
Eclipse 如何在jboss eap 6.1上部署cxf web服务_Eclipse_Deployment_Jboss - Fatal编程技术网

Eclipse 如何在jboss eap 6.1上部署cxf web服务

Eclipse 如何在jboss eap 6.1上部署cxf web服务,eclipse,deployment,jboss,Eclipse,Deployment,Jboss,嘿,伙计们,我正试图在jboss-eap-6.1上部署我的cxf web服务,但还没有完成。。我在下面提供堆栈跟踪: 16:37:30,821 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."GenericEnterpriseApplicationSkeleton.war".INSTALL: org.jboss

嘿,伙计们,我正试图在jboss-eap-6.1上部署我的cxf web服务,但还没有完成。。我在下面提供堆栈跟踪:

16:37:30,821 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service jboss.deployment.unit."GenericEnterpriseApplicationSkeleton.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."GenericEnterpriseApplicationSkeleton.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "GenericEnterpriseApplicationSkeleton.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_40] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_40] at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_40] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011030: Could not configure component org.apache.cxf.wsn.client.Publisher at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:91) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] ... 5 more Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011054: Could not find default constructor for class org.apache.cxf.wsn.client.Publisher at org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:607) at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:80) ... 6 more 16:37:30,854 INFO [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "GenericEnterpriseApplicationSkeleton.war" (runtime-name : "GenericEnterpriseApplicationSkeleton.war") 16:37:30,854 INFO [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "EAApplication.ear" (runtime-name : "EAApplication.ear") 16:37:30,855 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.deployment.unit."GenericEnterpriseApplicationSkeleton.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."GenericEnterpriseApplicationSkeleton.war".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "GenericEnterpriseApplicationSkeleton.war" 16:37:31,036 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http:// 127.0.0.1:9990/management 16:37:31,037 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http:// 127.0.0.1:9990 16:37:31,037 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) started (with errors) in 5102ms - Started 198 of 260 services (1 services failed or missing dependencies, 60 services are passive or on-demand) 16:37:30821错误[org.jboss.msc.service.fail](msc服务线程1-5)MSC000001:无法启动服务jboss.deployment.unit.“GenericeEnterpriseApplicationSkeleton.war”。安装:org.jboss.msc.service.StartException in service jboss.deployment.unit.“GenericeEnterpriseApplicationSkeleton.war”.INSTALL:JBAS018733:无法处理部署“GenericEnterpriseApplicationSkeleton.war”的阶段安装 在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127)[jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] 在org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1] 在org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1] 位于java.util.concurrent.ThreadPoolExecutor.runWorker(未知源)[rt.jar:1.7.0_40] 位于java.util.concurrent.ThreadPoolExecutor$Worker.run(未知源)[rt.jar:1.7.0_40] 在java.lang.Thread.run(未知源)[rt.jar:1.7.0_40] 原因:org.jboss.as.server.deployment.DeploymentUnitProcessingException:JBAS011030:无法配置组件org.apache.cxf.wsn.client.Publisher 位于org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:91) 在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120)[jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8] ... 还有5个 原因:org.jboss.as.server.deployment.DeploymentUnitProcessingException:JBAS011054:找不到类org.apache.cxf.wsn.client.Publisher的默认构造函数 在org.jboss.as.ee.component.ComponentDescription$DefaultComponentConfigurator.configure(ComponentDescription.java:607)上 位于org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:80) ... 还有6个 16:37:30854信息[org.jboss.as.server](服务器服务线程池--26)JBAS018559:部署的“GenericeEnterpriseApplicationSkeleton.war”(运行时名称:“GenericeEnterpriseApplicationSkeleton.war”) 16:37:30854 INFO[org.jboss.as.server](ServerService线程池--26)JBAS018559:部署的“EAApplication.ear”(运行时名称:“EAApplication.ear”) 16:37:30855信息[org.jboss.as.controller](控制器引导线程)JBAS014774:服务状态报告 JBAS014777:未能启动的服务:service jboss.deployment.unit.“GenericeEnterpriseApplicationSkeleton.war”。安装:org.jboss.msc.service.StartException in service jboss.deployment.unit.“GenericeEnterpriseApplicationSkeleton.war”。安装:JBAS018733:未能处理部署的安装阶段“通用企业应用程序框架.war” 16:37:31036信息[org.jboss.as](控制器引导线程)JBAS015961:Http管理接口侦听Http://127.0.0.1:9990/management 16:37:31037信息[org.jboss.as](控制器引导线程)JBAS015951:管理控制台在http://127.0.0.1:9990上侦听 16:37:31037错误[org.jboss.as](控制器引导线程)JBAS015875:jboss EAP 6.1.0.GA(as 7.2.0.Final-redhat-8)在5102ms中启动(有错误)-启动了260个服务中的198个(1个服务失败或缺少依赖项,60个服务为被动或按需)
请看一看。

我得到了类似的错误,但不是您提到的确切错误。我通过绕过默认的Jboss Webservices实现解决了这个问题

我在standalone.xml中注释掉了以下几行

    <extension module="org.jboss.as.webservices"/>

以及子系统

    <subsystem xmlns="urn:jboss:domain:webservices:1.2">
        <modify-wsdl-address>true</modify-wsdl-address>
        <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
        <endpoint-config name="Standard-Endpoint-Config"/>
        <endpoint-config name="Recording-Endpoint-Config">
            <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
                <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
            </pre-handler-chain>
        </endpoint-config>
        <client-config name="Standard-Client-Config"/>
    </subsystem>

真的
${jboss.bind.address:127.0.0.1}

请查看关于我是如何得到这个想法的链接-。希望这能有所帮助。

我得到了类似的错误,但不是您提到的确切错误。我通过绕过默认的Jboss Webservices实现解决了这个问题

我在standalone.xml中注释掉了以下几行

    <extension module="org.jboss.as.webservices"/>

以及子系统

    <subsystem xmlns="urn:jboss:domain:webservices:1.2">
        <modify-wsdl-address>true</modify-wsdl-address>
        <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>
        <endpoint-config name="Standard-Endpoint-Config"/>
        <endpoint-config name="Recording-Endpoint-Config">
            <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">
                <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>
            </pre-handler-chain>
        </endpoint-config>
        <client-config name="Standard-Client-Config"/>
    </subsystem>

真的
${jboss.bind.address:127.0.0.1}
请查看我是如何得到这个想法的链接-。希望这能有所帮助