Skip to Content
5
Jul 09, 2020 at 04:14 PM

Not able to access hac after starting server; migrating from hybris v.1808 to v.2005.

4344 Views

Hi,

We are migrating from 1808 to 2005. After the server starts, I am not able to access hac, getting the below error.

SEVERE: Servlet.service() for servlet [springmvc] in context with path [/hac] threw exception [Filter execution threw an exception] with root cause
java.lang.NoClassDefFoundError: com/hybris/cockpitng/core/spring/RequestOperationContextHolder
	at com.hybris.backoffice.spring.FallbackRequestOperationScopeController.initializeContext(FallbackRequestOperationScopeController.java:74)
	at com.hybris.backoffice.spring.FallbackRequestOperationScopeController.sessionCreated(FallbackRequestOperationScopeController.java:69)
	at com.hybris.backoffice.jalo.BackofficeManager.lambda$0(BackofficeManager.java:55)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
	at java.base/java.util.Collections$SynchronizedCollection.forEach(Collections.java:2067)
	at com.hybris.backoffice.jalo.BackofficeManager.afterSessionCreation(BackofficeManager.java:55)
	at de.hybris.platform.jalo.JaloSession.notifyExtensionsAfterSessionCreation(JaloSession.java:2316)
	at de.hybris.platform.jalo.JaloSession.createInstance(JaloSession.java:258)
	at de.hybris.platform.jalo.JaloConnection.createSession(JaloConnection.java:789)
	at de.hybris.platform.jalo.JaloConnection.createSession(JaloConnection.java:744)
	at de.hybris.platform.jalo.JaloConnection.createAnonymousCustomerSession(JaloConnection.java:665)
	at de.hybris.platform.jalo.JaloConnection.createAnonymousCustomerSession(JaloConnection.java:637)
	at de.hybris.platform.servicelayer.session.impl.DefaultSessionService.createNewSession(DefaultSessionService.java:67)
	at de.hybris.platform.servicelayer.web.SessionFilter.createNewJaloSession(SessionFilter.java:241)
	at de.hybris.platform.servicelayer.web.SessionFilter.activateSession(SessionFilter.java:229)
	at de.hybris.platform.servicelayer.web.SessionFilter.doFilter(SessionFilter.java:82)
	at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:292)
	at de.hybris.platform.servicelayer.web.ResourcesGuardFilter.doFilter(ResourcesGuardFilter.java:38)
	at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:292)
	at de.hybris.platform.servicelayer.web.RedirectWhenSystemIsNotInitializedFilter.doFilter(RedirectWhenSystemIsNotInitializedFilter.java:94)
	at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:292)
	at de.hybris.platform.servicelayer.web.Log4JFilter.doFilter(Log4JFilter.java:37)
	at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:292)
	at de.hybris.platform.servicelayer.web.session.HybrisSpringSessionFilter.doFilter(HybrisSpringSessionFilter.java:67)
	at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain$InternalFilterChain.doFilter(AbstractPlatformFilterChain.java:292)
	at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain.processStandardFilterChain(AbstractPlatformFilterChain.java:200)
	at de.hybris.platform.servicelayer.web.AbstractPlatformFilterChain.doFilterInternal(AbstractPlatformFilterChain.java:177)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at de.hybris.platform.servicelayer.web.XSSFilter.processPatternsAndDoFilter(XSSFilter.java:351)
	at de.hybris.platform.servicelayer.web.XSSFilter.doFilter(XSSFilter.java:299)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:609)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.base/java.lang.Thread.run(Thread.java:834)


Please guide.