专业化管理 > 配置您的 Windchill 环境 > 使用 Windchill Configuration Assistant 配置 Windchill > 运行 Windchill Configuration Assistant > 排除 xconfmanager 问题 > 缺失 windchillconfigurator.xconf 文件
  
缺失 windchillconfigurator.xconf 文件
如果已将 windchillconfigurator.xconf 文件从 <Windchill>/utilities/wca/conf 目录中删除,但没有将 ConfigurationRef 元素从 site.xconf 文件中移除,则通过从命令行运行 xconfmanager 实用程序来传播更改将会导致错误。ConfigurationRef 元素会指定一个不存在的 windchillconfigurator.xconf 文件。这种情况下,xconfmanager 实用程序失败,并显示一个类似于以下内容的错误:
ERROR: Unexpected error (stack trace below):
com.ptc.windchill.structconf.StructConfManagerException: Error scanning xconf files to determine property-to-xconf dependencies caused by: Error parsing file:<Windchill>/Windchill/site.xconf, line 357 (starting at root doc file: <Windchill>/Windchill/site.xconf) caused by: Unable to generate URL for href=<Windchill>/utilities/wca/conf/windchill/windchillconfigurator.xconf'.
要从该错误恢复,可以从 site.xconf 中移除 ConfigurationRef,也可以重新创建 windchillconfigurator.xconf 文件:
要移除 ConfigurationRef 元素,可使用文本编辑器编辑 site.xconf 文件或运行 uninstallConfigRef 目标。
要重新创建 windhcillconfigurator.xconf 文件,可使用 installConfigRef 目标创建一个空的 windchillconfigurator.xconf 文件,或者在包含了 -Dpropagate=true 自变量的情况下运行 configureWindchill 目标。
uninstallConfigRef 和 installConfigRef 目标如用于 site.xconf ConfigurationRef 元素的目标中所述。