Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Event Listener not initialising

BARBEY Stuart R

2004-05-04


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-class>
  </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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.