Chinaunix

标题: 安装Oracle9i,提示缺少OCS4J.properties的问题解决 [打印本页]

作者: foolfox    时间: 2008-10-11 15:15
标题: 安装Oracle9i,提示缺少OCS4J.properties的问题解决

在安装Oracle9i,遇到“File not found c:\oracle\ora92\ocs4j\admin\OCS4J.properties”,原因是Oracle安装版本中\DISK1\stage\Components\oracle.ocs4j\2.1.0.0.0a\1\DataFiles\Expanded\OCS4J_conf_nt下缺少OCS4J.properties.tmp文件。
如果安装遇到这个,可以将这个OCS4J.properties.tmp该名为OCS4J.properties拷贝到提示的路径,如c:\oracle\ora92\ocs4j\admin然后点击retry即可。(因为Oracle安装需要写这个配置文件,而该文件在之前的安装就应该拷贝了,如果安装版本中缺少这个文件,当然就没有拷贝咯。)

在自己创建的OCS4J.properties文件中写入以下内容:
# discoveryAddress is a list of cache servers and ports discoveryAddress = %s_hostName%:%s_cachePort% diskPath = %s_diskPath% logFileName = %s_ocs4jAdmin%\logs\ocs4j.log

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/73636/showart_1286399.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2