In the process of upgrading a remote MobileFirst Server to version 7.0 (from version 6.2), and I've run into an issue when attempting to use the Server Configuration Tool to redeploy.
Here's the only apparent error I'm seeing, unsure what other information you may need to help diagnose this:
Buildfile: /home/worklight/.worklight/server-configuration-tool/Configuration_MobileFirst_7/MobileFirst_7.xml
adminstall:
[installworklightadmin] Logging output of task <installWorklightAdmin> to file /home/worklight/.mobilefirst_platform_server/configuration-logs/installWorklightAdmin_2015_06_15_14_57_11.log
[installworklightadmin] WARNING:
[installworklightadmin] The value of the MySQL system variable innodb_log_file_size is 5,242,880 (5 MB). The recommended limit is 250 MB.
[installworklightadmin] For more information, see the MySQL Reference Manual, sections "Server System Variables" and "InnoDB Configuration" for details.
[installworklightadmin] http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html
[installworklightadmin] http://dev.mysql.com/doc/refman/5.5/en/innodb-configuration.html
BUILD FAILED
/home/worklight/.worklight/server-configuration-tool/Configuration_MobileFirst_7/MobileFirst_7.xml:71: The element <installWorklightAdmin>, <jmx libertyAdminUser=".." libertyAdminPassword="..."/> is missing. A default user cannot be created for this server.
Total time: 2 seconds
I don't actually have the "Create a default user" options selected in the last pane, but that error appears either way.
Also seeing this same error if I attempt to create a new server configuration entirely.
About the error message:
This happens if your Liberty is configured for LDAP. In that case, the server configuration tool is not able to add a user (it can add users if Liberty has a basic registry). This also prevents the server configuration tool from performing an install because it needs to create a user for JMX (a Liberty Adminstrator).
The workarounds are: