一、登录web界面卡顿
[root@localhost security]# find / -name java.security
/apppackage/jdk1.8.0_311/jre/lib/security/java.security
[root@localhost security]# cat /apppackage/jdk1.8.0_311/jre/lib/security/java.security
修改配置securerandom.source=file:/dev/./urandom
二、启动weblogic服务免密(不用输入weblogic用户名和密码)
新增security目录,新增文件boot.properties,写入weblogic的用户名和密码
三、修改内存大小
进入weblogic服务启动路径
/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/bin,修改 setDomainEnv.sh
if [ "${JAVA_VENDOR}" = "Sun" ] ; then
WLS_MEM_ARGS_64BIT="-Xms512m -Xmx1024m"
export WLS_MEM_ARGS_64BIT
WLS_MEM_ARGS_32BIT="-Xms512m -Xmx1024m"
export WLS_MEM_ARGS_32BIT
else
WLS_MEM_ARGS_64BIT="-Xms512m -Xmx1024m"
export WLS_MEM_ARGS_64BIT
WLS_MEM_ARGS_32BIT="-Xms512m -Xmx1024m"
export WLS_MEM_ARGS_32BIT
fi
标签:ARGS,Xms512m,MEM,WLS,weblogic,security,优化 From: https://www.cnblogs.com/zgt-edu-cn/p/16943098.html