Rickard �berg wrote:
>This is due to a bug in Castor. Libraries such as Castor need to take
>into consideration the context in which they are used. When it comes to
>classloading they must use the classloader provided by
>Thread.getContextClassLoader(), and load classes from there.
>When this is fixed in Castor you should be able to add Castor to jBoss'
>lib/ext, and not include it with your beans. When you use Castor from
>within your beans, Castor should then be able to access your classes
>which are loaded by the EJB classloader, which is set as the context
>classloader.
Rickard,
Thanks for the reply. I'll post it to castor-dev as requested.
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.
Cheers
Terry Child
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]