Wednesday, November 17, 2021

Start Weblogic Instance Without Prompting Credentials

Reference

How to Eliminate the Prompt to Enter Username and Password when Starting WebLogic via startWebLogic.cmd (Doc ID 1367965.1)

Wednesday, September 8, 2021

Workaround for Growing in Huge Size File crfclust.bdb

Issue : 

File crfclust.bdb is growing in huge size due to an Oracle bug.

[root@db1 db1]# ls -lhrt crfclust.bdb

-rw-r----- 1 root root 42G Sep 7 10:17 crfclust.bdb

Workaround : 

Modify BDBSIZE parameter in config file crf<hostname>.ora to adequately lower value. 

1. Issue "$GI_HOME/bin/crsctl stop res ora.crf -init " on all the nodes of the cluster.

2. Locate the config file $GRID_HOME/crf/admin/crf<hostname>.ora

3. Manually edit the crf<hostname>.ora file on every node of the cluster and

change BDBSIZE tag entry and remove the value (set it to blank) or set it to a lower value.

4. Restart ora.crf daemon on every node.

Reference : 

Bug 20186278 - crfclust.bdb Becomes Huge Size Due to Sudden Retention Change (Doc ID 20186278.8)

Wednesday, February 10, 2021

Increase heap size for Admin and managed servers in Weblogic Instance

1. Shutdown Admin and Managed servers

2. Take a backup of setDomainEnv.sh  file.

3. Open  setDomainEnv.sh file that is under the $DOMAIN_HOME/bin directory.

4. Copy and paste the below lines in the setDomainEnv.sh file.

#In case of Admin Server

if [ "${SERVER_NAME}" == "AdminServer" ] ; then

USER_MEM_ARGS="-Xms1024m -Xmx1024m -XX:MaxPermSize=512m"

export USER_MEM_ARGS

fi

#In case of osb_server1 Server

if [ "${SERVER_NAME}" == "osb_server1" ] ; then

USER_MEM_ARGS="-Xms512m -Xmx4096m -XX:MaxPermSize=4096m"

export USER_MEM_ARGS

fi

Xms: The minimum heapsize

Xmx: The maximum heapsize

5. Start the Admin server and Managed server.