Announcement Announcement Module
Collapse
No announcement yet.
howto reset property after tomcat restart Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • howto reset property after tomcat restart

    Hi,

    after a Tomcat restart
    (transient) spring-injected properties in Beans are null as expected because of Serialization/Deserialization.

    What is the best way to get them set again after a Tomcat restart?

    - Making lookup manually is possible but seems no good idea for me because of dependency to Spring in code.
    - The Property cannot be made serializable.

    Hopefully there is a standard solution for that problem that I didn't find in the Forums or docs because it seems to be a general issue to me.

    Best regards,
    chrst
Working...
X