8 Replies Latest reply on Mar 6, 2012 10:03 AM by John Landells

    Error Starting BLJython

      I'm at customer where we've just upgraded our Windows App Servers from BladeLogic 8.1 to 8.2 and we're now experiencing a strange error in any script that uses Jython.  We can even reproduce the same error when running Jython from the command line.


      Specifically, when we start Jython, we see the following:



      *sys-package-mgr*: processing modified jar, 'D:\BMC\Bladelogic\NSH\br\stdlib\vim25-1.0.jar'

      *sys-package-mgr*: can't write cache file for 'D:\BMC\Bladelogic\NSH\br\stdlib\vim25-1.0.jar'

      Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)

      [Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_24

      Type "help", "copyright", "credits" or "license" for more information.



      Please note that this is the ONLY package that complains so the permissions appear to be correct.  Also, deleting the cache file so that Jython can create a new version still gives the error but the resulting file is always zero bytes!


      I'm aware of the tweak to the config that we can make, but it warns that if any scripts use the .* notation for importing (which some of the scripts here do) it can cause problems!


      Has anyone else come across this?


      Any suggestions how we can fix it?


      Many thanks!