Hey

Terry Child wrote:
> I did add Castor to jboss\lib\ext , but I also had to add my beans.jar there
> too. I suppose including it with my beans would be another alternative but it
> amounts to the same problem.

Including it with your beans should work. If Castor is loaded with the
EJB classloader and then tries to load your classes by using
Class.forName, this will use the EJB-classloader, so it will work.
However, I don't think it's a good idea to do it this way. For one,
doesn't Castor work with XML files? Well, bundling it with your beans
make it a part of your EJB's, and EJB's aren't supposed to do I/O so...

Anyway, changing the way Castor gets application classes should make it
work properly.

/Rickard

-- 
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to