aspose 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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Listener Classloading Scope