Thursday, April 9, 2020

Install Oracle WebLogic Server 14.1.1.0.0 on Fedora Linux

Download
https://www.oracle.com/middleware/technologies/fusionmiddleware-downloads.html

Documentation
https://docs.oracle.com/en/middleware/standalone/weblogic-server/14.1.1.0/index.html

Weblogic JDK 11 Certification

Oracle WebLogic Server 14c (14.1.1.0.0) is certified for use with JDK 11.

Supported configurations https://www.oracle.com/middleware/technologies/fusion-certification.html


Oracle JDK 11 download https://www.oracle.com/java/technologies/javase-jdk11-downloads.html

Install Oracle JDK 11 via rpm ( dnf fails on missing dependencies)

[dave@dave Downloads]$ sudo rpm -ivh  jdk-11.0.6_linux-x64_bin.rpm

warning: jdk-11.0.6_linux-x64_bin.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY

Verifying...                          ################################# [100%]

Preparing...                          ################################# [100%]

Updating / installing...

   1:jdk-11.0.6-2000:11.0.6-ga        ################################# [100%]

 

Change Java version for system

sudo alternatives --config java

There are 3 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
   1           java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.fc31.x86_64/jre/bin/java)
 + 2           /usr/java/jdk1.8.0_231-amd64/jre/bin/java
*  3           /usr/java/jdk-11.0.6/bin/java

Enter to keep the current selection[+], or type selection number: 3


Verify Java version

$ java -version
java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)


Install Weblogic 14.1


$ java -jar fmw_14.1.1.0.0_wls.jar  
Launcher log file is /tmp/OraInstall2020-04-09_10-35-56AM/launcher2020-04-09_10-35-56AM.log. 
Extracting the installer . . . . . Done 
Checking if CPU speed is above 300 MHz.   Actual 2754.936 MHz    Passed 
Checking monitor: must be configured to display at least 256 colors.   Actual 16777216    Passed 
Checking swap space: must be greater than 512 MB.   Actual 8015 MB    Passed 
Checking temp space: must be greater than 300 MB.   Actual 7027 MB    Passed 
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2020-04-09_10-35-56AM 
 


Start  domain

Starting WLS with line:

/usr/java/jdk-11.0.6/bin/java -server   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -cp /app/weblogic/wlserver/server/lib/weblogic-launcher.jar -Dlaunch.use.env.classpath=true -Dweblogic.Name=AdminServer -Djava.security.policy=/app/weblogic/wlserver/server/lib/weblogic.policy  -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader  -javaagent:/app/weblogic/wlserver/server/lib/debugpatch-agent.jar -da -Dwls.home=/app/weblogic/wlserver/server -Dweblogic.home=/app/weblogic/wlserver/server      weblogic.Server

 

No comments:

Post a Comment