It is not uncommon that once you restart the JBOSS application server, subsequent access to OpenSSO server will show you the configurator page. Do not panic, this is some thing known., this is due to ServletContext.getRealPath() method does not always return the same value after the server is restarted.

How to Fix

Edit the  <DEPLOY_BASE>/server/default/deploy/opensso.war/WEB-INF/classes/bootstrap.properties

and the configuration.dir)=<opensso-config-dir>

where <opensso-config-dir> is a directory that contains the bootstrap file

after performing the above step restart the JBOSS server, you will be able to see the login page from OpenSSO.

You can use this property when the system user that is running the web/application server process does not have a home directory. i.e. System.getProperty(“user.home”) returns null.

Advertisements