cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ERROR StatusLogger catching

Former Member
0 Kudos
1,638

Hi,

While building hybris version 6.0, I am getting the below error:

 Could not map vmid to user name shutting down hybris registry.. ERROR StatusLogger catching  java.lang.IllegalStateException: Shutdown in progress
     at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
     at java.lang.Runtime.addShutdownHook(Runtime.java:211)
     at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownHook(DefaultShutdownCallbackRegistry.java:139)
     at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.start(DefaultShutdownCallbackRegistry.java:128)
     at org.apache.logging.log4j.core.impl.Log4jContextFactory.initializeShutdownCallbackRegistry(Log4jContextFactory.java:122)
     at org.apache.logging.log4j.core.impl.Log4jContextFactory.<init>(Log4jContextFactory.java:88)
     at org.apache.logging.log4j.core.impl.Log4jContextFactory.<init>(Log4jContextFactory.java:54)
     at de.hybris.platform.util.logging.log4j2.HybrisLog4j2LoggerContextFactory.<init>(HybrisLog4j2LoggerContextFactory.java:23)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     at java.lang.Class.newInstance(Class.java:442)
     at org.apache.logging.log4j.LogManager.<clinit>(LogManager.java:96)
     at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103)
     at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)
     at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
     at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
     at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
     at de.hybris.platform.util.logging.HybrisLogger.<init>(HybrisLogger.java:103)
     at de.hybris.platform.util.logging.HybrisLoggerFactory.makeNewLoggerInstance(HybrisLoggerFactory.java:32)
     at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:275)
     at de.hybris.platform.util.logging.HybrisLoggerHierarchy.getLogger(HybrisLoggerHierarchy.java:49)
     at org.apache.log4j.LogManager.getLogger(LogManager.java:228)
     at org.apache.log4j.Logger.getLogger(Logger.java:104)
     at de.hybris.platform.core.Registry.<clinit>(Registry.java:81)
     at de.hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.java:75)
     at de.hybris.platform.util.RedeployUtilities$1.run(RedeployUtilities.java:39)

View Entire Topic
Former Member

Just shut down your Hybris server and delete below 4 files from your data folder: hybristomcat.java.id, hybristomcat.java.pid, hybristomcat.java.status, hybristomcat.lock

And now restart the server. These 4 files would be created again once server is started and Hybris would map these tomcat server properties with your machine's JVM.

Former Member

Hi Nirmal,

i had the same issue , but resolved with your solution 🙂 .

Thank you

Regards, Shankar

Former Member
0 Kudos

Helped me as well, thanks!

MrOhana
Discoverer
0 Kudos
This solved my problem. Thanks 😉