IP Library Granted Patent US 7,395,526
Granted Patent B2
US 7,395,526 · App. 10/328,883 · Granted Jul 1, 2008

Method and system for managing application server lifecycle

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,395,526
App. No.
10/328,883
Granted
Jul 1, 2008
Kind
B2
Abstract

A method for managing an application server that is configured to execute a plurality of test applications is provided. The method includes the operations of (a) processing a first one of the plurality of test applications, (b) determining if the first application fails to be processed to completion, (c) recording an exception identifying an explanation for the failure if the first test application fails to be processed to completion, (d) refreshing the application server, (e) executing a next one of the plurality of test applications, and (f) repeating operations (a) through (e) if there are remaining ones of the plurality of test applications that still need to be processed.

Claims (58)

1. A method for using an application lifecycle manager to manage an application server that is configured to execute a plurality of test applications, comprising:

processing each of the plurality of test applications, each of the plurality of test applications having a respective test script for running the corresponding test application;

determining if any of the plurality of applications fails to be processed to completion;

recording an exception identifying an explanation for the failure for any application that fails to be processed;

allowing the processing of the remaining respective test scripts to continue to completion to prevent premature termination of the processing when one of the plurality of test applications fails to be processed; and

shutting down and restarting the application server when prompted by the application lifecycle manager in response to processing.

2. The method as recited in claim 1 , wherein processing each of the plurality of test applications to completion further includes

building each of the plurality of test applications by building the respective test script associated with each of the plurality of test applications;

deploying the respective test script associated with each of the plurality of test applications;

running the respective test script associated with each of the plurality of test applications; and

generating a test report for each of the plurality of test applications.

3. The method as recited in claim 1 , wherein recording further includes storing the exception as data in a file.

4. The method as recited in claim 1 , wherein recording further includes storing the exception as Extensible Markup Language (XML) to a file.

5. The method as recited in claim 1 , wherein recording further includes storing to a file the exception as Extensible Markup Language (XML) configured to be viewed using Extensible Stylesheet Language (XSLT).

6. The method as recited in claim 1 wherein processing further includes sequentially processing each of the plurality of test applications and determining further includes sequentially determining if each of the plurality of applications fails to be processed to completion; shutting down and restarting the application server further includes shutting down and restarting the application server after a predetermined number of the plurality of test applications have been processed and before remaining test applications of the plurality of test applications have been processed.

7. A method for using an application lifecycle manager to manage an application server that is configured to execute a plurality of test applications, comprising:

processing each of the plurality of test applications, each of the plurality of test applications having a respective test script for running the corresponding test application;

determining if any of the plurality of test applications fails to be processed to completion for a predetermined period of time;

shutting down and restarting the application server in response to one of the plurality of test applications failing to be processed to completion;

recording, before shutting down and restarting the application server, an exception identifying an explanation for the failure of the one of the plurality of test applications failing to be processed to completion;

allowing the processing of the respective test scripts to completion to prevent premature termination of the processing when one of the plurality of test applications fails to be processed.

8. The method as recited in claim 7 , wherein processing each of the plurality of test applications to completion further includes

building each of the plurality of test applications by building the respective test script associated with each of the plurality of test applications;

deploying the respective test script associated with each of the plurality of test applications;

running the respective test script associated with each of the plurality of test applications; and

generating a test report for each of the plurality of test applications.

9. The method as recited in claim 7 , wherein the application server is an enterprise application server.

10. The method as recited in claim 7 , wherein the exception identifying the explanation for the failure is stored to a file.

11. The method as recited in claim 10 wherein the file has an Extensible Markup Language (XML) configuration.

12. The method as recited in claim 7 wherein processing further includes sequentially processing each of the plurality of test applications and determining further includes sequentially determining if each of the plurality of applications fails to be processed to completion; shutting down and restarting the application server further includes shutting down and restarting the application server after a predetermined number of the plurality of test applications have been processed and before remaining test applications of the plurality of test applications have been processed.

13. A method for using an application lifecycle manager to manage an application server that is configured to execute a plurality of test applications, comprising:

shutting down and restarting the application server when prompted by the application lifecycle manager;

processing a first one of the plurality of test applications wherein each of the plurality of test applications having a respective test script for running the corresponding test application;

recording a pass explanation if the processing of the first one of the plurality of test applications proceeds to completion;

recording a fail explanation if the processing of the first one of the plurality of test applications fails to proceed to completion; and

allowing the processing of the respective test scripts to continue to completion to prevent premature termination of the processing when the first one of the plurality of test applications fails to be processed.

14. The method as recited in claim 13 , wherein processing a first one of the plurality of test application, includes

building the first one of the plurality of test applications by building the respective test script associated with the first one of the plurality of test applications;

deploying the respective test script associated with the first one of the plurality of test applications;

running the respective test script associated with the first one of the plurality of test applications; and

generating a test report for the first one of the plurality of test applications.

15. A method for using an application lifecycle manager to manage an application server that is configured to execute a plurality of test applications, comprising:

processing each of the plurality of test applications, sequentially, each of the plurality of test applications having a respective test script for running the corresponding test application;

for each of the plurality of test applications identifying results of processing of each of the plurality of test applications, with said results being one of a set of results consisting of a pass condition and a fail condition, with said fail condition further including an explanation of said fail condition;

recording said results;

allowing the processing of the respective test scripts to continue to completion to prevent premature termination of the processing when one of the plurality of applications fails to be processed; and shutting down and restarting the application server in response to identifying.

16. The method as recited in claim 15 further wherein shutting down and restarting occurs in response to identifying the fail condition for one of said plurality of test applications and before processing the remaining test applications of said plurality of test applications.

17. The method as recited in claim 15 further wherein shutting down and restarting occurs in response to identifying the fail condition for one of said plurality of test applications and before processing the remaining test applications of said plurality of test applications, with recording the fail condition for said one of said plurality of test applications occurring after shutting down and restarting.

18. The method as recited in claim 15 wherein shutting down and restarting occurs after recording results for each of said plurality of test applications.

19. A method for using an application lifecycle manager to manage an application server that is configured to execute a plurality of test applications in parallel, comprising:

building a plurality of test applications in parallel, each of the plurality of test applications having a respective test script for running the corresponding test application;

deploying the respective test script associated with the plurality of test applications in parallel;

recording an exception, if a test application of the plurality of test applications fails to deploy successfully;

allowing the processing of the respective test scripts to continue to completion to prevent premature termination of the processing when one of the plurality of test applications fails to be processed;

shutting down the application server when prompted by the application lifecycle manager;

restarting the application server when prompted by the application lifecycle manager; and

running the respective test script associated with the plurality of test applications in parallel, with shutting down and restarting being in response to a predetermined event occurring while running the plurality of test applications in parallel.

20. The method as recited in claim 19 , wherein the application server is an enterprise application server.

Assignments (1)
MERGER AND CHANGE OF NAME Recorded Dec 16, 2015
From: ORACLE USA, INC.; SUN MICROSYSTEMS, INC.; ORACLE AMERICA, INC.
To: ORACLE AMERICA, INC.
Reel/Frame 037303/0336 →