geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmcma...@apache.org
Subject svn commit: r555430 - in /geronimo/sandbox/portals/geronimo-console/src/main: java/org/apache/geronimo/console/jsr77/Jsr77Lookup.java webapp/graphs/memoryGraphJS.jsp
Date Wed, 11 Jul 2007 22:56:28 GMT
Author: pmcmahan
Date: Wed Jul 11 15:56:27 2007
New Revision: 555430

URL: http://svn.apache.org/viewvc?view=rev&rev=555430
Log:
fix DWR usage in server info portlet

Modified:
    geronimo/sandbox/portals/geronimo-console/src/main/java/org/apache/geronimo/console/jsr77/Jsr77Lookup.java
    geronimo/sandbox/portals/geronimo-console/src/main/webapp/graphs/memoryGraphJS.jsp

Modified: geronimo/sandbox/portals/geronimo-console/src/main/java/org/apache/geronimo/console/jsr77/Jsr77Lookup.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/portals/geronimo-console/src/main/java/org/apache/geronimo/console/jsr77/Jsr77Lookup.java?view=diff&rev=555430&r1=555429&r2=555430
==============================================================================
--- geronimo/sandbox/portals/geronimo-console/src/main/java/org/apache/geronimo/console/jsr77/Jsr77Lookup.java
(original)
+++ geronimo/sandbox/portals/geronimo-console/src/main/java/org/apache/geronimo/console/jsr77/Jsr77Lookup.java
Wed Jul 11 15:56:27 2007
@@ -34,7 +34,7 @@
  */
 public class Jsr77Lookup {
     public DynamicServerInfo getJavaVMStatistics() {
-        HttpSession session = WebContextFactory.get().getSession(false);
+        HttpSession session = WebContextFactory.get().getSession(true);
         ManagementHelper helper = PortletManager.getManagementHelper(session);
         J2EEDomain[] domains = helper.getDomains();
         J2EEServer[] servers = domains[0].getServerInstances();

Modified: geronimo/sandbox/portals/geronimo-console/src/main/webapp/graphs/memoryGraphJS.jsp
URL: http://svn.apache.org/viewvc/geronimo/sandbox/portals/geronimo-console/src/main/webapp/graphs/memoryGraphJS.jsp?view=diff&rev=555430&r1=555429&r2=555430
==============================================================================
--- geronimo/sandbox/portals/geronimo-console/src/main/webapp/graphs/memoryGraphJS.jsp (original)
+++ geronimo/sandbox/portals/geronimo-console/src/main/webapp/graphs/memoryGraphJS.jsp Wed
Jul 11 15:56:27 2007
@@ -21,7 +21,7 @@
     metadata = {};
     metadata.callback=updateValues;
     metadata.errorHandler=onError;
-    Jsr77Stats.getJavaVMStatistics(metadata);
+    top.Jsr77Stats.getJavaVMStatistics(metadata);
 }
 function updateValues(serverStats) {
     setMaxValue(serverStats.bytesMost, serverStats.memoryMost);



Mime
View raw message