Skip to content

Commit

Permalink
tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 committed Apr 8, 2024
1 parent 9e9dda4 commit 80f1665
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 0 deletions.
Empty file added docs/apps/_include/tomcat.md
Empty file.
Empty file added docs/apps/_include/tomee.md
Empty file.
39 changes: 39 additions & 0 deletions docs/apps/tomcat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: Tomcat
slug: /tomcat
tags:
- Java web 服务器
- JSP
- Tomcat
---

import Meta from './_include/tomcat.md';

<Meta name="meta" />

## 入门指南{#guide}

### 部署 Tomcat 应用{#deploy}

以 Tomcat 官方示例包来展示部署过程:

1. 进入 Tomcat 容器

2. 进入 web 应用目录并下载示例 war 包
```
cd /usr/local/tomcat/webapps && wget https://tomcat.apache.org/tomcat-10.0-doc/appdev/sample/sample.war
```

3. Tomcat会自动解压包,Websoft9 控制台可访问 URL


## 配置选项{#configs}

## 管理维护{#administrator}

## 故障

#### 安装后访问 Tomcat 报404 ?

原因:默认的 Tomcat 容器没有部署任何 web 应用
对应方法:部署自己的 web 应用即可正常访问
35 changes: 35 additions & 0 deletions docs/apps/tomee.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: TomEE
slug: /tomee
tags:
- Java EE
- JSP
- TomEE
---

import Meta from './_include/tomee.md';

<Meta name="meta" />

## 入门指南{#guide}

### 部署 TomEE 应用{#deploy}

以 Tomcat 官方示例包来展示部署过程:

1. 进入 TomEE 容器

2. 进入 web 应用目录并下载示例 war 包
```
cd /usr/local/tomcat/webapps && wget https://tomcat.apache.org/tomcat-10.0-doc/appdev/sample/sample.war
```

3. TomEE 会自动解压包,Websoft9 控制台可访问 URL


## 配置选项{#configs}

## 管理维护{#administrator}

## 故障

0 comments on commit 80f1665

Please sign in to comment.