Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-22 Thread Leroy Mims
Did you try this? https://stackoverflow.com/questions/74025622/how-to-add-the-nashorn-module-to-tomcat-10 On Fri, Nov 22, 2024 at 12:37 PM Alex O'Ree wrote: > I do not, checked that already. I'm in the process of bisecting the > dependency chain to see what's causing the issue. > > On Fri, Nov

Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-22 Thread Alex O'Ree
I do not, checked that already. I'm in the process of bisecting the dependency chain to see what's causing the issue. On Fri, Nov 22, 2024 at 7:46 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Alex, > > On 11/21/24 12:14 PM, Alex O'Ree wrote: > > could not initialize class > > o

Re: Max-Age=0 in Set-Cookie headers

2024-11-22 Thread Mark Thomas
On 22/11/2024 13:26, Marcel Steinbeck wrote: With Tomcat 11.0.0-M19 and later, Rfc6265CookieProcessor omits the Max-Age attribute during serialization if its value is 0. The change is traced to this commit: d16e846 Omitting Max-Age=0 is unexpected because according to RFC-6265 Section 5.2.2:

Max-Age=0 in Set-Cookie headers

2024-11-22 Thread Marcel Steinbeck
With Tomcat 11.0.0-M19 and later, Rfc6265CookieProcessor omits the Max-Age attribute during serialization if its value is 0. The change is traced to this commit: d16e846 Omitting Max-Age=0 is unexpected because according to RFC-6265 Section 5.2.2: [...] If delta-seconds is less than or equal to

Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-22 Thread Christopher Schultz
Alex, On 11/21/24 12:14 PM, Alex O'Ree wrote: could not initialize class org.openjdk.nashborn.internal.runtime.linker.Bootstrap due to classdef not found. However the jar is in place (loaded via the webapp's WEB-INF/lib... so it should be on the classpath. Interestingly, i did attempt to make a