新手初学tomcat问题《HTTP Status 404 - /host-manager/html》

kangwor 2011-04-30 06:59:34
HTTP Status 404 - /host-manager/html

--------------------------------------------------------------------------------

type Status report

message /host-manager/html

description The requested resource (/host-manager/html) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/7.0.11
我是新手才开始熟悉tomcat 大家帮忙看看 这是什么问题
...全文
3281 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
insert_viann 2011-08-24
  • 打赏
  • 举报
回复
二楼正解
kangwor 2011-05-01
  • 打赏
  • 举报
回复
老兄我里面没有这句话
xmlValidation="false" xmlNamespaceAware="false
什么都不能 2011-05-01
  • 打赏
  • 举报
回复
访问的地址不存在
微甜灬呼吸 2011-05-01
  • 打赏
  • 举报
回复
没这文件呗....

zysoft17 2011-05-01
  • 打赏
  • 举报
回复
要访问的不存在,可能是Tomcat没有配置对,
1、看看 %CATALINA_HOME%\conf\server.xml 文件中有没有配置虚拟目录
(%CATALINA_HOME% 为 Tomcat 的安装目录)

<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">


<Context path="/test" docBase="d:\web\test" reloadable="true" />

</Host>
红色部分是自己要手工加入的,注意大小写不能错,path是浏览器访问的目录, docBase是jsp文件的目录,一定不能错,reloadable="true"代表了当java类发生改变时,服务器会自动重载新的java类.

2、如果用myEclipse, docBase一定要是:Jsp项目路径\WebRoot
如:
<Context path="/test" docBase="d:\web\test\WebRoot" reloadable="true" />

kangwor 2011-05-01
  • 打赏
  • 举报
回复
我改了tomcat-users.xml 以后 都进不去了 密码和用户名都是对的 但是都提示
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.
<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>

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 proxy 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.
串联谐振双有源桥(SR-DAB)DC-DC变换器闭环仿真研究内容概要:本文围绕串联谐振双有源桥(SR-DAB)DC-DC变换器的闭环仿真展开研究,重点探讨其在电力电子系统中的动态响应特性与控制策略。通过对SR-DAB变换器建立数学模型,并结合Matlab/Simulink进行闭环仿真,分析系统在不同工作条件下的电压、电流波形及功率传输效率,验证控制算法的有效性与稳定性。研究涵盖系统建模、控制器设计(如PI控制)、软开关实现条件、抗干扰能力以及动态调节性能,旨在提升变换器在新能源、储能、数据中心供电等场景中的可靠性和能效水平。; 适合人群:具备电力电子、自动控制理论基础,从事新能源、微电网、电力系统仿真等相关领域的科研人员与工程技术人员。; 使用场景及目标:①用于高校及科研机构开展DC-DC变换器控制策略的教学与实验;②为工业界在高效率隔离型功率变换系统的设计与优化提供仿真依据和技术支撑;③服务于数据中心、电动汽车、可再生能源并网等场景下的电源系统研发。; 阅读建议:建议读者结合Matlab代码实践仿真流程,重点关注系统建模与控制器参数整定部分,通过调整负载、输入电压等条件观察系统响应,深入理解闭环控制对变换器性能的影响机制。
内容概要:本文介绍了FastReport VCL/FMX/LCL 2026.2.4版本的更新内容,重点涵盖核心引擎、图形处理、用户界面及导出功能的优化与修复。主要更新包括修复了Developer Express兼容性问题、TfrxSVGGraphic在TImage中的显示问题、PDF/A导出合规性、EMF图像旋转异常,以及ReportTree拖拽功能等问题。同时,部分模块新增了HTMLTags对XLSX导出的支持、内置右键菜单和新图标,并改进了FastCube组件的元素调整体验。此外,还修复了CPP脚本中Result参数名的Bug以及自定义过滤器中OR操作失效的问题。; 适合人群:使用Delphi或Lazarus进行开发,且涉及报表设计与数据展示功能的中高级开发者;尤其适用于需要集成FastReport控件到企业级应用中的技术人员。; 使用场景及目标:①提升报表系统在不同平台(VCL/FMX/LCL)下的稳定性和兼容性;②满足PDF/A标准的文档归档需求;③优化用户交互体验,如拖拽操作与元素缩放;④增强脚本支持与数据集字段识别能力,确保开发效率与功能完整性。; 阅读建议:建议结合官方更新链接和实际项目中使用的FastReport模块对照查看,重点关注自身所用组件(如VCL、FMX或Lazarus版)的具体修复项,及时升级以规避已知问题并利用新特性优化报表功能。

81,108

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧