Comments (9)
Thanks for the report. Unfortunately, as things stand, there are too many unknowns for us to efficiently investigate the problem. Can you please provide a complete example that reproduces it?
from spring-boot.
I also wish I could provide an EXAMPLE, unfortunately this error it is not 100% reproducible.
As it stands, the problem is more likely to occur when the application is running a little longer. If it's just restarted right after a short period of time, it's hardly ever reproducible!
from spring-boot.
I'll try to see if I can provide a 100% reproduction of the demo
Is there anything else I should provide other than a demo?
from spring-boot.
I'm afraid we really need a demo as it's very hard to diagnose a problem that we cannot reproduce.
from spring-boot.
Okay, I'll try to provide a minimal reproduction of the example
from spring-boot.
I did my best to try to provide an example that could be reproduced consistently, but it is completely unreproducible on my own computer. But on CentOS 7.9, it will fail to terminate properly without any regularity
from spring-boot.
I think my problem is very similar to #38930, the difference is that I'm using the latest SpringBoot 3.2.4
from spring-boot.
Yes, it does look similar to #39930. Unfortunately, that doesn't help us here as no reproducer was provided there either. The class loading failures would suggest that either the class loader has been closed (that should not have happened at this point in the shutdown process) or the jar file has been deleted while the app is running. The latter's out of Spring Boot's control and, judging by your script above, should not be happening here. That leaves the class loader being closed too soon. To confirm or eliminate that possibility, I'm afraid we'll need something that reproduces the problem.
from spring-boot.
I am seeing a similar problem in an application that interrupts threads when workers need to rebalance. I am highly suspicious of #37668 but don't know where to start.
- We already migrated to JDK 17 and didn't have issues with Spring Boot 2.7.x
- When migrating to 3.2.x now we see
ClassNotFoundException
orNoClassDefFoundError
, but this is highly correlated to the timings of the interrupts. - Nothing very helpful shows in the logs, but the interrupts can be traced and we see these errors appear immediately after.
Is it possible that the interrupts are hitting the classloaders and breaking definition lookups? It would be a similar case to what is described here: https://stackoverflow.com/q/56866573/97964
How can I help trace this further?
from spring-boot.
Related Issues (20)
- Bump gradle/wrapper-validation-action from 2.1.1 to 2.1.2
- Bump gradle/wrapper-validation-action from 2.1.1 to 2.1.2
- Remove redundant Regex escapes
- Remove redundant Regex escapes
- Remove redundant Regex escapes
- Verify snapshots once they have been deployed
- Verify snapshots once they have been deployed
- Verify snapshots once they have been deployed
- Upgrade to Gradle Enterprise Conventions 0.0.16
- Reference Guides breadcrumb in page headers is not hyperlinked HOT 1
- Make it harder to misconfigure logging.threshold.console in yaml HOT 3
- Executable JAR application startup is slower after 3.2.0 when Hibernate scanner is not disabled HOT 6
- bootBuildImage with Podman results in socket connection error HOT 11
- Problem with prometheus metrics and mongodb HOT 4
- Upgrade to Gradle Enterprise Conventions 0.0.16
- Upgrade to Gradle Enterprise Conventions 0.0.16
- Rename Antora component from spring-boot to boot
- Manage antora versions using package.json HOT 1
- Update ApplicationContextAssert to support AssertJ's soft assertions HOT 1
- Can't download the project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot.