Starting an application server

When you start an application server, a new server process starts. This new server process is based on the process definition settings of the current server configuration.

Before you begin

Before you start an application server, verify that all of the application required resources are available. You must also start all prerequisite subsystems.

If you want server components to dynamically start as they are needed by the installed applications, verify that the Start components as needed option is selected in the configuration settings for the application server before you start the application server. Selecting this option can improve startup time, and reduce the memory footprint of the application server. Starting components as they are needed is most effective if all of the applications that are deployed on the server are of the same type. For example, using this option works better if all of your applications are Web applications that use servlets, and JavaServer Pages (JSP). This option works less effectively if your applications use servlets, JSPs and Enterprise JavaBeans™ (EJB).

Avoid trouble: To ensure compatibility with other WebSphere® products, the default setting for this option is deselected. Before selecting this option, verify that any other WebSphere products, that you are running in conjunction with this product, support this functionality.gotcha

About this task

The node agent for the node on which an application server resides must be running before you can start the application server.

This procedure for starting a server also typically applies to restarting a server. The one exception might be if a server fails and you want the recovery functions to complete their processing prior to new work being started on that server. In this situation, you must restart the server in recovery mode.

After you create a new application server definition, you can start, stop, or manage the new server using the administrative console, or you can use commands to complete these tasks for the new server.

After you start an application server, other processes might not immediately discover the running application server. Application servers are discovered by the node agent. However, node agents are discovered by the deployment manager. Even though node agents typically discover local application servers quickly, it might take a deployment manager up to 60 seconds to discover a node agent.

If you are using clusters, the Initial State property of the application server subcomponent is not intended to be used to control the state of individual servers in the cluster at the time the cluster is started. This property is intended only as a way to control the state of the subcomponent of a server. You should use the Server options on the administrative console, or the startServer and stopServer command line commands to start and stop the individual servers of a cluster

There are several options available for starting an application server.

Procedure

Results

The specified server starts. To verify that the server is in start state, in the administrative console, click Servers > Server Types > WebSphere application servers .

What to do next

After the server starts, deploy the applications that you want to run on this server.

If you need to start an application server with standard Java™ debugging enabled:
  1. In the administrative console, click Servers > Server Types > WebSphere application servers.
  2. Click the name of the application server with the processes that you want to trace and debug.
  3. [AIX Solaris HP-UX Linux Windows] [z/OS] Under Server Infrastructure, click Java and process management > Process definition .
  4. [z/OS] Select Control .
  5. [AIX Solaris HP-UX Linux Windows] [z/OS] Select Java virtual machine.
  6. On the Java virtual machine page, select the Debug mode option to enable the standard Java debugger. Set Debug mode arguments, if they are needed.
  7. Click OK.
  8. Save the changes to a configuration file
  9. Stop the application server.
  10. Start the application server again as previously described.



In this information ...


Subtopics

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.

Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 7:37:48 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v701sca&product=was-nd-mp&topic=trun_svr_start
File name: trun_svr_start.html