Note – The commands will still expect a value for --username (or -u) and --password (or -w).
But these can be dummy values, since the server side does not impose any security.
Start the server.
At this point, the server does not have command-line security.
Createa plain text le that denes theAS_ADMIN_USERPASSWORD variable as follows:
AS_ADMIN_USERPASSWORD=adminpassword
adminpassword Your choice of password for the administration user's password.
Createan administration user whosepassword is thepassword thatyou dened in the
preceding step.
asadmin create-file-user --groups asadmin --passwordfile=password-le adminuser
passwordle The full path to the le that you created in the previous step.
adminuser The name of the user that you are creating.
This command adds an entry to the as-install/domains/domain-name/config/keyfile le.
Uncomment the <security-constraint> elementin the web.xml le.
Restart the server for thenew user name-password totake eect.
Note – After the server is restarted, remote commands must specify adminuser as the
administration user and adminpassword as the administration password.
Server Will Not Start on Windows (Port Conict)
If a message similar to the following is displayed when starting Enterprise Server on Microsoft
Windows, a server port conict has occurred:
Address already in use
This error occurs when another application is running on the Enterprise Server port (default
8080), or because a previous instance of Enterprise Server did not shut down cleanly.
You might also check the following:
■
“Is Another Application Running on the Server's Port?” on page 28
■
“Has an Ungraceful Shutdown Occurred on a Previously Running Server?” on page 28
4
5
6
7
8
ServerWillNot StartonWindows(Port Conict)
Chapter2 • Specic Issues 27