In order to deploy Tersus applications you must first set up a deployment environment which includes the following components:
Once a deployment environment has been set up, you may deploy your tersus applications by copying your project from the studio environment to the server environment and creating an application-specific context file.
Versions tested: 8
Install JavaMail Versions tested: 1.6 Go to the JavaMail API page Click the Download JavaMail Release link Click the javax.mail.jar link to download the jar file Copy javax.mail.jar to [JRE root]/lib/ext. Install Java Advanced Imaging (JAI) API Versions tested: 1.1.2_01 Go to the Java Media APIs page Click on the Java Advanced Imaging link Click on the Java Advanced Imaging API 1.1.2_01 link Locate the CLASSPATH Install matching your platform (for Mac OSX, use the the Linux version), and click the download link next to it Accept the license agreement Press the Download button Sign in if prompted Execute or extract the download and copy the contents of the lib/ subdirectory (JARs and DLLs/SOs) to [JRE root]/lib/ext.
Versions tested: 1.6
Versions tested: 1.1.2_01
Versions tested: 7.0.x
Windows-specific instructions: By default, the installer will install & start the Apache Tomcat service and load the Monitor Tomcat utility. To configure the Apache Tomcat service to start automatically at boot, do the following: Double-click the Apache Tomcat icon in the Windows taskbar notification area, to open the Apache Tomcat Properties window. In the General tab, set the Startup type to Automatic, and click OK. Verify that the installation was completed successfully by pointing a local browser at http://localhost:8080; this should open the default Tomcat home page. Note that the Tomcat Monitor utility (displaying the Apache Tomcat notification area icon) is not required for regular operation of the Apache Tomcat service. You will want to keep it running while you perform the following steps, but once deployment is complete you may close it by right-clicking the icon, and selecting Exit.
By default, the installer will install & start the Apache Tomcat service and load the Monitor Tomcat utility.
To configure the Apache Tomcat service to start automatically at boot, do the following:
Note that the Tomcat Monitor utility (displaying the Apache Tomcat notification area icon) is not required for regular operation of the Apache Tomcat service. You will want to keep it running while you perform the following steps, but once deployment is complete you may close it by right-clicking the icon, and selecting Exit.
Tersus supports any of the database servers listed below.
If you do not know which database server to install, we suggest installing HSQLDB, as it is a lightweight, pure-Java, open-source database engine, which is actually used by Tersus Studio's embedded application server. Deploying HSQLDB is as simple as copying a single jar file (which comprises both the server and driver), and will allow you to deploy the application together with the data entered while testing the application in Tersus Studio's embedded application server.
Notes:
HSQLDB Database Server and Driver Download (Also available in [Tersus Server root]/WEB-INF/lib/) Versions tested: 2.0 To install, extract the downloaded archive and copy hsqldb/lib/hsqldb.jar to [Tomcat root]/lib (or [JRE root]/lib/ext). PostgreSQL Database Server Download Version tested: 8.3 To install follow the PostgreSQL installation instructions available in the relevant download page for your platform. Driver (PosgtreSQL JDBC 3) Download (also available in [Tersus Server root]/WEB-INF/lib/) Version tested: 8.1 (newer versions are not currently supported). To install, copy postgresql-8.1-[nnn].jdbc3.jar to [Tomcat root]/lib (or [JRE root]/lib/ext). MySQL Database Server Download Versions tested: 5.0.51 To install follow the MySQL installation instructions available in the MySQL Documentation pages. Driver (MySQL Connector/J) Download Version tested: 3.1.8a To install, extract the Connector/J archive and copy mysql-connector-java-3.1.8/mysql-connector-java-3.1.8-bin.jar to [Tomcat root]/lib (or [JRE root]/lib/ext).
Download (Also available in [Tersus Server root]/WEB-INF/lib/)
Versions tested: 2.0
To install, extract the downloaded archive and copy hsqldb/lib/hsqldb.jar to [Tomcat root]/lib (or [JRE root]/lib/ext).
Download
Version tested: 8.3
To install follow the PostgreSQL installation instructions available in the relevant download page for your platform.
Download (also available in [Tersus Server root]/WEB-INF/lib/)
Version tested: 8.1 (newer versions are not currently supported).
To install, copy postgresql-8.1-[nnn].jdbc3.jar to [Tomcat root]/lib (or [JRE root]/lib/ext).
Versions tested: 5.0.51
To install follow the MySQL installation instructions available in the MySQL Documentation pages.
Version tested: 3.1.8a
To install, extract the Connector/J archive and copy mysql-connector-java-3.1.8/mysql-connector-java-3.1.8-bin.jar to [Tomcat root]/lib (or [JRE root]/lib/ext).
First, make sure the server version matches your development environment version.
To install the server, extract the contents of the server archive into an empty directory. The recommended location is: /tersus-server/
Make a note of the installation directory, we shall refer to it later as [Tersus Server root].
The Tersus Server components are configured by default to enforce Tomcat BASIC authentication of users. If the application you are deploying does not require authentication (i.e., it does not use the Authorization module - see the note below), you should do the following:
Once the deployment environment is set up, you may deploy multiple applications by copying them from the studio to the server environment, and creating an application-specific context file for each.
The application project files are located by default on your development machine in [Tersus Studio root]/workspace/[Application Project name]/. We shall refer to this location as [Application Development root].
Create a new directory on your deployment server. The recommeded location is: /tersus-applications/[Application Project name]/. We shall refer to this location as [Application Deployment root].
Copy the following files and driectories from [Application Development root] to [Application Deployment root]:
The application context file is an XML file which specifies various parameters required by Tomcat in order to be able to load the application.
You can use this application to create a context file, or download the application context file template from here, and replace the parameters (which are in the format ${parameter_name}) as follows:
If your application does not implement basic/tomcat authentication, the <Realm…/> element at the end of the file, should be removed or commented out (surrounding it with <!-- and -->).
Name the application context file created in the previous step ${Application_Name}.XML and save it to [Tomcat root]/conf/Catalina/localhost/.
In order to simplify deployment, this document makes use of installation defaults which are well known. Once basic deployment is complete, these defaults should be addressed in order to improve performance and secure your applications.
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" compression="on|force" compressableMimeTypes="text/html, text/xml,text/plain,text/javascript,text/css"compressionMinSize="2048" noCompressionUserAgents="gozilla, traviata" />
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign