When Google for “MS SSQL Server 2008 R2 and JRE 1.6.9_29” a lot of people seems to have this issue. It seems they are not compatible with each other.
Mendix prefer to use an JRE versions < 1.6.0_28
https://world.mendix.com/display/refguide3/System+Requirements