From: SourceForge.net <no...@so...> - 2007-01-23 09:04:50
|
Bugs item #1642285, was opened at 2007-01-23 18:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1642285&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Leo Sakaguchi (leo_sakaguchi) Assigned to: Nobody/Anonymous (nobody) Summary: Some jar files fail to generate cache Initial Comment: Not all, but some jar files fail to generate cache. For example, following jar is a jar file of WebLogic 9.2: C:\jython-2.2a1>set CLASSPATH=C:\bea\weblogic92\server\lib\webserviceclient.jar C:\jython-2.2a1>jython.bat *sys-package-mgr*: processing new jar, 'C:\bea\weblogic92\server\lib\webserviceclient.jar' *sys-package-mgr*: skipping bad jar, 'C:\bea\weblogic92\server\lib\webserviceclient.jar' Jython 2.2a1 on java1.5.0_06 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> _ Haven't debugged throughly, but it seems that EOFException is happening at the beginning of org.python.core.PackageManager#checkAccess() at line 166 (int magic = istream.readInt()). So a quick fix is that let checkAccess() return -1 when the EOFException happened. After the quick fix, I don't see the "skipping bad jar" error message anymore. I'm not sure webserviceclient.jar is redistributable. In case you want to reproduce, please download WebLogic Platform 9.2 from BEA (http://commerce.bea.com/products/weblogicplatform/weblogic_prod_fam.jsp). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1642285&group_id=12867 |