P.3 Configuring Web Application Server
This section describes how to configure the Web Application Server.
This section describes the changes to be made in the Web application server. Following are the two options to perform Web application server Configurations which are listed as follows:
- Upgrade the existing Web application server installation to Java 8
- Install a new instance of the Web application server with Java 8
Upgrading Oracle WebLogic Server
- Navigate to <WLS_HOME>/Middleware/Oracle_Home/wlserver.
- Edit the product.properties file. Set JAVA_HOME, WLS_JAVA_HOME,
JAVAHOME properties to the new Java path and java.vm.version to the new Java
version.
For example:
JAVA_HOME=/usr/java/jre1.8.0_45 WLS_JAVA_HOME=/usr/java/jre1.8.0_45 JAVAHOME=/usr/java/jre1.8.0_45 java.vm.version=1.8.0_45.
- Navigate to
<WLS_HOME>/Middleware/Oracle_Home/user_projects/domains/<domain>/bin.
Update SUN_JAVA_HOME, DEFAULT_ JAVA_HOME, JAVA_HOME in the
setDomainEnv.sh file to point to the new Java path.
For example:
SUN_JAVA_HOME="/usr/java/jre1.8.0_45" DEFAULT_SUN_JAVA_HOME="/usr/java/jre1.8.0_45" JAVA_HOME="/usr/java/jre1.8.0_45".
- Clear the Application cache. Navigate to the following path and delete the files: <WebLogic installation location>/domains/<Domain name>/servers/<Server name>/tmp/_WL_user/<Application name>/qaelce/jsp_servlet.
If you wish to install a new instance of the Oracle WebLogic Server, follow these steps:
- Install Oracle WebLogic Server 12.1.3.x on Java 8.
- Perform the configurations for the newly installed WebLogic server. For more
information, see Configure Resource Reference in Web Servers.
Note:
While creating WebLogic Domain, the Listen Port should be set same as that of the existing Domain. Note down the new Domain path to perform OFSAA Configurations.
Upgrading Apache Tomcat Server
- Login to the Apache Tomcat Server as a non-root user.
- Edit the user.profile. Update the value for JAVA_HOME from JRE 1.7 to
JRE 1.8.
For example: JAVA_HOME=/usr/java/jre1.8.0_45.
- Clear the Application cache. Navigate to the following path and delete the
files:
<Tomcat installation folder>/work/Catalina/localhost/<Application name>/org/apache/js
- Install Apache Tomcat Server 8 with Java 8.
- Perform the configurations for the newly installed Tomcat server. For more
information, see Configure Resource Reference in Web Servers.
Note:
Update the Connector Port in /apache-tomcat-8.0.21/conf/ server.xml file to that of the existing Tomcat instance.
Note down the new deployment path to perform OFSAA Configurations.