The portal-setup.sh tool does not set the initial root password properly. Version-Release number of selected component (if applicable): JBoss Portal 6.2.0.ER1 How reproducible: Always Steps to Reproduce: Steps to reproduce: (1) Ensure that $JBOSS_HOME/standalone/configuration/gatein/configuration.properties do not contain gatein.portal.setup.initialpassword.root in any form: commented or active. (2) Ensure that the last key value pair is not terminated with a new line character (3) run $JBOSS_HOME/bin/portal-setup.sh -p "secret" Not OK: The configuration.properties file ends with Unable to find source-code formatter for language: plain. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml # Logged user keep alive gatein.webui.keepalive.enabled=true gatein.webui.keepalive.interval=60000gatein.portal.setup.initialpassword.root=6MSyXIj3kkQ= # Modified by portal-setup.sh Expected: Unable to find source-code formatter for language: plain. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml # Logged user keep alive gatein.webui.keepalive.enabled=true gatein.webui.keepalive.interval=60000 gatein.portal.setup.initialpassword.root=6MSyXIj3kkQ= # Modified by portal-setup.sh
The fix was merged in inupstream https://github.com/gatein/gatein-portal/commit/1c722a1ee8c9bb8e12a62e9ca8fd434184a5bc57
I verified it's ok now.