SAP Knowledge Base Article - Preview

2867227 - Hybris failed to communicate to datahub server when returning import status to datahub due to jaxb*.jar

Symptom

When returning data import status to datahub, hybris reports "Failed to communicate to datahub server address", error example as below, for detail errors, please see the attachment:

INFO | jvm 1 | main | 2019/10/18 19:57:06.760 | [1;31mERROR [TaskExecutor-master-14389-Task [8816398795702]] [ClientRetryListener] Failed to communicate to xxxxxx
INFO | jvm 1 | main | 2019/10/18 19:57:06.760 | [m java.lang.IllegalStateException: Failed to communicate to xxxxxxx
....
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102) ~[webservices-rt-1.0.jar:1.0]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:447) ~[webservices-rt-1.0.jar:1.0]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:288) ~[webservices-rt-1.0.jar:1.0]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1111) ~[webservices-rt-1.0.jar:1.0]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154) ~[webservices-rt-1.0.jar:1.0]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121) ~[webservices-rt-1.0.jar:1.0]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at sun.reflect.GeneratedMethodAccessor4330.invoke(Unknown Source) ~[?:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_192]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_192]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:247) ~[?:1.8.0_192]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:234) ~[?:1.8.0_192]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at javax.xml.bind.ContextFinder.find(ContextFinder.java:444) ~[?:1.8.0_192]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641) ~[?:1.8.0_192]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584) ~[?:1.8.0_192]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.jaxb.internal.AbstractJaxbProvider.getStoredJaxbContext(AbstractJaxbProvider.java:311) ~[jersey-media-jaxb-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.jaxb.internal.AbstractJaxbProvider.getJAXBContext(AbstractJaxbProvider.java:296) ~[jersey-media-jaxb-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.jaxb.internal.AbstractJaxbProvider.getMarshaller(AbstractJaxbProvider.java:263) ~[jersey-media-jaxb-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.jaxb.internal.AbstractJaxbProvider.getMarshaller(AbstractJaxbProvider.java:230) ~[jersey-media-jaxb-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.jaxb.internal.AbstractRootElementJaxbProvider.writeTo(AbstractRootElementJaxbProvider.java:174) ~[jersey-media-jaxb-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) ~[jersey-common-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) ~[jersey-common-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[jersey-common-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130) ~[jersey-common-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.ClientRequest.doWriteEntity(ClientRequest.java:517) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:499) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:393) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:252) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[jersey-common-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[jersey-common-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[jersey-common-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[jersey-common-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:437) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at org.glassfish.jersey.client.JerseyInvocation$Builder.put(JerseyInvocation.java:326) ~[jersey-client-2.25.1.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | at com.hybris.datahub.core.rest.client.ImpexDataImportClient.returnImportResultWithRetry(ImpexDataImportClient.java:96) ~[datahubadapterserver.jar:?]
INFO | jvm 1 | main | 2019/10/18 19:57:06.761 | ... 17 more


Read more...

Environment

All versions above 6.5 for both hybris and datahub

Product

SAP Commerce Cloud 1808 ; SAP Commerce Cloud 1811 ; SAP Commerce Cloud 1905 ; SAP Commerce Cloud 6.7

Keywords

Datahub, JAXBContextImpl, IllegalAnnotationExceptions , KBA , CEC-COM-HUB , SAP Commerce Data Hub , CEC-HCS , SAP Commerce Cloud , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.