geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Schmidt (JIRA)" <...@geronimo.apache.org>
Subject [jira] Updated: (GERONIMO-1529) Console should display Geronimo Version
Date Mon, 13 Mar 2006 15:56:39 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-1529?page=all ]

Matthias Schmidt updated GERONIMO-1529:
---------------------------------------

    Attachment: showVersion.patch

This adds the Geronimo Version under Server/Information/Kernel

> Console should display Geronimo Version
> ---------------------------------------
>
>          Key: GERONIMO-1529
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1529
>      Project: Geronimo
>         Type: Improvement
>   Components: console, Logging
>     Versions: 1.0, 1.0-M5, 1.0-M4, 1.0-M3, 1.0-M2, 1.0-M1, 1.1, 1.2, 1.x
>     Reporter: Matthias Schmidt
>     Priority: Minor
>  Attachments: showVersion.patch
>
> One should be able to figure out geronimo's Version by:
> a) looking in the Console, perhaps under "Server Info"
> b) looking in the Logfiles.
> for a) one can do the following:
> --- applications/console-standard/src/java/org/apache/geronimo/console/infomanager/ServerInfoPortlet.java
      2006-01-23 14:57:59.000000000 +0100
> +++ applications/console-standard/src/java/org/apache/geronimo/console/infomanager/ServerInfoPortlet.java.CHANGE
       2006-01-23 15:02:27.000000000 +0100
> @@ -34,6 +34,7 @@
>  import org.apache.geronimo.console.BasePortlet;
>  import org.apache.geronimo.console.util.PortletManager;
>  import org.apache.geronimo.management.geronimo.JVM;
> +import org.apache.geronimo.console.GeronimoVersion;
>  /**
>   * Calculates various information about the server to display in the server
> @@ -71,6 +72,8 @@
>          Date bootDate = jvm.getKernelBootTime();
>          svrProps.put("Kernel Boot Time", bootDate);
> +        svrProps.put("Geronimo Version", new GeronimoVersion().GERONIMO_VERSION);
> +
>          renderRequest.setAttribute("svrProps", svrProps);
>          jvmProps.put("Java Version", jvm.getJavaVersion());
> --- applications/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
2006-01-11 17:34:52.000000000 +0100
> +++ applications/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp.CHANGE
 2006-01-23 15:06:42.000000000 +0100
> @@ -5,6 +5,7 @@
>  <script type='text/javascript' src='/console-standard/dwr/engine.js'></script>
>  <script type='text/javascript' src='/console-standard/dwr/util.js'></script>
> +
>  <portlet:defineObjects/>
>  <table width="100%">
> @@ -19,6 +20,10 @@
>      <td class="MediumBackground">Kernel Up Time</td>
>      <td class="MediumBackground"><div id="<portlet:namespace/>UpTime">Not
Yet Available</div></td>
>    </tr>
> +  <tr>
> +    <td class="LightBackground" width="20%" nowrap>Geronimo Version</td>
> +    <td class="LightBackground" width="80%">${svrProps['Geronimo Version']}</td>
> +  </tr>
>  </table>
>  <br>
>  <!--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message