Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1_ms08
    • Component/s: admin_gui
    • Labels:
      None

      Description

      Per Nazrul's Email

      Suma (10)

      Failed tests:
      [artifact:mvn] testMonitoringApplicationsPage(org.glassfish.admingui.devtests.MonitoringTest)
      [artifact:mvn] testAdminObjectResources(org.glassfish.admingui.devtests.AdminObjectTest)

      [artifact:mvn] Tests in error:
      [artifact:mvn] testConnectorResourcesWithTargets(org.glassfish.admingui.devtests.ConnectorsTest)
      [artifact:mvn] testJdbcResourcesWithTargets(org.glassfish.admingui.devtests.JdbcTest)
      [artifact:mvn] testCustomResourcesWithTargets(org.glassfish.admingui.devtests.JndiTest)
      [artifact:mvn] testExternalResourcesWithTargets(org.glassfish.admingui.devtests.JndiTest)
      [artifact:mvn] testStandaloneInstanceResourcesPage(org.glassfish.admingui.devtests.StandaloneTest)
      [artifact:mvn] createMailResourceWithTargets(org.glassfish.admingui.devtests.JavaMailTest)
      [artifact:mvn] testMonitoringServerPage(org.glassfish.admingui.devtests.MonitoringTest)
      [artifact:mvn] testAdminObjectResourcesWithTargets(org.glassfish.admingui.devtests.AdminObjectTest)

        Issue Links

          Activity

          Hide
          Nazrul added a comment -

          Adding 3_1-review to exclude this from un-scrubbed list

          Show
          Nazrul added a comment - Adding 3_1-review to exclude this from un-scrubbed list
          Hide
          sumasri added a comment -

          These are the latest results from hudson.
          Requesting Jason to comment on the below issues.

          Failed tests:
          [artifact:mvn] testAdminObjectResources(org.glassfish.admingui.devtests.AdminObjectTest)
          [artifact:mvn] testAdminObjectResourcesWithTargets(org.glassfish.admingui.devtests.AdminObjectTest)
          Fixed these 2 tests and checked in the code.

          [artifact:mvn] testExternalResourcesWithTargets(org.glassfish.admingui.devtests.JndiTest)
          This is working fine. It is giving inconsistent results.

          [artifact:mvn] testMonitoringApplicationsPage(org.glassfish.admingui.devtests.MonitoringTest)
          Will work on this.

          [artifact:mvn] testResourceAdapterConfigs(org.glassfish.admingui.devtests.ResourceAdapterConfigsTest)
          Issue: Resource Adapter config creation is taking a very long time if jms is already started.
          Assumption : As per my understanding, we persist one property in domain.xml at a time.
          Background work on the issue: While persisting each property, event will be notified and then it stops the jms and starts the jms. So, it is taking a very long time. Hence, the test is failing.
          I think this issue can be resolved in REST side.Please let me know your comments on this.

          There is one more issue with it . Once JMS is started and try to create a resource adpater config with http-thread-pool, it is throwing an exception. I will file the issue for the backend team.

          [artifact:mvn] testMonitoringServerPage(org.glassfish.admingui.devtests.MonitoringTest)

          In this, will change the test.. But still, it doesn't show up the monitoring data for garbage collectors. As there is a space in all the garbage collectors(Ex : PS Scavenge).
          Encoded value of "PS Scavenge" is "PS+Scavenge". For both the values, it is not showing the data. It is able to get the data using "PS%20Scavenge". How can we resolve the issue?
          The output for Garbage collectors URL is,
          > curl -X GET "http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors/PS Scavenge"
          No output
          >curl -X GET "http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors/PS+Scavenge"
          <html><head><title>GlassFish REST Interface</title> <link rel="stylesheet" type="text/css" href="http://localhost:4848/monitoring/static/std.css" /></head> <body><h1 class="mainheader">GlassFish REST Interface</h1><hr/></div></body></html>
          >curl -X GET "http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors/PS%20Scavenge"
          <html><head><title>GlassFish REST Interface</title> <link rel="stylesheet" type="text/css" href="http://localhost:4848/monitoring/static/std.css" /></head> <body><h1 class="mainheader">GlassFish REST Interface</h1><hr/><ul><li><a href="http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors /PS%20Scavenge/collectioncount-count">collectioncount-count</a><ul><li>count : 66</li><li>lastsampletime : 1294806042121</li><li>description : Total number of collections that have occurred</li><li>unit : count</li><li>name : CollectionCount</li><li>starttime : 1294804774713</li></ul></li><li><a href="http://localhost:4848 /monitoring/domain/server/jvm/garbage-collectors/PS%20Scavenge/collectiontime-count">collectiontime-count</a><ul><li>count : 1009</li><li>lastsampletime : 1294806042121</li><li>description : Approximate accumulated collection elapsed time in milliseconds</li><li>unit : millisecond</li><li>name : CollectionTime</li><li>starttime : 1294804774713</li></ul></li></ul></div></body></html>

          Show
          sumasri added a comment - These are the latest results from hudson. Requesting Jason to comment on the below issues. Failed tests: [artifact:mvn] testAdminObjectResources(org.glassfish.admingui.devtests.AdminObjectTest) [artifact:mvn] testAdminObjectResourcesWithTargets(org.glassfish.admingui.devtests.AdminObjectTest) Fixed these 2 tests and checked in the code. [artifact:mvn] testExternalResourcesWithTargets(org.glassfish.admingui.devtests.JndiTest) This is working fine. It is giving inconsistent results. [artifact:mvn] testMonitoringApplicationsPage(org.glassfish.admingui.devtests.MonitoringTest) Will work on this. [artifact:mvn] testResourceAdapterConfigs(org.glassfish.admingui.devtests.ResourceAdapterConfigsTest) Issue: Resource Adapter config creation is taking a very long time if jms is already started. Assumption : As per my understanding, we persist one property in domain.xml at a time. Background work on the issue: While persisting each property, event will be notified and then it stops the jms and starts the jms. So, it is taking a very long time. Hence, the test is failing. I think this issue can be resolved in REST side.Please let me know your comments on this. There is one more issue with it . Once JMS is started and try to create a resource adpater config with http-thread-pool, it is throwing an exception. I will file the issue for the backend team. [artifact:mvn] testMonitoringServerPage(org.glassfish.admingui.devtests.MonitoringTest) In this, will change the test.. But still, it doesn't show up the monitoring data for garbage collectors. As there is a space in all the garbage collectors(Ex : PS Scavenge). Encoded value of "PS Scavenge" is "PS+Scavenge". For both the values, it is not showing the data. It is able to get the data using "PS%20Scavenge". How can we resolve the issue? The output for Garbage collectors URL is, > curl -X GET "http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors/PS Scavenge" No output >curl -X GET "http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors/PS+Scavenge" <html><head><title>GlassFish REST Interface</title> <link rel="stylesheet" type="text/css" href="http://localhost:4848/monitoring/static/std.css" /></head> <body><h1 class="mainheader">GlassFish REST Interface</h1><hr/></div></body></html> >curl -X GET "http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors/PS%20Scavenge" <html><head><title>GlassFish REST Interface</title> <link rel="stylesheet" type="text/css" href="http://localhost:4848/monitoring/static/std.css" /></head> <body><h1 class="mainheader">GlassFish REST Interface</h1><hr/><ul><li><a href="http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors /PS%20Scavenge/collectioncount-count">collectioncount-count</a><ul><li>count : 66</li><li>lastsampletime : 1294806042121</li><li>description : Total number of collections that have occurred</li><li>unit : count</li><li>name : CollectionCount</li><li>starttime : 1294804774713</li></ul></li><li><a href="http://localhost:4848 /monitoring/domain/server/jvm/garbage-collectors/PS%20Scavenge/collectiontime-count">collectiontime-count</a><ul><li>count : 1009</li><li>lastsampletime : 1294806042121</li><li>description : Approximate accumulated collection elapsed time in milliseconds</li><li>unit : millisecond</li><li>name : CollectionTime</li><li>starttime : 1294804774713</li></ul></li></ul></div></body></html>
          Hide
          sumasri added a comment -

          These are the latest results from hudson.

          [artifact:mvn] testMonitoringApplicationsPage(org.glassfish.admingui.devtests.MonitoringTest)
          //Once the deployWar test in ApplicationTest work, this will get resolved.

          [artifact:mvn] testResourceAdapterConfigs(org.glassfish.admingui.devtests.ResourceAdapterConfigsTest)
          [artifact:mvn] testMonitoringServerPage(org.glassfish.admingui.devtests.MonitoringTest)
          //For these 2 tests, waiting for Jason's comments.

          Show
          sumasri added a comment - These are the latest results from hudson. [artifact:mvn] testMonitoringApplicationsPage(org.glassfish.admingui.devtests.MonitoringTest) //Once the deployWar test in ApplicationTest work, this will get resolved. [artifact:mvn] testResourceAdapterConfigs(org.glassfish.admingui.devtests.ResourceAdapterConfigsTest) [artifact:mvn] testMonitoringServerPage(org.glassfish.admingui.devtests.MonitoringTest) //For these 2 tests, waiting for Jason's comments.
          Hide
          Anissa Lam added a comment -

          Since testDeployWar in ApplicationTest is facing the same issue as testMonitoringApplicationPage, and you are looking into this with Jason, please take care of testDeployWar once the solution is found.
          thanks.

          Show
          Anissa Lam added a comment - Since testDeployWar in ApplicationTest is facing the same issue as testMonitoringApplicationPage, and you are looking into this with Jason, please take care of testDeployWar once the solution is found. thanks.
          Hide
          sumasri added a comment -

          All dev tests are passing. Hence, marking it as fixed.

          Show
          sumasri added a comment - All dev tests are passing. Hence, marking it as fixed.

            People

            • Assignee:
              sumasri
              Reporter:
              Jason Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: