不同端口上的2个tomcat实例(同一Windows机器)上的2个Java Web应用程序 [英] 2 Java web applications on 2 tomcat instances (same windows machine) on different ports

查看:142
本文介绍了不同端口上的2个tomcat实例(同一Windows机器)上的2个Java Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个Java Web应用程序在同一Windows机器上的tomcat 7的两个实例上运行.一个应用程序在端口9080上运行,另一个应用程序在9090上运行.

I have two java web applications running on two instances of tomcat 7 on same windows machine. One application is running on port 9080 and another on 9090.

我使用SAME浏览器中的2个选项卡登录两个应用程序.

I log into both applications using 2 tabs in the SAME browser.

当我从一个应用程序(例如9080上的应用程序)注销时,我也从另一应用程序(在9090上运行)注销.

When I logout from one application (e.g application on 9080) I get logged out from other application (running on 9090) also.

需要帮助.

谢谢

推荐答案

您可能没有为Web容器完成正确的配置. 浏览 首先配置Web容器,然后按照以下说明 您正在使用什么IDE?

You possibly have not done the correct configuration for the web container. Go through this First configure the web container and then follow these instructions What IDE are you using?

这篇关于不同端口上的2个tomcat实例(同一Windows机器)上的2个Java Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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