Yep thats org.apache.tomee.loader.OpenEJBListener for the install with
tomee webapp
Le 28 oct. 2012 11:26, "Marco de Booij" <[email protected]> a
écrit :

> I added the listener as the first one. When I start tomcat7 it fails
> because it cannot find the ServerListener of tomee. Do I need to add a jar
> from tomee into the classpath of tomcat7? I checked the tomee documentation
> and cannot find a description on how to use the drop-in.
>
> <Server port="8005" shutdown="SHUTDOWN">
>   <Listener className="org.apache.tomee.**catalina.ServerListener" />
>   <Listener className="org.apache.**catalina.core.JasperListener" />
>   <Listener className="org.apache.**catalina.core.**
> JreMemoryLeakPreventionListene**r" />
>   <Listener className="org.apache.**catalina.mbeans.**
> GlobalResourcesLifecycleListen**er" />
>   <Listener className="org.apache.**catalina.core.**
> ThreadLocalLeakPreventionListe**ner" />
>
> WARNING: Catalina.start using conf/server.xml: Error at (24, 68) :
> org.apache.tomee.catalina.**ServerListener
> Oct 28, 2012 11:19:46 AM org.apache.tomcat.util.**digester.Digester
> startElement
> SEVERE: Begin event threw exception
> java.lang.**ClassNotFoundException: org.apache.tomee.catalina.**
> ServerListener
>
> Regards,
>
> Marco
> Op 28-10-12 10:52, Jacek Laskowski schreef:
>
>> On Sun, Oct 28, 2012 at 11:36 AM, Marco de Booij
>> <[email protected]> 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.**JreMemoryLeakPreventionListene**r"
>>> />
>>>    <Listener
>>> className="org.apache.**catalina.mbeans.**GlobalResourcesLifecycleListen
>>> **er" />
>>>    <Listener
>>> className="org.apache.**catalina.core.**ThreadLocalLeakPreventionListe**ner"
>>> />
>>>
>> 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
>>
>>
>

Reply via email to