点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中) INFO [hybrisHTT...
点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中) INFO [hybrisHTT...
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
INFO [hybrisHTTP5] [10.209.200.138] [ItemImportController]收到的请求PUT:/import/pools/Y2YSYNC_POOL/publications/2 INFO [hybrisHTTP5] [10.209.200.138] [ItemImportController] resultCallbackUrl: http://localhost:8080/datahub-webapp/v1/core-publications/2 INFO [TaskExecutor -master-387-Task [8796289663926]] [ImpexDataImportClient]从资源 http://本地主机:8080/datahub-webapp/v1/core-publi de,others,manufacturerAID,code,variantType,approvalStatus,summary,picture,catalogVersion,detail,normal,manufacturererName,ean,thumbnail,thumbnails&lastProcesse INFO [TaskExecutor- master-387-Task [8796289663926]] [ImpexDataImportClient]返回错误(写入媒体文件时发生错误(mediaId:8977305503774,文件:C:\ hybris tp://localhost:8080/datahub-webapp/v1/core-publications/2错误 [TaskExecutor-master-387-Task [ 8796289663926]] [ImpexDataImportClient]无法与 http://localhost:8080/datahub-webapp通信/v1/core-publicatio com.sun.jersey.api.client.ClientHandlerException:javax.ws.rs.WebApplicationException:javax.xml.bind.MarshalException-具有链接的异常:[java.net.ConnectException:连接 拒绝:在com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:155)处的com.sun.jersey.api.client.Client.handle(Client.java:652)处的connect] 位于com.sun.jersey.api.client.WebResource.access的.jersey.api.client.WebResource.handle(WebResource.java:682)位于com.sun.jersey.api.client的$ 200(WebResource.java:74)。 com.hybris.datahub.core.rest.client.ImpexDataImportClient.returnImportResult(ImpexDataImportClient.java:72)处的WebResource $ Builder.put(WebResource.java:539)com.hybris.datahub.core.facades.impl.DefaultItemImportFacade处的WebResource $ Builder.put(WebResource.java:539)。 callbackToDataHub(DefaultItemI com.hybris.datahub.core.facades.impl.DefaultItemImportFacade.importItems(DefaultItemImportFacade.java:54)处的com.hybris.datahub.core.tasks.ItemImportTaskRunner.run(ItemImportTaskRunner.run(ItemImportTaskRunner.java:48)上的mportFacade.java:103) 在com.hybris.datahub.core.tasks.DefaultDataHubTaskExecutionStrategy.run(DefaultDataHubTaskExecutionStrategy.java:33)在de.hybris.platform.task.impl.DefaultTaskService.processTask(DefaultTaskService.java:1315)在de.hybris.platform.task .impl.DefaultTaskService.process(DefaultTaskService.java:1227)at de.hybris.platform.task.impl.DefaultTaskService.processInTenant(DefaultTaskService.java:1183)at de.hybris.platform.task.impl.DefaultTaskService $ 5.run( java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)的DefaultTaskService.java:1073)java.lang.Thread.run的java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)的DefaultTaskService.java:1073) (Thread.java:745)原因:javax.ws.rs.WebApplicationException:javax.xml.bind.MarshalException-带lin ked例外:[com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:159)的com.sun.jersey.api.client.RequestWriter处的[java.net.ConnectException:连接被拒绝:connect] com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:217)的.writeRequestEntity(RequestWriter.java:300)com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:153)的。 )……还有16个原因:javax.xml.bind.MarshalException-带有链接的异常:[java.net.ConnectException:连接被拒绝:connect]位于com.sun.xml.internal.bind.v2.runtime.MarshallerImpl。 在com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:236)处写入(MarshallerImpl.java:313)在javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java: 95)com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:179) 在com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:157)处……另外19个原因:java.net.ConnectException:连接被拒绝:在java.net.DualStackPlainSocketImpl.connect0( java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)处的本地方法)java.net.AbstractPlainSocketImpl.java:350处java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)处的java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) .net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)在java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)在java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)在java.net.Socket。 在sun.net.www.http.HttpClient.openServer上的java.net.Socket.connect(Socket.java:538)上的connect(Socket.java:589)在sun.net.NetworkClient.doConnect(NetworkClient.java:180)上 (httpClient.java:432)在sun.net.www.http.HttpClient.openServer(HttpClient.java:527)在sun.net.www.http.Ht 在sun.net.www.http.HttpClient.New(HttpClient.java:308)在sun.net.www.http.HttpClient.New(HttpClient.java:326)处的tpClient。(HttpClient.java:211)在sun。 sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)上的net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)在sun.net.www.protocol.http上。 在sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)上的HttpURLConnection.plainConnect(HttpURLConnection.java:999)在sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java: 1283),位于sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1258),位于com.sun.jersey.client.urlconnection.URLConnectionClientHandler $ 1 $ 1.getOutputStream(URLConnectionClientHandler.java:238),位于com.sun .com.sun.jersey.api.client.CommittingOutputStream.write(CommittingOutputStream.java:89)处的.jersey.api.client.CommittingOutputStream.commitStream(CommittingOutputStream.java:117)在com。 sun.xml.internal.bind.v2.runtime.output.UTF8XmlOutput.flushBuffer(UTF8XmlOutput.java:403)位于com.sun.xml.internal.bind.v2.runtime.output.UTF8XmlOutput.endDocument(UTF8XmlOutput.java:127) )com.sun.xml.internal.bind.v2.runtime.XMLSerializer.endDocument(XMLSerializer.java:836)处com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.postwrite(MarshallerImpl.java:362) ),位于com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:309)...还有23个错误[TaskExecutor-master-387-Task [8796289663926]] [DefaultTaskService]无法执行 任务8796289663926(hjmpTS:0)。 de.hybris.platform.servicelayer.exceptions.SystemException:java.lang.IllegalStateException:无法与 http://localhost:8080/datahub-webapp/v1 位于com.hybris.datahub.core.tasks.DefaultDataHubTaskExecutionStrategy.run(DefaultDataHubTaskExecutionStrategy.java:41),位于de.hybris.platform.task.impl.DefaultTaskService.processTask( de.hybris.platform.task.impl.DefaultTaskService.process(DefaultTaskService.java:1227)处的de.hybris.platform.task.impl.DefaultTaskService.processInTenant(DefaultTaskService.java:1183)处的DefaultTaskService.java:1315) .hybris.platform.task.impl.DefaultTaskService $ 5.run(DefaultTaskService.java:1073)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor $ Worker.run( java.lang.Thread.run(Thread.java:745)上的ThreadPoolExecutor.java:617)原因:java.lang.IllegalStateException:无法与 http://localhost:8080/datahub-webapp/v1/core-publications/2 com.hybris.datahub.core.facades.impl.DefaultItemImportFacade.callbackToDataHub的com.hybris.datahub.core.rest.client.ImpexDataImportClient.returnImportResult(ImpexDataImportClient.java:82)at(DefaultItemImportFacade.java:103) com.hybris.datahub.core.tasks.ItemImportTaskRunner.run(ItemImportTaskRunner.java:48)处的com.hybris.datahub.core.tasks的datahub.core.facades.impl.DefaultItemImportFacade.java:54 DefaultDataHubTaskExecutionStrategy.run(DefaultDataHubTaskExecutionStrategy.java:33)...另外7个原因:com.sun.jersey.api.client.ClientHandlerException:javax.ws.rs.WebApplicationException:javax.xml.bind.MarshalException-具有链接的异常: [java.net.ConnectException:连接被拒绝:connect]位于com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler .java:155)com.sun.jersey.api.client.Client.handle(Client.java:652)com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)。 sun.jersey.api.client.WebResource.access $ 200(WebResource.java:74)位于com.sun.jersey.api.client.WebResource $ Builder.put(WebResource.java:539)位于com.hybris.datahub.core .rest.client.ImpexDataImportClient.returnImportResult(ImpexDataImportClient.java:72)...另有11个原因:javax.ws.rs.WebApplicationException:javax.xml.bind.MarshalException-具有链接的异常:[java.net.ConnectException: 拒绝连接:在com.sun.jersey.api.client.Request.Writer.writeRequestEntity(RequestWriter.java:300)处的com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:159)处进行连接 com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:153)处的com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:217)... 16 m 矿石原因:javax.xml.bind.MarshalException-具有链接的异常:[java.net.ConnectException:连接被拒绝:connect]位于com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java :313),位于com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:236),位于com.javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:95)。 位于com.sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:157)的sun.jersey.core.provider.jaxb.AbstractRootElementProvider.writeTo(AbstractRootElementProvider.java:179)...还有19个原因是 :java.net.ConnectException:连接被拒绝:在java.net.DualStackPlainSocketImpl.java:79处java.net.DualStackPlainSocketImpl.connect0(本机方法)处连接java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java :350),位于java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java: 206)在java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)在java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)在java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)在Java。 net.Socket.connect(Socket.java:589)在java.net.Socket.connect(Socket.java:538)在sun.net.NetworkClient.doConnect(NetworkClient.java:180)在sun.net.www.http 在sun.net.www.http.Http.HttpClient.openServer(HttpClient.java:527)上的.HttpClient.openServer(HttpClient.java:432)在sun.net.www.http.HttpClient。(HttpClient.java:211)上 >
嗨罗宾,
否,两个hybris平台不在同一服务器上。 需要更改以下配置以解决该问题。
1)转到-> $ {HYBRIS_HOME}/hybris/bin/ext-platform-optional/y2ysync
2)将y2ysync.home.url的值从localhost更改为project.properties中的源系统IP
感谢与问候,
一周热门 更多>