I’ve found it pretty common that I want to rollback my OpenSSO instance to its preconfigured state. For example I’m testing OpenDS integration and it’s not working as desired… In that case I'd like to go back to using the "files" based repository. I’ll post on that shortly. It’s a really quick hit to bring your OpenSSO instance back to the beginning state. ..
1) Stop the web container that is running OpenSSO
2) Goto your home directory. The following image is my home dir on my XP instance. You’ll notice two directories “Access Manager” and “opensso”.
3) Simply delete or rename these directories
4) Start your web container again and you’ll be back in action
NOTE: As depicted in the next image, I’ve found it a best practice to append “opensso” to the default “Configuration Directory” value. As my previous cleanup instructions are based upon this. If you’ve used the default value you’ll still find an “opensso” directory. In addition you’ll need to find the “AMConfig.properties” and “serverconfig.xml” files to delete too.

