2 votes Vote

configure the war agent without repackaging

Configuration is currently done via servlet init parameters, which need to be set in the war agent application's web.xml

Configuration could be externalized if other Servlet specification compatible means could be used.
Using ServletContext init parameters instead would enable to set the configuration in a separate file when deploying on Tomcat (application's context.xml) as an alternative to edit web.xml. Code changes necessary for that should be minimal, and there's no overhead.

A more heavyweight change, but with support for virtually all JEE/Servlet containers is using JNDI environment properties.

I personally focus on tomcat, so the first suggestion would be sufficient for me currently.

Rainer Frey , 24.05.2012, 11:18
Idea status: completed

Comments

jolokia, 20.06.2012, 08:44
Sounds like a good idea, I put it on the roadmap for the next version. Thanks ...
jolokia, 25.06.2012, 10:31
It is implemented now and will be available for 1.0.5. You can track this ticket at https://jolokia.jira.com/browse/JOL-31

Leave a comment