Back to Main Test Specification Page

Introduction

This document provides a list of test cases that will be manually executed to test the Netbeans plugin with GlassFish V2 server.

%%collapsebox

Server Registration and Configuration

Test Case ID Test Case Purpose Test Case Description Expected Result
1 Check the default Application server instance and its default properties 1.Start NB IDE,Go to the Runtime window and expand the Server Registry instances nodes 2. Click on the Services node representing the default server installation(GlassFish V2) The default instance should present and has a set of default properties
2 Remove default instance 1. Perform 'Remove' action on the default GlassFish V2 appserver installation node The node should disappear.
3 Add the default Application server installation back 1.Perform 'Add Server...' action on Server registry node. 2. In the "Choose server" dialog window select server "GlassFish V2 and click "Next" 3. In the next dialog window fill the App server's Location,user name and password,Click on "Finish". A new sub node "GlassFish V2" should appear under the Server registry node.
4 Verify platform location of GlassFish V2 1.Start IDE and right click on the server node select GlassFish V2 and give platform location for GlassFish V2 server. 2.Remove platform location of GlassFish V2 server in the dialog window "Platform location folder". 3.Give the same platform location of GlassFish V2. There should not be any error message .
5 Verify Register default local domain 1.Start IDE and right click on the server node select GlassFish V2 and give platform location for GlassFish V2 server. 2.Remove platform location of GlassFish V2 server in the dialog window "Platform location folder". 3.Select Register local domain option. 4.Give the same platform location for GlassFish V2 The "Register default local domain" option should not be disabled.
6 Add a new Application server instance 1. Perform 'Add Server...' action on Server registry node. 2. In the opened dialog choose server "GlassFish V2. and click "Next". 3. In the next dialog window give the Appserver's Location,user name and password. 4. Click "Finish". A new sub node representing newly added Application server (GlassFish V2 1 ) should appear under the Server registry node.

Adding server through the server manager

Test Case ID Test Case Purpose Test Case Description Expected Result
1 Add Application server 1.Select IDE menu Tools/Server Manager. 2. Click on Add Server. 3. In the dialog window "choose server" GlassFish V2 and click "Next". 4. In the next dialog window fill the Application server's Location,user name and password. 5. Click on "Finish". A new sub node representing the GlassFish V2 Application server should appear under the Server manager list.
2 Remove Application server 1. Open Tools/Server Manager. 2. Select GlassFish V2 application Server and click on Remove. The server name should disappear from list.

Application server instance

Test Case ID Test Case Purpose Test Case Description Expected Result
1 Verify Start 1.Perform 'Start' action on the GlassFish V2 server instance node. 2.Clean up:Stop and remove the server. 1. GlassFish V2 server should be successfully started. 2. Check the IDE server messages in a output window. 3.Verify instance node can be expanded and contains a list of web modules. 4. Check it should contain Application,JDBC,JMS Resource,JAVA Mail Resource,JNDI,Connectors,JVMs.
2 Verify Restart 1.Start NB IDE and register GlassFish V2 server. 2.Start the server. 1.Perform 'Restart' action on the GlassFish V2 server instance node. 3.Clean up:Stop and remove the server. 1.GlassFish v2 server should be restarted successfully. 2.Check the IDE server out put.
3 Verify Start in Debug Mode 1.Start NB IDE and register GlassFish V2 server. 2.Perform "Start in Debug Mode" action on the GlassFish V2 server instance node. 3.Clean up:Stop and remove the server. 1.GlassFish V2 server should be started successfully in debug mode 2.Check the IDE server out put.
4 Verify Start in Profile Mode 1.Start NB IDE and register GlassFish V2 server. 2.Perform "Start in Profile Mode" action on the GlassFish V2 server instance node. 3.Clean up:Stop and remove the server. 1.GlassFish V2 server should be started successfully in Profile mode 2.Check the IDE server out put.
5 Verify Stop 1.Start NB IDE and register GlassFish V2 server. 2.Perform "Start" action on the GlassFish V2 server instance node. 3.Perform "Stop" action on the GlassFish V2 server instance node. 4.Clean up:Remove the server. Server should be stopped. 2.Check the IDE server out put.
6 Verify View Admin Console 1.Start NB IDE and register GlassFish V2 server. 2.Perform 'Start' action on the GlassFish V2 server instance node. 3.Select View admin console on the GlassFish V2 server instance node. 4.Clean up:Stop and remove the server. The Admin console window should be opened in the browser.
7 Verify View Update Center 1.Start NB IDE and register GlassFish V2 server. 2.Perform 'View Update center' action on the GlassFish V2 server instance node. 3.Clean up:Remove the server. GlassFish Update center window should open.

Register Remote Domain

Test Case ID Test Case Purpose Test Case Description Expected Result
1 Verify Register remote domain 1.Host machine 1:Install GlassFish V2 and start the server. 2.Host machine 2:Install NetBeans IDE,start IDE. 3.Select Tools/Server/GlassFish V2. 4.Select remote domain in the "Platform Folder location" dialog window. 5. Select Next. 6.Give Host name for the installed GlassFish V2 in the "Domain admin Info" dialog window,select Next. 4.Enter user name and password in the "Domain Admin Login Info" dialog window. Select Finish. 1.Green symbol should appear over GlassFish V2 node 2.Right Click on the GlassFish V2 server node check these option should be disabled. 1.Start Server 2.Start In Debug Mode. 3.Restart. 4.Stop. 5.View Server log.
2 Verify View Admin Console 1.Perform 'View Admin Console' action on the Application server instance node. 1.The Admin console window should be opened in the browser with the following URL http://host

name:port/login.jsf.

3 Verify deploy A small web application 1.Create a small web application(Hello World). 2.Right click on the on the project select Build/Undeploy&Deploy/Run. Check the out put in the browser with the url http://host

name:port/Web Application/

4 Verify disable the deployed application 1.Create a small web application(Hello World). 2.Right click on the on the project select Build/Undeploy&Deploy. 3.Right click on the deployed application and select Disable. The application should not run.Browser should show information " requested service () is not currently available.

Web Project run properties

  • Create a web application - Web Application with 2 JSP pages located in WEB-INF directory, e.g. index.jsp and index2.jsp (Simple Hello world web application)
  • Minimal two Application server instances have to be installed.
Test Case ID Test Case Purpose Test Case Description Expected Result
1 Verify change target server per project. 1.Right-click on the web project and Click on Properties. 2.Go to Run - Running Project node. 3.From Server select box, select one server instance and click OK button. 4.Right-Click on the application and select Run. Your application should be deployed on selected server.
2 Verify Change relative URL. 1.Go to the Projects tab. 2.Right click on the web application choose Properties item. 3.Go to Run and change Relative URL text box type to second page's relative URL, e.g. index2.jsp. 4.Click OK. 5.Right click on the application select RUN. In the browser out put it must display correct URL: http://localhost:port/$CONTEXT/Relative

URL.

New Per-Instance Options

Test Case ID Test Case Purpose Test Case Description Expected Result
1 Verify Options tab 1.Start NB IDE and register GlassFish V2 server. 2.Select "Properties" on the GlassFish V2 server instance node. 3.Choose "Options" tab. 4.Clean up:Remove GlassFish V2 server. 1.Option tab should contain Startup Time-outs,Deployment Time-out s. 2.Check box "Directory Deployment Enabled","JDBC Driver(s) Deployment Enabled" and "Java DB start enabled" is checked.
2 Verify Options tab on registering remote domain 1.Start NB IDE 2.Register remote domain. 3.Select "Properties" on the GlassFish V2 server instance node. 3.Choose "Options" tab. 4.Clean up:Remove GlassFish V2 server. 1.Startup Timeout s option is disabled and deployment Timeout s can be changed 2.Check box "Directory Deployment Enabled" is disabled 3.Check box "JDBC driver(s) deployment Enabled" is checked and disabled. 4.Check box "Java DB start enabled is checked" is checked and disabled.
3 Verify change in value Startup Time-outs by pressing enter 1.Start NB IDE and register GlassFish V2 server. 2.Select "Properties" on the GlassFish V2 server instance node. 3.Choose "Options" tab. 4.Change default value in Startup Timeout and press enter key. 4.Clean up:Remove GlassFish V2 server. Verify new value is set correctly with out any exception.
4 Verify change in value Deployment Time-out by pressing enter 1.Start NB IDE and register GlassFish V2 server. 2.Select "Properties" on the GlassFish V2 server instance node. 3.Choose "Options" tab. 4.Change default value in Deployment Timeout and press enter key. 4.Clean up:Remove GlassFish V2 server. Verify new value is set correctly with out any exception.
5 Verify Startup Time-outs on pressing Space key. 1.Start NB IDE and register GlassFish V2 application server. 2.Right click on the GlassFish V2 server and select option tab. 3.Set startup time or deployment time to ZERO. 4.set some value to startup time or deployment time.(70,67,89,80,786 or some value). 5.Remove those value and press space key. 6.Clean up:Remove GlassFish V2 server. No change in value.
6 Verify coherence between IDE out put and Server Out put. 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Change default value in Startup Time-out to a very small value (2 sec). 3.Start server. 4.Clean up:Stop and remove the server. Verify coherence between server status (CLI, Output-server) and IDE server node status should be same.
7 Test coherence between application deployment status (Output-project, Output-server) and IDE server node Web Applications tree. 1.Start NB IDE and register local default domain and start. 2.Start server. 3.Change default value in Deployment Time-out to a very small value (1 sec.) 4.Deploy a small web app (1 jsp hello). 5.Clean up:Undeploy the application, stop and remove the server. Verify coherence between application deployment status (Output-project, Output-server)
8 Verify Connection Tab on registering local default domain. 1.Start NB IDE and register GlassFish V2 server with local default domain. 2.Select Servers Panel Connection tab. 3.Clean up:Remove server. Verify Combo box "Enable HTTP Monitor" and "Use IDE proxy setting" is checked.
9 Verify Connection Tab on registering remote domain. 1.Start NB IDE and register GlassFish V2 server with local default domain. 2.Select Servers Panel Connection tab. 3.Clean up:Remove server. 1.Combo box "Enable HTTP Monitor" has to be disabled and unchecked. 2.Combo box "Use IDE Proxy Settings" has to be disabled and unchecked.
10 Verify Uncheck Enable HTTP Monitor on selecting close. 1.Start NB IDE and register GlassFish V2 server with local default domain. 2.Right click on GlassFish V2 server select "properties" and select Connection tab,uncheck Enable HTTP Monitor and select close. 3.Clean up:Remove server Verify no exception.
11 Verify Uncheck Enable HTTP Monitor on pressing enter. 1.Start NB IDE and register GlassFish V2 server with local default domain. 2.Right click on GlassFish V2 server select "properties" and select Connection tab,uncheck Enable HTTP Monitor and press enter key. 3.Clean up:Remove server Verify no exception.
12 Directory Deployment 1 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click in GlassFish V2 server select properties/Options tab and keep the Directory Deployment box checked. 3.Create a web application. 4.Right click on the application select build/Deploy/Run. 5.Cleanup: Undeploy, Stop/Remove Verify project Out-put /application deployment from build/web directory.
13 Directory Deployment 2 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click in GlassFish V2 server select properties/Options tab and uncheck the Directory Deployment box. 3.Create a web application. 4.Right click on the application select build/Deploy/Run. 5.Cleanup: Undeploy, Stop/Remove Verify project Out-put /application deployment from build/web directory.
14 Directory Deployment 3 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click on GlassFish V2 server select properties/Options tab and keep the Directory Deployment box checked. 3.Create an EJB application 4.Right click on the EJB application select Build/Deploy/Run. 5.Clean up:Undeploy, Stop/Remove. 1.Verify project Out-put /application deployment from build/web directory. 2.Verify on deployed ejb node (Properties) the Location.
15 Directory Deployment 4 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click in GlassFish V2 server select properties/Options tab and uncheck the Directory Deployment box. 3.Create an EJB application 4.Right click on the EJB application select Build/Deploy/Run. 5.Clean up:Undeploy, Stop/Remove. Verify project Out-put /application deployment from build/ directory.
16 Directory Deployment 5 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click on GlassFish V2 server select properties/Options tab and uncheck the Directory Deployment box. 3.Create an Enterprise application (EJB + web) 4.Right click on the EAR project select /Build/Deploy/Run. Verify project Out-put /application deployment of the ear file.
17 Directory Deployment 6 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click on GlassFish V2 server select properties/Options tab and keep the Directory Deployment box checked. 3.Create an Enterprise application (EJB + web) 4.Right click on the EAR project select /Build/Deploy/Run. Verify project Out-put /application deployment of the ear file.
18 Directory Deployment 7 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click on GlassFish V2 server select properties/Options tab and keep the Directory Deployment box checked. 3.Create an Enterprise application (EJB + web + App-Client ) 4.Right click on the EAR project select /Build/Deploy/Run. Verify project Out-put /application deployment of the ear file.
19 Directory Deployment 8 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click on GlassFish V2 server select properties/Options tab and uncheck the Directory Deployment box. 3.Create an Enterprise application (EJB + web + App-Client ) 4.Right click on the EAR project select /Build/Deploy/Run. Verify project Out-put /application deployment of the ear file.
20 Directory Deployment 9 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click on GlassFish V2 server select properties/Options tab and uncheck the Directory Deployment box. 3.Create an App-Client project. 4.Right click on the App-Client project select /Build/Deploy/Run. Verify project Out-put /application deployment of the ear file.
21 Directory Deployment 10 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click on GlassFish V2 server select properties/Options tab and keep the Directory Deployment box checked. 3.Create an App-Client project. 4.Right click on the App-Client project select /Build/Deploy/Run. Verify project Out-put /application deployment of the ear file.
22 Directory Deployment 11 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click on GlassFish V2 server select properties/Options tab and keep the Directory Deployment box checked. 3.Create an EAR project with (EJB and App-client only). 4.Right click on the EAR project select /Build/Deploy/Run. Verify project Out-put /application deployment of the ear file.
23 Directory Deployment 12 1.Start NB IDE and register GlassFish V2 server with local default domain and start. 2.Right click on GlassFish V2 server select properties/Options tab and uncheck the Directory Deployment box. 3.Create an EAR project with (EJB and App-client only). 4.Right click on the EAR project select /Build/Deploy/Run. Verify project Out-put /application deployment of the ear file.

Resources Configuration

1.JMS Resource Configuration:

Test Case ID Test Case Purpose Test Case Description Expected Result
1 Create a JMS Resource 1.Start NetBeans IDE ,register GlassFishV2 server and start server. 2.Create a Web application. 3.Right-click on the web project and select New/Other/GlassFish/JMS Resource. 4.General Attributes: Give JNDI name: jms/myQueue_1 in the dialog window General Attributes Enable:true Description :.................. Choose Admin object Resource type(Queue/Topic) and click Next>Back. 5.Additional Properties: Add two properties in the dialog window "additional properties". By clicking on add button. Set Name : Name1 and value : Give value. Set Name : Name1 and value : different value and press enter. 6.Add or Remove additional properties: Add two properties in the dialog window Additional properties with different name by clicking on Add button. Remove property by clicking on Remove button. 7.Clean up:Stop and remove server. 1.Given JNDI Name should be saved on selecting BACK. 2.Information dialog window should pop up with following information "Duplicate Property:Property name should not be unique". 3.Added property should be able to remove with no exception. 4.Check selected resource should be created in sun-resource.xml.
2 Add JMS resource with different Resource type. 1.Start NetBeans IDE ,register GlassFishV2 server and start server. 2.Create a web application. 3. Right click on the web application select New/GlassFish/JMS Resource and create different Resources type(Queue,Topic,QueueConnectionFactory,TopicConnectionFactory and ConnectionFactory). 4.Right click on the application select Build/Undeploy&Deploy. 5.Properties of deployed JMS Resource: Right click on the deployed JMS Resources and update some of the properties(server/GlassFish V2/Resource/JMS Resource). 6.Clean up:Undeploy application, stop/Remove server. 1.Verify selected Resource should be created in sun-resource.xml file. Verify selected Resources should be created in Server/GlassFish V2/Resources/JMS Resource. 3.Verify updated properties should appear in the JMS Resource properties with out any exception.
3 Delete created resource. 1.Same step1-4 as above. 2.Select Server/GlassFish V2/Resources/JMS Resource. 3.Delete created JMS Resources. 4.Undeploy application, Stop/Remove server. 1.No exception.
4 Verify send JMS Message dialog box. 1.Start NetBeans IDE and Register Glass Fish V2 server and start server. 2.Create a new EAR project (Web + EJB). 3.Right click on EJB application and select Message Driven Bean and set project destination Queue1 type and select "OK". Update code onMessage() to dump the Received message. 4.Right click on Web application select servlet. 5.Right click in the Servlet code: select Enterprise Resource/ Send JMS Message. 6.Select Message Driven Bean: Queue1 and click OK. 7. Right click on the EAR project and select Build/Undeploy&Deploy/Run. 8.Clean up: Undeploy application.Stop/Remove server. 1.Verify created resource in sun-resource.xml file content in Server Resources node. 2. Verify @ Resource injection lines in the Servlet code.

2.Java Mail Resource Configuration:

Test Case ID Test Case Purpose Test Case Description Expected Result
1 Create a JAVA Mail Resource. 1.Start the IDE and Register GlassFishV2 server and start the server. 2.Create a Web application. 3.Right click on the Web applications and select New/Other/GlassFish V2/Java mail Session. 4.General Attributes: JNDI Name :mail/Mysession_123 Mail Host : mail-apac.sun.com Default User: Name Default return address: give mail ID Enable :true Descriptions: ....... select Next>Back. 5.Mail Session Properties: Add two properties in the dialog window Mail Session Properties. By clicking on add button. Set Name : Name1 and value : Give value Set Name : Name1 and value : different value and press enter. 6.Add or Remove properties: Add two properties in the dialog window Additional properties with different name by clicking on Add button. Remove property by clicking on Remove button. 7.Select Finish. 8.Clean up:Stop/Remove server. 1.Given JNDI Name should be saved on selecting BACK. 2.Information dialog window should pop up with following information "Duplicate Property:Property name should not be unique". 3.Added property should be able to remove with no exception. 4.Check selected resource should be created in sun-resource.xml.
2 Delete created mail resource 1.Steps 1-7 same as above. 2.Right click on the web application select Build/Undeploy&Deploy/Run. 3.Delete created resource from server/GlassFish/Resources/Java Mail Session. 4.Clean up:Undeploy application, Stop/Remove server. 1.No exception. 2.Resource should be deleted.
3 Test Send E-Mail 1.Start the IDE and Register GlassFishV2 server and start the server. 2.Create a Web application. 3.Right-click on the web project and select Servlet. 4.Right Click in the Servlet code select Enterprise Resources/Send E-Mail. 5.In the dialog window Specify Mail Resource give JNDI Name: newMail and select generate Inline Look up code and select OK. 6.Clean up:Stop/remove server. Verify in the Servlet code that the "@Resource and session name " should be created.

3.JDBC Resource Configuration:

Test Case ID Test Case Purpose Test Case Description Expected Result
1 Create JDBC Resource with New connection pool. 1.Start NetBeans IDE and Register GlassFishV2 server and start the server. 2.Create a simple Web application(Hello world). 3.Right click on the web application and select JDBC resource. Select Choose New JDBC Connection Pool from the dialog window "General Attributes". General Attributes: Set the values for JNDI Name: jdbc/myDatasource_New. Object type: user Enabled :true Description: Give description 4.Select Next/Back Additional Properties: Add two properties with same name and different values in the dialog window Additional Properties. By clicking on add button. Set Name : Name1 and value : Give value Set Name : Name1 and click on value text field. Add or Remove properties: 5.Add two properties in the dialog window Additional properties with different name by clicking on Add button. 6.Remove any property by clicking on Remove button. Choose DataBase Connection: 7.JDBC Connection Pool name:connectionpool_1 8.Select Extract from Existing Connection pool(derby/sample,derby/travel, derby/vir) and select Next. Add Connection Pool Properties: 9.Leave the default value,and select Next. Specify Optional Properties For Connection Pool: 10.Leave the default values and select Finish. 11.Clean up:Stop/Remove server. 1.Given JNDI Name should be saved. 2.Verify information dialog window "Duplicate Property: Property Name should be Unique". When you type same Name. 3.Added property should be able to remove with no exception. 4.Verify created resource in the sun-resource.xml file.
2 Add JDBC resource with different Connection pool(Travel ,vir) 1.Steps 1-10 same as above. 2.Follow the above step to create JDBC Resource with different connection pool(Sample,Travel, VIR). 3.Right click on the project and select Build/Undeploy & Deploy/Run. 4.Right click on the deployed resource select properties(Server/GlassFish V2/Resources/JDBC/JDBC Resource). 5.Update some properties. 6.Clean up:Undeploy the application,Stop/Remove server. 1.Verify created resource in sun-resource.xml file. 2.Verify deployed resource in the Server/GlassFish/Resource/JDBC Resource. 3.Updated properties should appear.
3 Delete deployed JDBC Resources 1. Steps 1-3 same as above. 2.Right click on the deployed resource select delete properties(Server/GlassFish V2/Resources/JDBC/JDBC Resource). 3.Clean up: Undeploy the application,Stop/Remove server. 1.No exception. 2.Resource should be able to delete.
4 Create JDBC Resource with Existing Connection pool 1.Start NetBeans IDE and Register GlassFishV2 server and start the server. 2.Create a simple Web application(Hello world). 3.Right click on the web application and select JDBC resource. Select Use existing connection pool(Sample pool). General Attributes: JNDI Name: jdbc/myDatasource_New Object type: user Enabled :true Descriptions:...... 4.Select Next/Back. Additional Properties: 5.Add two properties with same name and different values in the dialog window Additional Properties. By clicking on add button. give Name : Name1 and value : Give value. give Name : Name1 and click on value text field. Add or Remove additional properties: 6.Add two properties with different name and values in the Additional Properties dialog window. give Name : Name1 and value : Give value. give Name : Name2 and Value :Different value and remove any properties by clicking on remove button .Select Finish. 7.Right click on the application select Build/Undeploy and Deploy/Run. 8.Clean up:Undeploy the application,Stop/Remove server. 1.Verify created resource in sun-resource.xml file. 2.Verify deployed resource in the Server/GlassFish/Resource/JDBC Resource. 3.Given JNDI Name should be saved. 4.Verify information dialog window "Duplicate Property: Property Name should be Unique". When you type same Name. 5.Added property should be able to remove with no exception.
5 Delete deployed JDBC Resources 1.Steps 1-7 same as above. 2.Right click on the deployed resource select delete resource(Server/GlassFish V2/Resources/JDBC/JDBC Resource). 3.Clean up: Undeploy the application,Stop/Remove server. No exception and deployed resource should be able to delete.
6 Verify Use Database 1.Start NetBeans IDE,register GlassFishV2 server and start. 2.Create a simple web application 3.Right click on the project and select Servlet. 4.Right click in the Servlet code and select Enterprise resource/Use Database. 5.Set Reference by clicking Add button. 6. Select Server Data Sources(jdbc/_Default or jdbs/sample). 7.check the copy selected data resource to project and click OK. 8.Select General Inline Look up code and select OK. 9.Right click on the web application select Build/Undeploy and deploy/Run. 10. Clean up: Undeploy the application,Stop/Remove server. 1.@ Resource and Data resource name should be generated in the Servlet code. 2.Resource should be deployed under node Server/GlassFish v2/Resource/ JDBC.
7 Verify Update properties of deployed JBDC Resource 1.Start NetBeans IDE. Register GlassFishV2 server and start. 2.Create a simple web application (webapplication1). 3.Right click on the web application select New/Other/GF/JDBC Resource. 4.Select create new JDBC Connection Pool select Next>Next>Next>Next. 5.Remove default values of "Max Wait Time" and "Idle Timeout" in the dialog window "Specify optional Properties for Connection Pool" and select Finish. 6.Right click on the web application select Build/Undeploy & Deploy/Run. 9.Right click on the deployed resource select Properties and check MaxWaitTimeInMillis and IdleTimeoutInSeconds(server/GF2.1/Resources/JDBC/Connection pool). 10.Clean up:Undeploy the application. Delete deployed resource.Stop/Remove server. Given Value should be saved in the properties of deployed resource.