If your application completes, either by returning from
the main
method or by a call to the System.exit(0)
method,
then the Java™ middleware status
is stopped, but the virtual machine is still running.
To restart the application, you must first stop the virtual machine.
Procedure
- Click . If you are on 2.3.3.3 or later, click .
- Select your virtual application instance to show the application details.
If the application completed successfully, the
application status is stopped. The Java
middleware status in the Virtual machine perspective section is also
stopped, but the virtual machine status is running.
- In the toolbar, click Maintain to put the application into
maintenance mode.
- In the Actions section, click the View
link, then click Stop.
Wait for the virtual machine to reach
the stopped state.
- Click the View link again, then click
Restart.
The virtual machine and the application are both
restarted.
Note: The virtual machine is reused from the previous session. If the application is a web
application, the IP address is unchanged. Any files that the application created or modified still
exist; if you want any cleanup to be done automatically when the application finishes or restarts,
that cleanup must be done by the application.
- Click Resume to exit maintenance mode.