
On the client site when working on Java (or should I say JEE) projects, the application servers are most of the time “rotate” between these four: JBoss, Websphere, Weblogic, and someties Geronimo. However there are some clients who have pretty tight contracts with Sun, and in these cases the Sun Application Server is used.
I think now days in development world in general, well except maybe .NET part of it, Ubuntu and/or Mac OS slowly become OSs of choice for developers. Sun app server however is not the most used app server out there, and since its installation could be a bit non-straightforward, here are four simple steps on how to install it on Ubuntu box:
Step 1. Download the “.bin” form sun:
“Sun Java System Application Server”
http://java.sun.com/j2ee/1.4/download.html (I needed 8.2, but there are more recent ones)
Step 2. Change permissions, to make it runnable:
chmod 744 sjsas_pe-8_2-linux.bin
Step 3. If you just run it:
./sjsas_pe-8_2-linux.bin
It is going to complaint that it is missing a standard c++ library:
./sjsas_pe-8_2-linux.bin: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
Having done some “apt-cache” searches ( apt-cache search libstdc++ ), found that Ubuntu has “libstdc++.so.6″ in /usr/lib.
From /usr/lib run:
sudo ln -s libstdc++.so.6 libstdc++-libc6.2-2.so.3
Step 4. Run it now, it will install Sun App Server successfully! * **
* Do not run installation as root – it will fail (for most sun app servers versions)
** If you use any form of Beryl (or some Compiz’es), disable it, or reload window manager as a “Gnome Manager”. This is due to the fact the the installer is written in Swing, and Swing does not get along too well with some display managers.
Thanks man! work great.
Perfect. Thanks!
perfectly installed at ubuntu 9.04 jaunty. thanx
Tanks
I was able to install this in UBUNTU 9.04. This is really a great help. Thank you for the help!