Real world Ubuntu server experience
Despite being a FreeBSD and Solaris advocate, I always give a shot to major Linux distros. My friends will be also surprised to know that I have a secret Linux server, running Ubuntu Server to test Linux specific applications. I always enjoy using apt-get and aptitude for package management and the way it handles dependencies. In fact, the way Debian/Ubuntu handles packages is putting RPM far behind.
I was loving Ubuntu until someone asked my to setup Tomcat which was a complete failure.
I did a simple sudo aptitude install tomcat5 and everything installed and Tomcat started momentarily. While testing the server, I realized it is taking too long to run application. Using top I figured out Java process was taking 100% of my CPU. I did everything I know and I couldn’t fix the issue. So I decided to give it a try on my FreeBSD dev box and see if it shows the same behavior.
Installing on FreeBSD was as easy as running portupgrade -r tomcat. Everything went smoothly (except manually downloading Java binaries which is always a PITA). Then I started tomcat server and put applications in appropriate directories and “that’s all folks”. You can guess everything worked just fine without any glitches.
So I decided to stay with FreeBSD for server stuff and keep the Ubuntu to play and see what Linux people are doing.
update 1: I did not provide enough information about my setup. I was running Dapper Drake + Kaffe. To me, it is highly unlikely that Java is totally broken in this stable release. So perhaps there was something wrong with my setup. But “Kafe” is what aptitude suggested when I was installing “Tomcat”. So I thought this setup should be fine.
update 2: My blog commenting system was totally messed up. It should be working now. Thanks to Masoud for pointing this out.
One Response to Real world Ubuntu server experience
Archives
- July 2011
- December 2010
- September 2010
- May 2009
- April 2009
- February 2009
- September 2008
- April 2008
- February 2008
- January 2008
- November 2007
- October 2007
- August 2007
- July 2007
- May 2007
- February 2007
- December 2006
- October 2006
- September 2006
- April 2006
- March 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- January 2005
- December 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003




ubuntu java5
تقریبا یک سالی میشود که برای کارهای دسکتاپی و به ویژه برنامه نویسی برنامههای جاوا از اوبونتو استفاده میکنم، و باید اعتراف کنم که جاوا