Jaas - Setting the JBOSS_HOME variable6.1. Setting the JBOSS_HOME variable in Linux. Before you can run the JBoss Application Server, you need to ensure that you've configured the JBOSS_HOME environment variable in your .bashrc file as follows. In this example the Application Server folder has beeen copied to the /usr/jboss/jboss-
[user@localhost ~]$ gedit .bashrc
# Source global definitions if [ -f /etc/bashrc ]; then /etc/bashrc fi ...... # User specific aliases and functions # The following are the environment variables for Java, ANT and JBoss export JAVA_HOME=/usr/java/jdk1.6.0_07 export PATH=$PATH:$JAVA_HOME/bin export ANT_HOME=/usr/ant/apache-ant-1.6.0 export PATH=$PATH:$ANT_HOME/bin export JBOSS_HOME=/usr/jboss/jboss-<release> export PATH=$PATH:$JBOSS_HOME/bin To implement your .bashrc file changes run the following command.
[user@localhost ~]$ source .bashrc
[user@localhost ~]$ If no errors are displayed on your terminal, you are now ready to run your JBoss Application Server. 6.2. Setting the JBOSS_HOME variable in Windows.
|