技术文章 - CS348641
安装 Windchill PDMLink 时出现错误“java.io.FileNotFoundException: XXX.properties (No such file or directory)”
已修改: 28-Jun-2022
适用于
- Windchill PDMLink 11.2
说明
- 错误' java.io.FileNotFoundException:XXX.properties(没有这样的文件或目录)
- 安装重要补丁集(CPS) 失败并出现 SHA1Generator日志报告错误:
[main] ERROR com.ptc.wa.archive.PropertyArchive - IOException occurred while archiving properties files : XXX.properties (No such file or directory) java.io.FileNotFoundException: XXX.properties (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at com.ptc.wa.archive.PropertyArchive.archivePropertyFiles(PropertyArchive.java:78) at com.ptc.wa.sha1utility.caller.SHA1GeneratorCaller.main(SHA1GeneratorCaller.java:160) [main] ERROR com.ptc.wa.sha1utility.caller.SHA1GeneratorCaller - Exception occurred while computing the SHA1Id.XXX.properties (No such file or directory) java.io.FileNotFoundException: XXX.properties (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at java.io.FileInputStream.<init>(FileInputStream.java:93) at com.ptc.wa.archive.PropertyArchive.archivePropertyFiles(PropertyArchive.java:78) at com.ptc.wa.sha1utility.caller.SHA1GeneratorCaller.main(SHA1GeneratorCaller.java:160) [main] DEBUG com.ptc.windchill.keystore.WTKeyStore - Product root: (<WT_HOME>/Windchill) [main] DEBUG com.ptc.windchill.keystore.WTKeyStore - Reading key: (encrypted.wt.pom.dbPassword) 3544454 [main] ERROR com.ptc.wa.analyzer.database.OracleSchemaAnalyzer - Exception trying to connect to the Database : Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor 3544454 [main] INFO com.ptc.wa.sha1utility.caller.SHA1GeneratorCaller - Unable to connect to the Oracle DB : Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor 3559032 [main] ERROR com.ptc.wa.analyzer.database.SQLServerSchemaAnalyzer - Exception trying to connect to the Database : The TCP/IP connection to the host YYYY, port 1521 has failed. Error: "The driver received an unexpected pre-login response. Verify the connection properties and check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. This driver can be used only with SQL Server 2005 or later.". ClientConnectionId:bb2099b7-f44c-482f-9f0f-cf8a5a350908 3559032 [main] INFO com.ptc.wa.sha1utility.caller.SHA1GeneratorCaller - Unable to connect to the Database : The TCP/IP connection to the host YYYY, port 1521 has failed. Error: "The driver received an unexpected pre-login response. Verify the connection properties and check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. This driver can be used only with SQL Server 2005 or later.". ClientConnectionId:bb2099b7-f44c-482f-9f0f-cf8a5a350908 3559032 [main] INFO com.ptc.wa.sha1utility.caller.SHA1GeneratorCaller - Unable to connect to the DB
这是文章 348641 的 PDF 版本,可能已过期。最新版本 CS348641