From: SourceForge.net <no...@so...> - 2003-06-20 16:59:06
|
Bugs item #757707, was opened at 2003-06-20 08:13 Message generated for change (Comment added) made by pedronis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=757707&group_id=12867 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: David (theknight2002) Assigned to: Nobody/Anonymous (nobody) Summary: SysPackageManager not working in Weblogic Initial Comment: The big problem I have is that SysPackageManager contains "new File()" everywhere to add packages and classes to the Jython system. I need to make my packages available to the jython scripts. My problem is that I can't make any jars and classes visible to my scripts runninf from my servlet under Weblogic, because Weblogic does not extract the files from the war or ear to the file system, but accesses them inside this war or ear file as a zip file. So this makes it impossible to use the File class of Java. You should use URL's for that, because the resources of weblogic start with "zip:" and files don't I hope this is somewhat clear. ---------------------------------------------------------------------- >Comment By: Samuele Pedroni (pedronis) Date: 2003-06-20 18:59 Message: Logged In: YES user_id=61408 there are semi-endorsed versions of addJarToPackages that take URLs: http://www.jython.org/docs/javadoc/org/python/core/CachedJarsPackageManager.html#addJarToPackages(java.net.URL) That's it for 2.1, with 2.2 things can improve/change. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=757707&group_id=12867 |