Date: Fri, 29 Mar 2024 05:23:22 +0000 (UTC) Message-ID: <903278547.39.1711689802680@6815902aa605> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_38_198014826.1711689802679" ------=_Part_38_198014826.1711689802679 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
FlexDeploy provides a file distribution for Tomcat which = simplifies the installation process. This distribution contains Tomca= t, the FlexDeploy WAR, and the base configurations, leaving only a few simp= le steps to complete the install. The distribution contains the following c= omponents.
If you wish to use an ex= isting Tomcat server, or to use a different version of Tomcat other than 8.= 5.11, please see Install= ing FlexDeploy on existing Tomcat.
Setup the database for FlexDeploy, if you not already done so.
<=
br>
Modify Tomcat configuration file (context.x=
ml) for database connectivity.
<FlexDeploy Home>/apac=
he-tomcat-flexdeploy/conf/context.xml
Replace **CONNECT_STRING** with JDBC connect string of your databa=
se containing the FlexDeploy schemas.
Replace **FD_ADMIN_PASSWORD** with the password of the FD_ADMIN da=
tabase user. You would have supplied password when you ran Database install=
ation scripts.(
localhost XE connection will look like this. jdbc:oracle:thin:@localhost= :1521:XE
SID based JDBC URL Syntax - jdbc:oracle:thin:@HOSTNAME:PORT:SID
Service Name based JDBC URL Syntax - jdbc:oracle:thin:@//HOSTNAME:PORT/S= ERVICENAME
(Optional) Modify Tomcat server.xml for por=
t if necessary.
<FlexDeploy Home>/apache=
-tomcat-flexdeploy/conf/server.xml
By default, the Tomcat server is configured to run on port 8000. If this po=
rt is in use, change to some other unused port. Search for
There are other ports referenced in the ser=
ver.xml file as well. If the logs contain a port in use error, you can find=
the open ports on your machine and then search this file for ports that yo=
u find are in use and change them.
(Optional) Modify Tomcat Environment script=
(setenv.sh or setenv.bat) for FlexDeploy server side directories.
<=
/p>
If you are setting up FlexDeploy for Trial purposes, it is good idea to = leave directories as default, but
if you are setting up FlexDeploy for production use, then we recommend t= o modify to use directory structure outside of FlexDeploy installation.
<FlexDeploy Home>/apache-tomcat-flexdeploy/bin/setenv.sh (setenv.bat on w=
indows)
Configure -Dflexagon.fd.install.root with directory to use=
as the FlexDeploy working directory (See Create Folders for FlexDeploy Server - FlexDeploy Working Directo=
ry)
Configure -Dflexagon.fd.repository.root with the dire=
ctory to host the FlexDeploy artifact repository (See Create Folders for FlexDeploy Server - FlexDeploy Artif=
act Repository)
Below are default artifact and working dire= ctories created under FlexDeploy Home when you extracted zip file. If you w= ant to use different directories then modify setevn.sh or setenv.bat file, = otherwise skip this step.
Default setenv.bat is shown below.
<=
/p>
Here is example of setenv.bat which is modified to use non-default folders.=
Modify Tomcat Environment script (setenv.sh= or setenv.bat) for JAVA_HOME.
Even when JAVA_HOME is already set in your environment, it would be a go= od idea to set it in this file (setenv.sh or setenv.bat) as well.
Unix Example - export JAVA_HOME=3D/u01/java/jdk1.8.0_121
Windows Example - set JAVA_HOME=3Dc:/installs/Java/jdk1.8.0_121
If you were also setting JAVA_HOME, t= his file would look like this.
ADF Essentials comes with the JDBC driver f= or Oracle 11g database (ojdbc6dms.jar). If you are using Oracle 12c databas= e, you can download the driver (ojdbc7.jar) from the Oracle Technology Netw= ork site at Oracle = 12c drivers. Delete ojdbc6dms.jar from <FlexDeploy = ;Home>/apache-tomcat-flexdeploy/lib and place = ojdbc7.jar in that same folder.
If adding another JDBC driver, be sure to remove the default one which c= omes with the ADF Essentials libraries (ojdbc6dms.jar). If you leave = multiple JDBC drivers in the lib folder, you could encounter the following = exception on startup:
java.lang.SecurityException: sealing violation: package oracle.j= dbc is sealed
&nbs= p; at java.net.URLClassLoader.getAndVerifyPackage(Unk= nown Source)
&nbs= p; at java.net.URLClassLoader.definePackageInternal(U= nknown Source)
&nbs= p; at java.net.URLClassLoader.defineClass(Unknown Sou= rce)
&nbs= p; at java.net.URLClassLoader.access$100(Unknown Sour= ce)
&nbs= p; at java.net.URLClassLoader$1.run(Unknown Source)= strong>
<FlexDeploy Home>/apache-tomc=
at-flexdeploy/bin/startup.sh (startup.bat on Windows)
=
Note for Oracle XE Database