Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-21 Thread Alex O'Ree
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 simple reproducible example that can be shared a

Re: 10.1.25 -> 10.1.33 - no more content-* headers in HEAD responses

2024-11-21 Thread Pawel Veselov
Chris, On Thu, Nov 21, 2024 at 1:51 PM Christopher Schultz wrote: > > Pawel, > > On 11/19/24 7:52 PM, Pawel Veselov wrote: > > On Wed, Nov 20, 2024 at 1:26 AM Pawel Veselov > > wrote: > >> > >> Hello. > >> > >> Upgrading Tomcat from 10.1.25 to 10.1.33 caused our sanity tests to > >> fail as the

Re: [Tomcat] nashorn on jdk17 in tomcat 11

2024-11-21 Thread Christopher Schultz
Alex, On 11/21/24 7:14 AM, Alex O'Ree wrote: I'm running into a bit of a strange problem with attempting to get a nashorn script working on jdk17 in tomcat 11. it works fine outside of tomcat but always fails to start inside tomcat. Wow, I haven't heard the name Nashorn in forever. I suspect

Re: Shutting Down Tomcat (9.0.97) Service Throws System Error 1067

2024-11-21 Thread Christopher Schultz
Kostyantyn, On 11/21/24 4:22 AM, Kostyantyn Krakovych wrote: Is Tomcat behind a front-end such as httpd or IIS? We use Apache HTTP Server. Are you using tcnative-1.dll? Yes, we use OpenSSL. Is there any native code (other than the JVM) deployed with the Tomcat application? No Was a JVM

Re: 10.1.25 -> 10.1.33 - no more content-* headers in HEAD responses

2024-11-21 Thread Christopher Schultz
Pawel, On 11/19/24 7:52 PM, Pawel Veselov wrote: On Wed, Nov 20, 2024 at 1:26 AM Pawel Veselov wrote: Hello. Upgrading Tomcat from 10.1.25 to 10.1.33 caused our sanity tests to fail as the "content-length" header field is no longer present in the HEAD responses. The application explicitly s

[Tomcat] nashorn on jdk17 in tomcat 11

2024-11-21 Thread Alex O'Ree
I'm running into a bit of a strange problem with attempting to get a nashorn script working on jdk17 in tomcat 11. it works fine outside of tomcat but always fails to start inside tomcat. I suspect it has something to do with the just in time compiler, but the error messages are so cryptic that it

Re: Shutting Down Tomcat (9.0.97) Service Throws System Error 1067

2024-11-21 Thread Kostyantyn Krakovych
Hi Chuck, > Is Tomcat behind a front-end such as httpd or IIS? We use Apache HTTP Server. > Are you using tcnative-1.dll? Yes, we use OpenSSL. > Is there any native code (other than the JVM) deployed with the Tomcat > application? No > Was a JVM dump file produced when the process terminated u