Java - Tomcat: Reload context.xml without restarting server
问题 I'm using spring mvc and tomcat as a server. I want to be able to change a jndi field that is Autowired(as String): <jee:jndi-lookup id="someMessage" jndi-name="someMessage"/> in one of the my services, that is referenced to conf/context.xml of Tomcat, that looks something like this: <Environment name="someMessage" value="Change this." type="java.lang.String" />. However, when I change the value on context.xml, this change is not reflected on my service managed by spring, unless I restart