SJSU CS297 Project


Project Description
 
This project is to analyze shortcomings of the error handling mechanism of the GlassFish application server and to implement multiple programmer error handling modules that provide meaningful and useful feedback to programmers.

Project Progress Reports
 
Week 1 ( 08/28 - 09/05)
Hours spent : 40

Read the technical papers, journal articles and online discussion about GlassFish architecture and error handling.
Read the articles advisor forwarded.
Constructed project web page.
Study GlassFish verifier: 1) architecture 2) rule set.
Working on adding a new verifier.
 
Week 2 ( 09/06 - 09/12)
Hours spent : 40

Built and Configured GlassFish application server.
Deployed a web application  quiz.ear in GlassFish. 
Implemented a customized verifier tool.
Run the customized Verifier on quiz.ear.
 
Adding a customized verifier in GlassFish.

GlassFish Verifier is implemented project 'avk'. I have added the simple verifier to understand and test how the verifier get built and run.

1. Build GlassFish following steps in https://glassfish.dev.java.net/public/BuildGlassFish.html

2. Create a new project 'Application_Verfication_Kit' in NetBeans using option 'Java Project using existing Ant Script', and point the build script to /avk/build.xml

3. Create a new Java class in package com.sun.enterprise.tools.verifier.tests.persistence named MyVerifierTest, that  implements VerifierTest

4. Edit MyVerifierTest class 

 .... public Result check(Descriptor descriptor) { 

Result result = getInitializedResult(); 

result.setStatus(Result.PASSED);

 ....

.
5. Edit config file TestNamesPersistence.xml under /avk/config/verifier
Add the following lines:  

 <test> 
<test-class>com.sun.enterprise.tools.verifier.tests.persistence.MyVerifierTest</test-class> 
</test>


6. Build the project 'Application_Verfication_Kit'

7. Run verifier :
             
verifier - u 

8. In the GUI verifier, you will see the customized verifier class in the Results list.

 
Week 3 ( 09/13 - 09/18)
Hours spent : 40

Find the customize verifier common interface : VerifierCheck
Verifier common function: check() 
Stack calll for common function check()
Issues: unable to run avk in netbeans.
Hosted by www.Geocities.ws

1