|
From: Lieyong Fu <LF...@Ce...> - 2001-11-12 18:42:20
|
I'm embeding Jython script into my Java class. The interesting thing is that my Java class "live in" the context of BEA Weblogic Server Domain. To be specific, My classes are Session EJB beans. I.e. I'm embeding Jython from Session EJB beans. The problem I'm having is that I can not import Javax Classes like Javax.naming.NamingException in the Jython which would have been OK had I embeded the same Jython from a stand alone Java class (run the java class from java command and give it a proper CLASSPATH) I think the problem is that I need to programatically set the CLASSPATH for Jython but I don't know yet how. Any help will be highly appreciated. Thanks, Lieyong |