Tomcat 5.5 Notes

【Sentaurus TCAD仿真】几种基础操作 当内存不足时,没必要删除整个Project,只需要 Clean up 节点信息即可。因为占用内存的主要部分是。文件数据,Command文件是不占用多少内存的,下次需要此工程仿真结果重新运行即可。右击可以对该工程进行剪切、复制、删除、重命名等操作。当节点号有时候排序混乱的时候,我们需要重新编排节点号。此时左侧工具栏就能看见我们新建的这个工程。运行节点时不同的颜色代表目前的状态。在这个地方添加要使用的工具。这个时候需要的工具就建好了。然后选择需要使用的工具。我们需要保存这个工程。 阅读详情

以下英文摘自官方jakarta文档

Tomcat 5.x 概述

Throughout the docs, you'll notice there are numerous references to $CATALINA_HOME. This represents the root of your Tomcat installation. When we say, "This information can be found in your $CATALINA_HOME/README.txt file" we mean to look at the README.txt file at the root of your Tomcat install.

对$CATALINA_HOME的引用即对Tomcat安装根目录的引用

These are some of the key tomcat directories, all relative to $CATALINA_HOME:

  • /bin - Startup, shutdown, and other scripts. The *.sh files (for Unix systems) are functional duplicates of the *.bat files (for Windows systems). Since the Win32 command-line lacks certain functionality, there are some additional files in here.//主程序目录
  • /conf - Configuration files and related DTDs. The most important file in here is server.xml. It is the main configuration file for the container.//配置文件目录
  • /logs - Log files are here by default. //log记录
  • /webapps - This is where your webapps go. //项目目录

__________________________________________________________

As Tomcat 5 is a new release of Tomcat, keep in mind that some of the issues and solutions vary between the major versions of Tomcat (4.x versus 5). As you search around the web, there will be some documentation that is not relevant to Tomcat 5, but 3.x and 4.x. Doing 3.x or 4.x things to 5 will probably not work in most cases as the server.xml files are very different.

Tomcat 5.x 是新的版本,与旧的主要版本(4.x,3.x)有不同的特性,因此,互联网上的管与旧版本的资料极有可能不能适用于Tomcat 5.x版本。

以下为可以获得帮助的地方(不要想着中文文档了):

  • Current document - most documents will list potential hangups. Be sure to fully read the relevant documentation as it will save you much time and effort. There's nothing like scouring the web only to find out that the answer was right in front of you all along!
  • Tomcat FAQ as maintained by the developers.
  • Tomcat WIKI
  • Tomcat FAQ at jGuru
  • Tomcat mailing list archives - numerous sites archive the Tomcat mailing lists. Since the links change over time, clicking here will search Google.
  • The TOMCAT-USER mailing list, which you can subscribe to here. If you don't get a reply, then there's a good chance that your question was probably answered in the list archives or one of the FAQs. Although questions about web application development in general are sometimes asked and answered, please focus your questions on Tomcat-specific issues.
  • The TOMCAT-DEV mailing list, which you can subscribe to here. This list is reserved for discussions about the development of Tomcat itself. Questions about Tomcat configuration, and the problems you run into while developing and running applications, will normally be more appropriate on the TOMCAT-USER list instead.

_______________________________________________________

Tomcat 5.x 安装

 

在windows中,不推荐把Tomcat安装成为自动的服务!这样也许会很方便地每次开机加载,但是,这也会使得某些3rd Party IDE无法自由的开启、关闭或重启Tomcat服务。如果你已经这样做了,可以在管理工具->服务中,把Apache Tomcat服务置为“手动”。

安装前要设好JAVA_HOME环境变量。

If using a J2SE 1.4 JRE, the compatibility package must be downloaded and expanded inside the folder where Tomcat was installed.

Tomcat 5.5 was designed to run on J2SE 5.0, but it can run on JDK 1.4 as well, using the compatability package as detailed in the Tomcat installation instructions.

//Tomcat5被设计为运行在JRE1.5平台上。JRE 1.4可能无法使Tomcat 5.x正确的运行,需要下载补丁;推荐使用JDK1.5以上。

Standard Directory Layout

To facilitate creation of a Web Application Archive file in the required format, it is convenient to arrange the "executable" files of your web application (that is, the files that Tomcat actually uses when executing your app) in the same organization as required by the WAR format itself. To do this, you will end up with the following contents in your application's "document root" directory:

  • *.html, *.jsp, etc. - The HTML and JSP pages, along with other files that must be visible to the client browser (such as JavaScript, stylesheet files, and images) for your application. In larger applications you may choose to divide these files into a subdirectory hierarchy, but for smaller apps, it is generally much simpler to maintain only a single directory for these files.

  • /WEB-INF/web.xml - The Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you. This file is discussed in more detail in the following subsection. //应用程序部署的描述,以web.xml形式存储

  • /WEB-INF/classes/ - This directory contains any Java class files (and associated resources) required for your application, including both servlet and non-servlet classes, that are not combined into JAR files. If your classes are organized into Java packages, you must reflect this in the directory hierarchy under /WEB-INF/classes/. For example, a Java class named com.mycompany.mypackage.MyServlet would need to be stored in a file named /WEB-INF/classes/com/mycompany/mypackage/MyServlet.class. 
    //容纳所有程序所需的class文件,不能有jar形式的包存在,所有的package层次必须以文件夹层次的形式表现出来。例子如上。
  • /WEB-INF/lib/ - This directory contains JAR files that contain Java class files (and associated resources) required for your application, such as third party class libraries or JDBC drivers. //这个文件夹存放应用程序所需的所有jar文件,诸如各种第三方class以及JDBC驱动。

 

  • $CATALINA_HOME/common/lib - JAR files placed here are visible both to web applications and internal Tomcat code. This is a good place to put JDBC drivers that are required for both your application and internal Tomcat use (such as for a JDBCRealm). //这里的JAR文件对所有的应用程序和Tomcat内部编码可见,是个放置JDBC驱动的好位置

  • $CATALINA_HOME/shared/lib - JAR files placed here are visible to all web applications, but not to internal Tomcat code. This is the right place for shared libraries that are specific to your application.//这里的JAR文件对所有的应用程序可见,但对Tomcat内部编码不可见

Tomcat 5.x 应用程序部署的若干方法:

1. Copy unpacked directory hierarchy into a subdirectory in directory $CATALINA_HOME/webapps/.

2. Copy the web application archive file into directory $CATALINA_HOME/webapps/.

3. Use the Tomcat 5 "Manager" web application to deploy and undeploy web applications.

4. Use "Manager" Ant Tasks In Your Build Script.

5. Use the Tomcat Deployer.

 

Tomcat Classloader 的优先级:

When Tomcat 5 is started, it creates a set of class loaders that are organized into the following parent-child relationships, where the parent class loader is above the child class loader:

      Bootstrap
          |
       System
          |
       Common
      /      /
 Catalina   Shared
             /   /
        Webapp1  Webapp2 ... 

【26美赛A题】2026美赛数学建模(MCM/ICM)思路解析及代码分享 本文介绍了2026年美赛数学建模A题的解题思路与方法。A题通常属于连续型系统问题,重点在于构建可解释的机理模型,通过将现实机制转化为动态方程进行仿真预测。文章提出了通用建模路线,包括机理抽象、模型假设、动态建模、参数识别、系统仿真和情景预测六个阶段。专栏将提供从机理到方程的系统建模思路、参数标定方法、Python/Matlab实现代码以及高分论文模板。内容适合参加2026美赛A题、偏重物理/工程建模方向的参赛队伍,旨在提升机理建模能力。后续将更新完整题解和源码。 阅读详情

相关推荐

【rPPG】基于多光谱摄像头的非接触式睡眠血氧监测系统(传统建模方法解析)

本文深入解析了基于多光谱摄像头的非接触式睡眠血氧监测系统,重点探讨了rPPG技术的原理、硬件设计及传统建模方法。通过多光谱摄像头捕捉皮肤微弱光学变化,实现医疗级精度的心率和血氧监测,特别适合长期睡眠监测场景。文章详细介绍了摄像头选型、照明系统设计以及PBV模型等核心技术,并对比了与传统传感器的性能差异。

weixin_30300225的博客 561

tomcat5.5的问题及其解决办法

用tomcat5.5.17的时候,写了个jsp页面,然后启动tomcat的时候碰到问题:The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:解决这个问题就是上http://tomcat.h

蛰脚踝的天蝎 518

使用 Python 获取实时港股行情数据

在本教程中,你将学习如何通过 Infoway API 获取港股实时行情数据,具体以腾讯控股(0700.HK)和汇丰控股(0005.HK)为例,使用 Python 进行数据请求和解析。

kk_stoper的博客 1515

Tomcat5.5.12配置大全

       前两天因需要下了Tomcat5.5.12,在下之前我刚好升级了jdk1.4(随j2ee一起下的)到jdk1.5,可不知道为什么我一起动tomcat时他就说jdk版本太低,必须要求jdk1.5我晕。    没办法折腾了半天我只用重新下了一个单独的jdk1.5覆盖j2ee中的jdk重新配置环境变量,tomcat终于可以用了,呵呵~~   下面是与tomcat有关的环境变量的设置(

NoNameMan的专栏 1416

风力发电机并网模型建立及仿真验证

传统能源日益匮乏,环境污染日趋严重,全球向安全、可靠和环保的可持续能源体系转型迫在眉睫,风电迎来了重要的发展契机。近年来,全球风电迅猛发展,我国已成为世界风电新增装机容量第一的国家。然而,随着风电规模的不断增大,风电场接入对系统影响不容忽视。随着变速恒频风力发电系统优越的性能突出和大容量电力电子技术的成熟,风速随机性引起的功率波动及故障情况下的动态响应,对电能质量,系统电压、频率的稳定性产生的影响需要深入研究。因而,本文结合实际项目,针对变速恒频风力发电系统建模,端口动态特性及对电网电能质量、运行稳定性的影

毕业设计区博客 1637

经纬度转换为UTM坐标

UTM(通用横向墨卡托投影): 是一种以米为单位的坐标系统,用于地图和GPS导航。将地球划分为60个纵向的区域。每个区域宽6度,从赤道开始往南北两级方向划分。每个区域都有一个特定的字母。

weixin_45626706的博客 7275

Linux运维必备:5种方法精准查看Tomcat版本信息

在Java Web应用部署与运维中,准确获取中间件版本是基础且关键的环节。Tomcat作为广泛使用的Servlet容器,其版本信息直接影响应用兼容性、安全漏洞评估与故障排查效率。从技术原理层面,Tomcat版本信息通常存储在构建元数据、启动脚本及运行时响应中,可通过命令行、文件探查、HTTP请求等多种方式获取。掌握这些方法不仅能快速定位环境问题,还能为安全补丁升级与第三方库选型提供决策依据。本文聚焦Linux环境,结合catalina.sh脚本执行与HTTP响应头分析等实用技巧,详解如何在不同场景下高效获取

weixin_33947521的博客 444

【STK】手把手教你利用STK进行关联分析仿真01-STK/CAT模块介绍

今天主要介绍接近分析工具CAT。

weixin_44184852的博客 1105

Tomcat Notes: Web Security, HTTPS In Tomcat

【代码】Tomcat Notes: Web Security。

sinat_38393872的博客 1003

从 CDS 接口到 ABAP 运行时,深入理解 SAP RAP Custom Entity

CDS Custom Entity 是一种非 SQL、瞬态的 CDS 实体,不依赖 HANA SQL 读取数据,而是通过 ABAP 类实现查询逻辑(如 RFC、OData、BAPI 等)。它在 CDS 层定义数据契约(字段、键、关联、注解),由 @ObjectModel.query.implementedBy 指向实现 IF_RAP_QUERY_PROVIDER~SELECT 的类,真正执行数据获取。适用于无法用 SQL 表达的数据源,如远程系统或 API。其核心是“接口 + 实现”模式,运行时由 RAP

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 169

【Network Management】DCM模块唤醒网络是主动唤醒还是被动唤醒

DCM模块唤醒网络是主动唤醒还是被动唤醒

qq_36056498的博客 1537

Tomcat Notes: Common Issues Of Tomcat

【代码】Tomcat Notes: Common Issues Of Tomcat。

sinat_38393872的博客 1335

一.镜头知识之焦点,焦距,有效焦距,前焦距,后焦距

由光学系统中镜片的最后一面到像面的距离。

AIoT深度探索者 | 嵌入式系统架构师 深耕物联网(IoT)与人工智能(AI)融合技术,聚焦​​边缘计算、图像开发、低功耗通信协议​​,致力于智能硬件,关注我获取最新技术文章信息与海量资源~ 5572

tomcat版本号的修改

我的是8.5.0我将其改为8.0.0 其他版本改也是一样 我改这个版本号就是因为eclipse上没有tomcat8.5.0的配置 所以将其改为8.0.0 在配置web服务器时用到 1.找到tomcat所在位置进入lib目录 apache-tomcat-8.0.0\lib 2.lib目录县有个catalina.jar ...

weixin_30889885的博客 576

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

Tomcat Notes: Deployment File

【代码】Tomcat Notes: Deployment File。

sinat_38393872的博客 1206

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

Tomcat Notes: URL Mapping

【代码】Tomcat Notes: URL Mapping。

sinat_38393872的博客 1116

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

【Linux】之搭建 Tomcat 环境

从Tomcat官网上下载 Tomcat 压缩包,然后解压(我安装的是 8.5 版本的): [root@centos]# tar -zxvf apache-tomcat-8.5.57.tar.gz [root@centos]# mv apache-tomcat-8.5.57 /usr/local/tomcat-8.5 进入 tomcat 目录: [root@centos]# cd /usr/local/tomcat-8.5/ [root@centos]# ls -l total 144 drwxr-x---

王廷云的博客 330

运维tomcat基础篇

目录 1.Tomcat简介 2.Tomcat安装 2.1 环境准备 2.2 部署java环境 2.3 安装Tomcat 2.4 Tomcat目录介绍 2.5 启动Tomcat 2.6 访问网站 ​2.7 日志介绍 3. Tomcat配置文件 3.1 Tomcat配置文件 3.2 Tomcat管理 3.3 Tomcat主配置文件server.xml详解 3.3.1 se...

rightlzc的博客 5491

基于tomcat5.5的数据库连接池环境设置(个人总结)

                        基于tomcat5.5的数据库连接池环境设置1。安装tomcat5.5的admin package  tomcat5.5版本中的admin没有默认安装,先下载admin package jakarta-tomcat-5.5.9-admin.zip或者jakarta-tomcat-5.5.9-admin.tar.gz(这两个package应该是一样的,

aimer311 1783

Tomcat Notes: Enable HTTPS And Authentication/Authorization In Tomcat

【代码】Tomcat Notes: Enable HTTPS And Authentication/Authorization In Tomcat。

sinat_38393872的博客 1132

tomcat版本信息查看7.0.35

查看tomcat版本信息在不同的版本中是不一样的; 查看tomcat版本信息的方式有很多种,默认的有如下几种方式:     1、tomcat本身目录路径带有版本信息;     2、tomcat启动信息中带有tomcat的版本信息;     3、tomcat安装目录RELEASE-NOTES文件中有版本信息;     4、在命令行中执行version.bat文件;     5、在命令...

734

[转载]基于tomcat5.5的数据库连接池环境设置

基于tomcat5.5的数据库连接池环境设置1。安装tomcat5.5的admin package tomcat5.5版本中的admin没有默认安装,先下载admin package jakarta-tomcat-5.5.9-a...

congji3817的博客 120

Tomcat 到底依赖JRE还是JDK

Tomcat 6.0 以上可以不再依赖JDK运行,直接使用JRE即可,但Tomcat 5.5以下,是必须安装JDK的。 这主要是由于,Tomcat 5.5及以下版本主要是依赖JDK去编译JSP文件生成class的。但Tomcat 6.0使用了Eclipse的JDT技术,因此不再依赖JDK运行。 详见:http://archive.apache.org/dist/tomcat/tomcat-6/v6...

weixin_30583563的博客 1011

2.tomcat安装

第2章 tomcat安装 1.环境介绍 下载tomcat 2.部署java环境 [root@jssdb01 opt]# ls apache-tomcat-8.5.63.tar.gz [root@jssdb01 opt]# yum install java-1.8.0 -y [root@jssdb01 opt]# java -version openjdk version "1.8.0_282" OpenJDK Runtime Environment (build 1.8.0_282-b08) OpenJDK

将山 225

centos7下tomcat8.5安装部署与优化

转自:https://www.cnblogs.com/busigulang/articles/8529719.html centos 7 Tomcat 8.5 的安装及生产环境的搭建调优 一 安装tomcat 8.5修改运行级别为文本# ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.targ...

weixin_30756499的博客 534

Ubuntu16.04安装Tomcat

使用Tomcat的前提是已经配置好了JDK,ubuntu配置JDK可以参考上文ubuntu16.04安装JDK 下载 下载Tomcat,tomcat官网下载地址 解压已经下载的.gz包并上传服务器后解压到/opt/目录下 root@iZj6cdb3lulnsqtqr01tmvZ:~# cd /opt root@iZj6cdb3lulnsqtqr01tmvZ:/opt# ls -l total...

十年饮冰,难凉热血 4552
上一篇: [转]eclipse+tomcat+lomboz的安装配置说明
下一篇: 如何打包JSP工程为war文件[转自sun: Packaging Web Components]
simonjo
博客等级 码龄22年 39粉丝 63原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值