Showing results for 
Search instead for 
Did you mean: 

Error initializing Recipe in 6.5

Former Member
0 Kudos

Hello, I'm trying to initialize Hybris recipe b2c_acc in a Linux machine and I'm receiving the error below. Can anybody help?

  [java] INFO  [Thread-0] [HybrisContextFactory] Initializing <<global>> Spring ApplicationContext took: (14.48 μs)
  [java] ERROR [Thread-0] [RegionCacheAdapter] Unable to clear cache. Failed on region null. Last key null null
  [java]  org.springframework.beans.FatalBeanException: Context hybris Global Context Factory  couldn't  be created correctly due to, Error creating bean with name 'defaultSolrServerService' defined in class path resource [global-solrserver-spring.xml]: Invocation of init method failed; nested exception is de.hybris.platform.solrserver.SolrServerException: Error while executing Solr start command for instance [name: default, hostname: localhost, port: 8983]
  [java]     at ~[coreserver.jar:?]
  [java]     at de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.buildSelf( ~[coreserver.jar:?]
  [java]     at de.hybris.platform.core.HybrisContextFactory$ ~[coreserver.jar:?]
  [java]     at de.hybris.platform.core.HybrisContextHolder.getGlobalInstanceCached( ~[coreserver.jar:?]
  [java]     at de.hybris.platform.core.HybrisContextHolder.getGlobalInstance( ~[coreserver.jar:?]
  [java]     at de.hybris.platform.core.Registry.getSingletonGlobalApplicationContext( ~[coreserver.jar:?]
  [java]     at de.hybris.platform.cache.impl.RegionCacheAdapter.getController( ~[coreserver.jar:?]
  [java]     at de.hybris.platform.cache.impl.RegionCacheAdapter.clear( [coreserver.jar:?]
  [java]     at de.hybris.platform.cache.impl.RegionCacheAdapter.destroy( [coreserver.jar:?]
  [java]     at de.hybris.platform.core.AbstractTenant.shutdownCache( [coreserver.jar:?]
  [java]     at de.hybris.platform.core.AbstractTenant.doShutdown( [coreserver.jar:?]
  [java]     at de.hybris.platform.core.AbstractTenant.doShutDown( [coreserver.jar:?]
  [java]     at de.hybris.platform.core.Registry.destroy( [coreserver.jar:?]
  [java]     at de.hybris.platform.util.RedeployUtilities.shutdown( [coreserver.jar:?]
  [java]     at de.hybris.platform.util.RedeployUtilities$1.internalRun( [coreserver.jar:?]
  [java]     at [coreserver.jar:?]
  [java] INFO  [Thread-0] [DefaultClusterNodeManagementService] Unregistering assigned cluster node id 0...

BUILD FAILED /hybris/hybris/bin/platform/build.xml:123: The following error occurred while executing this line: /hybris/hybris/bin/platform/resources/ant/antmacros.xml:1023: The following error occurred while executing this line: /hybris/hybris/bin/platform/resources/ant/platformadministration.xml:51: The following error occurred while executing this line: /hybris/hybris/bin/platform/resources/ant/antmacros.xml:880: Java returned: 255

Total time: 2 minutes 4 seconds :recipes/b2c_acc_plus:initialize FAILED

FAILURE: Build failed with an exception.

  • Where: Build file '/hybris/installer/recipes/b2c_acc_plus/build.gradle' line: 136

  • What went wrong: Execution failed for task ':recipes/b2c_acc_plus:initialize'.

    external process returned non-zero exit code, command: [sh, -c, export PLATFORM_HOME="/hybris/hybris/bin/platform" && export ANT_OPTS="-Xmx1024m" && export ANT_HOME="/hybris/hybris/bin/platform/apache-ant-1.9.1" && chmod +x "/hybris/hybris/bin/platform/apache-ant-1.9.1/bin/ant" && export PATH="$ANT_HOME/bin:$PATH" && ant initialize]

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


Total time: 5 mins 38.687 secs Problem with java process - finished with non-zero exit code (1) shybris-poc[root] /hybris/installer # node -v If 'node' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf node shybris-poc[root] /hybris/installer # . ./ -r b2c_acc_plus initialize

Former Member
0 Kudos

I'm having the same problem, did you solved it?

Accepted Solutions (0)

Answers (0)