weblogic12升级jdk_Weblogic升级JDK方法

1.停止weblogic相关进程

2.获取需更新的JDK包,并解压至/wls/wls81/bea/

3. 修改启动weblogic的JAVA_HOME变量

[wls81@cnsz031527 PrdCSFWLDom380]$ cat servers.env|grepJAVA_HOME

VAR_JAVA_HOME:::JAVA_HOME=/wls/wls81/bea/jrockit-j2sdk1.4.2_08  --修改成新的JDK路径即可

4.重新启动weblogic

5. 验证

如下所示:

Alternatives

There are twodifferent approaches that can be used to achieve the required goal. Both willbe described briefly:

A) Installing anew JDK home, and using symbolic link to "rename" the existing andnew JDK directories.

Following thisapproach, the JDK location originally used during the installation will notchange and hence it has the minimal drawback that it might keep a versionedname as for example "$INSTALL_HOME/jdk_".

In any of thecases, this approach is simpler and less error prone than Approach B)

B) Installing a new JDK home directory and replacing the JAVA_HOMEenvironmental variable in *** all *** the scripts referring to it.

This is the preferred approach if you want to do a partial upgrade (affectingto specific domains only, or not affecting to nodemanager), but its difficultyis around on how to know which files do refer to a JDK location.

The initial list of files to change will be :

*$INSTALL_HOME/wlserver_10.3/common/bin/commEnv.sh

* $INSTALL_HOME/user_projects/domains//bin/setDomainEnv.sh

* $INSTALL_HOME/wlserver_10.3/common/nodemanager/nodemanager.properties

* $INSTALL_HOME/utils/bsu/bsu.sh

* $INSTALL_HOME/utils/quickstart/quickstart.sh

* $INSTALL_HOME/utils/uninstall/uninstall.sh

even that a moreexhaustive way to determine them, will be to run the following command:

find . -type f-name "*.sh" -ex

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值