Skip to Content
Sep 05, 2017 at 07:08 PM

Cluster Id set to Zero 0



I'm facing a wired issue in Linux machine, when I add 2 of my custom extensions in the localextensions.xml file the will be picked as 0. The moment I remove one of the extension and then do ant, the server picks up the correct value and starts up.

Below is the server startup log for the same. Any clue on this? The same is working good in local (Windows).

 INFO: Starting service Catalina
 Sep 05, 2017 12:01:25 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
 INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [3,422] milliseconds.
 log4j:WARN No appenders could be found for logger (de.hybris.platform.servicelayer.web.XSSFilter).
 log4j:WARN Please initialize the log4j system properly.
 log4j:WARN See for more info.
 INFO  [localhost-startStop-1] [AbstractTenant] Created master data source DataSourceImpl<<master/master>>
 INFO  [localhost-startStop-1] [AbstractTenant] Created alternative data source "vjdbc"
 INFO  [localhost-startStop-1] [AbstractTenant] Created alternative data source "vjdbcrw"
 INFO  [localhost-startStop-1] [DefaultClusterNodeManagementService] Automatic cluster ID discovery disabled. Configured ID: 0
 INFO  [localhost-startStop-1] [DefaultBroadcastService] Started message broadcast service:
 clustering (enabled:true,islandID:<loaded from tenant>,nodeID:0,dynamicNodeID:2655364387520)
 sending synchronously - no queue
 methods [jgroups::de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod@14978ecf]
 INFO  [localhost-startStop-1] [hybrisserver]
 INFO  [localhost-startStop-1] [hybrisserver] *****************************************************************
 INFO  [localhost-startStop-1] [hybrisserver]
 INFO  [localhost-startStop-1] [hybrisserver] Starting up hybris server
 INFO  [localhost-startStop-1] [hybrisserver]
 INFO  [localhost-startStop-1] [hybrisserver] Configuration:
 INFO  [localhost-startStop-1] [hybrisserver]
 INFO  [localhost-startStop-1] [hybrisserver] Cluster:     0 dynamic ID:2655364387520
 INFO  [localhost-startStop-1] [hybrisserver] Tenant:      master
 INFO  [localhost-startStop-1] [hybrisserver] Mode:        development

Thanks Pratik