Tomcat问题the Apache Tomcai Native library which allows optima

皮332022-10-04 11:39:542条回答

Tomcat问题the Apache Tomcai Native library which allows optimal performance in product.
你怎么解决的啊?求救

已提交,审核后显示!提交回复

共2条回复
fanjunlawyer 共回答了12个问题 | 采纳率100%
the Apache Tomcai Native library which allows optimal performance in 你没有配tomcat的jdk.如果不是,看你配的jdk环境变量对不对.这两个的
1年前
胡非文1981 共回答了1个问题 | 采纳率
我配置Tomcat路径的时候怎么老是报The Currently displayed page caontains invalid values错
1年前

相关推荐

Myeclipse部署项目时,tomcat
Myeclipse部署项目时,tomcat
tomcat一直提示Deployment is out of date due to changes in the underlying project contents. You'll need to manually 'Redeploy' the project to update the deployed archive.
重新部署也没用
caiseyuanzhubi1年前1
cshyahoo110 共回答了25个问题 | 采纳率88%
每当你有改动的时候,都需要重新部署一下tomcat,也就是Redeploy。
tomcat 7.0.11 manager app host manager 访问错误 密码 确保无误
tomcat 7.0.11 manager app host manager 访问错误 密码 确保无误
401 unauthorized
you are not authorized to view this page.if you have not changed any configuration files,please examine the file conf/tomcat-users.xml in your installation.that file must contain the credentials to let you use this webapp.
for example,to add the manager-gui role to a user named tomcat with a password of s3cret,add the following to the config file listed above.
note that for tomcat 7 onwards,the roles required to use the manager application were changed from the single manager role to the following four roles.you will need to assign the role(s) required for the functionality you wish to access.
•manager-gui - allows access to the html gui and the status pages
•manager-script - allows access to the text interface and the status pages
•manager-jmx - allows access to the jmx *** and the status pages
•manager-status - allows access to the status pages only
the html interface is protected against csrf but the text and jmx interfaces are not.to maintain the csrf protection:
•users with the manager-gui role should not be granted either the manager-script or manager-jmx roles.
•if the text or jmx interfaces are accessed through a browser (e.g.for testing since these interfaces are intended for tools not humans) then the browser must be closed afterwards to terminate the session.
for more information - please see the manager app how-to.
时间黑洞1年前1
苦瓜在hh 共回答了13个问题 | 采纳率100%
照我的复制到conf/tomcat-users.xml目录下就好,那段代码要去掉注释
xml version='1.0' encoding='utf-8'?>

Tomcat一直显示the catalina_home enviroment variable is not defin
Tomcat一直显示the catalina_home enviroment variable is not defined correctly
我百度了很多,也设了变量,于是问题从JAVA_HOME变成了CATALINA,然后就怎么弄都是 the catalina_home enviroment variable is not defined correctly.
我在startup.bat中加了
set JAVA_HOME=C:Program FilesJavajdk1.6.0_10
set JRE_HOME=C:Program FilesJavajre6
(这里我有个问题,jdk1.6.0_10目录下也有个jre,那我JRE_HOME是就像上面那么设还是改成jdk1.6.0_10目录下的jre?)
变量我设了这些:
JAVA_HOME C:Program FilesJavajdk1.6.0_10
CATALINA_BASE I:apache-tomcat-7.0.52
CATALINA_HOME I:apache-tomcat-7.0.52
TOMCAT_HOME I:apache-tomcat-7.0.52
PATH %JAVA_HOME%BIN;%CATALINA_HOME%BIN;
CLASSPATH %JAVA_HOME%LIB;%CATALINA_HOME%LIB;
ymvnmqq1年前1
楼兰的魂灵 共回答了18个问题 | 采纳率94.4%
set JAVA_HOME=C:Program FilesJavajdk1.6.0_10
set JRE_HOME=C:Program FilesJavajdk1.6.0_10
将JRE_HOME和JAVA_HOME设置成一样的试试?
写一脚本,每天凌晨1点,把/data/tomcat/logs 目录里“昨天的log文件”抽出来,打包成tar格式
写一脚本,每天凌晨1点,把/data/tomcat/logs 目录里“昨天的log文件”抽出来,打包成tar格式
然后备份到目录data/backup/logs,然后删除/data/tomcat/logs 目录里“昨天的log文件”。
“昨天的log文件”的特征是:1)后缀是“.log ” 2)文件名里有“2012-12-25”格式的昨天日期

反馈要求:
1.linux下,可执行的SH脚本;
2.SH脚本的使用方法;
3.开发要点说明
wangchuanmao1年前1
贝努奇 共回答了19个问题 | 采纳率94.7%
#! /bin/bash
mkdir /tmp/log
cd /tmp/log
mv /data/tomcat/logs /tmp/log/logs
tar -xf log.tar
mv log.tar /data/backup/logs/log_`date -d last-day +%Y-%m-%d`.log.tar
rm -rf /tmp/log
脚本在此
英语翻译Along with the HTTP response code,Tomcat also sent back
英语翻译
Along with the HTTP response code,Tomcat also sent back a few lines of
information before the contents of主ndex .html,as shown in Figure 2-4.
All of these lines are HTTP headers.HTTP uses headers to send meta-
information with a request or response.A header is a colon一delimited
name:value pair-that is,it contains the header's name,delimited by a colon
followed by the header's value.肠pical response headers include content-type
descriptions,content length,a time-stamp,server information,and the date the
content was last changed.This information helps a client figure out what is
being sent,how big it is,and if the data are newer than a previously seen
response.An HTTP request will always contain a few headers8.Common
request headers consist of the user-agent details and preferred formats,lan-
guages,and content encoding to receive.These headers help tell a server what
the client is and how they would prefer to get back information.Understanding
HTTP headers is important,but for now put the concept on hold until you
learn a little more about Servlets.HTTP headers provide some very helpful
functionality,but it is better to explain them further with some HttpserVlet
examples.
8.There are no mandatory headers in HTTP 1.0; in HTTP 1.1 the only mandatory header is the
Host header.
亚洲的1年前1
凭海临风julia 共回答了29个问题 | 采纳率96.6%
所有这些线是HTTP头.HTTP使用标题发送元-
信息的请求和响应.标题是一个colon一delimited
名称:价值是pair-that,它蕴含着头的名字,划定由结肠
其次是标题的value.肠pical响应标头包括内容类型
描述、内容的长度,一个时间戳记,服务器信息、期限
最后更改内容.这个信息帮助客户找出是什么
被派,怎么大,如果使数据比先前更新
反应.一个HTTP请求总是有几headers8.共同
user-agent要求标题包括细节和优先的格式、局域网(lan)-
guages,和内容编码接受.这些标题帮助告诉服务器什么
客户以及他们如何喜欢回来的信息.理解
标头是重要的,但现在把观念在持有,直到你
学习一些/ Servlets.标头提供一些很有帮助的
功能,但这总来解释进一步与一些HttpserVlet
例子.
8.没有强制性的头在HTTP 1.0;在HTTP 1.1的唯一强制性的头球
主人的标题.
tomcat 如何启动,在dos下运行startup.bat后Neither the JAVA_HOME nor the
tomcat 如何启动,在dos下运行startup.bat后Neither the JAVA_HOME nor the JRE_HOME environment
kkml1年前1
bhw007 共回答了22个问题 | 采纳率90.9%
环境变量没有配置对.
path 下面配置了 JAVA_HOME
但是 JAVA_HOME 没有配置
MyEclipse 部署 Tomcat 出错。
MyEclipse 部署 Tomcat 出错。

在MyEclipse 10中开发WebProject ,完成后将项目部署到MyEclipse自带的 MyEclipse Tomcat时没问题,但是部署到 Tomcat 6.x 时出错,如图:

为什么呢?如何解决?


微雨聆听1年前1
红楼uu 共回答了22个问题 | 采纳率95.5%
多点击两次redeploy就好了。不行就先remove,再deploy。
还有,MyEclipse中Installed JRE一定要设置为JDK路径,然后为容器指定使用JDK,而不是JRE。
myeclipse2015配置Tomcat后,出现的问题。
xxeleph1年前0
共回答了个问题 | 采纳率
tomcat中conf下的Catalina啥意思?
tomcat中conf下的Catalina啥意思?
Catalina什么英文单词,啥意思?
俞小颖1年前1
卧栏听风 共回答了13个问题 | 采纳率92.3%
卡特琳娜,也有英文解释说是远程轰炸机.
还有著名的旅游胜地卡特琳娜岛(Catalina Island).
卡特琳娜岛是加州星罗棋布的沿海岛屿.据说它是黄石公园以西地区,是个至今仍可见到野牛四处漫游的地方.
至于tomcat,你可以发现tomcat里很多系统文件夹里都有Catalina.比如:conf,主要放项目的配置文件;work,主要放项目缓存(你编了在jsp后,访问后,编译器所翻译的servlet就放在里面)等等.
比如tomcat这个名字就是当初作者想选择一种动物作为名称才这样起的.名字可以随便起,知道用处就好.