Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have faced an issue in reseting weblogic admin user password. Following are the steps i have executed in sequence.please help to understand why it is not working this way

I have 2 managed instances running on two separate computers.

Step 1. shutdown the admin server instance ( i did not shutdown the node manager and other 2 manage server instances

Step 2. Set the environment variables


. ./

Step 3. then executed the command below to create the new password

cd ../security
mv DefaultAuthenticatorInit.ldift oldDefaultAuthenticator
java weblogic new_password . 

Step 4. backed up existing file and created a new file. Also backed up data directory of admin server. created a new file with following configuration

with plain text username(weblogic_admin) and password (new_password).

cd ../servers/AdminServer
mv data data_old
cd security/

Step 5. Then i restarted the admin server. admin server is restarted successfully and i was able to login the admin console with my new username and password. Issue came when i try to shoutdown the admin server. when i execute sh , it will through following exception. But , if i kill the admin server process , then i am able to start the admin server with out any problem. and i am able to login to the server also. I am also able to stop and start manage server instances through admin console. But why it is failing only when i try to stop.could anybody help me on this

Stopping Weblogic Server...

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Connecting to t3://jipsl13t:12001 with userid weblogic_admin ...
This Exception occurred at Fri Jan 18 12:20:09 GMT-00:00 2013.
javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic_admin, failed to be authenticated.]
        at weblogic.jndi.internal.ExceptionTranslator.toNamingException(
        at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(
        at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(
        at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(
        at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(
        at weblogic.jndi.Environment.getContext(
        at weblogic.jndi.Environment.getContext(
        at weblogic.jndi.WLInitialContextFactory.getInitialContext(
        at javax.naming.spi.NamingManager.getInitialContext(
        at javax.naming.InitialContext.getDefaultInitCtx(
        at javax.naming.InitialContext.init(
        at javax.naming.InitialContext.<init>(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.python.core.PyReflectedFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at org.python.core.PyObject.invoke(Unknown Source)
        at org.python.pycode._pyx4.connect$1(<iostream>:16)
        at org.python.pycode._pyx4.call_function(<iostream>)
        at Source)
        at Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.pycode._pyx15.f$0(/product/jip/jipsl11t/wls/eni132_domain/
        at org.python.pycode._pyx15.call_function(/product/tsm/jipsl11t/wls/eni132_domain/
        at Source)
        at Source)
        at org.python.core.Py.runCode(Unknown Source)
        at org.python.util.PythonInterpreter.execfile(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at weblogic.WLST.main(
Caused by: java.lang.SecurityException: User: weblogic_admin, failed to be authenticated.
        at weblogic.common.internal.RMIBootServiceImpl.authenticate(
        at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Source)
        at weblogic.rmi.internal.BasicServerRef.invoke(
        at weblogic.rmi.internal.BasicServerRef$
        at weblogic.rmi.internal.BasicServerRef.handleRequest(
Problem invoking WLST - Traceback (innermost last):
  File "/product/jip/jipsl11t/wls/eni132_domain/", line 6, in ?
  File "<iostream>", line 22, in connect
  File "<iostream>", line 646, in raiseWLSTException
WLSTException: Error occured while performing connect : User: weblogic_admin, failed to be authenticated.
Use dumpStack() to view the full stacktrace

Stopping Derby Server...
share|improve this question

2 Answers 2

It seems you are trying to stop WebLogic with another user (different from the one set-up by the password-rested procedure).

Please check if your stop script or has the user weblogic_admin and its password.

Then change it to the weblogic user and the new password.

share|improve this answer

This behavior is actually expected. The managed server replicates the local LDAP from the Admin Server during startup, so your managed servers actually have the old weblogic user in there. By the way, there are ways to decrypt the passwords stored in, if you have the data in SerializedSystemIni.dat so you could have done that instead of re-creating the master user.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.