3 Sep, 2010 5:56:15 PM com.sun.dft.config.TopologyManager getFTPServerHost INFO: Property ftp.server.host set to - localhost 3 Sep, 2010 5:56:15 PM com.sun.dft.ftp.api.FTPServiceFactory getLocalFTPService INFO: Property ftp.property.files.location set to - /home/sony/workspace/ha/gf-ha-qe/config/ftp 3 Sep, 2010 5:56:15 PM com.sun.dft.ftp.api.FTPServiceFactory getLocalFTPService INFO: ftp.server.host - 3 Sep, 2010 5:56:15 PM com.sun.dft.ftp.impl.serverCore INFO: FTP server started on port : 41730 3 Sep, 2010 5:56:17 PM com.sun.dft.proxy.impl.AgentServiceImpl INFO: Creating Agent Service with following props: name - agent1 rmi-host: localhost rmi-port:3000 ftp-host: localhost ftp-port: 41730 ftp-user: dftuser ftp-password: dftpassword 3 Sep, 2010 5:56:17 PM com.sun.dft.glassfish.config.ResourceManager getResource FINE: Found resource - das in the ResourceInfoList 3 Sep, 2010 5:56:17 PM com.sun.dft.glassfish.config.resources.impl.DASImpl createAndDownloadPasswordFile FINE: Creating local Password File - /home/sony/tmp/controller-file-repository/asadmin-password-file 3 Sep, 2010 5:56:17 PM com.sun.dft.glassfish.config.resources.impl.DASImpl createAndDownloadPasswordFile FINE: Deleting existing local passwordfile : /home/sony/tmp/controller-file-repository/asadmin-password-file 3 Sep, 2010 5:56:17 PM com.sun.dft.glassfish.config.resources.impl.DASImpl createAndDownloadPasswordFile INFO: Writing to password file - {AS_ADMIN_PASSWORD=, AS_ADMIN_MASTERPASSWORD=} 3 Sep, 2010 5:56:17 PM com.sun.dft.glassfish.config.resources.impl.DASImpl createAndDownloadPasswordFile INFO: Copying password file asadmin-password-file to remote location. 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager createDASandClusters INFO: Created Resource Das - [machineAgent: [MachineAgent - name:agent1], domainName: st-domain, dasPort: 4848, httpPort: 8080, httpsPort: 8181, , user: adminpassword: adminadmin, masterPassword: changeit] 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager createClusters INFO: Created Cluster - com.sun.dft.glassfish.config.resources.impl.ClusterImpl@2bccb2 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager createNodesAndSetInstanceCounts INFO: Created Nodes - [NodeImpl:[agent1. Installlocation : /home/sony/tmp/gfv3.1. Instances count map : {st-cluster=2}]] 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.resources.impl.InstanceFactory getInstanceFactory FINE: Created InstanceFactory for cluster st-cluster 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.resources.impl.InstanceFactory addNode FINE: Adding Node NodeImpl:[agent1. Installlocation : /home/sony/tmp/gfv3.1. Instances count map : {st-cluster=2}] to cluster st-cluster InstanceFactory 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.resources.impl.InstanceFactory addNode FINE: No of instances = 2 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager createServerInstances FINE: Cluster - st-cluster , noOfInstances : 2 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.resources.impl.InstanceFactory createInstance FINE: com.sun.dft.glassfish.config.resources.impl.ServerInstanceImpl@10e687b created 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager createServerInstances INFO: Created Server Instance - com.sun.dft.glassfish.config.resources.impl.ServerInstanceImpl@10e687b for cluster - st-cluster 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.resources.impl.InstanceFactory createInstance FINE: com.sun.dft.glassfish.config.resources.impl.ServerInstanceImpl@ed9f47 created 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager createServerInstances INFO: Created Server Instance - com.sun.dft.glassfish.config.resources.impl.ServerInstanceImpl@ed9f47 for cluster - st-cluster 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager getOptionalResource FINE: Trying to get Optional resource - webserver in the ResourceInfo List: [[ResourceInfo: [MachineAgent - name:agent1], das, generated.jaxb.classes.config.DasType@73f0d8], [ResourceInfo: [MachineAgent - name:agent1], node, generated.jaxb.classes.config.NodeType@1c8fb4b]] 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager getResource SEVERE: Resource - webserver not found in the resourceInfoList - [[ResourceInfo: [MachineAgent - name:agent1], das, generated.jaxb.classes.config.DasType@73f0d8], [ResourceInfo: [MachineAgent - name:agent1], node, generated.jaxb.classes.config.NodeType@1c8fb4b]] 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager getOptionalResource INFO: Getting Optional Resource: Resource webserver not found in the ResourceInfo List. 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.ResourceManager createWebserverAndLBConfig WARNING: webserver element does not exist in the configuration xml file. Webserver resource will not be created. 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.ipc.impl.CallbackServiceImpl INFO: Registering CallbackServer 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.helpers.LogsCollector deleteRotatedServerLogFiles FINE: **** Deleting rotated log files - /home/sony/tmp/gfv3.1/domains/st-domain/logs 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.helpers.LogsCollector deleteRotatedServerLogFiles FINE: **** Deleting rotated log files - /home/sony/tmp/gfv3.1/glassfish/nodes/agent1/instance101/logs 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.helpers.LogsCollector deleteRotatedServerLogFiles FINE: **** Deleting rotated log files - /home/sony/tmp/gfv3.1/glassfish/nodes/agent1/instance102/logs 3 Sep, 2010 5:56:18 PM com.sun.dft.proxy.impl.AgentServiceImpl resetAgentLog INFO: Resetting agent log file - /home/sony/workspace/ha/gf-ha-qe/dist/dft-agent-runtime/felix/agent.log on agent: agent1 3 Sep, 2010 5:56:18 PM com.sun.dft.glassfish.config.resources.impl.DASImpl invokeCommandLineService INFO: Executing following command at Agent: agent1, Host: localhost /home/sony/tmp/gfv3.1/bin/asadmin --user admin set st-cluster-config.availability-service.web-container-availability.sso-failover-enabled=true 3 Sep, 2010 5:56:19 PM com.sun.dft.glassfish.utils.Utility logCommandOutput INFO: Command Executed at agent machine agent1: /home/sony/tmp/gfv3.1/bin/asadmin --user admin set st-cluster-config.availability-service.web-container-availability.sso-failover-enabled=true Output : instance101 : st-cluster-config.availability-service.web-container-availability.sso-failover-enabled=true instance102 : st-cluster-config.availability-service.web-container-availability.sso-failover-enabled=true st-cluster-config.availability-service.web-container-availability.sso-failover-enabled=true Command set executed successfully. 3 Sep, 2010 5:56:19 PM com.sun.dft.glassfish.config.BaseTestCase checkPoint INFO: Enabling sso-failover-enabled=true 3 Sep, 2010 5:56:19 PM com.sun.dft.glassfish.config.resources.impl.DASImpl invokeCommandLineService INFO: Executing following command at Agent: agent1, Host: localhost /home/sony/tmp/gfv3.1/bin/asadmin --user admin deploy --availabilityenabled=true --force=true --target st-cluster /home/sony/tmp/agent-file-repository/web/singlesignon/FormNonHa.ear 3 Sep, 2010 5:56:22 PM com.sun.dft.glassfish.utils.Utility logCommandOutput INFO: Command Executed at agent machine agent1: /home/sony/tmp/gfv3.1/bin/asadmin --user admin deploy --availabilityenabled=true --force=true --target st-cluster /home/sony/tmp/agent-file-repository/web/singlesignon/FormNonHa.ear Output : Application deployed successfully with name FormNonHa. Command deploy executed successfully. 3 Sep, 2010 5:56:22 PM com.sun.dft.glassfish.config.BaseTestCase checkPoint INFO: Deployed FormNonHa 3 Sep, 2010 5:56:22 PM com.sun.dft.glassfish.config.resources.impl.DASImpl invokeCommandLineService INFO: Executing following command at Agent: agent1, Host: localhost /home/sony/tmp/gfv3.1/bin/asadmin --user admin deploy --availabilityenabled=true --force=true --target st-cluster /home/sony/tmp/agent-file-repository/web/singlesignon/SSOWebBasicauthApp.ear 3 Sep, 2010 5:56:24 PM com.sun.dft.glassfish.utils.Utility logCommandOutput INFO: Command Executed at agent machine agent1: /home/sony/tmp/gfv3.1/bin/asadmin --user admin deploy --availabilityenabled=true --force=true --target st-cluster /home/sony/tmp/agent-file-repository/web/singlesignon/SSOWebBasicauthApp.ear Output : Application deployed successfully with name SSOWebBasicauthApp. Command deploy executed successfully. 3 Sep, 2010 5:56:24 PM com.sun.dft.glassfish.config.BaseTestCase checkPoint INFO: Deployed SSOWebBasicauthApp 3 Sep, 2010 5:56:24 PM com.sun.dft.glassfish.config.BaseTestCase checkPoint INFO: Running testSSOFailover 3 Sep, 2010 5:56:25 PM com.sun.dft.glassfish.config.resources.impl.DASImpl invokeCommandLineService INFO: Executing following command at Agent: agent1, Host: localhost /home/sony/tmp/gfv3.1/bin/asadmin --user admin get instance101.system-property.HTTP_LISTENER_PORT.value 3 Sep, 2010 5:56:26 PM com.sun.dft.glassfish.utils.Utility logCommandOutput INFO: Command Executed at agent machine agent1: /home/sony/tmp/gfv3.1/bin/asadmin --user admin get instance101.system-property.HTTP_LISTENER_PORT.value Output : instance101.system-property.HTTP_LISTENER_PORT.value=28080 Command get executed successfully. 3 Sep, 2010 5:56:26 PM com.sun.dft.glassfish.config.resources.impl.ServerInstanceImpl getSystemProperty FINE: HTTP_LISTENER_PORT for instance instance101 = 28080 3 Sep, 2010 5:56:26 PM com.sun.dft.glassfish.helpers.HttpMessageLogger logHttpRequestResponse INFO: ------------- WebConversation ------------ Cookies = JSESSIONIDSSO : A72A36F724C2B946F31163FAC1D840E5 JSESSIONID : 78fe5c01f92637986888063cbfe2 ------------- Request ------------ WebRequest [ url = GET request for (null) http://localhost:28080/ssobasicauth/index.jsp , headers = parameters = ] ------------- Response ------------ HttpWebResponse [url=http://localhost:28080/ssobasicauth/index.jsp; headers= DATE: Fri, 03 Sep 2010 12:26:26 GMT SERVER: GlassFish Server Open Source Edition 3.1-SNAPSHOT SET-COOKIE: JSESSIONIDSSO=A72A36F724C2B946F31163FAC1D840E5; Path=/ SET-COOKIE: JSESSIONID=78fe5c01f92637986888063cbfe2; Path=/ssobasicauth PRAGMA: No-cache CONTENT-TYPE: text/html;charset=ISO-8859-1 X-POWERED-BY: JSP/2.1 EXPIRES: Thu, 01 Jan 1970 05:30:00 IST CONTENT-LENGTH: 666 CACHE-CONTROL: no-cache ] Basic Authenticate Sample

Basic Authentication Sample

  • Executed From Instance: instance101
  • Authenticated Successfully!


    Session Id : 78fe5c01f92637986888063cbfe2
    Session is new : true

    Add Session Attributes


    Attribute Name :
    Attribute Value :

    -------------Request/Response : END -------------- 3 Sep, 2010 5:56:26 PM com.sun.dft.glassfish.helpers.HttpMessageLogger logHttpRequestResponse INFO: Writing http message to file /home/sony/workspace/ha/gf-ha-qe/results/com.sun.dft.glassfish.http.failover.singlesignon.SingleSignOnTest5/testSSOFailover/logs/http-messages/request-1 3 Sep, 2010 5:56:26 PM com.sun.dft.glassfish.config.BaseTestCase checkPoint INFO: Successfully invoked basic authentication 3 Sep, 2010 5:56:26 PM com.sun.dft.glassfish.config.BaseTestCase checkPoint INFO: restarting instance - instance101 3 Sep, 2010 5:56:26 PM com.sun.dft.glassfish.config.resources.impl.DASImpl invokeCommandLineService INFO: Executing following command at Agent: agent1, Host: localhost /home/sony/tmp/gfv3.1/bin/asadmin --user admin stop-instance instance101 3 Sep, 2010 5:56:28 PM com.sun.dft.glassfish.utils.Utility logCommandOutput INFO: Command Executed at agent machine agent1: /home/sony/tmp/gfv3.1/bin/asadmin --user admin stop-instance instance101 Output : The instance, instance101, was stopped. Command stop-instance executed successfully. 3 Sep, 2010 5:56:28 PM com.sun.dft.glassfish.config.resources.impl.DASImpl invokeCommandLineService INFO: Executing following command at Agent: agent1, Host: localhost /home/sony/tmp/gfv3.1/bin/asadmin --user admin start-instance instance101 3 Sep, 2010 5:56:45 PM com.sun.dft.glassfish.utils.Utility logCommandOutput INFO: Command Executed at agent machine agent1: /home/sony/tmp/gfv3.1/bin/asadmin --user admin start-instance instance101 Output : Command start-instance executed successfully. 3 Sep, 2010 5:56:45 PM com.sun.dft.glassfish.config.BaseTestCase checkPoint INFO: Invoking FormNonHa app using new WebConversation and SSO cookie 3 Sep, 2010 5:56:52 PM com.sun.dft.glassfish.helpers.HttpMessageLogger logHttpRequestResponse INFO: ------------- WebConversation ------------ Cookies = JSESSIONIDSSO : A72A36F724C2B946F31163FAC1D840E5 JSESSIONIDSSO : A72A36F724C2B946F31163FAC1D840E5 JSESSIONID : 7903f2c17ba2e9eaee691e8e5672 ------------- Request ------------ WebRequest [ url = GET request for (null) http://localhost:28080/form-nonha/index.jsp , headers = parameters = ] ------------- Response ------------ HttpWebResponse [url=http://localhost:28080/form-nonha/index.jsp; headers= DATE: Fri, 03 Sep 2010 12:26:52 GMT SERVER: GlassFish Server Open Source Edition 3.1-SNAPSHOT SET-COOKIE: JSESSIONIDSSO=A72A36F724C2B946F31163FAC1D840E5; Expires=Thu, 01-Jan-1970 00:00:10 GMT SET-COOKIE: JSESSIONID=7903f2c17ba2e9eaee691e8e5672; Path=/form-nonha PRAGMA: No-cache CONTENT-TYPE: text/html;charset=ISO-8859-1 X-POWERED-BY: JSP/2.1 TRANSFER-ENCODING: chunked EXPIRES: Thu, 01 Jan 1970 05:30:00 IST CACHE-CONTROL: no-cache ] A JSP Login Page

    Login Page


    Please Login
  • Executed From Instance: instance101

  • UserName:
    Password:

    -------------Request/Response : END -------------- 3 Sep, 2010 5:56:52 PM com.sun.dft.glassfish.helpers.HttpMessageLogger logHttpRequestResponse INFO: Writing http message to file /home/sony/workspace/ha/gf-ha-qe/results/com.sun.dft.glassfish.http.failover.singlesignon.SingleSignOnTest5/testSSOFailover/logs/http-messages/request-2 3 Sep, 2010 5:56:52 PM com.sun.dft.glassfish.config.resources.impl.DASImpl invokeCommandLineService INFO: Executing following command at Agent: agent1, Host: localhost /home/sony/tmp/gfv3.1/bin/asadmin --user admin undeploy --target st-cluster FormNonHa 3 Sep, 2010 5:56:54 PM com.sun.dft.glassfish.utils.Utility logCommandOutput INFO: Command Executed at agent machine agent1: /home/sony/tmp/gfv3.1/bin/asadmin --user admin undeploy --target st-cluster FormNonHa Output : Command undeploy executed successfully. 3 Sep, 2010 5:56:54 PM com.sun.dft.glassfish.config.resources.impl.DASImpl invokeCommandLineService INFO: Executing following command at Agent: agent1, Host: localhost /home/sony/tmp/gfv3.1/bin/asadmin --user admin undeploy --target st-cluster SSOWebBasicauthApp 3 Sep, 2010 5:56:55 PM com.sun.dft.glassfish.utils.Utility logCommandOutput INFO: Command Executed at agent machine agent1: /home/sony/tmp/gfv3.1/bin/asadmin --user admin undeploy --target st-cluster SSOWebBasicauthApp Output : Command undeploy executed successfully. 3 Sep, 2010 5:56:55 PM com.sun.dft.glassfish.helpers.LogsCollector$LogCollectionThread run FINE: Creating Local Destination Location 3 Sep, 2010 5:56:55 PM com.sun.dft.glassfish.helpers.LogsCollector$LogCollectionThread run FINE: Logs to collect from agent localhost {st-domain=[/home/sony/tmp/gfv3.1/domains/st-domain/logs, /home/sony/tmp/gfv3.1/domains/st-domain/config/domain.xml, /home/sony/tmp/gfv3.1/domains/st-domain/config/st-cluster-config]} 3 Sep, 2010 5:56:56 PM com.sun.dft.glassfish.helpers.LogsCollector collectResourceLogs INFO: Waiting for Log collection threads to complete 3 Sep, 2010 5:56:56 PM com.sun.dft.glassfish.helpers.LogsCollector$LogCollectionThread run FINE: Creating Local Destination Location 3 Sep, 2010 5:56:56 PM com.sun.dft.glassfish.helpers.LogsCollector$LogCollectionThread run FINE: Logs to collect from agent localhost {st-cluster/instance101=[/home/sony/tmp/gfv3.1/glassfish/nodes/agent1/instance101/logs, /home/sony/tmp/gfv3.1/glassfish/nodes/agent1/instance101/config/domain.xml, /home/sony/tmp/gfv3.1/glassfish/nodes/agent1/instance101/config/st-cluster-config]} 3 Sep, 2010 5:56:57 PM com.sun.dft.glassfish.helpers.LogsCollector collectResourceLogs INFO: Waiting for Log collection threads to complete 3 Sep, 2010 5:56:57 PM com.sun.dft.glassfish.helpers.LogsCollector$LogCollectionThread run FINE: Creating Local Destination Location 3 Sep, 2010 5:56:57 PM com.sun.dft.glassfish.helpers.LogsCollector$LogCollectionThread run FINE: Logs to collect from agent localhost {st-cluster/instance102=[/home/sony/tmp/gfv3.1/glassfish/nodes/agent1/instance102/logs, /home/sony/tmp/gfv3.1/glassfish/nodes/agent1/instance102/config/domain.xml, /home/sony/tmp/gfv3.1/glassfish/nodes/agent1/instance102/config/st-cluster-config]} 3 Sep, 2010 5:56:58 PM com.sun.dft.glassfish.helpers.LogsCollector collectResourceLogs INFO: Waiting for Log collection threads to complete 3 Sep, 2010 5:56:58 PM com.sun.dft.glassfish.helpers.LogsCollector$LogCollectionThread run FINE: Creating Local Destination Location 3 Sep, 2010 5:56:58 PM com.sun.dft.glassfish.helpers.LogsCollector$LogCollectionThread run FINE: Logs to collect from agent localhost {appclient=[/home/sony/tmp/agent-file-repository//appclient/appclient.log]} 3 Sep, 2010 5:56:59 PM com.sun.dft.glassfish.helpers.LogsCollector collectResourceLogs INFO: Waiting for Log collection threads to complete 3 Sep, 2010 5:56:59 PM com.sun.dft.proxy.impl.AgentServiceImpl uploadAgentLog INFO: Uploading remote file - /home/sony/workspace/ha/gf-ha-qe/dist/dft-agent-runtime/felix/agent.log to local destination - logs/agent1 3 Sep, 2010 5:56:59 PM com.sun.dft.osgi.file_utility_service_impl.FileUtilityServiceImpl copyFile INFO: Copy file /home/sony/tmp/controller-file-repository/logs/agent1/agent.log to file /home/sony/workspace/ha/gf-ha-qe/results/com.sun.dft.glassfish.http.failover.singlesignon.SingleSignOnTest5/testSSOFailover/logs/agent1/agent.log