ICE-9447 enclosed starting point of resource creation in a synchronized statement

git-svn-id: http://anonsvn.icesoft.org/repo/icefaces3/trunk/icefaces@37247 1de00972-ac04-4911-a46b-06793c8d78d9