geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r393787 [17/22] - in /geronimo/trunk/applications: ./ console/ console/console-core/ console/console-core/src/ console/console-core/src/java/ console/console-core/src/java/org/ console/console-core/src/java/org/apache/ console/console-core/...
Date Thu, 13 Apr 2006 11:36:26 GMT
Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/dbwizard/usage.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/dbwizard/usage.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/dbwizard/usage.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/dbwizard/usage.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,122 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<p>This page talks about how to use the database pool ${pool.name} from a J2EE application.
+  The example here is a web application, but other application modules would work in
+  the same way.</p>
+
+<p><b>WEB-INF/web.xml</b></p>
+
+<p>The <tt>web.xml</tt> should have a <tt>resource-ref</tt> section declaring the database pool,
+like this.  Note the <tt>res-ref-name</tt>, which is what we'll need to map the reference
+to a pool, and also what the application will need in order to access the pool.</p>
+
+<pre>
+&lt;web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+         http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+         version="2.4"&gt;
+
+  &lt;!--  servlets and mappings and normal web.xml stuff here --&gt;
+
+  &lt;resource-ref&gt;
+    &lt;res-ref-name&gt;<b>jdbc/MyDataSource</b>&lt;/res-ref-name&gt;
+    &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
+    &lt;res-auth&gt;Container&lt;/res-auth&gt;
+    &lt;res-sharing-scope&gt;Shareable&lt;/res-sharing-scope&gt;
+  &lt;/resource-ref&gt;
+&lt;/web-app&gt;
+</pre>
+
+<p><b>WEB-INF/geronimo-web.xml</b></p>
+
+<p>To point the resource reference to a specific database pool in Gernimo, the web application
+needs to have a <tt>geronimo-web.xml</tt> deployment plan.  That may be packaged in the WAR
+in the <tt>WEB-INF</tt> directory, or it may be provided separately on the command line to
+the deploy tool.  The <tt>geronimo-web.xml</tt> plan should have a <tt>resource-ref</tt>
+block corresponding to the one above, which maps the resource reference to a specific database
+pool.  In that block, the <tt>ref-name</tt> must match the <tt>res-ref-name</tt> from
+the <tt>web.xml</tt> (above) and the <tt>resource-link</tt> must point to the database
+pool.</p>
+
+<p><i>If you have only one pool named ${pool.name} deployed in Geronimo, you can point to it
+like this.</i></p>
+
+<pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;web-app
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0"
+    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0"
+    configId="MyConfigName"&gt;
+
+    &lt;context-root&gt;/MyWebApp&lt;/context-root&gt;
+    &lt;context-priority-classloader&gt;true&lt;/context-priority-classloader&gt;
+
+    &lt;!-- security settings, if any, go here --&gt;
+
+    &lt;naming:resource-ref&gt;
+        &lt;naming:ref-name&gt;<b>jdbc/MyDataSource</b>&lt;/naming:ref-name&gt;
+        <b>&lt;naming:resource-link&gt;${pool.name}&lt;/naming:resource-link&gt;</b>
+    &lt;/naming:resource-ref&gt;
+&lt;/web-app&gt;
+</pre>
+
+<p>That will search for a pool named ${pool.name} in both the current application and
+as a server-wide pool.</p>
+
+<p><i>If you have more than one pool named ${pool.name} (for example, one as a server-wide
+pool and one deployed within an application EAR), then you can specify the pool to use
+more explicitly like this:</i></p>
+
+<pre>
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;web-app
+    xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.0"
+    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0"
+    configId="MyConfigName"&gt;
+
+    &lt;context-root&gt;/MyWebApp&lt;/context-root&gt;
+    &lt;context-priority-classloader&gt;true&lt;/context-priority-classloader&gt;
+
+    &lt;!-- security settings, if any, go here --&gt;
+
+    &lt;naming:resource-ref&gt;
+        &lt;naming:ref-name&gt;<b>jdbc/MyDataSource</b>&lt;/naming:ref-name&gt;
+        <b>&lt;naming:domain&gt;${pool.objectNameMap['domain']}&lt;/naming:domain&gt;
+        &lt;naming:server&gt;${pool.objectNameMap['J2EEServer']}&lt;/naming:server&gt;
+        &lt;naming:application&gt;${pool.objectNameMap['J2EEApplication']}&lt;/naming:application&gt;
+        &lt;naming:module&gt;${pool.objectNameMap['JCAResource']}&lt;/naming:module&gt;
+        &lt;naming:type&gt;${pool.objectNameMap['j2eeType']}&lt;/naming:type&gt;
+        &lt;naming:name&gt;${pool.objectNameMap['name']}&lt;/naming:name&gt;</b>
+    &lt;/naming:resource-ref&gt;
+&lt;/web-app&gt;
+</pre>
+
+<p><b>Application Code</b></p>
+
+<p>To get a reference to the database pool, your application can use code like this.  Note that
+the JNDI lookup string is <tt>java:comp/env/</tt> plus the <tt>res-ref-name</tt> used in
+<tt>web.xml</tt> (above).</p>
+
+<pre>
+protected void doGet(HttpServletRequest request, HttpServletResponse response) {
+    try {
+        InitialContext ctx = new InitialContext();
+        DataSource ds = ctx.lookup("java:comp/env/<b>jdbc/MyDataSource</b>");
+        Connection con = ds.getConnection();
+    } catch(NamingException e) {
+        ...
+    } catch(SQLException e) {
+        ...
+    }
+}
+</pre>
+
+<hr />
+
+<p><a href="<portlet:actionURL portletMode="view">
+              <portlet:param name="mode" value="list" />
+            </portlet:actionURL>">Return to list</a></p>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/dbwizard/usage.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/dbwizard/usage.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/dbwizard/usage.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/help.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/help.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/help.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/help.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+This portlet views the log file for Geronimo's internal database, Derby.
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/help.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/help.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/help.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/view.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/view.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/view.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/view.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,50 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+
+<table>
+<tr>
+<td>
+<a href="<portlet:renderURL><portlet:param name="action" value="refresh"/></portlet:renderURL>">Refresh</a>
+</td>
+</tr>
+<tr>
+    <td class="Smaller" valign="middle">
+    <form action="<portlet:renderURL/>" name="<portlet:namespace/>searchForm" >
+    <b>Filter results:</b>
+    <input type="hidden" value="search" name="action"/>
+    Lines <input type="text" name="startPos" value="${startPos}" size="3"/>
+    to <input type="text" name="endPos" value="${endPos}" size="3"/>
+    Max Results <input type="text" name="maxRows" value="${maxRows}" size="3"/>
+    Containing text <input type="text" name="searchString" value="${searchString}"/>
+    <input type="submit" value="Go"/>
+    </form>
+    </td>
+</tr>
+<tr>
+    <td>
+<c:choose>
+<c:when test="${searchResults != null && fn:length(searchResults) > 0}">
+    <table>
+        <tr>
+            <td class="Smaller">
+            <b>${lineCount} total message(s) in log file. ${fn:length(searchResults)} matched your criteria<c:if test="${!empty capped}"> (number of results capped)</c:if>.</b>
+            </td>
+        </tr>
+
+    <c:forEach var="line" items="${searchResults}">
+        <tr>
+            <td class="Smaller">
+            ${line.lineNumber}:&nbsp;<c:out escapeXml="true" value="${line.lineContent}" />
+            </td>
+        </tr>
+    </c:forEach>
+    </table>
+</c:when>
+<c:otherwise>
+ No entries found with the specified criteria.
+</c:otherwise>
+</c:choose>
+</td>
+</tr>
+</table>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/view.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/view.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/derbylogmanager/view.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysHelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysHelp.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysHelp.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysHelp.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+This page displays the values of the system properties available to the server process.
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysHelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysHelp.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysHelp.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysMaximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysMaximized.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysMaximized.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysMaximized.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+<%@ include file="javaSysNormal.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysMaximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysMaximized.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysMaximized.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,267 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Java</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>java.awt.graphicsenv</td>
+    <td class="LightBackground" width="80%">${javaSysProps['java.awt.graphicsenv']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.awt.printerjob</td>
+    <td class="MediumBackground">${javaSysProps['java.awt.printerjob']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.class.path</td>
+    <td class="LightBackground">
+        <table>
+        <c:forEach var="el" items="${javaSysProps['java.class.path']}">
+            <tr><td class="LightBackground">${el}</td></tr>
+        </c:forEach>
+        </table>
+    </td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.class.version</td>
+    <td class="MediumBackground">${javaSysProps['java.class.version']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.endorsed.dirs</td>
+    <td class="LightBackground">
+        <table>
+        <c:forEach var="el" items="${javaSysProps['java.endorsed.dirs']}">
+            <tr><td class="LightBackground">${el}</td></tr>
+        </c:forEach>
+        </table>
+    </td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.ext.dirs</td>
+    <td class="MediumBackground">
+        <table>
+        <c:forEach var="el" items="${javaSysProps['java.ext.dirs']}">
+            <tr><td class="MediumBackground">${el}</td></tr>
+        </c:forEach>
+        </table>
+    </td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.home</td>
+    <td class="LightBackground">${javaSysProps['java.home']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.io.tmpdir</td>
+    <td class="MediumBackground">${javaSysProps['java.io.tmpdir']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.library.path</td>
+    <td class="LightBackground">
+        <table>
+        <c:forEach var="el" items="${javaSysProps['java.library.path']}">
+            <tr><td class="LightBackground">${el}</td></tr>
+        </c:forEach>
+        </table>
+    </td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.runtime.name</td>
+    <td class="MediumBackground">${javaSysProps['java.runtime.name']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.runtime.version</td>
+    <td class="LightBackground">${javaSysProps['java.runtime.version']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.specification.name</td>
+    <td class="MediumBackground">${javaSysProps['java.specification.name']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.specification.vendor</td>
+    <td class="LightBackground">${javaSysProps['java.specification.vendor']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.specification.version</td>
+    <td class="MediumBackground">${javaSysProps['java.specification.version']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.util.prefs.PreferencesFactory</td>
+    <td class="LightBackground">${javaSysProps['java.util.prefs.PreferencesFactory']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vendor-</td>
+    <td class="MediumBackground">${javaSysProps['java.vendor']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.vendor.url</td>
+    <td class="LightBackground">${javaSysProps['java.vendor.url']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vendor.url.bug</td>
+    <td class="MediumBackground">${javaSysProps['java.vendor.url.bug']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.version-</td>
+    <td class="LightBackground">${javaSysProps['java.version']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Virtual Machine</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>java.vm.info</td>
+    <td class="LightBackground" width="80%">${javaSysProps['java.vm.info']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vm.name</td>
+    <td class="MediumBackground">${javaSysProps['java.vm.name']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.vm.specification.name</td>
+    <td class="LightBackground">${javaSysProps['java.vm.specification.name']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vm.specification.vendor</td>
+    <td class="MediumBackground">${javaSysProps['java.vm.specification.vendor']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.vm.specification.version</td>
+    <td class="LightBackground">${javaSysProps['java.vm.specification.version']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">java.vm.vendor</td>
+    <td class="MediumBackground">${javaSysProps['java.vm.vendor']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">java.vm.version</td>
+    <td class="LightBackground">${javaSysProps['java.vm.version']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Operating System</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>os.arch</td>
+    <td class="LightBackground" width="80%">${javaSysProps['os.arch']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">os.name</td>
+    <td class="MediumBackground">${javaSysProps['os.name']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">os.version</td>
+    <td class="LightBackground">${javaSysProps['os.version']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Sun</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>sun.arch.data.model</td>
+    <td class="LightBackground" width="80%">${javaSysProps['sun.arch.data.model']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">sun.boot.class.path</td>
+
+    <td class="MediumBackground">
+
+        <table>
+        <c:forEach var="el" items="${javaSysProps['sun.boot.class.path']}">
+            <tr><td class="MediumBackground">${el}</td></tr>
+        </c:forEach>
+        </table>
+
+    </td>
+  </tr>
+  <tr>
+    <td class="LightBackground">sun.boot.library.path</td>
+    <td class="LightBackground">
+        <table>
+        <c:forEach var="el" items="${javaSysProps['sun.boot.library.path']}">
+            <tr><td class="LightBackground">${el}</td></tr>
+        </c:forEach>
+        </table>
+
+    </td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">sun.cpu.endian</td>
+    <td class="MediumBackground">${javaSysProps['sun.cpu.endian']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">sun.cpu.isalist</td>
+    <td class="LightBackground">${javaSysProps['sun.cpu.isalist']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">sun.io.unicode.encoding</td>
+    <td class="MediumBackground">${javaSysProps['sun.io.unicode.encoding']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">sun.java2d.fontpath</td>
+    <td class="LightBackground">${javaSysProps['sun.java2d.fontpath']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">sun.os.patch.level</td>
+    <td class="MediumBackground">${javaSysProps['sun.os.patch.level']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">User</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>user.country</td>
+    <td class="LightBackground" width="80%">${javaSysProps['user.country']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">user.dir</td>
+    <td class="MediumBackground">${javaSysProps['user.dir']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">user.home</td>
+    <td class="LightBackground">${javaSysProps['user.home']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">user.language</td>
+    <td class="MediumBackground">${javaSysProps['user.language']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">user.name</td>
+    <td class="LightBackground">${javaSysProps['user.name']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">user.timezone</td>
+    <td class="MediumBackground">${javaSysProps['user.timezone']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">user.variant</td>
+    <td class="LightBackground">${javaSysProps['user.variant']}</td>
+  </tr>
+</table>
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Etc</td>
+  </tr>
+<% String background = "LightBackground"; %>
+<%  // Crappy workaround because apparently Jetty's JSTL can't call getters on a Map subclass?!?
+    // Why doesn't ${javaSysProps.remainingItems} return the results of getRemainingItems()?
+    java.util.Map map = ((org.apache.geronimo.console.infomanager.ShrinkingMap)request.getAttribute("javaSysProps")).getRemainingItems();
+    request.setAttribute("results", map); %>
+<c:forEach var="entry" items="${results}">
+  <tr>
+    <td class="<%=background%>">${entry.key}</td>
+    <td class="<%=background%>">${entry.value}</td>
+    <% background = background.equals("MediumBackground") ? "LightBackground" : "MediumBackground"; %>
+  </tr>
+</c:forEach>
+</table>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/javaSysNormal.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,2 @@
+This page provides information about the uptime of the server and the resources
+being used by the JVM.
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoHelp.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+<%@ include file="svrInfoNormal.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoMaximized.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,132 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+
+<script type='text/javascript' src='/console-standard/dwr/interface/Jsr77Stats.js'></script>
+<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%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Kernel</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>Kernel Boot Time</td>
+    <td class="LightBackground" width="80%">${svrProps['Kernel Boot Time']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">Kernel Up Time</td>
+    <td class="MediumBackground"><div id="<portlet:namespace/>UpTime">Not Yet Available</div></td>
+  </tr>
+</table>
+<br>
+<!--
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Server</td>
+  </tr>
+
+  base directory is commented originally
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>Base Directory</td>
+    <td class="LightBackground" width="80%">${svrProps['Base Directory']}</td>
+  </tr>
+
+  <tr>
+    <td class="LightBackground">Platform Architecture</td>
+    <td class="LightBackground">${svrProps['Platform Architecture']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" width="20%" nowrap>Version</td>
+    <td class="MediumBackground"  width="80%">${svrProps['Version']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">Apache Geronimo Build Version</td>
+    <td class="LightBackground">${svrProps['Apache Geronimo Build Version']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">J2EE Specs Version</td>
+    <td class="MediumBackground">${svrProps['J2EE Specifications Version']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">JSR-168 Portal Version</td>
+    <td class="LightBackground">${svrProps['JSR 168 Portal Version']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">Build Date</td>
+    <td class="MediumBackground">${svrProps['Build Date']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">Build Time</td>
+    <td class="LightBackground">${svrProps['Build Time']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">Copyright</td>
+    <td class="MediumBackground">${svrProps['Copyright']}</td>
+  </tr>
+</table>
+-->
+<br>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" width="100%" colspan="2" align="center">JVM</td>
+  </tr>
+  <tr>
+    <td class="LightBackground" width="20%" nowrap>Java Version</td>
+    <td class="LightBackground" width="80%">${jvmProps['Java Version']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">Java Vendor</td>
+    <td class="MediumBackground">${jvmProps['Java Vendor']}</td>
+  </tr>
+  <tr>
+    <td class="LightBackground">Node</td>
+    <td class="LightBackground">${jvmProps['Node']}</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">Current Memory Used</td>
+    <td class="MediumBackground"><div id="<portlet:namespace/>CurrentMemory">Not Yet Available</div></td>
+  </tr>
+  <tr>
+    <td class="LightBackground">Most Memory Used</td>
+    <td class="LightBackground"><div id="<portlet:namespace/>MostMemory">Not Yet Available</div></td>
+  </tr>
+  <tr>
+    <td class="MediumBackground">Total Memory Allocated</td>
+    <td class="MediumBackground"><div id="<portlet:namespace/>AvailableMemory">Not Yet Available</div></td>
+  </tr>
+  <tr>
+    <td class="LightBackground">Available Processors</td>
+    <td class="LightBackground">${jvmProps['Available Processors']}</td>
+  </tr>
+  <tr>
+    <td colspan="2" align="center"><div id="<portlet:namespace/>ErrorArea"></div></td>
+  </tr>
+</table>
+
+<script>
+DWREngine.setErrorHandler(null);
+<portlet:namespace/>stopped=false;
+function <portlet:namespace/>callServer() {
+    metadata = {};
+    metadata.callback=<portlet:namespace/>updateValues;
+    metadata.errorHandler=<portlet:namespace/>onError;
+    Jsr77Stats.getJavaVMStatistics(metadata);
+}
+function <portlet:namespace/>updateValues(serverStats) {
+    DWRUtil.setValue("<portlet:namespace/>CurrentMemory", serverStats.memoryCurrent);
+    DWRUtil.setValue("<portlet:namespace/>MostMemory", serverStats.memoryMost);
+    DWRUtil.setValue("<portlet:namespace/>AvailableMemory", serverStats.memoryAllocated);
+    DWRUtil.setValue("<portlet:namespace/>UpTime", serverStats.upTime);
+    if(!<portlet:namespace/>stopped) {
+        setTimeout("<portlet:namespace/>callServer()", 5000);
+    }
+}
+function <portlet:namespace/>onError() {
+    <portlet:namespace/>stopped=true;
+    DWRUtil.setValue("<portlet:namespace/>ErrorArea", '<form name="<portlet:namespace/>Refresh" action="<portlet:actionURL/>"><input type="submit" value="Refresh"/></form>');
+}
+<portlet:namespace/>callServer();
+</script>
+

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/infomanager/svrInfoNormal.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+Displays all the available databases and their tables and displays the contents of the tables. From the main window, to view the tables in a database, click on the database link. This will show all the tables in the database. To view the contents of the tables, click on the "View Contents" link. At the bottom of the DB Viewer window pane there will be links to take the user back to other views, e.g., "View Databases" and/or "View Tables."
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerHelp.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+<%@ include file="listDatabases.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/dbViewerMaximized.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+This page provides information about the internal database, such as, the product name, the version of the database, the supported functions and the supported SQL commands, among other things. Scroll to the botton to see all the information.
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBHelp.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+<%@ include file="internalDBNormal.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBMaximized.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,169 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+
+<%--
+Choose DB: &nbsp; 
+<c:choose>
+  <c:when test="${(param.rdbms == '1') || (empty param.rdbms)}">
+    Derby
+  </c:when>
+  <c:otherwise>
+    <a href="<portlet:actionURL portletMode="view">
+               <portlet:param name="rdbms" value="1" />
+             </portlet:actionURL>">Derby
+    </a>
+  </c:otherwise>
+</c:choose>
+
+&nbsp;|&nbsp;
+
+<c:choose>
+  <c:when test="${param.rdbms == '2'}">
+    MS SQL
+  </c:when>
+  <c:otherwise>
+    <a href="<portlet:actionURL portletMode="view">
+               <portlet:param name="rdbms" value="2" />
+             </portlet:actionURL>">MS SQL
+    </a>
+  </c:otherwise>
+</c:choose>
+--%>
+
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">DB</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>DB Product Name</td> 
+    <td class="LightBackground" width="80%">${internalDB['DB Product Name']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">DB Product Version</td> 
+    <td class="MediumBackground">${internalDB['DB Product Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">DB Major Version</td> 
+    <td class="LightBackground">${internalDB['DB Major Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">DB Minor Version</td> 
+    <td class="MediumBackground">${internalDB['DB Minor Version']}</td> 
+  </tr> 
+</table>
+<br>
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Driver</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>Driver Name</td> 
+    <td class="LightBackground" width="80%">${internalDB['Driver Name']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Driver Version</td> 
+    <td class="MediumBackground">${internalDB['Driver Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Driver Major Version</td> 
+    <td class="LightBackground">${internalDB['Driver Major Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Driver Minor Version</td> 
+    <td class="MediumBackground">${internalDB['Driver Minor Version']}</td> 
+  </tr> 
+</table>
+<br>  
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">JDBC</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>JDBC Major Version</td> 
+    <td class="LightBackground" width="80%">${internalDB['JDBC Major Version']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">JDBC Minor Version</td> 
+    <td class="MediumBackground">${internalDB['JDBC Minor Version']}</td> 
+  </tr> 
+</table>
+<br>
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Etc</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>URL</td> 
+    <td class="LightBackground" width="80%">${internalDB['URL']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Username</td> 
+    <td class="MediumBackground">${internalDB['Username']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Read Only</td> 
+    <td class="LightBackground">${internalDB['Read Only']}</td> 
+  </tr> 
+</table>
+<br>
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">Functions</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>Numeric Functions</td> 
+    <td class="LightBackground" width="80%">${internalDB['Numeric Functions']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">String Functions</td> 
+    <td class="MediumBackground">${internalDB['String Functions']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">System Functions</td> 
+    <td class="LightBackground">${internalDB['System Functions']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Time Date Functions</td> 
+    <td class="MediumBackground">${internalDB['Time Date Functions']}</td> 
+  </tr> 
+</table>
+<br>  
+<table width="100%">
+  <tr> 
+    <td class="DarkBackground" width="100%" colspan="2" align="center">SQL</td> 
+  </tr> 
+  <tr> 
+  <tr> 
+    <td class="LightBackground" width="20%" nowrap>Supported SQL Keywords</td> 
+    <td class="LightBackground" width="80%">${internalDB['Supported SQL Keywords']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Supported Types</td> 
+    <td class="MediumBackground">${internalDB['Supported Types']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Table Types</td> 
+    <td class="LightBackground">${internalDB['Table Types']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Schemas</td> 
+    <td class="MediumBackground">${internalDB['Schemas']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">SQL State Type</td> 
+    <td class="LightBackground">${internalDB['SQL State Type']}</td> 
+  </tr> 
+  <tr> 
+    <td class="MediumBackground">Default Transaction Isolation</td> 
+    <td class="MediumBackground">${internalDB['Default Transaction Isolation']}</td> 
+  </tr> 
+  <tr> 
+    <td class="LightBackground">Result Set Holdability</td> 
+    <td class="LightBackground">${internalDB['Result Set Holdability']}</td> 
+  </tr> 
+</table>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/internalDBNormal.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,50 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+
+<center><b>Database List</b></center>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" colspan="1" align="center">Databases</td>
+    <td class="DarkBackground" colspan="2" align="center">View Tables</td>
+  </tr>
+  <%-- Check if there are databases to display  --%>
+  <c:choose>
+    <c:when test="${fn:length(databases) == 0}">
+      <tr>
+        <td class="LightBackground" colspan="3" align="center">*** No databases ***</td>
+      </tr>
+    </c:when>
+    <c:otherwise>
+      <c:forEach var="db" items="${databases}" varStatus="status">
+      <jsp:useBean type="javax.servlet.jsp.jstl.core.LoopTagStatus" id="status" />
+      <tr>
+        <c:choose>
+          <c:when test="<%= status.getCount() % 2 == 1 %>">
+            <c:set var="tdClass" scope="page" value="LightBackground" />
+          </c:when>
+      	  <c:otherwise>
+      	    <c:set var="tdClass" scope="page" value="MediumBackground" />
+      	  </c:otherwise>
+      	</c:choose>
+        <td class="<c:out value='${tdClass}' />"><c:out value="${db}" /></td>
+        <td class="<c:out value='${tdClass}' />" align="center">
+          <a href="<portlet:actionURL portletMode="view">
+                     <portlet:param name="action" value="listTables" />
+                     <portlet:param name="db" value="${db}" />
+                     <portlet:param name="viewTables" value="application" />
+                   </portlet:actionURL>">Application</a>
+        </td>
+        <td class="<c:out value='${tdClass}' />" align="center">
+          <a href="<portlet:actionURL portletMode="view">
+                     <portlet:param name="action" value="listTables" />
+                     <portlet:param name="db" value="${db}" />
+                     <portlet:param name="viewTables" value="system" />
+                   </portlet:actionURL>">System</a>
+        </td>
+      </tr>
+      </c:forEach>
+    </c:otherwise>
+  </c:choose>
+</table>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listDatabases.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,91 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+
+<%-- TODO: Check if datasource is created --%>
+<%-- Datasource --%>
+<%-- Datasource --%>
+<c:if test="${ds == null}">
+    <%-- Create the connection manually --%>
+    <sql:setDataSource
+      var="ds"
+      driver="org.apache.derby.jdbc.EmbeddedDriver"
+      url="jdbc:derby:${db};create=true"
+      user=""
+      password=""
+    />
+</c:if>
+
+<%-- Select statement --%>
+<sql:transaction dataSource="${ds}">
+  <sql:query var="tables">
+    <%-- Set select statement depending on the view table type --%>
+    <c:choose>
+      <c:when test="${viewTables == 'application'}">
+        select TABLENAME from SYS.SYSTABLES where TABLETYPE='T'
+      </c:when>
+      <c:when test="${viewTables == 'system'}">
+        select TABLENAME from SYS.SYSTABLES where TABLETYPE='S' and TABLENAME!='SYSDUMMY1'
+      </c:when>
+    </c:choose>
+  </sql:query>
+</sql:transaction>
+
+<center><b>DB: <c:out value="${db}" /></b></center>
+<table width="100%">
+  <tr>
+    <td class="DarkBackground" colspan="2" align="center">Tables</td>
+  </tr>
+  <%-- Check if there are tables to display  --%>
+  <c:choose>
+    <c:when test="${tables.rowCount == 0}">
+      <tr>
+        <td class="LightBackground" colspan="2" align="center">*** No tables ***</td>
+      </tr>
+    </c:when>
+    <c:otherwise>
+      <%-- Get the value of each column while iterating over rows --%>
+      <c:forEach var="row" items="${tables.rowsByIndex}" varStatus="status">
+      <jsp:useBean type="javax.servlet.jsp.jstl.core.LoopTagStatus" id="status" />
+      <tr>
+        <%-- Select table data class --%>
+        <c:choose>
+          <c:when test="<%= status.getCount() % 2 == 1 %>">
+            <c:set var="tdClass" scope="page" value="LightBackground" />
+          </c:when>
+      	  <c:otherwise>
+      	    <c:set var="tdClass" scope="page" value="MediumBackground" />
+      	  </c:otherwise>
+      	</c:choose>
+        <c:forEach var="column" items="${row}">
+        <td class="<c:out value='${tdClass}' />"><c:out value="${column}" /></td>
+        <td class="<c:out value='${tdClass}' />" align="center">
+          <%-- Select table prefix --%>
+          <c:choose>
+            <c:when test="${viewTables == 'application'}">
+              <c:set var="tblPrefix" scope="page" value="" />
+            </c:when>
+            <c:when test="${viewTables == 'system'}">
+              <c:set var="tblPrefix" scope="page" value="SYS." />
+            </c:when>
+          </c:choose>
+          <a href="<portlet:actionURL portletMode="view">
+                     <portlet:param name="action" value="viewTableContents" />
+                     <portlet:param name="db" value="${db}" />
+                     <portlet:param name="tbl" value="${tblPrefix}${column}" />
+                     <portlet:param name="viewTables" value="${viewTables}" />
+                   </portlet:actionURL>">View Contents</a>
+        </td>
+        </c:forEach>
+      </tr>
+      </c:forEach>
+    </c:otherwise>
+  </c:choose>
+</table>
+
+<br>
+<a href="<portlet:actionURL portletMode="view">
+           <portlet:param name="action" value="listDatabases" />
+         </portlet:actionURL>">View Databases
+</a>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/listTables.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,25 @@
+ <p>Allows the user to run SQL commands to manipulate the data in the 
+  tables, create a new database or delete a database. The user can 
+  enter the SQL commands in the &quot;SQL Command(s)&quot; text box and click 
+  on &quot;Run SQL.&quot;<br>
+  </p>
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;" width="150" align="right" valign="top">Create DB: / <br>      
+      <img src="/console/images/create.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Enter the name of the new database to be created, then click on the &quot;Create&quot; button.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;" width="150" align="right" valign="top">Delete DB: / <br>      
+      <img src="/console/images/delete.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Delete an existing database, by selecting it from the pull-down menu and then clicking on &quot;Delete.&quot;</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;" width="150" align="right" valign="top">Use DB:</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Select a database to update from the pull-down menu.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; color: #1E1E52;" width="150" align="right" valign="top"><img src="/console/images/run_sql.gif" /></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Enter the SQL commands, separated by semicolons, in the "SQL Command/s" text box. To run the SQL command(s), click on the "Run SQL" button.</td>
+  </tr>
+</table>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLHelp.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1 @@
+<%@ include file="runSQLNormal.jsp" %>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLMaximized.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,135 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+
+<form action="<portlet:actionURL portletMode='view'/>" method="post">
+
+<table width="100%"  border="0">
+  <tr>
+    <td><div align="right">Create DB:</div></td>
+    <td><input name="createDB" type="text" size="30">&nbsp;
+      <input type="submit" name="action" value="Create"></td>
+    </tr>
+  <tr>
+    <td><div align="right">Delete DB:</div></td>
+    <td>
+      <select name="deleteDB">
+      <c:forEach var="db" items="${databases}" varStatus="status">
+        <option value="${db}">${db}</option>
+      </c:forEach>
+      </select>&nbsp;
+      <input type="submit" name="action" value="Delete" onClick="javascript:return confirm('Are you sure you want to delete this database?')">
+    </td>
+  </tr>
+  <tr>
+    <td><div align="right">Use DB:</div></td>
+    <td>
+      <select name="useDB">
+      <c:forEach var="db" items="${databases}" varStatus="status">
+        <option value="${db}">${db}</option>
+      </c:forEach>
+      </select>&nbsp;
+      <input type="submit" name="action" value="Run SQL"></td>
+  </tr>
+  <tr>
+    <td></td>
+    <td><div align="left">SQL Command/s:</td>
+  </tr>
+  <tr>
+    <td></td>
+    <td><textarea name="sqlStmts" cols="65" rows="15"><c:out value="${sqlStmts}" /></textarea></td>
+  </tr>
+</table>
+
+<%-- Display action result --%>
+<c:if test="${!empty actionResult}">
+  Result:
+  <hr>
+  <c:out value="${actionResult}" />
+  <hr>
+</c:if>
+
+<table width="100%"  border="0">
+  <tr>
+    <td></td>
+    <td>Note:</td>
+  </tr>
+  <tr>
+    <td></td>
+    <td>1) Use ';' to separate multiple statements</td>
+  </tr>
+  <tr>
+    <td></td>
+    <td>2) Query results will be displayed for single 'Select' statement</td>
+  </tr>
+  <tr>
+    <td></td>
+    <td>3) Use single quotes to encapsulate literal strings</td>
+  </tr>
+</table>
+<br>
+
+<%-- Display query result from single select statement --%>
+<c:if test="${!empty singleSelectStmt}">
+<%-- Datasource --%>
+<c:if test="${ds == null}">
+    <%-- Create the connection manually --%>
+    <sql:setDataSource
+      var="ds"
+      driver="org.apache.derby.jdbc.EmbeddedDriver"
+      url="jdbc:derby:${useDB};create=true"
+      user=""
+      password=""
+    />
+</c:if>
+
+<%-- Select statement --%>
+<sql:transaction dataSource="${ds}">
+  <sql:query var="table">
+    <%= request.getAttribute("singleSelectStmt") %>
+  </sql:query>
+</sql:transaction>
+
+<center><b>Query Result</b></center>
+<table width="100%">
+  <tr>
+  <%-- Get the column names for the header of the table --%>
+  <c:forEach var="columnName" items="${table.columnNames}">
+    <td class="DarkBackground"><c:out value="${columnName}" /></td>
+  </c:forEach>
+  </tr>
+  
+  <%-- Check if there are table data to display --%>
+  <c:choose>
+    <c:when test="${table.rowCount == 0}">
+      <tr>
+        <td class="LightBackground" colspan="<c:out value='${fn:length(table.columnNames)}' />" align="center">*** Empty ***</td>
+      </tr>
+    </c:when>
+    <c:otherwise>
+      <%-- Get the value of each column while iterating over rows --%>
+      <c:forEach var="row" items="${table.rowsByIndex}" varStatus="status">
+        <jsp:useBean type="javax.servlet.jsp.jstl.core.LoopTagStatus" id="status" />
+        <tr>
+        <c:choose>
+          <c:when test="<%= status.getCount() % 2 == 1 %>">
+            <c:forEach var="column" items="${row}">
+              <td class="LightBackground"><c:out value="${column}" /></td>
+            </c:forEach>
+          </c:when>
+      	  <c:otherwise>
+            <c:forEach var="column" items="${row}">
+              <td class="MediumBackground"><c:out value="${column}" /></td>
+            </c:forEach>
+      	  </c:otherwise>
+      	</c:choose>
+        </tr>
+      </c:forEach>
+    </c:otherwise>
+  </c:choose>
+</table>
+</c:if>
+
+</form>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/runSQLNormal.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,77 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+
+<%-- TODO: Check if datasource is created --%>
+<%-- Datasource --%>
+<c:if test="${ds == null}">
+    <%-- Create the connection manually --%>
+    <sql:setDataSource
+      var="ds"
+      driver="org.apache.derby.jdbc.EmbeddedDriver"
+      url="jdbc:derby:${db};create=true"
+      user=""
+      password=""
+    />
+</c:if>
+
+<%-- Select statement --%>
+<sql:transaction dataSource="${ds}">
+  <sql:query var="table">
+    select * from ${tbl}
+  </sql:query>
+</sql:transaction>
+
+<center><b>DB: <c:out value="${db}" />&nbsp;&nbsp;&nbsp;Table: <c:out value="${tbl}" /></b></center>
+<table width="100%">
+  <tr>
+  <%-- Get the column names for the header of the table --%>
+  <c:forEach var="columnName" items="${table.columnNames}">
+    <td class="DarkBackground"><c:out value="${columnName}" /></td>
+  </c:forEach>
+  </tr>
+  
+  <%-- Check if there are table data to display --%>
+  <c:choose>
+    <c:when test="${table.rowCount == 0}">
+      <tr>
+        <td class="LightBackground" colspan="<c:out value='${fn:length(table.columnNames)}' />" align="center">*** Empty ***</td>
+      </tr>
+    </c:when>
+    <c:otherwise>
+      <%-- Get the value of each column while iterating over rows --%>
+      <c:forEach var="row" items="${table.rowsByIndex}" varStatus="status">
+        <jsp:useBean type="javax.servlet.jsp.jstl.core.LoopTagStatus" id="status" />
+        <tr>
+        <c:choose>
+          <c:when test="<%= status.getCount() % 2 == 1 %>">
+            <c:forEach var="column" items="${row}">
+              <td class="LightBackground"><c:out value="${column}" /></td>
+            </c:forEach>
+          </c:when>
+      	  <c:otherwise>
+            <c:forEach var="column" items="${row}">
+              <td class="MediumBackground"><c:out value="${column}" /></td>
+            </c:forEach>
+      	  </c:otherwise>
+      	</c:choose>
+        </tr>
+      </c:forEach>
+    </c:otherwise>
+  </c:choose>
+</table>
+
+<br>
+<a href="<portlet:actionURL portletMode="view">
+           <portlet:param name="action" value="listTables" />
+           <portlet:param name="db" value="${db}" />
+           <portlet:param name="viewTables" value="${viewTables}" />
+         </portlet:actionURL>">View Tables
+</a>
+&nbsp;&nbsp;|&nbsp;&nbsp;
+<a href="<portlet:actionURL portletMode="view">
+           <portlet:param name="action" value="listDatabases" />
+         </portlet:actionURL>">View Databases
+</a>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/internaldb/viewTableContents.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,82 @@
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet" %>
+<portlet:defineObjects/>
+<script language="javascript">
+<!--
+	function doCheck(){
+		var poolMax = <portlet:namespace/>.poolMaxSize.value;
+        var block = <portlet:namespace/>.blocking.value;
+        
+        if(isNaN(parseFloat(poolMax))){
+            alert("Please enter a numeric value for Pool Max Capacity.");
+            return false;
+        }
+        if(isNaN(parseFloat(block))){
+            alert("Please enter a numeric value for Blocking Timeout.");
+            return false;
+        }
+        return true;
+	}
+//-->
+</script>
+
+<form name="<portlet:namespace/>" action="<portlet:actionURL/>" onSubmit="return doCheck();">
+<input type="hidden" name="mode" value="addACF">
+<table width="100%%"  border="0">
+  <tr>
+    <td width="16%"> <div align="right">Name: </div></td>
+    <td width="84%"><input name="acfName" type="text" size="50"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> <p>Name of this ActiveMQ Connection Factory.</td>
+  </tr>
+  <tr>
+    <td> <div align="right">Server URL: </div></td>
+    <td><input name="serverURL" type="text" size="50"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> URL of the server to connect to.</td>
+  </tr>
+  <tr>
+    <td> <div align="right">User Name: </div></td>
+    <td><input name="userName" type="text" size="50"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> User name to use.</td>
+  </tr>
+  <tr>
+    <td> <div align="right">Password: </div></td>
+    <td><input name="pword" type="password"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> Password corresponding to user name used. </td>
+  </tr>
+  <tr>
+    <td> <div align="right">Pool Max Capacity: </div></td>
+    <td><input name="poolMaxSize" type="text" size="20" value="0"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> Maximum connection pool size. </td>
+  </tr>
+  <tr>
+    <td> <div align="right">Blocking Timeout (milliseconds): </div></td>
+    <td><input name="blocking" type="text" size="20" value="0"></td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td> Blocking timeout in milliseconds. </td>
+  </tr>
+  <tr>
+    <td><div align="right"></div></td>
+    <td><input name="submit" type="submit" value="Create"></td>
+  </tr>
+</table>
+</form>
+<a href='<portlet:actionURL portletMode="view">
+    <portlet:param name="mode" value="list" />
+    </portlet:actionURL>'>List Connection Factories</a>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/addACF.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,41 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+<script language="javascript">
+<!--
+	function doSave(){
+		document.datasource_form.action="<portlet:actionURL portletMode="view"/>";
+		document.datasource_form.mode.value="save";
+		return true;
+	}
+	function doCancel(){
+		document.datasource_form.action="<portlet:actionURL portletMode="view"/>";
+		document.datasource_form.mode.value="detail";
+		return true;
+	}
+//-->
+</script>
+	
+<form name="datasource_form">
+<input type="hidden" name="name" value="${ds.objectName}" />
+<input type="hidden" name="mode" value="detail" />
+
+<br>
+<strong>Connection Name:</strong>&nbsp;${ds.name}
+<br><br>
+<table width="100%">
+    <tr><td><strong>UserName</strong></td><td><input type="text" name="UserName" value="${ds.userName}" size="75" /></td></tr>
+    <tr><td><strong>Password</strong></td><td><input type="password" name="password1" size="75" /></td></tr>
+    <tr><td><strong>Repeat&nbsp;Password</strong></td><td><input type="password" name="password2" size="75" /></td></tr>
+<c:if test="${badPassword}"><tr><td colspan="2">Passwords did not match</td></tr></c:if>
+    <tr><td><strong>ServerUrl</strong></td><td><input type="text" name="ServerUrl" value="${ds.serverUrl}" size="75" /></td></tr>
+    <!--<tr><td><strong>Clientid</strong></td><td><input type="text" name="Clientid" value="${ds.clientid}" size="75" /></td></tr>
+
+
+    <tr><td><strong>Partition Max Size</strong></td><td><input type="text" name="partitionMaxSize" value="${connectionManagerInfo.partitionMaxSize}" size="75" /></td></tr>
+    <tr><td><strong>Partition Min Size</strong></td><td><input type="text" name="partitionMinSize" value="${connectionManagerInfo.partitionMinSize}" size="75" /></td></tr>
+    <tr><td><strong>Blocking Timeout (Milliseconds)</strong></td><td><input type="text" name="blockingTimeoutMilliseconds" value="${connectionManagerInfo.blockingTimeoutMilliseconds}" size="75" /></td></tr>
+    <tr><td><strong>Idle Timeout (Minutes)</strong></td><td><input type="text" name="idleTimeoutMinutes" value="${connectionManagerInfo.idleTimeoutMinutes}" size="75" /></td></tr>-->
+    <tr><td colspan="2"><input type="submit" name="btnSave" value="Save" onClick="doSave();"/><input type="submit" name="btnCancel" value="Cancel" onClick="doCancel();"></td></tr>
+</table>
+</form>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/config.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,33 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+<form name="datasource_form" action="<portlet:actionURL portletMode="view"/>">
+<br>
+<strong>Connection Name:</strong>&nbsp;${attributeMap.name}
+<br><br>
+<table width="100%">
+        <tr>
+            <th>Property</th>
+            <th>Value</th>
+        </tr>
+    <c:forEach var="entry" items="${attributeMap}">
+        <tr>
+            <td><strong>${entry.key}</strong></td>
+            <td>${entry.value}</td>
+        </tr>
+    </c:forEach>
+    		<tr>
+    			<td colspan="2">
+    				<table width="100%">
+    					<tr>
+    						<td width="10%">&nbsp</td>
+    						<td>
+    							<input type="submit" name="btnBack" value="Back to JMS Connection Factories">
+								</td>
+							</tr>
+						</table>
+					</td>
+				</tr>	
+</table>
+<input type="hidden" name="name" value="back">
+</form>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/detail.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,26 @@
+
+
+<p>This portlet displays the JMS connectors that are configured with the Geronimo server.</p>
+
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><span style="font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;">detail</span></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link provides details on the connector. Clicking on the details link will display information about the Connection Factory in Property/Value pairs. Click on the &quot;Back to JMS Connection Factories&quot; button to return to the main JMS Connection Factories page.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Name of the connection factory.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><strong>State</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The state of the connection, either &quot;Running&quot; or &quot;Stopped.&quot;</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><span style="font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;">test connection</span></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link can be used to test the connector. A result will be returned of either &quot;Connected&quot; or a failure message.</td>
+  </tr>
+  <tr>
+    <td width="150" align="right" valign="top" class="MediumBackground" style="padding: 10px 10px 5px 10px"><span style="font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;">Add New JMS Connection Factory</span></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link brings up a form for adding a new connection factory. The fields are defined on the form.</td>
+  </tr>
+</table>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/help.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,43 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<portlet:defineObjects/>
+<table width="100%">
+    <tr>
+        <th>&nbsp;</th>
+        <th align="left">Name</th>
+        <th align="left">State</th>
+        <th align="left">Test Result</th>
+    </tr>
+    <c:forEach var="info" items="${cFactories}"><tr>
+        <td><a href='<portlet:renderURL>
+            <portlet:param name="name" value="${info.objectName}"/>
+            <portlet:param name="mode" value="detail"/>
+            </portlet:renderURL>'>detail</a>
+        </td>
+        <td>${info.name}</td>
+        <td><c:choose>
+            <c:when test='${info.state == 0}'>Starting</c:when>
+            <c:when test='${info.state == 1}'>Running</c:when>
+            <c:when test='${info.state == 2}'>Stopping</c:when>
+            <c:when test='${info.state == 3}'>Stopped</c:when>
+            <c:when test='${info.state == 4}'>Failed</c:when>
+        </c:choose></td>
+        <td>
+        		<c:if test="${!info.working}">
+        			<a href='<portlet:renderURL>
+        					<portlet:param name="name" value="${info.objectName}"/>
+        					<portlet:param name="mode" value="list"/>
+        					<portlet:param name="check" value="true"/></portlet:renderURL>'>
+        					test connection
+        			</a>
+        		</c:if>
+        		<c:if test="${info.working}">
+        			${info.message}
+        		</c:if>
+        </td>
+    </tr></c:forEach>
+</table>
+<br>
+<a href="<portlet:actionURL portletMode="view">
+    <portlet:param name="mode" value="addACF" />
+    </portlet:actionURL>">Add New JMS Connection Factory</a>
\ No newline at end of file

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/activemq/normal.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp?rev=393787&view=auto
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp (added)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp Thu Apr 13 04:34:08 2006
@@ -0,0 +1,28 @@
+
+
+<p>This portlet displays the JMS connectors that are configured with 
+the Geronimo server and allows the user to add datasources as well.</p>
+<table width="100%"  border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;" width="150" align="right" valign="top">detail</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link provides details on the connector.  Clicking on the details link will display information about the Connection Factory in Property/Value pairs. Click on &quot;Back to Datasources&quot; to return to the main JMS Connection Factories page.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 5px 10px" width="150" align="right" valign="top"><strong>Name</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Name of the Connection Factory.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 5px 10px" width="150" align="right" valign="top"><strong>State</strong></td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">The state of the connection, either &quot;Running&quot; or 
+&quot;Stopped.&quot;</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;" width="150" align="right" valign="top">test connection</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">This link can be used to test the connector. A result will be returned of either &quot;Connected&quot; or 
+a failure message.</td>
+  </tr>
+  <tr>
+    <td class="MediumBackground" style="padding: 10px 10px 10px 5px; font-size: 10px; color: #546BC7; text-decoration: underline; font-weight: bold;" width="150" align="right" valign="top">Add New Datasource</td>
+    <td class="LightBackground" style="padding: 10px 5px 10px 10px" valign="top">Clicking on this link allows the user to add a new datasource. On the add new datasource form, fill in the fields and click on the Create button to add the new datasource. The fields are defined on the form itself.</td>
+  </tr>
+</table>

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/jmsmanager/connectionhelp.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message