On Sun, Oct 28, 2012 at 11:36 AM, Marco de Booij
<marco.develo...@debooy.eu> wrote:

> <?xml version='1.0' encoding='utf-8'?>
> <Server port="8005" shutdown="SHUTDOWN">
>   <Listener className="org.apache.catalina.core.JasperListener" />
>   <Listener
> className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
>   <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
>   <Listener
> className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />

Add <Listener className="org.apache.tomee.catalina.ServerListener" />
to the listeners. As a bonus, it will also check whether or not the
jars are in a good place as the listener is expected to be loaded at
Tomcat's startup.

Jacek

-- 
Jacek Laskowski
Functional languages (Clojure), Java EE, and IBM WebSphere -
http://blog.japila.pl
"Never discourage anyone who continually makes progress, no matter how
slow." Plato

Reply via email to