Hello.

I've been investigating a bug relating to session failover and I've noticed that my
BeanIdentifierIndex has a different hash every time I start and stop the server. This is consistent across every app I tried.

For example:


Upon starting the server I see my debug output

GREP    BeanIdentifierIndex [hash=591986009, indexed=3]
     0: WELD%AbstractBuiltInBean%invalidBeansXml#com.ibm.ws.transaction.cdi_1.0.15.20161018-1920.additionalClasses%HttpSession
     1: WELD%AbstractBuiltInBean%invalidBeansXml#invalidBeansXml.war%HttpSession
     2: WELD%AbstractBuiltInBean%invalidBeansXml#org.eclipse.osgi.internal.loader.EquinoxClassLoader@d6318459[com.ibm.ws.org.jboss.weld.2.4.0:1.0.15.20161018-1920(id=108)].additionalClasses%HttpSession

I stop the server, and start it again

GREP    BeanIdentifierIndex [hash=-375657379, indexed=3]
     0: WELD%AbstractBuiltInBean%invalidBeansXml#com.ibm.ws.transaction.cdi_1.0.15.20161018-1920.additionalClasses%HttpSession
     1: WELD%AbstractBuiltInBean%invalidBeansXml#invalidBeansXml.war%HttpSession
     2: WELD%AbstractBuiltInBean%invalidBeansXml#org.eclipse.osgi.internal.loader.EquinoxClassLoader@b3a3f568[com.ibm.ws.org.jboss.weld.2.4.0:1.0.15.20161018-1920(id=108)].additionalClasses%HttpSession

Same three classes but the hash is completely different.

My question is simple. Is this the expected behaviour or is this a sign that something's gone wrong?

Regards
Benjamin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU