Bug 50158 - Tomcat7.0.4 ROOT BUG
Tomcat7.0.4 ROOT BUG
Status: RESOLVED INVALID
Product: Tomcat 7
Classification: Unclassified
Component: Catalina
7.0.4
PC Linux
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-10-26 11:32 UTC by 醉我行
Modified: 2010-10-27 09:48 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 醉我行 2010-10-26 11:32:12 UTC
Recent projects encountered a BUG with Tomcat7.0.4
   When a single operating system and start when the two TOMCAT. TOMCAT's ROOT directory for each deployment of a PROJECT,
   At the same time using two different IE or FIREFOX to access the application, the test found that two applications of the session will be conflicts! When an application log, the other
   Session of an application will fail, and when another application log, the first session of an application will be invalid.
   Test environment:
    Operating System: Centos5
    Client: At the same tests using IE or firefox the same time with the test. If a use IE, another application with firefox. The problem does not occur
    Server: TOMCAT7.0.4
Comment 1 醉我行 2010-10-26 11:34:28 UTC
Recent projects encountered a BUG with Tomcat7.0.4
   When a single operating system and start when the two TOMCAT. TOMCAT's ROOT directory for each deployment of a PROJECT,
   At the same time using two different IE or FIREFOX to access the application, the test found that two applications of the session will be conflicts! When an application log, the other
   Session of an application will fail, and when another application log, the first session of an application will be invalid.
   Test environment:
    Operating System: Linux (Centos5) in the Window, the test is also problematic in this way
    Client: At the same tests using IE or firefox the same time with the test. If a use IE, another application with firefox. The problem does not occur
  Server: TOMCAT7.0.4
Comment 2 Mark Thomas 2010-10-26 11:40:51 UTC
1. I can't understand this report.

2. From the little I can make out, this looks like a question for the users mailing list.
Comment 3 醉我行 2010-10-26 21:54:53 UTC
I do not know may be described.
  I mean : 
     Simultaneously on a single PC with two TOMCAT.
       Two different projects, and were packaged as xxx.war yyy.war,
    Then, remove the two TOMCAT in the ROOT directory, rename the xxx.war   ROOT.war,
    Placed first in the webapps directory of TOMCAT.
    Yyy.war then rename ROOT.war, placed second in the webapps directory of TOMCAT.
     Finally, modify one of the TOMCAT / CONF / server.xml file in the 8080 revised to 8446,8009 to 8088,8443 revised to 8010.
        Then, start the two TOMCAT.
   
   Test:
             At the same time open two IE, access to two different projects were to observe the session changes.
            Access the first item, everything is normal. (For example: http://10.11.22.33:8080/app/login.shtml)
            Longer have access to the second item, everything is normal (for example: http://10.11.22.33:8088/cc/welcome.shtml)
            Then, go to access the first item, found, session changed!
Comment 4 醉我行 2010-10-26 21:56:42 UTC
(In reply to comment #2)
> 1. I can't understand this report.
> 2. From the little I can make out, this looks like a question for the users
> mailing list.
I'm sorry. My English is rather poor.
I do not know may be described.
  I mean : 
     Simultaneously on a single PC with two TOMCAT.
       Two different projects, and were packaged as xxx.war yyy.war,
    Then, remove the two TOMCAT in the ROOT directory, rename the xxx.war  
ROOT.war,
    Placed first in the webapps directory of TOMCAT.
    Yyy.war then rename ROOT.war, placed second in the webapps directory of
TOMCAT.
     Finally, modify one of the TOMCAT / CONF / server.xml file in the 8080
revised to 8446,8009 to 8088,8443 revised to 8010.
        Then, start the two TOMCAT.

   Test:
             At the same time open two IE, access to two different projects
were to observe the session changes.
            Access the first item, everything is normal. (For example:
http://10.11.22.33:8080/app/login.shtml)
            Longer have access to the second item, everything is normal (for
example: http://10.11.22.33:8088/cc/welcome.shtml)
            Then, go to access the first item, found, session changed!
Comment 5 Pid 2010-10-27 06:07:41 UTC
Please join the Tomcat Users mailing list and explain the problem there.

 http://tomcat.apache.org/lists.html
Comment 6 Pid 2010-10-27 09:12:25 UTC
(I think it's the session cookie's interfering with each other, because the hostname==ip address and the port isn't defined in the cookie)
Comment 7 醉我行 2010-10-27 09:48:00 UTC
(In reply to comment #6)
> (I think it's the session cookie's interfering with each other, because the
> hostname==ip address and the port isn't defined in the cookie)

I think so,
    In the TOMCAT, session related to the generation of whether ContextPath it?
Because, deployed in the ROOT directory of the application, contextPath made are empty