WebLogic Server 10.3.6.0 更改jdk版本
基础环境
OS:Red Hat Enterprise Linux Server release 7.3 (Maipo)
weblogic :name="WebLogic Server" version="10.3.6.0"
weblogic原来java 版本:
[weblogic@prod04 jvm]$ ./java-1.7.0-openjdk-1.7.0.111-2.6.7.8.el7.x86_64/jre/bin/java -version java version "1.7.0_111" OpenJDK Runtime Environment (rhel-2.6.7.8.el7-x86_64 u111-b01) OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
更改java 版本:
[weblogic@prod04 bin]$ pwd /u02/bea1036/user_projects/domains/base_domain/bin [weblogic@prod04 bin]$ vi setDomainEnv.sh
编辑 setDomainEnv.sh 文件,修改如下参数:
启动weblogic:
[weblogic@prod04 base_domain]$ ./startWebLogic.sh . . JAVA Memory arguments: -Xms512m -Xmx512m . WLS Start Mode=Development . CLASSPATH=/u02/bea1036/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u02/bea1036/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre/lib/tools.jar:/u02/bea1036/wlserver_10.3/server/lib/weblogic_sp.jar:/u02/bea1036/wlserver_10.3/server/lib/weblogic.jar:/u02/bea1036/modules/features/weblogic.server.modules_10.3.6.0.jar:/u02/bea1036/wlserver_10.3/server/lib/webservices.jar:/u02/bea1036/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u02/bea1036/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u02/bea1036/wlserver_10.3/common/derby/lib/derbyclient.jar:/u02/bea1036/wlserver_10.3/server/lib/xqrl.jar . PATH=/u02/bea1036/wlserver_10.3/server/bin:/u02/bea1036/modules/org.apache.ant_1.7.1/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre/jre/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111-2.6.7.8.el7.x86_64/jre/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/weblogic/.local/bin:/home/weblogic/bin . *************************************************** * To start WebLogic Server, use a username and * * password assigned to an admin-level user. For * * server administration, use the WebLogic Server * * console at http://hostname:port/console * *************************************************** starting weblogic with Java version: openjdk version "1.8.0_102" OpenJDK Runtime Environment (build 1.8.0_102-b14) OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode) Starting WLS with line: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64/jre/bin/java -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=/u02/bea1036/wlserver_10.3/server/lib/weblogic.policy -da -Dplatform.home=/u02/bea1036/wlserver_10.3 -Dwls.home=/u02/bea1036/wlserver_10.3/server -Dweblogic.home=/u02/bea1036/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/u02/bea1036/patch_wls1036/profiles/default/sysext_manifest_classpath:/u02/bea1036/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server <Oct 30, 2018 2:51:46 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> <Oct 30, 2018 2:51:47 PM CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true> <Oct 30, 2018 2:51:47 PM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK 64-Bit Server VM Version 25.102-b14 from Oracle Corporation> <Oct 30, 2018 2:51:49 PM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 > <Oct 30, 2018 2:51:51 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> <Oct 30, 2018 2:51:51 PM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> <Oct 30, 2018 2:51:51 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.> <Oct 30, 2018 2:51:51 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log00002. Log messages will continue to be logged in /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log.> <Oct 30, 2018 2:51:51 PM CST> <Notice> <Log Management> <BEA-170019> <The server log file /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.> <Oct 30, 2018 2:51:56 PM CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> <Oct 30, 2018 2:51:58 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.> <Oct 30, 2018 2:51:58 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/access.log00002. Log messages will continue to be logged in /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/access.log.> <Oct 30, 2018 2:52:00 PM CST> <Warning> <HTTP> <BEA-101296> <Unable to load the default compiler class "com.sun.tools.javac.Main". Using the default javac compiler to compile JSPs.> <Oct 30, 2018 2:52:00 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY> <Oct 30, 2018 2:52:00 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> <Oct 30, 2018 2:52:01 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/base_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.> <Oct 30, 2018 2:52:01 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/base_domain.log00002. Log messages will continue to be logged in /u02/bea1036/user_projects/domains/base_domain/servers/AdminServer/logs/base_domain.log.> <Oct 30, 2018 2:52:01 PM CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.> <Oct 30, 2018 2:52:01 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN> <Oct 30, 2018 2:52:01 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING> <Oct 30, 2018 2:52:01 PM CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> <Oct 30, 2018 2:52:01 PM CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.0.123:7001 for protocols iiop, t3, ldap, snmp, http.> <Oct 30, 2018 2:52:01 PM CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode> <Oct 30, 2018 2:52:01 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING> <Oct 30, 2018 2:52:01 PM CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
登陆控制台检查java 版本是否更新:
低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。
持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。
转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。
- 上一篇
nginx配置压缩
编辑nginx配置文件 [root@jiaxin-ceshi nginx-1.14.0]# vim /usr/local/nginx/conf/nginx.conf user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; # Load dynamic modules. See /usr/share/nginx/README.dynamic. include /usr/share/nginx/modules/*.conf; events { worker_connections 1024; } http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log...
- 下一篇
OSS crc64 出现不一致
客户端的循环冗余校验和服务端不一致,可以上传成功 排查 出现类似问题,需要先收集信息,经常发生在 Java sdk 上传的过程中。 requestID 出现 checksum 不一致的情况一定会伴随有 requestID 信息。 上传方式是通过 SDK 还是自己调 API 上传,需要明确 SDK 的版本信息。 问题能否稳定复现,能复现最好提供网络抓包便于问题分析。 tcpdump -i <出口网卡> -s0 host -w checksum.pcap 分析: 收集到 requestID 后,先升级到阿里云确认是否已经上传成功,一般 checksum 不一致并不会导致上传失败, checksum 是对文件进行循环冗余计算的方法,和 MD5 不一样,如果 MD5 不一致,文件上传一定失败。如果日志记录上传成功,可以校验文件的 MD5
相关文章
文章评论
共有0条评论来说两句吧...
文章二维码
点击排行
推荐阅读
最新文章
- Docker使用Oracle官方镜像安装(12C,18C,19C)
- CentOS8编译安装MySQL8.0.19
- CentOS8,CentOS7,CentOS6编译安装Redis5.0.7
- SpringBoot2整合MyBatis,连接MySql数据库做增删改查操作
- SpringBoot2整合Redis,开启缓存,提高访问速度
- SpringBoot2配置默认Tomcat设置,开启更多高级功能
- Hadoop3单机部署,实现最简伪集群
- CentOS7,CentOS8安装Elasticsearch6.8.6
- CentOS6,7,8上安装Nginx,支持https2.0的开启
- SpringBoot2编写第一个Controller,响应你的http请求并返回结果