Your classes should be in WEB-INF/classes if they are not in a .jar
-Yoav
-----Original Message-----
From: Chris Wilson [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 3:50 PM
To: [EMAIL PROTECTED]
Subject: what classloader is used for ServletContextListener
hello,
i attempting to create and store a reference to an ejb in my servlet
context. i am implementing ServletContextListener so that the reference
will be created when the container starts up and be available for subsequent
servlets/ejb's etc.
i moved the initialization code out of a servlet that was doing the work,
however when i start up tomcat, i get an exception saying that some of my
classes can't be found. i have all the needed classes in my WEB-INF/lib
directory, and like i said, it was working in a servlet. my question is,
are the ServletContextListeners configured for a web app loaded under a
different classloader than runs the target web app? if so, where do i need
to place the classes for them to work?
thanks!
chris
| chris wilson || web dev ||| [EMAIL PROTECTED] || | www.wondergeek.com |
|
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]