Friday, August 8, 2008

DTS Installation - Premature end of file

Symptom:
During the installation of DTS you notice a failure "DiWACTSTransformXML failed! - Premature end of file",
and in the setuperror.log an error like this:
(Apr 20, 2007 8:08:12 AM), Setup.product.install, com.documentum.install.shared.common.error.DiException,
err, An exception occured in: DiWACTSTransformXML, beanID: transformMediaServerServiceXml1 -
DiWACTSTransformXML failed! - Premature end of file.; For more detailed information, see the error log:
C:\Program Files\Documentum\CTS\server_install\setupError.log
(Apr 20, 2007 8:08:12 AM), Setup.product.install, com.documentum.install.shared.common.error.DiException,
err, ; Line#: -1; Column#: -1
javax.xml.transform.TransformerException: Premature end of file.
at org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java:739)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:715)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
at com.documentum.install.shared.common.services.xml.DiXMLUtils.transform(DiXMLUtils.java:181)
at
com.documentum.install.cts.common.services.xsl.DiCTSXslTransformServices.transform(DiCTSXslTransformServices
.java:71)
at
com.documentum.install.cts.common.beans.wizard.action.DiWACTSTransformXML.execute(DiWACTSTransformXML.java:9
7)
at com.installshield.wizard.StandardWizardListener.execute(Unknown Source)
at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
at com.installshield.wizard.Wizard$RunThread.run(Unknown Source)

Resolution:
Check in the C:\Program Files\Documentum\CTS\config folder, and check if any of the XML files in this folder are empty, 0KB size. If so, take one of the backup files of this xml file (in the same folder with extension .bak.00) and rename it to the original xml files. This should allow you to continue with your installation

No comments: