3 Installing JBASE 4.1 On Linux
3 Installing JBASE 4.1 On Linux
1
On Red Hat Linux
Revision 3.7
14 November 2009
1 OVERVIEW........................................................................................................ 3
2 ASSUMPTIONS AND DEFINITIONS............................................................................. 3
3 PRE-REQUISITES................................................................................................. 3
4 INSTALLATION PROCEDURE FOR JBASE 4.1.5............................................................. 3
4.1 CREATE FOLDER
AND
UNPACK FILES............................................................................3
FROM
OUTSIDE
OF JSHELL........................................................4
5 INSTALL LICENSE................................................................................................ 5
5.1 INSTALL LICENSE KEY............................................................................................ 5
6 SET UP THE JBASE SPOOLER.................................................................................. 6
6.1 CREATE USER.................................................................................................... 6
6.2 ASSIGN PASSWORD...............................................................................................6
6.3 INSTALL .PROFILE FILE...........................................................................................6
6.4 INITIAL CONFIGURATION.........................................................................................7
6.5 WHERE
TO
GO FROM HERE......................................................................................8
231825755.doc
Page 2 of 10
1 Overview
This document details the steps required to install jBASE 4.1.5 on Linux. While jBASE is supposed
to work on almost any Linux distribution, at the time of writing this document Temenos was only
certifying Red Hat Enterprise Linux AS3 to 5 as supported Linux distributions. If this changes in the
future, the instructions below should be okay to follow since they do not contain anything specific
to either aforementioned Red Hat release.
3 Pre-requisites
For security reasons, it is recommended that jBASE database and spooler files are owned by a
special group, only meant for eMerge use (and not for any regular users that might exist on the
server).
To create such a group, e.g. called emerge, use the following command:
[root@dscrht24023 root]# groupadd emerge
231825755.doc
Page 3 of 10
231825755.doc
Page 4 of 10
PATH=$JBCRELEASEDIR/bin:$JBCRELEASEDIR/config:$PATH
export PATH
LD_LIBRARY_PATH=$JBCRELEASEDIR/lib:$JRELIB:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
PATH=$JBCRELEASEDIR/bin:$JBCRELEASEDIR/jdk/jre/bin:$PATH
export PATH
NAVROOT=$JBCRELEASEDIR/jDP
export NAVROOT
LD_LIBRARY_PATH=$JBCRELEASEDIR/jDP/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
5 Install License
5.1 Install License Key
jBASE 4.1, as opposed to version 4.0, has a licensing mechanism that actually works. A license key
is required to operate jBASE. The key is tied to the computer name (hostname) where jBASE runs,
hence a key cannot be used on two systems connected to the same network.
The license key is issued by Temenos. In order to obtain it, Temenos will require the server
hostname. To get this, simply run the hostname command in a shell prompt:
[root@dscrht24023 root]# hostname
dscrht24023
At the time of writing this document, Temenos was issuing a special license key named override
code. This code is to be installed with the jInstallKey tool.
jBASE 4.1 also comes with a license manager service called SLIM (jBASE System LIcense Manager).
This service is managed by the jSlimServer tool, which also manages SLIM licenses. SLIM licenses
have a different format than the override codes, and also they have expiration dates which is not
the case with override codes, which do not expire. Unless instructed differently, do not try to use
the jSlimServer tool to install the license that you were provided, since it will not work. These
notes were provided here only for reference, just in case the licensing procedure will be changed
at some point in the future.
As mentioned above, use jInstallKey to install the license code:
[root@dscrht24023 root]# source /usr/jbc/jbase_env.sh
[root@dscrht24023 root]# jInstallKey
Please ensure that JBCRELEASEDIR is correctly set!
Enter Licence Code: sN+qyPlCd2US+TLfbQPmRTsZhRBExo21
231825755.doc
Page 5 of 10
Saving /usr/jbc/config/system.properties to
/usr/jbc/config/system.properties.old
Licence Code installed successfully.
Alternatively, the key can also be installed directly into the /usr/jbc/config/system.properties file
(by adding a line jruntime.<hostname> = <license> at the end of the file). This is exactly what
jInstallKey does anyway. Here is an example:
[]
#jcompile.optimise=-O2
#jcompile.obj.extension=.o
#
#################################################################
jruntime.license = qP2XhdjqbdbiqzvfDBgPisP3ITiDfhyT
jruntime.dscrht24023 = sN+qyPlCd2US+TLfbQPmRTsZhRBExo21
231825755.doc
Page 6 of 10
export HOME=$PWD
export JBCRELEASEDIR=/usr/jbc
export JBCGLOBALDIR=$JBCRELEASEDIR
export JBCOBJECTLIST=$HOME/lib
export JREDIR=$JBCRELEASEDIR/jdk/jre
export JRELIB=$JBCRELEASEDIR/jdk/jre/lib:
$JBCRELEASEDIR/jdk/jre/lib/platform
export LD_LIBRARY_PATH=$JBCRELEASEDIR/lib:$JRELIB
export JEDIFILEPATH=$HOME
export JBCLISTFILE=$HOME/\&SAVEDLISTS\&
export JBCSPOOLERDIR=/usr/jspooler
export JEDIFILENAME_MD=$HOME/VOC
export JEDIFILENAME_SYSTEM=$JBCRELEASEDIR/src/SYSTEM
export PATH=$JBCRELEASEDIR/bin:$JBCRELEASEDIR/config:$PATH:.:$HOME/bin
export MANPATH=$JBCRELEASEDIR/man
export JBCDEV_BIN=$HOME/bin
export JBCDEV_LIB=$HOME/lib
export JBCBASETMP=$HOME/tmp
export LANG=en_US
export JBCEMULATE=prime
export JBASE_WARNLEVEL=30
export JBASE_INHIBIT_ZERO_USED=1
export JEDIENABLEQ2Q=1
export JBC_UNLOCK_LASTCLOSE=1
exec $JBCRELEASEDIR/bin/jsh Fix ownership and permissions:
[root@dscrht24023 jspooler]# chown jspooler:emerge .profile
[root@dscrht24023 jspooler]# chmod 660 .profile
231825755.doc
Page 7 of 10
Connected directly to the network (IP printer, with its own address) - probable
Installed and shared on a Windows computer, and available through SMB (as a
network share) most likely
Guidance for setting this in CUPS is provided separately (post-installation configuration
docs).
o
Create a form queue in the jBASE spooler, either from the SP-STATUS screen or directly
using SP-CREATE. Using SP-CREATE is really easy for example, for a printer already
installed in CUPS under the name BR1HEADTT the syntax would be:
Tune any other parameters (please refer to the jBASE spooler documentation http://www.jbase.com/support/41docs/jBASE%20spooler.pdf - for more details). It is
suggested to at least set the page skip value to 0 (so that no blank pages are being printed
before print jobs):
Create a new printer in eMerge, in the PRINTER.ID table, referencing the newly created
jBASE form queue (field PRIME.PRINTER.ID), e.g.:
PRINTER.NAME...... BR1HEADTT
------------------------------------------------------------------------1 PRIME.PRINTER.ID.. BR1HEADTT
2 DESCRIPTION....... Head Teller printer Branch 1
It is also to be noted that, while printer daemons (background processes that manage print jobs)
are started automatically for each newly created printer queue (1 daemon per queue), these
daemons are to be started manually if the Red Hat server is restarted. To do this, simply log on as
the jspooler user, and issue REST-SPOOLER:
jsh jspooler ~ -->REST-SPOOLER
Restarting spooler for form queue STANDARD
231825755.doc
Page 8 of 10
231825755.doc
Page 9 of 10
#################################################################
jcompile.ccjbc.options=-w -fexceptions -m32
jcompile.output.file=-m32 -o
jruntime.license = qP2XhdjqbdbiqzvfDBgPisP3ItiDfhyT
jruntime.dscrht24023 = sN+qyPlCd2US+TLfbQPmRTsZhRBExo21
8 Document History
Date
Author
Modifications
21 Aug 06
Lucian Fratila
Created
8 Nov 06
Lucian Fratila
4 Apr 07
Lucian Fratila
8 Jun 07
Lucian Fratila
15 Aug 07
Lucian Fratila
6 Jan 09
Lucian Fratila
30 May 09
Lucian Fratila
26 Aug 09
Lucian Fratila
24 Sep 09
Lucian Fratila
14 Nov 09
Lucian Fratila
14 Nov 09
Lucian Fratila
231825755.doc
Page 10 of 10