aws / aws/serverless-java-container

Spring boot application doesn't restart every time

Open
#341 2 comments 0 reactions 0 assignees View on GitHub
help wanted question
Dominant language
Java
Stars
1.6k
Forks
574
PR merge metrics
No merged PRs in 30d

Description

Not sure this is right place for this query.

I'm using lambda Spring Boot application with multiple aliases. Once it gets triggered very first time it loads spring boot application context but afterward it uses the same context without being reloaded.

Can anyone help me with how to reload Application every time? I don't care about overhead time to load the application. I'm confused how this serverless application gets the same node of the previous run!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the AWS Lambda execution lifecycle and how the Spring Boot application context is retained between invocations. The issue names no repository files or tests, so first locate the Lambda entry point and context initialization path. Done would require a clearly defined reload behavior and evidence that each invocation creates a fresh context.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java, spring-boot
Domain
backend, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.