gpt4 book ai didi

eclipse - 没有加载 apache-tomcat-8.0.17 的管理器/html

转载 作者:行者123 更新时间:2023-11-28 22:42:06 26 4
gpt4 key购买 nike

我在 tomcat-user.xml 中添加了一个用户 'root' 具有管理员角色,如下所示

    <role rolename="admin-gui"/>
<role rolename="manager-gui" />
<role rolename="manager-script" />
<role rolename="manager-jmx"/>
<role rolename=" manager-status" />

<user username="root" password="root"
roles="manager-gui,manager-script,manager-jmx,admin-gui,manager-status" />

引用 apache-tomcat website 然后我通过eclipse IDE重启了apache-tomcat 8.0.17;请在下面找到服务器日志

Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version: Apache Tomcat/8.0.17
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built: Jan 9 2015 15:58:59 UTC
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number: 8.0.17.0
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name: Windows 7
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version: 6.1
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture: amd64
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JAVA_HOME: C:\Program Files\Java\jre7
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version: 1.7.0_05-b05
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor: Oracle Corporation
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE: C:\Users\nithin\workspaceEclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME: E:\AAA_DEV_DONT_DEL\SERV\apache-tomcat-8.0.17\apache-tomcat-8.0.17
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=C:\Users\nithin\workspaceEclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=E:\AAA_DEV_DONT_DEL\SERV\apache-tomcat-8.0.17\apache-tomcat-8.0.17
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=C:\Users\nithin\workspaceEclipse\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=E:\AAA_DEV_DONT_DEL\SERV\apache-tomcat-8.0.17\apache-tomcat-8.0.17\endorsed
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=Cp1252
Jan 18, 2015 11:16:22 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;
C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Lenovo\Bluetooth Software\;C:\Program Files\Lenovo\Bluetooth Software\syswow64;
C:\Program Files (x86)\MySQL\MySQL Server 5.0\bin;C:\Program Files\nodejs\;C:\Program Files\VisualSVN Server\bin;
C:\Users\nithin\AppData\Roaming\npm;C:\Program Files\Java\jdk1.7.0_05\bin;
;E:\AAA_DEV_DONT_DEL\adt-bundle-windows-x86_64-20140702\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;
E:\AAA_DEV_DONT_DEL\adt-bundle-windows-x86_64-20140702\adt-bundle-windows-x86_64-20140702\sdk\tools;
E:\AAA_DEV_DONT_DEL\apache-ant-19\apache-ant-1.9.4\bin;.
Jan 18, 2015 11:16:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Jan 18, 2015 11:16:22 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Jan 18, 2015 11:16:22 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Jan 18, 2015 11:16:22 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Jan 18, 2015 11:16:22 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 757 ms
Jan 18, 2015 11:16:22 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 18, 2015 11:16:22 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.17
Jan 18, 2015 11:16:23 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Jan 18, 2015 11:16:23 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Jan 18, 2015 11:16:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 464 ms

但同时点击 http://127.0.01:8080/manager/htmlhttp://localhost:8080/manager/html 显示404错误;但我可以在 Eclipse 中创建动态 Web 项目并使用 run as> run in server 选项进行部署。我的机器上没有任何代理设置,也没有其他服务器同时运行。

no proxy settings web url hitting

在 8.0.17 版本中获取 manager/html 是否需要任何更改?我在配置中做错了什么吗?

我在 stackoverflow 中发现类似的问答,如 this但没有帮助我解决问题。

最佳答案

在服务器 View 中双击您的服务器。进入“服务器位置”并选择“使用 tomcat 安装”。如果它是灰色的,请右键单击您的服务器,属性>常规,然后单击“切换位置”。 Tomcat started in Eclipse but unable to connect to http://localhost:8085/

关于eclipse - 没有加载 apache-tomcat-8.0.17 的管理器/html,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28013271/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com