*/
public Node findNode(Name nodeName, Name ntName) throws RepositoryException {
String sr = getSearchRoot(ntName);
// TODO: remove cast once 283 is released
SessionImpl sImpl = (SessionImpl) getSession();
if (sImpl.nodeExists(sr)) {
try {
Node root = sImpl.getNode(sr);
return collectNode(nodeName, ntName, root.getNodes());
} catch (PathNotFoundException e) {
// should not get here