由以下原因引起:org.apache.cxf.transport.http.HTTPException:与" https://URL/"进行通信时,HTTP响应为" 401:未经授权"

2020-09-24 03:10发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)对于 B2C 方案,当客户复制时...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


对于 B2C 方案,当客户复制时-DataHub在日志中显示以下错误。 由于某些原因, datahub无法将客户推送到C4C

....................... 2017-09-20 15:59:51,729 [WARN] [oacpPhaseInterceptorChain]用于{ http://sap.com/xi/A1S/Global} BusinessPartnerReplicationInService#{http://sap.com/xi/A1S/Global} ReplicateBusinessPartner 例外,现在正在释放org.apache.cxf.interceptor.Fault:无法发送消息。 在org.apache.cxf.interceptor.MessageSenderInterceptor $ MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)[cxf-rt-frontend-simple-3.1.7.jar:3.1.7] 在org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)[cxf-rt-frontend-jaxws-3.1.7.jar:3.1.7] 在com.sun.proxy。$ Proxy293.replicateBusinessPartner(未知来源)[na:na] 在com.hybris.datahub.c4c.adapter.soapadapter.processor.soap.impl.DefaultC4cJaxwsSoapProcessor.sendMessage(DefaultC4cJaxwsSoapProcessor.java:93)[c4c-integration-soap-adapter-6.4.0.0-RC7.jar:na] 在com.hybris.datahub.c4c.adapter.soapadapter.processor.soap.impl.DefaultC4cJaxwsSoapProcessor.process(DefaultC4cJaxwsSoapProcessor.java:80)[c4c-integration-soap-adapter-6.4.0.0-RC7.jar:na] 在com.hybris.datahub.c4c.adapter.soapadapter.publisher.impl.DefaultC4cSoapPublisher.publish(DefaultC4cSoapPublisher.java:82)[c4c-integration-soap-adapter-6.4.0.0-RC7.jar:na] 在com.hybris.datahub.c4c.adapter.soapadapter.core.C4cSoapAdapter.publish(C4cSoapAdapter.java:43)[c4c-integration-soap-adapter-6.4.0.0-RC7.jar:na] 位于com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.startPublication(DefaultDataHubPublicationService.java:253)[datahub-service-6.4.0.0-RC5.jar:6.4.0.0-RC5] com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.publish(DefaultDataHubPublicationService.java:101)[datahub-service-6.4.0.0-RC5.jar:6.4.0.0-RC5]

................. 由以下原因引起:org.apache.cxf.transport.http.HTTPException:与之通信时HTTP响应" 401:未授权" https://URL/(C4C服务网址) 在org.apache.cxf.transport.http.HTTPConduit $ WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1600)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.http.HTTPConduit $ WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1607)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.http.HTTPConduit $ WrappedOutputStream.handleResponse(HTTPConduit.java:1551)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.http.HTTPConduit $ WrappedOutputStream.close(HTTPConduit.java:1348)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.interceptor.MessageSenderInterceptor $ MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)〜[cxf-core-3.1.7.jar:3.1.7] ...省略了37个共同的框架

2017-09-20 15:59:51,819 [错误] [c.h.d.s.i.PublicationActionHandler] 错误发布操作:1 javax.xml.ws.WebServiceException:无法发送消息。 在org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:150)〜[cxf-rt-frontend-jaxws-3.1.7.jar:3.1.7] 在com.sun.proxy。$ Proxy293.replicateBusinessPartner(未知来源)〜[na:na] 在com.hybris.datahub.c4c.adapter.soapadapter.processor.soap.impl.DefaultC4cJaxwsSoapProcessor.sendMessage(DefaultC4cJaxwsSoapProcessor.java:93)〜[c4c-integration-soap-adapter-6.4.0.0-RC7.jar:na] 在com.hybris.datahub.c4c.adapter.soapadapter.processor.soap.impl.DefaultC4cJaxwsSoapProcessor.process(DefaultC4cJaxwsSoapProcessor.java:80)〜[c4c-integration-soap-adapter-6.4.0.0-RC7.jar:na] 在com.hybris.datahub.c4c.adapter.soapadapter.publisher.impl.DefaultC4cSoapPublisher.publish(DefaultC4cSoapPublisher.java:82)〜[c4c-integration-soap-adapter-6.4.0.0-RC7.jar:na] 在com.hybris.datahub.c4c.adapter.soapadapter.core.C4cSoapAdapter.publish(C4cSoapAdapter.java:43)〜[c4c-integration-soap-adapter-6.4.0.0-RC7.jar:na] 在com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.startPublication(DefaultDataHubPublicationService.java:253)〜[datahub-service-6.4.0.0-RC5.jar:6.4.0.0-RC5] 在com.hybris.datahub.service.publication.impl.DefaultDataHubPublicationService.publish(DefaultDataHubPublicationService.java:101)〜[datahub-service-6.4.0.0-RC5.jar:6.4.0.0-RC5]

...................... 由以下原因引起:org.apache.cxf.transport.http.HTTPException:与之通信时HTTP响应" 401:未授权" https://URL/(C4C服务网址) 在org.apache.cxf.transport.http.HTTPConduit $ WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1600)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.http.HTTPConduit $ WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1607)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.http.HTTPConduit $ WrappedOutputStream.handleResponse(HTTPConduit.java:1551)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.http.HTTPConduit $ WrappedOutputStream.close(HTTPConduit.java:1348)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)〜[cxf-rt-transports-http-3.1.7.jar:3.1.7] 在org.apache.cxf.interceptor.MessageSenderInterceptor $ MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)〜[cxf-core-3.1.7.jar:3.1.7] 在org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)〜[cxf-rt-frontend-simple-3.1.7.jar:3.1.7] 在org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)〜[cxf-rt-frontend-jaxws-3.1.7.jar:3.1.7] ...省略了30个普通框架

....................... 2017-09-20 15:59:51,909 [INFO] [c.h.d.s.i.PublicationActionHandler] 发布操作失败:1 2017-09-20 15:59:51,929 [DEBUG] [c.h.d.s.i.AsynchronousEventPublicationService]触发数据中心事件:TargetSystemPublicationCompletedEvent {publicationId = 1,poolId = 3} 2017-09-20 15:59:51,929 [DEBUG] [c.h.d.s.p.i.DefaultDataHubPublicationService]将发布状态设置为FAILURE 2017-09-20 15:59:51,939 [DEBUG] [c.h.d.p.i.DefaultProcessMonitor]未注册发布#1,正在运行0个进程 2017-09-20 15:59:51,939 [DEBUG] [c.h.d.s.i.AsynchronousEventPublicationService]触发数据中心事件:PublicationCompletedEvent {actionId = 1,poolId = 3} 2017-09-20 15:59:51,959 [DEBUG] [c.h.d.s.p.i.DefaultPublicationRetryService]删除了0个针对CompositeTargetSystemPublicationEntity {id = 1,status = FAILURE,出版的出版物的重试 类型= null,publicationAction = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 3,名称= C4CCUSTOMER_POOL}},targetSystem = TargetSystemEntity {id = 1,targetSystemName ='C4CSoapTargetSystem', targetSystemType ='C4C_CLIENT_SOAP_JAXWS'}} 2017-09-20 15:59:52,019 [DEBUG] [c.h.d.s.p.i.DefaultPublicationRetryService]为未发布在CompositeTargetSystemPublicationEntity {id = 1,status = FAILURE,public上的项目创建1次重试 ationType = null,publicationAction = PublicationActionEntity {id = 1,pool = DataHubPoolEntity {id = 3,名称= C4CCUSTOMER_POOL}},targetSystem = TargetSystemEntity {id = 1,targetSystemName ='C4CSoapTargetSys tem',targetSystemType ='C4C_CLIENT_SOAP_JAXWS'}} 2017-09-20 15:59:52,029 [DEBUG] [c.h.d.r.j.JdbcBatchPublicationRetryRepository]创建1个重试 2017-09-20 15:59:52,059 [DEBUG] [c.h.d.s.i.AsynchronousEventPublicationService]触发数据中心事件:com.hybris.datahub.api.event.DeletePublicationRetryEvent@1dd6350f [] 2017-09-20 15:59:52,099 [WARN] [c.h.d.s.p.i.DeletePublicationRetryEventListener]从目标系统ID 1中删除0个发布重试