Monday, February 17, 2014

WebLogic: how to recover a config.xml reduced to 0 size

  • if you have "configuration archive enabled" in your domain, you can retrieve the latest archive and apply diffs since last configuration change
  • or you can do the same using the config.xml.bck
  • if your domain admin server is still  running, connect with the console, open a session, make a minor configuration change, and activate the session: this should regenerate the whole config.xml
  • otherwise, connect with WLST and run configToScript()



In any case, please take regular backups of your PROD domains!!!



No comments: