Installation guide

TIBCO ActiveMatrix BPM Installation and Configuration
42
|
Chapter 3 Pre-Installation Tasks
2. Run the following lines from a command shell:
On Windows
set JAVA_HOME=%TIBCO_HOME%\tibcojre\1.6.0
set CLASSPATH=%TIBCO_HOME%\tools\lib\antpackage.jar
set RUN_ANT="%JAVA_HOME%/bin/java" -XX:MaxPermSize=1024m -cp
"%CLASSPATH%" org.apache.tools.ant.Main
set ANT_OPTS=-Xmx1024m -XX:MaxPermSize=1024m -Xms256
On UNIX/Linux
JAVA_HOME=$TIBCO_HOME/tibcojre64/1.6.0
CLASSPATH=$TIBCO_HOME/tools/lib/antpackage.jar
RUN_ANT="$JAVA_HOME/bin/java -XX:MaxPermSize=1024m -cp
$CLASSPATH org.apache.tools.ant.Main"
ANT_OPTS="-Xmx1024m -XX:MaxPermSize=1024m -Xms256"
export JAVA_HOME RUN_ANT ANT_OPTS
3. Before executing CLI scripts from the command prompt, confirm:
—the value of
ANT_OPTS
the version of Apache Ant you are using
4. Invoke Apache Ant from a command line as follows:
On Windows
%RUN_ANT%
On UNIX/Linux
$RUN_ANT
File Descriptors (on Linux)
This only applies to Red Hat Enterprise Linux v5.4 and SUSE Enterprise Linux 11 (64 Bit)
The maximum number of open files/file descriptors that a user can open is
controlled by the operating system. The threshold on Linux is typically too low
and has to be increased. The exact number depends on the features selected
during installation and the size of the workspace but our experience is that 10000
is plenty. You can find out the number on your system by running
ulimit -n
from a terminal window. To increase the max number of files that can be opened:
1. Edit the
/etc/security/limits.conf file and add the following line:
* hard nofile 10000
2. Log out of the system and log back in.
3. On machines on which TIBCO Business Studio is installed, add the following
parameter to your
TIBCOBusinessStudio.ini file.
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner