Did you enter the wrong password multiple times in Weblogic Admin User? If answer is yes, then probably your account is locked for temporary period of time. If you tail the server log you can find the following error message.
####<[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> < > <> <> <1395127313511>
Message shows "User weblogic in security realm myrealm has had 5 invalid login attempts, locking account for 30 minutes."
PROBLEM???
As the log mention issue should be resolved within 30 minutes, however if you do not want to wait that longer, then you need another admin account. There after you can use weblogic.Admin which is a command-line utility for managing WebLogic Server. Please follow the following steps:
1. Make Sure that "weblogic.jar" is added in the CLASSPATH manually. You can do this or you can use the Script provided by WebLogic to do this. Script is available Here (<BEA_BOME>/<WL_HOME/server/bin/setWLSEnv.sh)
cd /home/wls/bea/wlserver_10.3/server/bin/ . ./setWLSEnv.sh
NOTE: There are two Dots before the Script separated by a Single Space. First Dot represents that set the environment in the Current Shell and Second Dot represents that pick the Script from current Directory.
Output:
CLASSPATH=/home/wls/bea/patch_wlw1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/wls/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/wls/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/wls/bea/jrockit_160_05/lib/tools.jar:/home/wls/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/home/wls/bea/wlserver_10.3/server/lib/weblogic.jar:/home/wls/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/home/wls/bea/wlserver_10.3/server/lib/webservices.jar:/home/wls/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/wls/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar: PATH=/home/wls/bea/wlserver_10.3/server/bin:/home/wls/bea/modules/org.apache.ant_1.6.5/bin:/home/wls/bea/jrockit_160_05/jre/bin:/home/wls/bea/jrockit_160_05/bin:/usr/lib64/qt-3.3/bin:/usr/local/WebLogic/10.3.0.0/jrockit-R27.5.0-jdk1.6.0_03/bin:/usr/local/ant/1.6.5/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/home/wls/bea/jrockit_160_05/bin Your environment has been set.
If you forget to add the jar in classpath you will receive the following message.
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Admin
Caused by: java.lang.ClassNotFoundException: weblogic.Admin
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
2. Open a command Prompt (Shell Prompt) and then move to the <BEA_BOME>/<WL_HOME/server/bin directory and run the following Script.
[ [-url | -adminurl] [<protocol>://]<listen-address>:<port>]
-username <username> [-password <password>]
<COMMAND> <ARGUMENTS>
java weblogic.Admin -adminurl localhost:7001 -username admin2 -password password invoke -mbean Security:Name=myrealmUserLockoutManager -method clearLockout admin1
You will receive the message "OK" if command executed successfully.
