Tomcat版本冲突和Apache 7.35与Windows 10之间的兼容性问题 [英] Tomcat versions conflicts and problems of compatibility between apache 7.35 and windows 10

查看:334
本文介绍了Tomcat版本冲突和Apache 7.35与Windows 10之间的兼容性问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此帖子与此此处。我拼命地试图将应用程序从组织服务器迁移到本地计算机,只是为了探索代码并开始实践。这是我第一次熟悉Tomcat和Java servlets,因此在这里与您交谈是新手。我的尝试是使用tomcat 7.0.93版。和tomcat 8.0.35。我想使用tomcat 8.0.35可以打开该应用程序,但在登录屏幕中崩溃。使用tomcat 7.0.93,该应用程序根本无法启动,日志给了我内存不足的错误。今天早上,我仔细检查了服务器中tomcat的版本,并将其安装在本地计算机中。该版本是7.0.35。然后,我将我的应用程序移动到了webapps文件夹,该应用程序启动了!我面临延误和缓慢。但是,我将尝试发现和探索。

This post is related to this one here. I was desperately trying to migrate an app from my organization server to my local machine just to explore the code and get my hands on. This is my first time getting familiar with Tomcat and java servlets things, hence it is a newbie talking to you here. My tries was with tomcat version 7.0.93. and tomcat 8.0.35. With tomcat 8.0.35, the app opens but crashes in the login screen, I guess. With tomcat 7.0.93, the app did not start at all, the logs was giving me a memory shortage errors. This morning, I double checked the version of tomcat in the server and installed the same one in my local machine. That version was 7.0.35. I, then, moved my app to webapps folder, and the app launches! I am facing delays and slowness. However, I will try to discover and explore.


  1. 是否存在兼容性问题,因此,如果应用程序运行的是tomcat 7,则tomcat无法升级到tomcat 8甚至9。

  1. 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.

我是Windows 10的该版本面临太多问题。大多数与管理有关。例如,需要使用 taskkill / pid $$$$ / f 命令从命令行停止服务器。真烦人。有什么方法可以使此版本的tomcat tomcat 7.0.35与Windows 10兼容且友好?

I am facing too many problems with this version with windows 10. Most of them are administration related. For example, the server needs to be stopped from the command line using taskkill /pid $$$$ /f command. This is really annoying. Is there any way to make this version of tomcat, tomcat 7.0.35, compatibly and friendly with windows 10?

推荐答案


是否存在兼容性问题,因此,如果应用程序使用$ b运行$ b tomcat 7,然后tomcat无法升级到tomcat 8甚至9。

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版本

Choosing tomcat version is based on JDK version,

请参考 https ://tomcat.apache.org/whichversion.html

如果您打算升级 tomcat,请参考

If you are planning to upgrade tomcat: refer

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文件夹。

Just double-click startup.bat and shutdown.bat from Tomcat installation folder.

这篇关于Tomcat版本冲突和Apache 7.35与Windows 10之间的兼容性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆