I have successfully had a Stateless Session EJB make a call to an embedded Jython script, which imported and cached everything it needed from the System Classpath.

Unfortunately, my Classpath grew very large and a decision was made to deploy our software in an EAR.  All J2EE components are working properly by loading the classes they need from the EAR.  However, Jython is not recognizing anything in the EAR ... only the Jars in the System Classpath (which is now very small).

Do you know how to instruct Jython to use the EAR classloader and inherit its internal classpath?  By the way, I am using the Apache BSF (Bean Scripting Framework) to abstract the JythonInterpreter from my Java code.  Thanks in advance.

Erik Klein

The information in this e-mail, and any attachment therein, is confidential and for use by the addressee only. If you are not the intended recipient, please return the e-mail to the sender and delete it from your computer. Although The Bank of New York attempts to sweep e-mail and attachments for viruses, it does not guarantee that either are virus-free and accepts no liability for any damage sustained as a result of viruses.