String subContextName = new String();
while (e.hasMoreElements()) {
subContextName = (String)e.nextElement();
if (e.hasMoreElements()) {
// Bind a new sub context if the current name component is not the leaf
nextContext = nextContext.createSubcontext(subContextName);
} else {
//System.out.println("Binding " + instanceid.getNodeValue() + " to " + nextContext.getNameInNamespace() + "/" + subContextName);
if (log.isDebugEnabled())
log.debug("JNDIManager.initializeSessionContext(): " +
"bound "+instanceid.getNodeValue() + " to " +