me0wster / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

Configure at Tomcat Level #236

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is not a problem but more of a question.  The instructions state that Java 
Melody has to configure at the application level rather then the software 
level.  In my environment, we use Tomcat.  The problem we are running into is 
that our developers are not to good at remember to include the Java Melody 
configuration in their war files which means the web admins have to go back and 
add the configuration.  I was wondering if Java Melody can be configured at the 
software level rather than the application level?

Original issue reported on code.google.com by lamccart...@gmail.com on 11 Jul 2012 at 2:46

GoogleCodeExporter commented 9 years ago
I suggest that including javamelody in your war files is automated, for example 
by an ant script, or with maven and a dependency in pom.xml.

That said, there is a documentation for including javamelody at the Tomcat 
level:
https://code.google.com/p/javamelody/wiki/UserGuideAdvanced#Deployment_on_Tomcat
_without_modification_of_monitored_webapps_%28
But this is beta (something like "not supported"), and there are severe 
limitations which are roughly written in the documentation above.

Is that what you want?

Original comment by evernat@free.fr on 11 Jul 2012 at 5:31

GoogleCodeExporter commented 9 years ago
As you have understood, the supported and easy way is to include javamelody at 
the application level.

Original comment by evernat@free.fr on 11 Jul 2012 at 5:33

GoogleCodeExporter commented 9 years ago
This is what I was looking for.

Original comment by lamccart...@gmail.com on 12 Jul 2012 at 7:39

GoogleCodeExporter commented 9 years ago

Original comment by evernat@free.fr on 12 Jul 2012 at 9:19

GoogleCodeExporter commented 9 years ago
ok, bye

Original comment by evernat@free.fr on 12 Jul 2012 at 9:19