[weld-dev] Unique BeanIdentifierIndex every time I restart a server

Benjamin Confino BENJAMIC at uk.ibm.com
Thu Oct 20 12:22:31 EDT 2016


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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20161020/038d781b/attachment-0001.html 


More information about the weld-dev mailing list