• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can we recreate boot.properties when deleted?

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!!
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
found the solution in oracle forum
http://forums.oracle.com/forums/thread.jspa?messageID=4590516�
 
Today's lesson is that you can't wear a jetpack AND a cape. I should have read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic