That fixed it.  Thanks!

On 7/12/07, Paul McMahan <paulmcmahan@gmail.com> wrote:
needed to merge 554977.  should be fixed now.

Best wishes,
Paul


On Jul 12, 2007, at 8:59 AM, Daniel Larsen wrote:

> Thanks Paul!  I am very interested in getting this to work.
> However, I am having a problem building the geronimo-console.  I am
> getting the following error
>
> Any ideas as to what went wrong.  do I need to update anything else?
>
> ~Daniel
>
>
>
> [INFO] Compiling 97 source files to C:\g\portals\geronimo-console
> \target\classes
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Compilation failure
>
> C:\g\portals\geronimo-console\src\main\java\org\apache\geronimo
> \console\securitymanager\realm\SecurityRealmPortlet.java:[479,19]
> setControlFlag( java.lang.String) in
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet
> .LoginModuleDetails cannot be applied to
> (org.apache.geronimo.security.jaas.LoginModuleControlFlag)
>
> C:\g\portals\geronimo-console\src\main\java\org\apache\geronimo
> \console\securitymanager\realm\SecurityRealmPortlet.java:[483,40]
> cannot find symbol
> symbol  : method isServerSide()
> location: interface
> org.apache.geronimo.security.jaas.LoginModuleSettings
>
> C:\g\portals\geronimo-console\src\main\java\org\apache\geronimo
> \console\securitymanager\realm\SecurityRealmPortlet.java:[485,19]
> setOptions( java.util.Properties) in
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet
> .LoginModuleDetails cannot be applied to
> (java.util.Map<java.lang.String,java.lang.Object>)
>
> C:\g\portals\geronimo-console\src\main\java\org\apache\geronimo
> \console\securitymanager\realm\SecurityRealmPortlet.java:[540,20]
> setControlFlag
> ( org.apache.geronimo.security.jaas.LoginModuleControlFlag ) in
> org.apache.geronimo.security.jaas.JaasLoginModuleChain cannot be
> applied to (java.lang.String)
>
> C:\g\portals\geronimo-console\src\main\java\org\apache\geronimo
> \console\securitymanager\realm\SecurityRealmPortlet.java:[542,22]
> setOptions( java.util.Map<java.lang.String,java.lang.Object>) in
> org.apache.geronimo.security.jaas.LoginModuleSettings cannot be
> applied to (java.util.Properties)
>
> C:\g\portals\geronimo-console\src\main\java\org\apache\geronimo
> \console\securitymanager\realm\SecurityRealmPortlet.java:[543,22]
> cannot find symbol
> symbol  : method setServerSide(boolean)
> location: interface
> org.apache.geronimo.security.jaas.LoginModuleSettings
>
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 1 minute 51 seconds
> [INFO] Finished at: Thu Jul 12 08:30:14 EDT 2007
> [INFO] Final Memory: 33M/67M
> [INFO]
> ----------------------------------------------------------------------
> --
>
>
>
> On 7/11/07, pmcmahan@apache.org <pmcmahan@apache.org> wrote:
> 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);
>
>
>