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

Error initializing global application context

Former Member
0 Likes
2,528

Running the command hybrisserver returns this error:

Error creating Spring application context. Shutting down hybris platform since the system cannot be used without working Spring context... INFO | jvm 1 | main | 2017/08/02 15:20:29.161 | shutting down hybris registry.. INFO | jvm 1 | main | 2017/08/02 15:20:29.161 | error notifying tenant listener : ListableBeanFactory must not be null INFO | jvm 1 | main | 2017/08/02 15:20:29.161 | java.lang.IllegalArgumentException: ListableBeanFactory must not be null INFO | jvm 1 | main | 2017/08/02 15:20:29.161 | at org.springframework.util.Assert.notNull(Assert.java:112) INFO | jvm 1 | main | 2017/08/02 15:20:29.161 | at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:274) INFO | jvm 1 | main | 2017/08/02 15:20:29.161 | at de.hybris.platform.jmx.MBeanRegisterUtilities.refreshMBeans(MBeanRegisterUtilities.java:158) INFO | jvm 1 | main | 2017/08/02 15:20:29.161 | at de.hybris.platform.jmx.MBeanRegisterUtilities.getRegisteredBeans(MBeanRegisterUtilities.java:135) INFO | jvm 1 | main | 2017/08/02 15:20:29.162 | at de.hybris.platform.core.JMXBeanLoader.beforeTenantShutDown(JMXBeanLoader.java:117) INFO | jvm 1 | main | 2017/08/02 15:20:29.162 | at de.hybris.platform.core.AbstractTenant.notifyTenantListenersBeforeShutdown(AbstractTenant.java:1303) INFO | jvm 1 | main | 2017/08/02 15:20:29.162 | at de.hybris.platform.core.AbstractTenant.doShutdown(AbstractTenant.java:997) INFO | jvm 1 | main | 2017/08/02 15:20:29.162 | at de.hybris.platform.core.AbstractTenant.doShutDown(AbstractTenant.java:958) INFO | jvm 1 | main | 2017/08/02 15:20:29.162 | at de.hybris.platform.core.Registry.destroy(Registry.java:309) INFO | jvm 1 | main | 2017/08/02 15:20:29.162 | at de.hybris.platform.util.RedeployUtilities.shutdown(RedeployUtilities.java:75) INFO | jvm 1 | main | 2017/08/02 15:20:29.162 | at de.hybris.platform.util.RedeployUtilities$1.run(RedeployUtilities.java:39) INFO | jvm 1 | main | 2017/08/02 15:20:29.466 | INFO [Thread-1] [DefaultCacheController] Removed listener from cache controller. Currently registered 0 INFO | jvm 1 | main | 2017/08/02 15:20:29.969 | INFO [Thread-1] [DefaultSolrServerService] Stopping Solr servers ... INFO | jvm 1 | main | 2017/08/02 15:20:29.969 | INFO [Thread-1] [DefaultSolrServerService] Stopping Solr server for instance: [name: default, port: 8983] INFO | jvm 1 | main | 2017/08/02 15:20:33.484 | INFO [Thread-1] [DefaultClusterNodeManagementService] Unregistering assigned cluster node id 0... STATUS | wrapper | main | 2017/08/02 15:20:34.696 | <-- Wrapper Stopped

See full log

Not quite sure what to do about this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Bill. Do you have cybersource extension ? Since Hybris 6 cybersource is not delivered with Hybris. You need to download this extension from here http://www.hybris.com/en/products/extensions/cybersource.

Answers (2)

Answers (2)

former_member637729
Discoverer
0 Likes

Error Message :
Inconsistent constructor declaration on bean with name 'defaultCacheController': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public de.hybris.platform.regioncache.DefaultCacheController(de.hybris.platform.regioncache.CacheConfiguration)

Reason in my case:
If you first seeing licence expiry message and after above error message. You need to change the licence file C:\Projects\HybrisCommerce\hybris\config\licence\hybrislicence jar file.

Solution: After changing the licence file, do following task.
1. initialize the system.
2. restart the hybris server.

Good luck!

0 Likes

Used to get this exception on expired license file