Important message to TeamSite, LiveSite, and OpenDeploy community.

Today we are pleased to announce another community release for docker support (version 3). As part of this enhancement now applying the patch and upgrade from a previously created container using Docker Orchestration scripts provided by OpenText for TeamSite, LiveSite, and OpenDeploy. We support 16.2 and 16.3 containerization using provided automation scripts. This release marks our third release of docker support for TeamSite, LiveSite, and OpenDeploy.

Please join us on this journey and contribute by engaging on a special focus forum: TeamSite, LiveSite, and OpenDeploy - Docker. To obtain the automation for Docker, log in to MySupport, navigate to Product>OTDN>Web Content Management (TeamSite)>TeamSite, LiveSite, OpenDeploy> Docker Automation>16.3 or Product>OTDN>Web Content Management (TeamSite)>TeamSite, LiveSite, OpenDeploy> Docker Automation>16.2.”

How to validate if the DCR file exists before trying to read using LiveSiteDAL

I am reading the DCR using the LiveSiteDal with following code sample. But its getting Error in the log and creates struck threads some times.
Is there a way in LiveSiteDal to validate if that dcr is present before Reading the dcr file?
Document currDcrDoc = context.getLiveSiteDal().readXmlFile(


  • Aren't you asking a basic Java question ?

    File dcr = new File(dcrPath);
    boolean exists = dcr.exists();

  • I too felt when i was asking this, but still "dcrPath" which we will get will be relative path(based on current working dir starting from templatedata) and the physical path will vary based on the environment, so we need to find the current server location (jboss / weblogic or teamsite preview) and then append this path to find it, which i felt may be handled in LiveSite DAL, since we are reading a file form LiveSite DAN felt there will be an option to validate if exists.

    That's why posted this question, to get the most appropriate solution to validate if the file exists before reading using LiveSiteDAL.

Sign In or Register to comment.