installing jboss eap 4 3 on red hat 5 3

December 2009 ยท 1 minute read



Create jboss user

~# adduser jboss && passwd jboss

Update ~/.bashrc

#JAVA Settings
export JAVA_HOME=/usr/java/latest
export PATH=$JAVA_HOME/bin:$PATH

#JBOSS Settings export JBOSS_HOME=/home/jboss/EnterprisePlatform-4.3.0.GA_CP07/jboss-as export JAVAPTH=$JAVA_HOME/bin export JBOSS_CONF=default export JBOSS_HOST=“”

Install JBoss eap

~$ java -jar enterprise-installer-4.3.0.GA_CP07.jar
Follow the graphic installer and complete the installation.

Set up as service

As root:
ln -s /home/jboss/EnterprisePlatform-4.3.0.GA_CP07/jboss-as/bin/ jboss
ln -s /etc/rc.d/init.d/jboss /etc/rc3.d/S84jboss
ln -s /etc/rc.d/init.d/jboss /etc/rc5.d/S84jboss
ln -s /etc/rc.d/init.d/jboss /etc/rc4.d/S84jboss
ln -s /etc/rc.d/init.d/jboss /etc/rc6.d/K15jboss
ln -s /etc/rc.d/init.d/jboss /etc/rc0.d/K15jboss
ln -s /etc/rc.d/init.d/jboss /etc/rc1.d/K15jboss
ln -s /etc/rc.d/init.d/jboss /etc/rc2.d/K15jboss

Edit the $JBOSS_HOME/bin/ to allow loading the user profile:

#Add this line before any script content
. /home/jboss/.bashrc


As root:
~# service jboss start

Now JBoss should be available at: http://YOUR_ADDRESS:8080

comments powered by Disqus