tomcat版本冲突及apache 7.35与windows 10兼容问题

标签 tomcat server tomcat7 compatibility tomcat8

介绍

这篇文章与这篇文章相关here .我拼命尝试将一个应用程序从我的组织服务器迁移到我的本地计算机,只是为了探索代码并动手操作。这是我第一次接触 Tomcat 和 java servlets 的东西,所以在这里和你聊天是一个新手。我的尝试是使用 tomcat 版本 7.0.93。和 tomcat 8.0.35。我猜,对于 tomcat 8.0.35,该应用程序打开但在登录屏幕中崩溃。使用 tomcat 7.0.93,应用程序根本无法启动,日志显示内存不足错误。今天早上,我仔细检查了服务器中的tomcat版本,并在我的本地机器上安装了相同的版本。那个版本是 7.0.35。然后,我将我的应用程序移动到 webapps 文件夹,然后应用程序启动了!我面临延误和缓慢。不过,我会努力去发现和探索。

我的问题在这里

  1. 是否存在兼容性问题,如果应用运行在tomcat 7上,那么tomcat无法升级到tomcat 8甚至9。

  2. 我在 Windows 10 的这个版本中遇到了太多问题。其中大部分与管理相关。例如,需要使用 taskkill/pid $$$$/f 命令从命令行停止服务器。这真的很烦人。有什么办法可以让tomcat 7.0.35这个版本对windows 10兼容友好吗?

提前致谢

最佳答案

Is there compatibility problems so that if an app is running with tomcat 7, then tomcat cannot be upgraded to tomcat 8 or even 9.

选择tomcat版本是根据JDK版本,

请引用https://tomcat.apache.org/whichversion.html

如果您打算升级 tomcat:引用

https://www.mrc-productivity.com/docs/m-power-admin/instructions-for-upgrading-to-tomcat-9

the server needs to be stopped from the command line

只需双击 Tomcat 安装文件夹中的 startup.bat 和 shutdown.bat。

关于tomcat版本冲突及apache 7.35与windows 10兼容问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55359943/

相关文章:

java - 如何修复 Tomcat 的 'javax.servlet.ServletException: Servlet.init()' 错误

java - 带有克隆项目 : build problems 的 Tomcat + Eclipse

html - 我的浏览器不解释我的 css 文件

javascript - 对所有包含 "undefined” 的不存在页面的请求

带 tomcat 的 Apache Web 服务器

java.net.BindException : Cannot assign requested address

Eclipse "Server Locations"部分已禁用,需要更改才能使用 Tomcat 安装

tomcat - 将其公开为服务后无法在 kubernetes 中运行 tomcat 容器

php - 如何使用 PHP 内置服务器获取 PHP 中的查询字符串?

java - 两种远程调试方式