If two threads on the same application try to get the same 'DCStack' there is a situation (though rare) that the threads could get references to two different stacks. Also, if connectionTimeout==0, it makes the connectiontimeout = 1. Changed it so if it is less than or equal to zero, to essentially mean... NO timeout.
Still getting closed connections at random times, as far as I can tell this code is not needed, and when I remove it, it appears to fix the random closed connection issues.
remove unnecessary comment
add KeyConstants
add KeyConstants
add mark for future mehod
changed package name
add KeyConstants
replaced HashTable with ConcurrentHashMap
moved collection classes to a different package and optimzed key handling
fd-95 for 4.1 branch
add new KeyConstants and a new method to get them directly.
added new method to get slot position for a HashMap (performance improvment)
solved ticket https://issues.jboss.org/browse/RAILO-2424 and use Collection.Key instead of String (is simply faster)
use Collection.Key instead of String and comapre null values and not converted empty string
add generic types
solved ticket https://issues.jboss.org/browse/RAILO-2533
solved ticket https://issues.jboss.org/browse/RAILO-2533
build by deploy process
add generic types