Skip to Content
2
Feb 12, 2020 at 10:42 AM

Hybris Exception session is already closed!

294 Views

Hi,

When the server started, I had this stacktrace, any idea about it :

It's related to threads executions. A "DefaultSolrClientPool" destroys the session, when the main thread try to get the session.

ERROR [pool-2-thread-10] [HybrisApplicationEventMulticaster] session s3885313265648 is already closed!
 de.hybris.platform.jalo.SessionClosedException: session s3885313265648 is already closed!
	at de.hybris.platform.jalo.JaloSession.checkSessionValidity(JaloSession.java:898) ~[coreserver.jar:?]
	at de.hybris.platform.jalo.JaloSession.getSessionContext(JaloSession.java:1701) ~[coreserver.jar:?]
	at de.hybris.platform.jalo.JaloSession.getAttribute(JaloSession.java:1476) ~[coreserver.jar:?]
	at de.hybris.platform.servicelayer.session.impl.DefaultSessionService.getOrBindSession(DefaultSessionService.java:217) ~[coreserver.jar:?]
	at de.hybris.platform.servicelayer.session.impl.DefaultSessionService.getBoundSession(DefaultSessionService.java:292) ~[coreserver.jar:?]
	at de.hybris.platform.sap.core.runtime.SAPHybrisSessionProvider.onEvent(SAPHybrisSessionProvider.java:152) ~[classes/:?]
	at de.hybris.platform.sap.core.runtime.SAPHybrisSessionProvider.onEvent(SAPHybrisSessionProvider.java:1) ~[classes/:?]
	at de.hybris.platform.servicelayer.event.impl.AbstractEventListener.onApplicationEvent(AbstractEventListener.java:65) ~[coreserver.jar:?]
	at de.hybris.platform.servicelayer.event.impl.AbstractEventListener.onApplicationEvent(AbstractEventListener.java:1) ~[coreserver.jar:?]
	at de.hybris.platform.servicelayer.event.impl.HybrisApplicationEventMulticaster.notifyListeners(HybrisApplicationEventMulticaster.java:91) [coreserver.jar:?]
	at de.hybris.platform.servicelayer.event.impl.HybrisApplicationEventMulticaster.multicastEvent(HybrisApplicationEventMulticaster.java:61) [coreserver.jar:?]
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE]
	at de.hybris.platform.spring.ctx.CloseAwareApplicationContext.publishEvent(CloseAwareApplicationContext.java:107) [coreserver.jar:?]
	at de.hybris.platform.servicelayer.event.impl.PlatformClusterEventSender$AsyncEventSendingRunnable.run(PlatformClusterEventSender.java:93) [coreserver.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
Pinging the JVM took 7 seconds to respond.<br>

Thanks in advance :)