I am having a problem when trying to deploy a WAR or EAR which uses the BeanShell engine. I get a variety of errors, most notably IllegalAccessException errors which indicate that some classloader is trying to load BeanShell engine classes from two different JARs. The only solution I have come up with for the moment is to remove the BeanShell JAR from the server/default/lib directory, however this seems like an ugly hack. Is there a more appropriate way to fix this so that I can use BeanShell in my WARs and EARs? Thanks.
Turn off j2ee classloadng compliance if you want to
override jboss jars with your own versions in the web app.
Regards,
Adrian