File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Listener Classloading Scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Listener Classloading Scope" Watch "Listener Classloading Scope" New topic
Author

Listener Classloading Scope

Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Is there some crazy rule that changes the classloading rules for a listener?

I have a ServletContextListener that gets a ClassNotFoundException when it tries to instantiate an object. However, if I implement the same thing as a Struts plugin, it works just fine--with absolutely no changes to the code.

I'm not sure if what I'm observing is a spec issue, or a WAS issue. Thanks for any thoughts.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
 
subject: Listener Classloading Scope
 
Similar Threads
Fixing the dreaded ClassCastException
RichFaces with Seam and Websphere
Error while migrating
unmarshal exception
RAD6 - NoClassDefFoundError