micronaut-projects / micronaut-session

Apache License 2.0
0 stars 0 forks source link

Using RedisSessionStore instead of InMemorySession #106

Closed wapgui closed 1 year ago

wapgui commented 1 year ago

Expected Behavior

With adding these settings to application.yaml RedisSessionStore should be replace InMemorySession.

grafik

Actual Behaviour

Still InMemorySession in use.

grafik

Steps To Reproduce

Use config from expected behaviour and Shopping Cart example from here: https://micronaut-projects.github.io/micronaut-session/latest/guide/. No error shown up, but also figured out @SessionValue isn't working for me, so used inject variant.

Environment Information

MacOS Ventura 13,5,1 Java 17.08.azul Running inside IntelliJ 2023.2.1 Ultimate (Debug mode)

Example Application

No response

Version

4.0.3

wapgui commented 1 year ago

Seems that my application isn't reading the application.yaml, it's always starting on port 8080 no matter what port is set.

wapgui commented 1 year ago

Problem with application.yaml