Sun Microsystems 820682310 Server User Manual


 
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 denes 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 dened in the
preceding step.
asadmin create-file-user --groups asadmin --passwordfile=password-le adminuser
passwordle 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 eect.
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 Conict)
If a message similar to the following is displayed when starting Enterprise Server on Microsoft
Windows, a server port conict 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 Conict)
Chapter2 • Specic Issues 27