7 STEPS as below to do upgrade weblogic 1036 from JDK7 to JDK8
Install JDK 8;
Stop all processes that use the your MW_HOME.
Edit $MW_HOME/wlserver_10.3/common/bin/commEnv.sh and change the JAVA_HOME location.
For every domain, change the domain "setDomainEnv.sh" script to accomodate for the net JAVA_HOME .
Change the JDK location specified in nodemanager.properties for the default and any other existing nodemanager process
Replace the new JDK location on all the minor tools used in the same MW_HOME, such as BSU, uninstaller, etc.
Restart the processes as normal, they should take the new JDK version.
Please refer to following url for more details.
[http://akhilesh-humbe.blogspot.hk/2012/10/upgrade-jdk-used-by-oracle-weblogic.html]
-----------------------------------------------------------------------------------
STEPS
C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin
Edit files
setDomainEnv.cmd
set SUN_JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101
setDomainEnv.sh
SUN_JAVA_HOME="C:/Program Files/Java/jdk1.8.0_101"
JAVA_HOME="C:/Program Files/Java/jdk1.8.0_101"
commEnv.sh
C:\Oracle\Middleware\wlserver_10.3\common\bin
# JAVA_HOME="C:/Program Files/Java/jdk1.7.0_79"
JAVA_HOME="C:/Program Files/Java/jdk1.8.0_101"
nodemanager.properties
C:\Oracle\Middleware\wlserver_10.3\common\nodemanager
#JavaHome=C\:\\PROGRA~1\\Java\\JDK17~1.0_7\\jre
JavaHome=C\:\\PROGRA~1\\Java\\jdk1.8.0_101\\jre
This should solve the problem
Install JDK 8;
Stop all processes that use the your MW_HOME.
Edit $MW_HOME/wlserver_10.3/common/bin/commEnv.sh and change the JAVA_HOME location.
For every domain, change the domain "setDomainEnv.sh" script to accomodate for the net JAVA_HOME .
Change the JDK location specified in nodemanager.properties for the default and any other existing nodemanager process
Replace the new JDK location on all the minor tools used in the same MW_HOME, such as BSU, uninstaller, etc.
Restart the processes as normal, they should take the new JDK version.
Please refer to following url for more details.
[http://akhilesh-humbe.blogspot.hk/2012/10/upgrade-jdk-used-by-oracle-weblogic.html]
-----------------------------------------------------------------------------------
STEPS
C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin
Edit files
setDomainEnv.cmd
set SUN_JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101
setDomainEnv.sh
SUN_JAVA_HOME="C:/Program Files/Java/jdk1.8.0_101"
JAVA_HOME="C:/Program Files/Java/jdk1.8.0_101"
commEnv.sh
C:\Oracle\Middleware\wlserver_10.3\common\bin
# JAVA_HOME="C:/Program Files/Java/jdk1.7.0_79"
JAVA_HOME="C:/Program Files/Java/jdk1.8.0_101"
nodemanager.properties
C:\Oracle\Middleware\wlserver_10.3\common\nodemanager
#JavaHome=C\:\\PROGRA~1\\Java\\JDK17~1.0_7\\jre
JavaHome=C\:\\PROGRA~1\\Java\\jdk1.8.0_101\\jre
This should solve the problem
For more
No comments:
Post a Comment