BeanShellFunctionProvider in WebContainer
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
In order to use the BeanShellFunctionProvider in a Web Container
(tomcat/jboss)
I had to set the interpreter class loader like that:
try {
i = new Interpreter();
i.setClassLoader(Thread.currentThread().getContextClassLoader());
...
} finally {
i.setClassLoader(null);
}
I don't know if the same thing is necessary for the BSFFunctionProvider.
Does anyone tried it in a Web container?
Joachim.
**** DISCLAIMER ****
"This e-mail and any attachments thereto may contain information
which is confidential and/or protected by intellectual property
rights and are intended for the sole use of the recipient(s) named above.
Any use of the information contained herein (including, but not limited to,
total or partial reproduction, communication or distribution in any form)
by persons other than the designated recipient(s) is prohibited.
If you have received this e-mail in error, please notify the sender either
by telephone or by e-mail and delete the material from any computer.
Thank you for your cooperation."
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com