A small reminder to myself that a default installation of CentOS 5.3 does not, by default, include the Compat packages. The effect this has on Web Server is an installation that appears to have succeeded (bits are laid down on disk), but is completely unconfigured (no default instance or Admin instance are created). Re-running the installation and actually reading the screens shows an error:
Product Status Information 1. Sun Java System Web Server Configuration Failed View log file
Looking at the error logs shows this:
FINEST: Checking availability of common tokens... Apr 21, 2009 5:10:35 AM com.sun.web.admin.configurator.ConfigureServer main WARNING: /opt/webserver/lib/libadminjni.so: libstdc++.so.5: cannot open shared object file: No such file or directory java.lang.UnsatisfiedLinkError: /opt/webserver/lib/libadminjni.so: libstdc++.so. 5: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
What this means is that the Web Server installer (or the post install configuration utility) has a dependency on libstdc++.so.5. CentOS 5.3 provides this in the not-installed-by-default compat-libstdc++-33 package. Install that package:
yum -y install compat-libstdc++-33
and then re-run the Web Server installer. All will now work.
Update: It seems worth noting that this compat lib appears needed to run the server as well, not just the installer. So, hey. FYI.