Message1401

Author leo_sakaguchi
Recipients
Date 2007-01-23.09:04:46
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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).
History
Date User Action Args
2008-02-20 17:17:40adminlinkissue1642285 messages
2008-02-20 17:17:40admincreate