Fastcloud’s Blog


How to install SPECjAppServer2004 on Fedora 8 (JBoss and MySQL)

Last update: August 25, 2009
Installing the SPECjAppServer benchmark software is not trivial. There are a lot of obstacles and the installation and configuration on fedora is really painful. I spent about 14 man-days on this installation – please don’t underestimate the setup!

Goals:
Since I’ve spent a huge amount of time on this installation, this howto mainly aims to preserve my experiences for myself. But if you find it useful you’re invited to use it. This howto shows how to install the SPECjAppServer2004 V.1.08 on a distributed system under test (SUT) with the following components:
– The main application (SPECjAppServer2004 V.1.08) will run on JBoss 4.0.5 GA
– The database will be hosted on a MySQL 5.1 database server
– The emulator (which isn’t actually part of the SUT) will run on Tomcat 6.0.18
All systems will run Fedora Core 8. We’ll use Sun’s JDK 6 Update 13.
(more…)

Comments Off on How to install SPECjAppServer2004 on Fedora 8 (JBoss and MySQL)

How to install apache ant on Fedora 8

If you just want to run ant, install it using yum:

yum install ant

But if you need to execute the optional ant tasks like scp, junit, etc. you need to “install” ant manually. Please make sure that a java runtime is installed and the variable JAVA_HOME points to the root directory of the java installation.

Save this script as “install-ant.sh” and execute it as root:
yum install wget
cd /tmp
wget http://ftp.uni-erlangen.de/pub/mirrors/apache/ant/binaries/apache-ant-1.7.1-bin.tar.gz
tar xfz apache-ant-1.7.1-bin.tar.gz
mkdir /usr/share/ant
cp -r -f apache-ant-1.7.1/* /usr/share/ant/
export ANT_HOME=/usr/share/ant/
export PATH=$PATH:$ANT_HOME/bin
echo"
export ANT_HOME=/usr/share/ant
export PATH=$PATH:$ANT_HOME/bin:$JDK_HOME/bin
" >> /etc/profile
echo "apache ant has been installed."
exit;

If the script fails to download the tarball visit http://ant.apache.org/bindownload.cgi , coose another mirror and replace the url in the script above.

Comments Off on How to install apache ant on Fedora 8