Create an application server profile so that you can make applications available to the Internet or to an intranet, typically using Java technology. You can create an application server profile using the Profile Management Tool.
Before you use the Profile Management Tool, install the product files.
The Profile Management Tool is the graphical user interface for the manageprofiles command. See the description of the manageprofiles command for more information.
You must provide enough system temporary space to create a profile. For information, read about the file system requirements for profiles.
Eclipse*spacing:0 Eclipse*fontList:-misc-fixed-medium-r-normal-*-10-100-75-75-c-60-iso8859-1After adding the lines, run the following command before launching the Profile Management Tool:
xrdb -load user_home/.Xdefaults
You can create profiles with the Profile Management Tool using the typical profile creation process or the advanced profile creation process. The typical profile creation process uses default settings and assigns unique port values. You can optionally set values as allowed. For the advanced profile creation process you can accept the default values, or specify your own values.
The Profiles tab contains a list of profiles that have been created on your machine. No action can be done on a selected profile unless the profile can be augmented. The Augment button is greyed out unless a profile that you select can be augmented.
The tool displays the Environment selection panel.
The Profile creation options panel is displayed.
The tool displays the Profile name and location panel.
The first profile that you create on a machine is the default profile. The default profile is the default target for commands that are issued from the bin directory in the product installation root. When only one profile exists on a machine, every command works on the single server process in the configuration. You can make another profile the default profile when you create that profile by checking Make this profile the default on the Profile name and location panel of the Advanced profile creation path. You can also make another profile the default profile using the manageprofiles command after you create the profile.
When multiple profiles exist on a machine, certain commands require that you specify the profile to which the command applies if the profile is not the default profile. These commands use the -profileName parameter to identify which profile to address. You might find it easier to use the commands that are in the bin directory of each profile.
Use these commands to query the command shell to determine the calling profile and to address these commands to the calling profile.
The
default profile directory is app_server_root/profiles,
where app_server_root is the installation root.
The default profile directory
is app_server_root\profiles, where app_server_root is
the installation root.
Use unique names for each application server that you create.
Some default values in the following table are split on multiple lines for printing purposes.
Field Name | Default Value | Constraints | Description |
---|---|---|---|
Node name | shortHostName Node NodeNumberwhere:
|
Avoid using the reserved terms. | Select any name you want. To help organize your installation, use a unique name if you plan to create more than one application server on the machine. |
Server name | server1 | Use a unique name for the application server. | The name is a logical name for the application server. |
Host name | The long form of the domain name server (DNS) name. |
Addressable through your network. | Use the DNS name or IP address of your machine to enable communication with your machine. See additional information about the host name following this table. |
Node name considerations:
Host name considerations:
The host name is the network name for the physical machine on which the node is installed. The host name must resolve to a physical network node on the server. When multiple network cards exist in the server, the host name or IP address must resolve to one of the network cards. Remote nodes use the host name to connect to and communicate with this node. Selecting a host name that other machines can reach within your network is important. Do not use the generic identifier, localhost, for this value. Also, do not attempt to install WebSphere® Application Server products on a machine with a host name that uses characters from a double-byte character set (DBCS). DBCS characters are not supported when used in the host name.
If you define coexisting nodes on the same computer with unique IP addresses, then define each IP address in a domain name server (DNS) look-up table. Configuration files for standalone application servers do not provide domain name resolution for multiple IP addresses on a machine with a single network address.
The fully qualified DNS host name has the advantages of being unambiguous and flexible. You have the flexibility of changing the actual IP address for the host system without having to change the application server configuration. This value for the host name is particularly useful if you plan to change the IP address frequently when using Dynamic Host Configuration Protocol (DHCP) to assign IP addresses. A disadvantage of this format is dependency on DNS. If DNS is not available, then connectivity is compromised.
The short host name is also dynamically resolvable. A short name format has the added function of being redefined in the local hosts file so that the system can run the application server, even when disconnected from the network. To run disconnected, define the short name as the loopback address, 127.0.0.1, in the hosts file to run disconnected. A disadvantage of this format is a dependency on DNS for remote access. If DNS is not available, then connectivity is compromised.
A numeric IP address has the advantage of not requiring name resolution through DNS. A remote node can connect to the node that you name with a numeric IP address without DNS being available. A disadvantage of this format is that the numeric IP address is fixed. You must change the setting of the hostName property in Express configuration documents whenever you change the machine IP address. Therefore, do not use a numeric IP address if you use DHCP, or if you change IP addresses regularly. Another disadvantage of this format is that you cannot use the node if the host is disconnected from the network.
After specifying application server characteristics, the tool displays the Administrative security panel.
You can enable administrative security now during profile creation, or later from the console. If you enable administrative security now, then enter a user name and password to log onto the administrative console.
After specifying security characteristics, the tool displays the Security certificate panel if you previously selected Advanced profile creation.
If you chose not to deploy the administrative console, then the administrative console ports are disabled on the Ports panel.
Port conflict resolution
The
tool displays the Windows® service definition panel
if you are installing on a Windows operating
system and the installation ID has the administrative group privilege.
The tool displays the Linux service definition panel
if you are installing on a supported Linux operating
system and the ID that runs the Profile Management Tool is the root user.
The Windows service definition panel is displayed for the Windows operating system only if the ID that installs the Windows service has the administrator group privilege. However, you can run the WASService.exe command to create the Windows service as long as the installer ID belongs to the administrator group. Read about automatically restarting server processes for more information.
The product attempts to start Windows services for application server processes
that are started by a startServer command. For example, if you configure
an application server as a Windows service,
and issue the startServer command, then the wasservice command
attempts to start the defined service.
If you chose to install a local system service, then you do not have to specify your user ID or password. If you create a specified user type of service, then you must specify the user ID and the password for the user who runs the service. The user must have Log on as a service authority for the service to run correctly. If the user does not have Log on as a service authority, then the Profile Management tool automatically adds the authority.
To perform this profile creation task, the user ID must not contain spaces. In addition to belonging to the administrator group, the ID must also have the advanced user right of Log on as a service. The Installation program grants the user ID the advanced user right if the user ID does not already have the advanced user right and if the user ID belongs to the administrator group.
You can also create other Windows services after the installation is complete to start other server processes. Read about automatically restarting server processes for more information.
You can remove the Windows service that is added during profile creation during profile deletion. You can also remove the Windows service with the wasservice command.
Profiles created to run as a Windows service fail to start when using Internet Protocol Version 6 (IPv6) if the service is configured to run as local system. Create a user-specific environment variable to enable IPv6. Since this environment variable is a user variable instead of a local system variable, only a Windows service that runs as that specific user can access this environment variable. By default, when a new profile is created and configured to run as a Windows service, the service is set to run as local system. When the Windows service for the product tries to run, the service is unable to access the user environment variable that specifies IPv6, and thus, tries to start as Internet Protocol Version 4 (IPv4). The server does not start correctly in this case. To resolve the problem, when creating the profile, specify that the Windows service for the product runs with the same user ID from which the environment variable that specifies IPv6 is defined, instead of as local system.
Default values for the Windows service
The Linux service definition panel is displayed if the current operating system is a supported version of Linux operating systems, and the current user has the appropriate permissions.
The product attempts to start Linux services for application server processes that are started by a startServer command. For example, if you configure an application server as a Linux service and issue the startServer command, then the wasservice command attempts to start the defined service.
By default, the product is not selected to run as a Linux service.
To create the service, the user that runs the Profile Management Tool must be the root user. If you run the Profile Management Tool with a non-root user ID, then the Linux service definition panel is not displayed, and no service is created.
When you create a Linux service, you must specify a user name from which the service runs.
To delete a Linux service, the user must be the root user or have appropriate privileges for deleting the service. Otherwise, a removal script is created that the root user can run to delete the service for the user.
If you previously selected Advanced profile creation, the next panel displays the web server definition panel.
If you use a web server to route requests to the product, then you need to include a web server definition. You can include the definition now, or define the web server to the product later. If you define the Web server definition during the creation of this profile, then you can install the web server and its plug-in after you create the profile. However, you must install both to the paths that you specify on the web server definition panels. If you define the web server to the product after you create this profile, then you must define the Web server in a separate profile.
The tool displays the Profile Creation Summary panel.
The Profile creation progress panel, which shows the configuration commands that are running, is displayed.
When the profile creation completes, the tool displays the Profile creation complete panel.
With the First steps console, you can create additional profiles and start the application server.
You created an application server profile. The node within the profile has an application server named server1.
Refer to the description of the manageprofiles command to learn about creating a profile using a command instead of the Profile Management Tool.
Deploy an application to get started.
Read about fast paths for the product to get started deploying applications.
In this information ...Related reference
| IBM Redbooks, demos, education, and more(Index) Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience. This feature requires Internet access. Most of the following links will take you to information that is not part of the formal product documentation and is provided "as is." Some of these links go to non-IBM Web sites and are provided for your convenience only and do not in any manner serve as an endorsement by IBM of those Web sites, the material thereon, or the owner thereof. |