Session persistence (during restart) not working after upgrade to 7.0.52-1ubuntu0.6

Bug #1603544 reported by David L
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tomcat7 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have Tomcat 7 on Ubuntu 14.04. Last week I installed the Ubuntu security updates through apt-get and it upgraded Tomcat to version 7.0.52-1ubuntu0.6 (not sure what the previous version was, most likely the one right before that since I update on a regular basis). Ever since that upgrade, session persistence during restart is broken in Tomcat 7, meaning that all user sessions get killed when I restart Tomcat or the webapp.

This used to work fine. So I tried downgrading the Tomcat packages. I didn't find a way to downgrade to "7.0.52-1ubuntu0.5" so I downgraded to "7.0.52-1" instead:

sudo apt-get install tomcat7=7.0.52-1
sudo apt-get install tomcat7-admin=7.0.52-1
sudo apt-get install tomcat7-common=7.0.52-1
sudo apt-get install libtomcat7-java=7.0.52-1

As soon as I did this, session persistence started to work again. I tried this on a different computer and the result was the same. I tried upgrading again and the problem was back. So there really seem to be something in this update that breaks session persistence.

I tried it after each step while downgrading the 4 packages listed above, and it only started to work after the last step was done, so maybe the problem is with the libtomcat7-java package.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Subscribing security Team, was there anything related to sessions in this update.

@David L. - there never was a 7.0.52-1ubuntu0.5 published, down to 7.0.52-1ubuntu0.3 might have worked.

Also update "7.0.52-1ubuntu0.7" contains something in regard to "SECURITY REGRESSION: change in behaviour after security update" - you might check if it helps you as well.

tags: added: regression-update
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tomcat7 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.