File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes how to reset admin Console password Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "how to reset admin Console password" Watch "how to reset admin Console password" New topic
Author

how to reset admin Console password

deepesh shah
Greenhorn

Joined: Feb 04, 2002
Posts: 15
Dear friends,
I am using weblogic 7.0 version as my app server in linux platform.I am not able to login thru console with the userid=system and pwd=weblogic which I have in my startWebLogic.sh file.My admin server is staring properly but I cannot be able to login thru console(web console).It's giving me the following error.

Authentication Denied
The username or password has been refused by WebLogic Server. Please try again.

deep
biswajit priyadarshi
Greenhorn

Joined: Dec 09, 2008
Posts: 1
Hi,

Can any body help me out for changing the password for my weblogic server,which is currently running under the username:weblogic with password:weblogic?
Please help me out as soon as possible.I am very new to weblogic.
I hope all my friends here will definitly help me.
Joe Rosiak
Greenhorn

Joined: May 21, 2008
Posts: 7
Originally posted by biswajit priyadarshi:
Hi,

Can any body help me out for changing the password for my weblogic server,which is currently running under the username:weblogic with password:weblogic?
Please help me out as soon as possible.I am very new to weblogic.
I hope all my friends here will definitly help me.


We had to do this for weblogic 8. Not sure if it will work on 7.

update the boot.properties with username and password:
#Mon Mar 17 15:34:44 CDT 2008
password=thepassword
username=weblogicadmin

Then run this to reset a webloic admin password
java weblogic.jar weblogic.security.utils.AdminAccount weblogicadmin thepassword .
DONT FORGET THE DOT AT THE END!

Next move the ldap directory to ldap.old

start the admin server


Respectfully Yours,
Joe Rosiak
Amit Kumar.
Ranch Hand

Joined: Feb 27, 2009
Posts: 32
even I didn't know that. I had asked to lots of people but could never get a solution. I thought that we only need to edit the credentials in boot. properties & config.xml
Lavanya Halliwell
Ranch Hand

Joined: Apr 09, 2010
Posts: 57
the username & password in these files is encryped using AES, and if you don't have a key, getting the values would be hard. (at least with weblogic 10.3.2)

do you suppose we could Use AES to generate a new username and password and the insert the newly encrypted values in the files?
jagadesh manchala
Greenhorn

Joined: Apr 26, 2010
Posts: 3
Edit the boot.properties file which is the user_projects\domains\Your Domain here
check for boot.properties file
enter your own user name and password in place of user name and password . save it
Restart the server

enter the new user name and password
sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 823

jagadesh manchala wrote:Edit the boot.properties file which is the user_projects\domains\Your Domain here
check for boot.properties file
enter your own user name and password in place of user name and password . save it
Restart the server

enter the new user name and password


This won't work... The attributes to the boot.properties are used while the server boots..... and if the password is not found there, the password will be read from the password file and will be rewritten to the boot.properties file.

The command to reset the console password would be : java weblogic.security.utils.AdminAccount <username> <password> . (dot)

Hope this helps.


Regards, Sud.
SCJP 5 ScjpFAQ JLS
Akhilesh Agrawal
Greenhorn

Joined: Jun 30, 2007
Posts: 2
Akhilesh Agrawal
Greenhorn

Joined: Jun 30, 2007
Posts: 2
Scott Bravo
Greenhorn

Joined: Jun 15, 2009
Posts: 18
I have tried command " java weblogic.security.utils.AdminAccount newAdmin newPassword . " from "C:\bea\user_projects\domains\base_domain\security" directory ...

but it says Noclassdefound exception

any sugesstion
Sai Yelisetty
Greenhorn

Joined: Jul 07, 2010
Posts: 2
If you have followed the first step, you should have your java classpath set for you:

Step1). open a Command Prompt and then run “setDomainEnv.sh” or “setDomainEnv.cmd”.

Or I think you can use "java -cp C:\bea\wlserver_10.3\server\lib\weblogic.jar;%CLASSPATH% weblogic.security.utils.AdminAccount weblogicadmin thepassword ." if you already have a java/JAVA_HOME setup on your system.
Deron Johnson
Greenhorn

Joined: Sep 28, 2010
Posts: 1
Well I went through the first few steps and it did create a new defaultAuthenticator.ldift file but it does not allow me to log into the console with it. Any clues?
Prasanth S Pillai
Ranch Hand

Joined: Oct 28, 2009
Posts: 39
Try changing the <node-manager-username>, <node-manager-password> in config.xml
Jason Casey
Greenhorn

Joined: Feb 15, 2011
Posts: 4
the username & password in these files is encryped using AES, and if you don't have a key, getting the values would be hard


It should still be possible to retrieve the password for the WebLogic Admin Console using the method described here.
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

You can also refer the below link:

http://weblogic-wonders.com/weblogic/2010/11/21/recovering-weblogic-admin-console-password/

NOTE: Set the classpath by running the setDomainEnv script at first.

Regards,
Anandraj
http://weblogic-wonders.com


Regards,
Anandraj
http://weblogic-wonders.com
Follow us on facebook:
https://www.facebook.com/weblogicwonders
Hemant Thacker
Greenhorn

Joined: Aug 28, 2008
Posts: 2
Weblogic Server 10.3.2 Administration Console Credentials Are:

Username: weblogic
Password: welcome1

Thanks,
Hemant
Hawk Jordan
Greenhorn

Joined: Sep 29, 2011
Posts: 1
Thanks, Hemant.

The topic is about Administration Console Credentials. most of people are talking about the username/password to start Weblogic Server. Kind of deviating...

Anyway, it's a worth reading,,
Ravi kumar Gautam
Greenhorn

Joined: Dec 29, 2011
Posts: 2
Akhilesh Agrawal Thank you very much. It worked for me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to reset admin Console password