@Jitendra please find the codepublic void clearOldVersions(Session session,String nodePath,Logger logger){ VersionManager versionManager = null; VersionHistory versionHistory = null; VersionIterator versionItr = null; logger.debug("Starting clearOldVersions.."); try { ...