cangwolf / javamelody

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

Quartz Shutdown problem #296

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First I like to say thank you for such a us full tool.
I am using javamelody with spring and tomcat 7. All works fine.
Then I added the quartz dependency. Now javamelody starts quartz. The biggest 
Problem is that the initialized quartz not stops after the tomcat shutdown 
command. The next problem is that I donut like to use the javamelody quartz 
default configuration. I can see in the thread dump that there is a quartz 
thread pool from javamelody and my quartz thread pool.

Regards Philipp

Original issue reported on code.google.com by PhilippBolle on 28 Mar 2013 at 10:03

GoogleCodeExporter commented 9 years ago
See 
https://code.google.com/p/javamelody/wiki/UserGuide?tm=6#13._Batch_jobs_%28if_Qu
artz%29

In order to add the quartz-default-listener-disabled parameter, see
https://code.google.com/p/javamelody/wiki/UserGuide?tm=6#6._Optional_parameters

For example, write the MonitoringFilter in web.xml like this:
        <filter>
                <filter-name>monitoring</filter-name>
                <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
                <init-param>
                        <param-name>quartz-default-listener-disabled</param-name>
                        <param-value>true</param-value>
                </init-param>
        </filter>

Thanks

Original comment by evernat@free.fr on 28 Mar 2013 at 11:18

GoogleCodeExporter commented 9 years ago
Thank you for your answer.
It works.
Regards Philipp

Original comment by PhilippBolle on 31 Mar 2013 at 12:40

GoogleCodeExporter commented 9 years ago
ok

Original comment by evernat@free.fr on 31 Mar 2013 at 12:48