A thread I started about
LiveSite on zLinux has unearthed some useful information about running LSDS on WAS, which I wanted to separate out... :
If you are using WAS (I am assuming this since you are looking at the IBM linux distro), you should have an admin that is familiar with their configuration (WAS is far from trivial to configure and tune); WAS which uses their own version of common open source libraries which have been branched by IBM and no longer fully compatible (Xalan, Xerces, et al), so extra configuration steps are required to make sure the correct open source libraries are visible to the WAR (PARENT_LAST must be set at the very least) and IBM ones are not picked up (since they removed Serialization from their version for some odd reason and prevent the caches from working). Another issue is with logging, WAS uses their own version of log4j which again is not compatible with open source version and you have to configure logging to correctly get it to work (we have a document that explains this so it is something to be aware of).
Another issue you should be aware of with WAS is that when it starts it uses roughly 400MB of RAM without anything loaded, so you will need to size memory on the high side to account for this (there are a lot of "services" included with WAS that you may or may not need but they get loaded anyways). |
PS: I was very interested by your comments on IBM modifications of Open Source packages etc. Even though we strictly followed the install guide when installing LSDS 7.1 on WAS 7.0 (ls_71_runtime_install_v01_en.pdf), I'm noticing several java.io.NotSerializableException messages in the logs (in code called by org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache). I guess I may need to make a separate post about that. |
NotSerializable is the result of IBM libraries loaded before open source ones, you must have PARENT_LAST set on the classloader config for things to work. |
As I said, we strictly followed the install guide when installing LSDS 7.1 on WAS 7.0 (ls_71_runtime_install_v01_en.pdf), and on p.82 it says: "
Choose Parent First from the Class loader mode drop-down list.". (while the screenshot shows the dropdown with Parent Last highlighted)
switching to
Parent Last seems to have resolved our NotSerializable errors in stdout log.