Context c = ctx;
for(int i=0; i<3; i++) {
log.info("i: " + i + ", ctx: " + c);
HashMap map = new HashMap();
c.loadMappings(map);
java.util.TreeMap sm = new java.util.TreeMap(map);
Iterator it0 = sm.entrySet().iterator();
while (it0.hasNext()) {
Map.Entry ent = (Map.Entry) it0.next();