Products | Versions |
---|---|
TIBCO ActiveSpaces Transactions | 2.5 |
Follow the steps below to install ActiveSpaces Transactions (AST) 2.5 on Linux with the latest TIBCO Supplement For Oracle Java. This provides a more secure, up-to-date version of Java 8 for use by AST.
$ cd ~/temp/ $ unzip ~/installers/TIB_ast_2.5.11_linux_x86_64.zip $ ./TIBCOUniversalInstaller-lnx-x86-64.bin -console
$ cd /lib64/ $ sudo ln -s libsasl2.so.3.0.0 libsasl2.so.2
$ cd ~/temp/ $ rm -rf * $ unzip ~/installers/TIB_jresplmnt_1.0.0_HF-014_linux_x86_64.zip $ cp ~/tibco/tools/universal_installer/TIBCOUniversalInstaller-lnx-x86-64.bin . $ ./TIBCOUniversalInstaller-lnx-x86-64.bin -console
$ export SW_HOME=~/tibco/ast/2.5.11/ $ export PATH=~/tibco/tibcojre64/1.8.0/bin/:$SW_HOME/distrib/kabira/bin/:$PATH $ export JAVA_HOME=~/tibco/tibcojre64/1.8.0/
$ cd ~/temp/ $ administrator install node Installing application kabira/ast on node myhost01... Starting node myhost01 ... Installing Registry ... Updating Registry ... Installing Components ... Starting Components ... Waiting for security services to start ... Loading Security Policy ... Startup complete Node myhost01 is configured to use PRODUCTION executables Node myhost01 shared memory size is 512Mb Node myhost01 concurrent allocation segments is 4 Node myhost01 path: /home/myuser/temp/myhost01 Node myhost01 host: myhost01 Installing components for application kabira/ast Administration Port: 41920 Service Name: "myhost01" Node Name: "myhost01"
$ administrator adminport=41920 start node Components started Loading configurations Auditing security configuration Host: localhost Administration Port: 41920 Service Name: "myhost01" Node Name: "myhost01"
// $Revision: 1.1.2.1 $ package com.kabira.snippets.vmlifecycle; /** * Using daemon threads * <p> * <h2> Target Nodes</h2> * <ul> * <li> <b>domainnode</b> = A * </ul> */ public class Daemon { /** * Application thread */ public static class MyThread extends Thread { @Override public void run() { try { System.out.println("thread sleeping..."); Thread.sleep(5000); } catch (InterruptedException ex) { // Handle exception } } } /** * Main entry point * @param args Not used */ public static void main(String[] args) { // // Create a new thread // MyThread t = new MyThread(); // // Mark the thread as a daemon thread // t.setDaemon(true); // // Start the thread // t.run(); // // Returning from main - causes the JVM to exit // System.out.println("returning from main"); } }
$ mv Daemon.java ~/classpath/com/kabira/snippets/vmlifecycle/ $ cd ~/classpath/com/kabira/snippets/vmlifecycle/ $ javac Daemon.java
$ export CLASSPATH=~/classpath:$CLASSPATH $ cd ~/temp/ $ java -jar ~/tibco/ast/2.5.11/distrib/kabira/ast/java/deploy.jar \ username=guest password=guest \ hostname=myhost01 \ adminport=41920 \ com.kabira.snippets.vmlifecycle.Daemon