提交 ab82f644 编写于 作者: H haotian2015 提交者: wu-sheng

Adjust Tomcat deploy doc (#1330)

上级 047f95fb
......@@ -70,14 +70,14 @@ logging.level=DEBUG
- Log默认使用文件输出,输出到`/logs`目录中
# Tomcat配置探针FAQ
- Tomcat 7
- Linux Tomcat 7, Tomcat 8
修改`tomcat/bin/catalina.sh`,在首行加入如下信息
```shell
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/path/to/skywalking-agent/skywalking-agent.jar"; export CATALINA_OPTS
```
- Tomcat 8
修改`tomcat/bin/catalina.sh`,在首行加入如下信息
- Windows Tomcat7, Tomcat 8
修改`tomcat/bin/catalina.bat`,在首行加入如下信息
```shell
set "CATALINA_OPTS=... -javaagent:E:\apache-tomcat-8.5.20\skywalking-agent\skywalking-agent.jar"
```
\ No newline at end of file
......@@ -30,14 +30,14 @@ New agent package looks like this:
- The default logging output folder is `/logs`.
# Deploy agent in Tomcat FAQ
- Tomcat 7
- Linux Tomcat 7, Tomcat 8
Change the first line of `tomcat/bin/catalina.sh`.
```shell
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/path/to/skywalking-agent/skywalking-agent.jar"; export CATALINA_OPTS
```
- Tomcat 8
Change the first line of `tomcat/bin/catalina.sh`.
- Windows Tomcat7, Tomcat 8
Change the first line of `tomcat/bin/catalina.bat`.
```shell
set "CATALINA_OPTS=-javaagent:E:\apache-tomcat-8.5.20\skywalking-agent\skywalking-agent.jar"
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册