Friday July 10, 2009 Installing Sun Java System Web Server 7.0 on CentOS 5.3 or Fedora 10-11 or Ubuntu
In my free time, I just tried out Sun Java System Web Server 7.0 update 5 on CentOS 5.3 and Fedora10 and 11 and Ubuntu. Joe has also written a similar blog on this
Download Sun Java System Web Server 7.0 for Linux from http://www.sun.com/download/index.jsp?cat=Web%20%26%20Proxy%20Servers&tab=3&subcat=Web%20Servers and extract the contents of tar.gz file
$gunzip sjsws-7_0u5-linux-i586.tar.gz; tar -xvf sjsws-7_0u5-linux-i586.tar
Run installer, it will fail
$./setup
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
$sudo yum -y install compat-libstdc++-33
Now run setup, it will work fine.
$sudo yum -y install compat-libstdc++-33
There is one more problem in Fedora 11 but is fixed in 7.0 update 6.
If you get error message like
lib/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib64/libcrypt.so.1)
You need workaround as given in http://forums.sun.com/thread.jspa?messageID=10769043#10769043
You need to install libstdc++5 as shown below
$sudo apt-get install libstdc++5
If you get an error which has something that looks like /bin/domainname not found, you need to install
$sudo apt-get install nis
I have tested on Ubuntu 9.04.
*Note that Sun Java System Web Server 7.0 update 5 or 6 is not officially certified or supported on CentOS or Fedora or Ubuntu, but here's how you can make it work.
http://wikis.sun.com/display/WebServer/Installing+on+Ubuntu
http://jmccabe.org/blog/CentOS_WebServer_Install
http://blogs.sun.com/kkranz/entry/installing_sun_java_system_web
http://ubuntuforums.org/showthread.php?t=855603
Posted by meena ( Jul 10 2009, 06:48:32 PM IST ) Permalink Comments [2]This blog copyright 2009 by meena
Hi,
While I have been running WS7 on Ubuntu for a while now (8.04, 8.10, & 9.04) I am unable to get it to run on 9.10 (Karmic Koala). There is no libstdc++5 available - this version only has libstdc++6. Have you been able to find a work-around?
Thanks!
Posted by Bill Korb on November 09, 2009 at 08:05 AM IST #
Please report all Sun Web Server related problems in Web Server forum http://forums.sun.com/forum.jspa?forumID=759
Lets discuss this issue in http://forums.sun.com/thread.jspa?threadID=5415159&tstart=0
Posted by Meena on November 09, 2009 at 03:26 PM IST #