On Tue, 2002-06-18 at 18:34, s s wrote: > > When trying to run it inside of an EJB (Session bean) I get the following > exception (below). I have tried many things but I am not sure how to fix > this problem since it works in my standalone application. > > > java.lang.ClassCastException: org.jdom.Document > at
This smells like a ClassLoader problem. This depends on two things: 1) How you configured your classpath for your EJB project as well as the classpath of the EAR that contains the EJB project (if you use EAR files) 2) The classpath settings of your application server. Those are highly vendor-specific. If you could tell which application server you are using and how you configured your EJB/EAR classpaths, I might be able to help (I'm most familiar with the Websphere application server), otherwise mailing your question to a list about JDom, EJB's or your specific application server may be useful. Erwin ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest