我尝试构建一个war文件,其中包含在JBOSS AS 6.3 EAP Beta
中部署的Web服务但是,在JBOSS EAP中,它给了我以下错误:
2014-10-08 11:06:11,693 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.subunit."My.ear"."MyWebApp.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."My.ear"."MyWebApp.war".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment "MyWebApp.war" of deployment "My.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_20]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_20]
Caused by: javax.xml.ws.WebServiceException: org.jboss.wsf.spi.deployment.WSFDeploymentException: JBWS024101: Could not find endpoint config name: Standard-Endpoint-Config
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:371)
at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:66)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:539)
at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:118)
at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:137)
at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:69)
at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-11.jar:7.4.0.Final-redhat-11]
... 5 more
Caused by: org.jboss.wsf.spi.deployment.WSFDeploymentException: JBWS024101: Could not find endpoint config name: Standard-Endpoint-Config
at org.jboss.wsf.stack.cxf.configuration.ServerBeanCustomizer.configureEndpoint(ServerBeanCustomizer.java:150)
at org.jboss.wsf.stack.cxf.configuration.ServerBeanCustomizer.customize(ServerBeanCustomizer.java:71)
at org.jboss.wsf.stack.cxf.client.configuration.JBossWSNonSpringConfigurer.customConfigure(JBossWSNonSpringConfigurer.java:58)
at org.jboss.wsf.stack.cxf.client.configuration.JBossWSNonSpringConfigurer.configureBean(JBossWSNonSpringConfigurer.java:45)
at org.apache.cxf.jaxws.EndpointImpl.configureObject(EndpointImpl.java:507)
at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:411)
at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
... 13 more
以前一直在JBOSS 7.2Final工作
我的部署或应用程序出了什么问题?
请帮帮我。
答案 0 :(得分:0)
我相信你的standalone-xxx.xml文件没有定义Standard-Endpoint-Config
端点。检查你的webservices子系统(在standalone-xxx.xml中),它应该有类似的东西:
<subsystem xmlns="urn:jboss:domain:webservices:1.1">
<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>
</subsystem>