Friday, September 11th, 2009
In one of my previous post I have talked about python.cachedir and how it may cause some errors during WLST/Jython initialization.
With WebLogic 11g Oracle has upgraded the Jython Version from 2.1 to 2.2 (see my post here), which opens up yet another way of getting rid of these errors. In fact you can get rid of the cachedir entirely by starting WLST with -Dpython.cachedir.skip=true, this will instruct Jython not to create the CacheDir.
I haven’t done extensive testing with this option but so far I haven’t seen any issues by not creating this cachedir.
Tags: cachedir, jython, WebLogic 11g, wlst
Posted in 11g, WebLogic, jython, python, weblogic server, wlst | 1 Comment »
Tuesday, August 4th, 2009
While starting WLST or for that matter Jython, you might have seen this annoying error message,
*sys-package-mgr*: can’t create package cache dir, ‘/tmp/cachedir/packages’
Traceback (innermost last):
File “<iostream>”, line 12, in ?
ImportError: no module named java
(more…)
Tags: /var/tmp, cachedir, ImportError, java, jython, python, sys-package-mgr, wlst
Posted in WebLogic, java, jython, jython syntax, python, wlst | 2 Comments »