CWIKI.US - OSSEZ
https://www.cwiki.us
Configuring System Properties 中文标题【配置系统属性】 在这个页面中描述 Confluence 启动时如何设置 Java 属性和其他选项。 请查看 How to fix out of memory errors by increasing available memory 页面中内容来获得 如何处理 OutOfMemory 错误。
本页中的内容:
Linux Windows (从 . bat 文件启动) Windows 服务 部署在 AWS 上 的 Confluence 数据中心 校验你的设置 识别系统属性 相关页面: Recognized System Properties How to fix out of memory errors by increasing available memory
Linux 在 Linux 安装环境下配置系统属性: 1. 编辑 <installation-directory>/bin/setenv.sh 文件。 2. 找到 CATALINA_OPTS= (针对 Confluence 5.5 及其早期版本,这个参数是 JAVA_OPTS=) 3. 请参考 Configuring System Properties 页面中的内容对属性参数进行配置。 添加所有的参数为空格分离列表,在引号内。
Windows (从 .bat 文件启动) 在 Windows 中当使用 .bat 文件启动的时候配置系统启动参数: 1. 编辑 <installation-directory>/bin/setenv.bat 文件。 2. 找到 set CATALINA_OPTS=%CATALINA_OPTS% 部分 (在 Confluence 5.5 及其早期版本中,这个参数为 JAVA_OPTS=%JAVA_OPTS%) 3. 请参考 Recognized System Properties 页面中的内容对属性参数进行配置。 所有添加的参数都使用的是空格分离列表。请确定不要修改 %CATALINA_OPTS% 字符。
Windows 服务 当你使用 Start Confluence Automatically on Windows as a Service 的方式启动的时候,你有下面 2 种方式来配置你的系统属性:通过 comman d line 或者 in the Windows Registry
通过命令行方式来为 Windows 服务设置属性 如何通过命令行方式为 Windows 服务器设置属性:
P1
Copyright © 2014 - 2018, OSSEZ LLC