Saturday 11 February 2017

Some of the Troubleshooting issues with commands

 For Setting a Class Path

WL-Home\servers\bin SetwlsEnv.cmd (windows)
WL-Home\servers\bin SetwlsEnv.sh (Unix)

For Setting a set Domain

WL-Home\servers\bin SetDomainEnv.cmd(win)
WL-Home\servers\bin SetDomainEnv.sh(Unix)

To increase WLS Memory
 set minimum and maximum to same size
$ Java ...-ms32m -mx32m      -> it will allocate 32 megabytes.
            :Xms2048m - Xmx2048m

 Increase Permgenspace
-XX :Maxpermsize=256m (default =64m).

To Enable verboseGC
Java_Options = -"Xverbose:Memory,gcreport,gcpause-xverbosetimestamp"


Enable core dump
sun JVM;  -xx:+ShowMessageBoxOnError
Jrockit JVM: -Djrockit.WaitOnError
Windows : DrWatson

Server is listening on the specified port number or not
telnet <IP> <Port>
Ex: telnet 199.129.212.1 8080

To check server is alive or not
Ping <IP>
Ex: Ping 199.129.212.1

start Managed Server Independence Mode?
nohup./StartManagedWeblogic_ManagedServername.sh&

weblogic server Process ID
usr/ucb/ps -auxwww | grep java


Thread dump:
Ps -ef | grep java
kill -3 <PID>             
ctl + Break

jstack <PID>   





No comments:

Post a Comment