cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster Id set to Zero 0

pratik_a_soni
Participant
0 Kudos

Hi,

I'm facing a wired issue in Linux machine, when I add 2 of my custom extensions in the localextensions.xml file the cluster.id will be picked as 0. The moment I remove one of the extension and then do ant, the server picks up the correct cluster.id 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 http://logging.apache.org/log4j/1.2/faq.html#noconfig 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

Accepted Solutions (1)

Accepted Solutions (1)

pratik_a_soni
Participant
0 Kudos

If at all anyone else is facing this issue. This is a known Hybris issue since 6.0. They recently fixed this issue and released patches to all the hybris installations.

We stumbled upon https://jira.hybris.com/browse/ECP-2126 and seems like this is a hybris bug. We migrated to hybris6.3.0.9 and the issue seems to be fixed now.

Thanks

Answers (0)