Mantis - Resin
Viewing Issue Advanced Details
5947 minor always 10-06-15 00:39 11-16-15 10:22
nam  
ferg  
normal  
closed 4.0.45  
fixed  
none    
none 4.0.47  
0005947: session corruption on restart: java.io.StreamCorruptedException: invalid type code 4B
(rep by Nobuaki)

server/01q8

Also seeing type code 02, C2.

1. store a bunch of items in a list or map:

  LinkedList list = new LinkedList();
  
  for (int i = 0; i < 100000; i++) {
    list.add("abc");
  }
  
  request.getSession().setAttribute("foo", list);

2. restart Resin

3. out.println(request.getSession().getAttribute("foo").getClass());

You'll get a StreamCorruptedException.

There are no notes attached to this issue.