tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varley, Roger" <>
Subject RE: Strange behaviour after upgrade to 5.5.20
Date Thu, 04 Jan 2007 13:22:31 GMT
> Besides, HashMap is not thread-safe, have you tried it with a
> thread-safe implementaion (i.e. Map m =
> Collections.synchronizedMap(new HashMap(...));)

Yep, that fixed it. Interestingly, the original servlet using the hashmap continues to work
fine with Tomcat 4.1.31. I can only surmise that at one time, multiple accesses by the same
client/session were serialised, either by Tomcat or by IIS. Anyone know? 

Thanks for everyomes help.



This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive this
e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the
sender does not warrant that this transmission is virus-free and will
not be liable for any damages resulting from any virus transmitted. 

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message