Starting or stopping enterprise applications
You can start an application that is not running (has a status of Stopped) or stop an application that is running (has a status of Started).
Before you begin
Install your Java™ Platform, Enterprise Edition (Java EE) application on a server. By default, the application starts automatically when the server starts.
About this task
You can start and stop applications manually using the following:
- Administrative console
- startApplication and stopApplication attributes of the AdminControl object with the wsadmin tool
- startApplication and stopApplication administrative jobs of the AdminTask.submitJob -jobType object with the wsadmin tool
- Java programs that use ApplicationManager or AppManagement MBeans
The steps describe how to use the administrative console to start or stop an application.
避免困難: The steps apply to applications that do not contain Java Application
Programming Interface (API) for XML-Based Web Services (JAX-WS) service providers. To stop or start
applications that contain JAX-WS service providers, use the Service providers page accessed by
clicking . To start a service provider application, select a service and click Start
Application. To stop a service provider application, select a service and click
Stop Application. Then, on the Stop application page, click
OK to stop all modules in the application, including other services such as
enterprise beans and servlets.gotchaProcedure
Results
The status of the application changes and a message stating that the application started or stopped is displayed.
What to do next
You can configure an application so it does not start automatically when the server on which it resides starts. You then start the application manually using options described in this topic.
If you want your application to start automatically when its server starts, you can adjust values that control how quickly the application or its server starts:
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
![[IBM i]](../images/iseries.gif)
作業主題