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 can we recreate boot.properties when deleted? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "can we recreate boot.properties when deleted?" Watch "can we recreate boot.properties when deleted?" New topic
Author

can we recreate boot.properties when deleted?

senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
When a boot.properties file is deleted, can it be recreated with the same user and password? will this work? if not what is the alternate when a boot.properties file is deleted or corrupted?

Thanks guys,
Rajesh Ch
Greenhorn

Joined: Aug 19, 2008
Posts: 2
1.Bring down all the servers. Including admin
2.In the domain Directory, create a file named boot.properties.
3.Inside the file you should mention the admin consle username\passwdord in the following way

Example

username=system
password=weblogic

4.start your admin server.
5. it will read the username\password from the file boot.properties and next time when you open the file you can see that it got encrypted.
6. see it 4 urself.
senthil sen
Ranch Hand

Joined: Oct 10, 2002
Posts: 184
What is that boot.properties is corrupted or deleted accidently? can it be recovered?
Also, if the admin password is lost of could not remember it? can we recover the admin in some way?

Thanks,
Pankaj Mandalia
Greenhorn

Joined: Sep 04, 2008
Posts: 1
Hello:
boot.properties can be RECREATED...
Only one condition exists. You must know the userid and password for the domain startup.
Remember when you used to bring up the console using system as userid and password as the password? The same values are needed here.
So when you created/modified the domain password, if you did not save it somewhere safe, you are out of luck.
If you do have these values follow the lines below:
Navigate to $PS_HOME/webserv/<domain_name>/servers/PIA/security
copy the eixsting boot.properties to boot.properties.orig
vi the file and replace the encrypted values for userid: and password: with the values you have.
Bring up the domain.
tail -f the PIA_weblogic log to ascertain that it worked.
Cheers!!!
Amit Kumar.
Ranch Hand

Joined: Feb 27, 2009
Posts: 32
if you donot know the credentials then open config.xml

within <security-configuration></security-configuration>, find the below entries

</node-manager-password-encrypted> [/code]

which says username is weblogic and password is {3DES}MJPp9MycQgMJ8EOcEqYE9g== in encrypted format.

create boot.properties with the below entries
nm noh
Greenhorn

Joined: Sep 22, 2010
Posts: 1
found the solution in oracle forum
http://forums.oracle.com/forums/thread.jspa?messageID=4590516�
 
Consider Paul's rocket mass heater.
 
subject: can we recreate boot.properties when deleted?