TCP/IP must be started on the AS/400 with the STRTCP command before the Web Server can be started.
The server jobs, advanced configuration, and performance topics contain further information about the server.
The default master configuration file is
'/WWWServ/Cfg/WebServ.Cfg'.
This file can be copied (e.g., using the CPY command) and changed using the
configuration commands
to create custom master configuration files.
STRWWW sets the PORT, RPS and SVRID parameter values based on what is configured in the master configuration file unless the parameters are passed into the command.
For special processing needs, the server can be configured with multihome processing enabled.
If a server ID is not entered or configured, the server port and host are used to uniquely identify the server when starting additional request processors, ending request processors and ending the server; otherwise the entered/configured server ID is used to uniquely identify the server.
The activation key is provided by your supplier with the product tape. If the activation key was not sent, does not work, or your system serial number has changed contact your supplier.
*USE authority to QSYS/STRWWW *CMD.
*USE authority to WWWSERVER/WWWDAEPOP *PGM.
*USE authority to WWWSERVER/WWWDAECPP *PGM.
*OBJMGT authority to WWWSERVER/WWWDAEMON *PGM.
*USE authority to QSYS/QSYSNOMAX *JOBQ.
*READ authority to server configuration files.
*USE authority to server user profile.
*ALL authority to WWWSERVER/WWWACTKEY *DTAARA when
entering a new activation key.
*ALL authority to an existing server user space.
*USE authority to QSYS/QSYSNOMAX *JOBQ.
*USE authority to all of the libraries in the library list.
The library list of the user starting the server is used by the server with the
exception of the current library which is always set to library WWWSERVER.
*RX authority to the configured keylist file. Commerce
Server/400 requirement when running a secure server.
QALWUSRDMN must be set to allow user-domain
objects to be created in libraries QTEMP and WWWSERVER.
*ALLOBJ authority
*ALL authority to the
server user space.
The authority must be granted after starting the server. The server
user space can be found in the WWWSERVER product library and it
is named as follows: WWU appended with the
server identifer.
Subsystem/Job User Type CPU % Function Status
QSYSWRK QSYS SBS .0 DEQW
WWD80 WWWUSER BCH .0 PGM-WWWDAEMON TIMW
WWL80 WWWUSER BCH .0 PGM-WWWDLOG DEQW
WWR80 WWWUSER BCH .0 PGM-WWWDRP DEQW
WWR80 WWWUSER BCH .0 PGM-WWWDRP DEQW
Subsystem/Job User Type CPU % Function Status
QSYSWRK QSYS SBS .0 DEQW
WWDINET WWWUSER BCH .0 PGM-WWWDAEMON TIMW
WWDKAZOO WWWUSER BCH .0 PGM-WWWDAEMON SELW
WWLINET WWWUSER BCH .0 PGM-WWWDLOG DEQW
WWLKAZOO WWWUSER BCH .0 PGM-WWWDLOG DEQW
WWRINET WWWUSER BCH .0 PGM-WWWDRP DEQW
WWRKAZOO WWWUSER BCH .0 PGM-WWWDRP DEQW
WWRKAZOO WWWUSER BCH .0 PGM-WWWDRP DEQW
WWWSERVER/WWWJOBD job description, which is configured to use
the QSYS/QSYSNOMAX job queue.
QSYSNOMAX
job queue is configured to run multiple active jobs in the QSYSWRK
subsystem.
The name of the server job is WWD appended with the
server identifier. In the first set of jobs a single
server is running with the default server ID of '80', which is the port the
server is processing. The second set of jobs show two servers running
with configured server IDs: 'INET' and 'KAZOO'.
The host and port(s) the server is processing can be displayed by performing the following command:
DSPOBJD OBJ(WWWSERVER/WWQxx) OBJTYPE(*USRQ) DETAIL(*FULL)
where the name of the user queue is the same as the server job name except for the D is replaced with a Q. The displayed user queue text contains the port(s) and host that the server is processing. For example,
Text . . . . : PORT: 80 HOST: www.inetmi.com
Text . . . . : PORT: 80/443 HOST: www.inetmi.com
indicates the server is processing host 'www.inetmi.com' on port 80. The second example is running the Commerce Server/400; HTTP protocol is being processed on port 80 and SSL is being processed on port 443.
By default, TCP/IP, Client Access/400 and Web Server/400 jobs run in the *BASE pool (i.e., system pool 2). Server performance can be improved by reducing the number of page faults in the *BASE pool by adjusting the pool sizes. Also, advanced configuration provides information that can be used to customize how the server runs on your system.