cancel
Showing results for 
Search instead for 
Did you mean: 

Error when start Hybris server: “Unable to register thread with OperationInfo”

Former Member
4,833

I am using SAP Hybris Commerce 6.5 And I am trying to install and config hybris from recipes. After I did the configuration and I ran the ant which built successfully.

But when I start running hybris server, it shows the error:

 Mar 15, 2018 7:56:47 PM org.apache.catalina.core.StandardContext listenerStart
 SEVERE: Exception sending context initialized event to listener instance of class de.hybris.platform.yacceleratorstorefront.filters.HybrisStorefrontContextLoaderListener
 java.lang.IllegalStateException: Unable to register thread with OperationInfo{THREAD_NAME=localhost-startStop-1, CATEGORY=SYSTEM, THREAD_ID=24, SUSPENDABLE=false}. Is already registered
     at de.hybris.platform.core.threadregistry.ThreadRegistry.register(ThreadRegistry.java:81)
     at de.hybris.platform.core.threadregistry.RegistrableThread.registerThread(RegistrableThread.java:107)
     at de.hybris.platform.core.threadregistry.RegistrableThread.registerThread(RegistrableThread.java:100)
     at de.hybris.platform.spring.HybrisContextLoaderListener.doInitWebApplicationContext(HybrisContextLoaderListener.java:202)
     at de.hybris.platform.spring.HybrisContextLoaderListener.initWebApplicationContext(HybrisContextLoaderListener.java:191)
     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
     at de.hybris.platform.spring.HybrisContextLoaderListener.contextInitialized(HybrisContextLoaderListener.java:87)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
     at java.lang.Thread.run(Thread.java:745)

Anyone has any ideas about this error? Please help!

Former Member
0 Kudos

moved from the yaas space

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

Hi,

It usually happens when the connection to the database fail.

See at the very start of the server for more info

Former Member
0 Kudos

It worked for me. My connection driver was not on directory. Tks!