要在 Linux® 和 AIX® 上启用工件内容索引,必须将
Stellent 文件添加到库环境变量 LD_LIBRARY_PATH(对于 Linux)或 LIBPATH(对于 AIX)。
开始之前
Stellent 文件位于以下目录,取决于安装
IBM® Rational® Asset Manager 服务器时使用了哪个应用程序:
- 嵌入式 IBM WebSphere® Application Server V6.1:RAM_install_directory/ram/ewas/profiles/appServerName/installedApps/node/RAM1WebApplication.ear/com.ibm.ram.repository.web.ws.was.war/WEB-INF/classes/oiexport/
- WebSphere Application Server:appServer_install_directory/profiles/appServerName/installedApps/node/RAM1WebApplication.ear/com.ibm.ram.repository.web.ws.was.war/WEB-INF/classes/oiexport/
- Apache Tomcat:appServer_install_directory/com.ibm.ram.repository.web.ws.tomcat_runtime.war/WEB-INF/classes/oiexport/
关于此任务
如果未修改库路径变量以启用内容索引,那么您通常会在 Rational Asset Manager 状态页上看到一个错误,指示工件索引已关闭。
要更新库变量,请执行以下操作:
- 请查阅您的 shell 的联机帮助页,以获取关于如何设置环境变量的特定详细信息。例如,在 Bash shell 中,输入命令 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:path for WebSphere
Application Server or Tomcat path shown above。
- 在更新环境变量后,重新启动 Rational Asset Manager 服务器。