Skip to Content
1
Former Member
Jun 29, 2018 at 02:35 PM

Datahub 404 after installing datahub adapter

184 Views

Hello

I just implemented the datahub adapter as described here: https://help.hybris.com/6.5.0/hcd/4a855ae14ca84c818fdbc4f32b263e05.html

Locally, it has been working. On the testserver I receive the following error message when I send an IDOC to the datahub:

 2018-06-29 14:23:35,750 [INFO] [c.h.d.s.i.AsynchronousEventPublicationService] Firing data hub event : DataLoadingStartedEvent{actionId=8, feedId=9300, poolId=9300, itemCount=1}
 2018-06-29 14:23:35,752 [DEBUG] [c.h.d.p.i.DefaultProcessMonitor] Unregistered DataLoad #8, 0 processes running
 2018-06-29 14:23:35,752 [INFO] [c.h.d.s.i.AsynchronousEventPublicationService] Firing data hub event : DataLoadingCompletedEvent{actionId=8, feedId=9300, poolId=9300, itemCount=1, status='COMPLETE'}
 2018-06-29 14:23:41,357 [ERROR] [c.h.d.r.r.m.BaseExceptionMapper] An exception intercepted
 javax.ws.rs.NotFoundException: HTTP 404 Not Found
         at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:323)
         at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
         at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
         at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
         at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
         at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
         at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
         at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
         at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
         at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
         at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
         at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
         at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
         at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
         at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
         at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
         at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
         at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)
         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
         at java.lang.Thread.run(Thread.java:748)

This particular IDOC has been working before the implementation. What could be the problem of this? I was thinking about the new OAuth integration between version 6.0 and 6.5. Any ideas?

Regards

Andy