Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The FlexDeploy distribution contains the following components:

...

Adjust for Windows path if you are installing on Windows platform.

Step 1. Ensure Java

...

11 or 17 is installed on the server.

In this example, JAVA_HOME is /u01/java/jdk1.8.0_281 jdk17 but it can be anything you want. If default java is not version 8, then we will need to adjust for it during Step 7 later. 

...

Step 2. Prepare software

FlexDeploy can be downloaded from the Flexagon Support Site. You will download specific version of FlexDeploy, download file is named Tomcat_Complete-X.X.X.X.zip, where X.X.X.X represents four digit version number.

...

Follow the instructions provided here to connect to Oracle Autonomous databases.

...

Info

If JAVA_HOME is already set in your environment, you can skip this step.

Unix Example - JAVA_HOME=/u01/java/jdk1.8.0_382jdk17

Windows Example - set JAVA_HOME=c:/installs/Java/jdk1.8.0_382jdk17

 If you were also setting JAVA_HOME, this file would look like this.

...

Note

Be sure to download the JDBC driver matching your Oracle Database version and one which is compiled and compatible with JDK8your Java version.  If you download the driver which is compiled with a newer JDK you will get errors on server startup similar to the following:

Code Block
Caused by: java.lang.UnsupportedClassVersionError: oracle/jdbc/OracleClob has been compiled by a more recent version of the Java Runtime 
       (class file version 5459.0), this version of the Java Runtime only recognizes class file versions up to 5257.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

...

Change the following locations: You must put absolute path as no environment variables are allowed in this file.

Linux

  • bolt-path: from <FLEXDEPLOY_HOME>/influxdb/data/influxd.bolt to <FLEXDEPLOY_HOME>/application/vsm/data/influxd.bolt

  • engine-path: from <FLEXDEPLOY_HOME>/influxdb/data/engine to <FLEXDEPLOY_HOME>/application/vsm/data/engine

  • sqlite-path: <FLEXDEPLOY_HOME>/influxdb/data/influxd.sqlite to <FLEXDEPLOY_HOME>/application/vsm/data/influxd.sqlite

...

Note

After starting your server, check the <FLEXDEPLOY_HOME>/apache-tomcat-flexdeploy/logs/flexdeploy.0.log file for the following error message:

  • ORA-12519, TNS:no appropriate service handler found

If present, increase the number of processes for the database

  • Using SQLPlus update processes setting.

    • alter system set processes=200 scope=spfile;

  • Stop Tomcat

  • Restart the XE Database

  • Start Tomcat

...

Child pages (Children Display)
pageFD90:Advanced