Howdy,
The compiled class files for your event listener should be under
WEB-INF/lib (if jarred) or WEB-INF/classes (if unpacked).  This is a
simple ClassNotFoundException.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: BARBEY Stuart R [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, May 04, 2004 3:32 AM
>To: '[EMAIL PROTECTED]'
>Subject: Event Listener not initialising
>
>Hi all,
>
>I'm using Tomcat 5.0.19 and I'm trying to implement an application
listener
>class but I'm getting the following error when I restart Tomcat:
>
>2004-05-04 17:21:49 StandardContext[/servlets-examples]ContextListener:
>contextInitialized()
>2004-05-04 17:21:49 StandardContext[/servlets-examples]SessionListener:
>contextInitialized()
>2004-05-04 17:21:51 StandardContext[/webscats]Error configuring
application
>listener of class CorbaConnections.ApplicationEventListener
>java.lang.ClassNotFoundException:
CorbaConnections.ApplicationEventListener
>
>My web.xml defines the listener class:
>
><?xml version="1.0" encoding="ISO-8859-1"?>
>
><web-app xmlns="http://java.sun.com/xml/ns/j2ee";
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
>    version="2.4">
>
>    <!-- Define event listeners -->
>
>    <listener>
>
><listener-class>CorbaConnections.ApplicationEventListener</listener-cla
ss>
>    </listener>
>
>    <!-- Define servlets -->
>
>etc ....
>
>Can anyone explain why my event listener is failing to initialise?
>
>Thanks
>
>Stuart.
>
>
>IMPORTANT NOTICE: This e-mail and any attachment to it are intended
only to
>be read or used by the named addressee. It is confidential and may
contain
>legally privileged information. No confidentiality or privilege is
waived
>or lost by any mistaken transmission to you. The RTA is not responsible
for
>any unauthorised alterations to this e-mail or attachment to it. Views
>expressed in this message are those of the individual sender, and are
not
>necessarily the views of the RTA. If you receive this e-mail in error,
>please immediately delete it from your system and notify the sender.
You
>must not disclose, copy or use any part of this e-mail if you are not
the
>intended recipient.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to