geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r476334 [1/2] - in /geronimo/server/trunk: applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/car/ applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmxmanager/ applications/console/geronim...
Date Fri, 17 Nov 2006 21:47:51 GMT
Author: vamsic007
Date: Fri Nov 17 13:47:48 2006
New Revision: 476334

URL: http://svn.apache.org/viewvc?view=rev&rev=476334
Log:
modified svn properties

Modified:
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/car/addRepository.jsp   (props changed)
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/car/viewForDownload.jsp   (props changed)
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmxmanager/help.jsp   (props changed)
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/jmxmanager/viewJMXServer.jsp   (props changed)
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/help.jsp   (contents, props changed)
    geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/viewLDAPServer.jsp   (contents, props changed)
    geronimo/server/trunk/applications/demo/NOTICE.txt   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/web.xml   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/cal/cal1.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/cal/cal2.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/checkbox/checkresult.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/colors/colrs.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/dates/date.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/error/err.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/error/errorpge.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/forward/forward.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/forward/one.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/include/foo.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/include/include.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/el/basic-arithmetic.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/el/basic-comparisons.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/el/functions.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/el/implicit-objects.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/jspattribute/jspattribute.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/jspattribute/shuffle.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/misc/config.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/misc/dynamicattrs.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/simpletag/book.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/simpletag/hello.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/simpletag/repeat.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/tagfiles/hello.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/tagfiles/panel.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/tagfiles/products.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsptoserv/hello.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsptoserv/jsptoservlet.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/num/numguess.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/plugin/plugin.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/security/protected/error.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/security/protected/index.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/security/protected/login.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/sessions/carts.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/simpletag/foo.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/snp/snoop.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/source.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/tagplugin/choose.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/tagplugin/foreach.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/tagplugin/if.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/xml/xml.jsp   (props changed)
    geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/web.xml   (props changed)
    geronimo/server/trunk/configs/clustering/LICENSE.txt   (props changed)
    geronimo/server/trunk/configs/clustering/NOTICE.txt   (props changed)
    geronimo/server/trunk/configs/clustering/pom.xml   (props changed)
    geronimo/server/trunk/configs/clustering/src/plan/plan.xml   (contents, props changed)
    geronimo/server/trunk/configs/wadi-clustering/LICENSE.txt   (props changed)
    geronimo/server/trunk/configs/wadi-clustering/NOTICE.txt   (props changed)
    geronimo/server/trunk/configs/wadi-clustering/pom.xml   (props changed)
    geronimo/server/trunk/configs/wadi-clustering/src/plan/plan.xml   (contents, props changed)
    geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/empty-plan.xml   (props changed)
    geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/expected-empty-plan.xml   (props changed)
    geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/expected-no-env-plan.xml   (props changed)
    geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/no-env-plan.xml   (props changed)
    geronimo/server/trunk/modules/geronimo-clustering-builder-wadi/pom.xml   (props changed)
    geronimo/server/trunk/modules/geronimo-clustering-builder-wadi/src/main/schema/xmlconfig.xml   (props changed)
    geronimo/server/trunk/modules/geronimo-clustering-wadi/pom.xml   (props changed)
    geronimo/server/trunk/modules/geronimo-clustering/pom.xml   (props changed)
    geronimo/server/trunk/modules/geronimo-jetty-clustering-wadi/pom.xml   (props changed)
    geronimo/server/trunk/modules/geronimo-webservices-builder/LICENSE.txt   (props changed)
    geronimo/server/trunk/modules/geronimo-webservices-builder/NOTICE.txt   (props changed)
    geronimo/server/trunk/modules/geronimo-webservices-builder/pom.xml   (props changed)
    geronimo/server/trunk/modules/geronimo-webservices-builder/src/site/site.xml   (props changed)

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

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

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

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

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

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

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/help.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/help.jsp?view=diff&rev=476334&r1=476333&r2=476334
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/help.jsp (original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/help.jsp Fri Nov 17 13:47:48 2006
@@ -1,28 +1,28 @@
-<%--
- Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
- 
-      http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
---%>
-
-<!-- LDAP Viewer portlet help page -->
-
-<p>The LDAP viewer portlet can be used to do the following:
-<ul>
-    <li>Connect to any LDAP server and explore its contents (default is the Embedded LDAP server - Apache DS)
-    <li>View the attributes of an entry
-    <li>Do an LDAP search on a particular entry
-    <li>Refresh any entry to get the latest data from the directory server
-    <li>View the LDAP connection environment data
-</ul>
-<p>Note: Right-click to any tree node to view the context menu for performing different actions.
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+--%>
+
+<!-- LDAP Viewer portlet help page -->
+
+<p>The LDAP viewer portlet can be used to do the following:
+<ul>
+    <li>Connect to any LDAP server and explore its contents (default is the Embedded LDAP server - Apache DS)
+    <li>View the attributes of an entry
+    <li>Do an LDAP search on a particular entry
+    <li>Refresh any entry to get the latest data from the directory server
+    <li>View the LDAP connection environment data
+</ul>
+<p>Note: Right-click to any tree node to view the context menu for performing different actions.

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

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

Modified: geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/viewLDAPServer.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/viewLDAPServer.jsp?view=diff&rev=476334&r1=476333&r2=476334
==============================================================================
--- geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/viewLDAPServer.jsp (original)
+++ geronimo/server/trunk/applications/console/geronimo-console-standard/src/main/webapp/WEB-INF/view/ldapmanager/viewLDAPServer.jsp Fri Nov 17 13:47:48 2006
@@ -1,649 +1,649 @@
-<%--
- Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
- 
-      http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
---%>
-
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
-<%@ page import="org.apache.geronimo.console.util.PortletManager" %>
-<portlet:defineObjects/>
-
-<%
-    // LDAP icon
-    String consoleFrameworkContext = PortletManager.getConsoleFrameworkServletPath(request);
-    String ldapIconURI = consoleFrameworkContext + "/../images/ico_filetree_16x16.gif";
-%>
-
-<!-- DOJO Stuff -->
-<script>
-/* Global vars */
-var _selectedNode = null; // Selected tree node
-var _baseDN = null;       // Base distinguised name
-
-/* Get selected node */
-function getSelectedNode() {
-    var tree = dojo.widget.byId('ldapTree');
-    var selectedNode = tree.selector.selectedNode;
-    return selectedNode;
-}
-
-/* Select tab */
-function selectTab(tabID) {
-    var mainTabContainer = dojo.widget.byId('mainTabContainer');
-    var tab = dojo.widget.byId(tabID);
-    mainTabContainer.selectTab(tab);   
-}
-
-/* Init stuff */
-dojo.addOnLoad(
-    function() {
-        /* Init LDAP tree */
-        LDAPHelper.getBaseDN(<portlet:namespace/>initLDAPTree);
-
-        /* Init LDAP connection info tab */
-        if (_baseDN != null) {
-            LDAPHelper.getEnvironment(<portlet:namespace/>initConnectInfoTab);
-        }
-
-        /* Tree click event handler */
-        var treeController = dojo.widget.manager.getWidgetById('treeController');
-        dojo.event.connect(
-            'before',
-            treeController,
-            'onTreeClick',
-            {
-                beforeTreeClick: function(evt) {
-                    var selectedNode = evt.source;
-                    if ((selectedNode.state == 'UNCHECKED') && (selectedNode.isExpanded == false)) {
-                        // Add children
-                        _selectedNode = selectedNode;
-                        LDAPHelper.list(<portlet:namespace/>updateLDAPTree, _selectedNode.widgetId);
-                    }
-                }
-            },
-            'beforeTreeClick'
-        );
-
-		/* Tree node title click event handler */
-		var tree = dojo.widget.manager.getWidgetById('ldapTree');
-		dojo.event.topic.subscribe(
-			tree.eventNames.titleClick,
-			function(message) {
-			    var dn = message.source.widgetId;
-			    LDAPHelper.getAttributes(<portlet:namespace/>updateAttributesTable, dn);
-			}
-		);
-
-        /* Tree context menu event handler: 'Refresh' */
-		dojo.event.topic.subscribe(
-		    'treeContextMenuRefresh/engage',
-			function (menuItem) {
-			    var selectedNode = getSelectedNode();
-                if (selectedNode == null) {
-                    alert('Please select a tree node.');
-                    return;
-                }
-			    if ((selectedNode.state == 'UNCHECKED') && (selectedNode.isExpanded == false)) {
-			        // Unchecked tree node, do nothing
-                } else {
-                    // Remove children
-                    var treeController = dojo.widget.byId('treeController');
-    			    var children = selectedNode.children;
-    			    while (children.length > 0) {
-    			        var node = children[0];
-    			        treeController.removeNode(node);
-                        node.destroy();
-    			    }
-    			    // Add children
-    			    _selectedNode = selectedNode;
-    			    LDAPHelper.list(<portlet:namespace/>updateLDAPTree, _selectedNode.widgetId);
-    	        }
-            }
-		);
-
-        /* Tree context menu event handler: 'Search...' */
-		dojo.event.topic.subscribe(
-		    'treeContextMenuSearch/engage',
-			function (menuItem) {
-			    var selectedNode = getSelectedNode();
-                if (selectedNode == null) {
-                    alert('Please select a tree node.');
-                    return;
-                }
-			    selectTab('searchTab');
-			    // Set Search DN
-			    document.LDAPSearchForm.searchDN.value = selectedNode.widgetId;
-			}
-		);
-
-        /* Tree context menu event handler: 'View Entry' */
-		dojo.event.topic.subscribe(
-		    'treeContextMenuViewEntry/engage',
-			function (menuItem) {
-			    var selectedNode = getSelectedNode();
-                if (selectedNode == null) {
-                    alert('Please select a tree node.');
-                    return;
-                }
-			    selectTab('attributesTab');
-            }
-		);
-
-        /* Tree context menu event handler: 'Connect Info' */
-		dojo.event.topic.subscribe(
-		    'treeContextMenuConnectInfo/engage',
-			function (menuItem) {
-			    var selectedNode = getSelectedNode();
-                if (selectedNode == null) {
-                    alert('Please select a tree node.');
-                    return;
-                }
-			    selectTab('connectInfoTab');
-            }
-		);
-    }
-);
-
-/* Anonymous bind checkbox clicked even handler */
-function anonBindChkboxClicked() {
-    var isAnonBind = document.LDAPConnectForm.anonBind.checked;
-    document.LDAPConnectForm.userDN.disabled = isAnonBind;
-    document.LDAPConnectForm.password.disabled = isAnonBind;
-}
-
-/* Restore Default button clicked event handler */
-function restoreDefaultBtnClicked() {
-    // Restore default connection properties (Embedded Apache DS)
-    document.LDAPConnectForm.host.value = 'localhost';
-    document.LDAPConnectForm.port.value = '1389';
-    document.LDAPConnectForm.ldapVersion[0].checked = true;
-    document.LDAPConnectForm.ldapVersion[1].checked = false;
-    document.LDAPConnectForm.baseDN.value = 'ou=system';
-    document.LDAPConnectForm.ssl.checked = false;
-    document.LDAPConnectForm.anonBind.checked = false;
-    document.LDAPConnectForm.userDN.value = 'uid=admin, ou=system';
-    document.LDAPConnectForm.password.value = '';
-    document.LDAPConnectForm.userDN.disabled = false;
-    document.LDAPConnectForm.password.disabled = false;
-}
-
-/* Connect button clicked event handler */
-function connectBtnClicked() {
-    // TODO: Add validation
-    var initialContextFactory = 'com.sun.jndi.ldap.LdapCtxFactory';
-    var host = document.LDAPConnectForm.host.value;
-    var port = document.LDAPConnectForm.port.value;
-    var ldapVersion;
-    if (document.LDAPConnectForm.ldapVersion[0].checked) {
-        ldapVersion = '3';
-    } else {
-        ldapVersion = '2';
-    }
-    var baseDN = document.LDAPConnectForm.baseDN.value;
-    var securityProtocol = '';
-    if (document.LDAPConnectForm.ssl.checked) {
-        securityProtocol = 'ssl';
-    }
-    var securityAuthentication = 'simple';
-    var securityPrincipal;
-    var securityCredentials;
-    if (document.LDAPConnectForm.anonBind.checked) {
-        securityAuthentication = 'none';
-        securityPrincipal = '';
-        securityCredentials = '';
-    } else {
-        securityAuthentication = 'simple';
-        securityPrincipal = document.LDAPConnectForm.userDN.value;
-        securityCredentials = document.LDAPConnectForm.password.value;
-    }
-    
-    // DEBUG: Connect Info
-    var connectInfoStr =
-        'initialContextFactory:' + initialContextFactory +
-        '\nhost:' + host +
-        '\nport:' + port +
-        '\nldapVersion:' + ldapVersion +
-        '\nbaseDN:' + baseDN +
-        '\nsecurityProtocol:' + securityProtocol +
-        '\nsecurityAuthentication:' + securityAuthentication +
-        '\nsecurityPrincipal:' + securityPrincipal +
-        '\nsecurityCredentials:' + securityCredentials;
-    // alert(connectInfoStr);
-    
-    // Connect to new LDAP server
-    LDAPHelper.connect(
-        function(result) {
-            // TODO: Check result
-            if (result == '<SUCCESS>') {
-                window.location = '<portlet:actionURL />';
-            } else {
-                // Display error
-                alert(result + '\n** Make sure LDAP server is running and/or connection properties are correct.');
-            }
-        },
-        initialContextFactory,
-        host,
-        port,
-        baseDN,
-        ldapVersion,
-        securityProtocol,
-        securityAuthentication,
-        securityPrincipal,
-        securityCredentials
-    );
-}
-
-/* Search button clicked event handler */
-function searchBtnClicked() {
-    var searchDN = document.LDAPSearchForm.searchDN.value;
-    var filter = document.LDAPSearchForm.filter.value;
-    var scope;
-    if (document.LDAPSearchForm.searchScope[0].checked) {
-        scope = 'onelevel';
-    } else {
-        scope = 'subtree';
-    }
-    LDAPHelper.search(<portlet:namespace/>updateSearchResultTable, searchDN, filter, scope);
-}
-
-/* Clear result button clicked event handler */
-function clearResultBtnClicked() {
-    DWRUtil.removeAllRows('searchResultTableBody');
-    DWRUtil.setValue('searchResultCount', '');
-}
-</script>
-
-<style>
-body .dojoHtmlSplitterPanePanel {
-	background: white;
-	overflow: auto;
-}
-
-span.invalid, span.missing, span.range {
-	display: inline;
-	margin-left: 1em;
-	font-weight: bold;
-	font-style: italic;
-	font-family: Arial, Verdana, sans-serif;
-	color: #f66;
-	font-size: 0.9em;
-}
-</style>
-
-<!-- DWR Stuff -->
-<% String dwrForwarderServlet = PortletManager.getConsoleFrameworkServletPath(request) + "/../dwr"; %>
-<script type='text/javascript' src='<%= dwrForwarderServlet %>/interface/LDAPHelper.js'></script>
-<script type='text/javascript' src='<%= dwrForwarderServlet %>/engine.js'></script>
-<script type='text/javascript' src='<%= dwrForwarderServlet %>/util.js'></script>
-
-<script>
-/* Sync calls */
-DWREngine.setAsync(false);
-
-/* Generic error handler */
-DWREngine.setErrorHandler(
-    function (errorString) {
-        alert('Error: ' + errorString + '\n** Make sure LDAP server is running and/or connection properties are correct.');
-        selectTab('connectInfoTab');
-    }
-);
-
-/* Table render option */
-var tableOption = {
-    rowCreator: function(options) {
-        var row = document.createElement('tr');
-        return row;
-    },
-    cellCreator: function(options) {
-        var td = document.createElement('td');
-        if ((options.rowIndex % 2) == 0) {
-            td.style.backgroundColor = '#FFFFFF';
-        } else {
-            td.style.backgroundColor = '#F2F2F2';
-        }
-        return td;
-    }
-}
-
-/* Update attributes table */
-function <portlet:namespace/>updateAttributesTable(attributes) {
-    DWRUtil.removeAllRows('attributesTableBody');
-    DWRUtil.addRows(
-        'attributesTableBody', 
-        attributes,
-        [
-            function(attribute) { /* Attribute Name Column */
-                return attribute[0];
-            }, 
-            function(attribute) { /* Attribute Value Column */
-                return attribute[1];
-            } 
-        ],
-        tableOption
-    );
-}
-
-/* Update search result table */
-function <portlet:namespace/>updateSearchResultTable(searchResult) {
-    DWRUtil.removeAllRows('searchResultTableBody');
-    DWRUtil.addRows(
-        'searchResultTableBody',
-        searchResult,
-        [
-            function(dn) { /* Distinguished Name Column */ 
-                return dn;
-            }
-        ],
-        tableOption
-    );
-    DWRUtil.setValue('searchResultCount', searchResult.length + ' entries returned...');
-}
-
-/* Update LDAP tree */
-function <portlet:namespace/>updateLDAPTree(entries) {
-    for (var i = 0; i < entries.length; i++) {
-        var entry = entries[i];
-        var newNode = dojo.widget.createWidget(
-            'TreeNode', 
-            {title: entry[0], widgetId: entry[1], isFolder: true, childIconSrc:'<%= ldapIconURI %>'}
-        );
-		_selectedNode.addChild(newNode);
-    }
-    _selectedNode.state = 'LOADED';
-}
-
-/* Init LDAP tree */
-function <portlet:namespace/>initLDAPTree(baseDN) {
-    _baseDN = baseDN;
-    var tree = dojo.widget.byId('ldapTree');
-	var rootNode = dojo.widget.createWidget(
-	    'TreeNode', 
-	    {title: baseDN, widgetId: baseDN, isFolder: true, childIconSrc:'<%= ldapIconURI %>'}
-	);
-	tree.addChild(rootNode);
-    var controller = dojo.widget.byId('treeController');
-    controller.expand(rootNode);
-    _selectedNode = rootNode;
-    LDAPHelper.list(<portlet:namespace/>updateLDAPTree, _selectedNode.widgetId);
-
-    // Select node
-    var treeSelector = dojo.widget.byId("treeSelector");
-    if (getSelectedNode() != null) {
-        treeSelector.deselect();
-    }
-    treeSelector.doSelect(rootNode);
-    
-    // Select attributes tab
-    selectTab('attributesTab');
-    
-    // Update attributes table
-    var dn = rootNode.widgetId;
-	LDAPHelper.getAttributes(<portlet:namespace/>updateAttributesTable, dn);
-	
-	// Update Search tab's 'Search DN' field
-	document.LDAPSearchForm.searchDN.value = baseDN;
-}
-
-/* Init LDAP connection info tab */
-function <portlet:namespace/>initConnectInfoTab(env) {
-    var host = env['host'];
-    document.LDAPConnectForm.host.value = host;
-    var port = env['port'];
-    document.LDAPConnectForm.port.value = port;
-    var version = env['ldapVersion'];
-    if (version == '3') {
-        document.LDAPConnectForm.ldapVersion[0].checked = true;
-    } else if (version == '2') {
-        document.LDAPConnectForm.ldapVersion[1].checked = true;
-    }
-    var baseDN = env['baseDN'];
-    document.LDAPConnectForm.baseDN.value = baseDN;
-    var securityProtocol = env['securityProtocol'];
-    if ((securityProtocol != null) && (securityProtocol == 'ssl')) {
-        // SSL
-        document.LDAPConnectForm.ssl.checked = true;
-    }
-    var securityAuthentication = env['securityAuthentication'];
-    if ((securityAuthentication != null) && (securityAuthentication == 'none')) {
-        // Anonymous bind
-        document.LDAPConnectForm.anonBind.checked = true;
-        document.LDAPConnectForm.userDN.value = '';
-    } else {
-        var securityPrincipal = env['securityPrincipal'];
-        document.LDAPConnectForm.userDN.value = securityPrincipal;
-    }
-}
-
-/* Prints 'LOADING' message while waiting for DWR method calls */
-function init() {
-    DWRUtil.useLoadingMessage();
-}
-
-function callOnLoad(load) {
-    if (window.addEventListener) {
-        window.addEventListener('load', load, false);
-    } else if (window.attachEvent) {
-        window.attachEvent('onload', load);
-    } else {
-        window.onload = load;
-    }
-}
-
-callOnLoad(init);
-</script>
-
-<div dojoType="TreeContextMenu" toggle="explode" contextMenuForWindow="false" widgetId="treeContextMenu">
-	<div dojoType="TreeMenuItem" treeActions="refreshNode" widgetId="treeContextMenuRefresh" caption="Refresh" ></div>
-	<div dojoType="TreeMenuItem" treeActions="searchNode" widgetId="treeContextMenuSearch" caption="Search..."></div>
-	<div dojoType="TreeMenuItem" treeActions="viewEntry" widgetId="treeContextMenuViewEntry" caption="View Entry"></div>
-	<div dojoType="TreeMenuItem" treeActions="viewConnectInfo" widgetId="treeContextMenuConnectInfo" caption="Connect Info"></div>
-</div>
-
-<div dojoType="TreeSelector" widgetId="treeSelector"></div>
-<div dojoType="TreeBasicController" widgetId="treeController"></div>
-
-<!-- Main layout container -->
-<div dojoType="LayoutContainer"
-	layoutChildPriority='left-right'
-	id="mainLayout"
-	style="height: 500px;">
-
-    <!-- Horizontal split container -->
-	<div dojoType="SplitContainer"
-		orientation="horizontal"
-		sizerWidth="5"
-		activeSizing="1"
-		layoutAlign="client">
-		
-		<!-- LDAP tree -->
-        <div dojoType="Tree"
-            toggle="fade"
-            layoutAlign="flood"
-			sizeMin="60"
-			sizeShare="40"
-            widgetId="ldapTree"
-            selector="treeSelector"
-            controller="treeController"
-            expandLevel="0"
-            menu="treeContextMenu"
-            strictFolders="false">
-            <!-- Nodes will be added programmatically -->
-        </div>
-
-        <!-- Main tab container -->
-    	<div id="mainTabContainer" 
-    	    dojoType="TabContainer" 
-    	    selectedTab="attributesTab" 
-    	    style="overflow: auto" 
-    	    sizeShare="60">
-            
-            <!-- Attributes tab -->
-    		<div id="attributesTab" dojoType="ContentPane" title="LDAP Entry Attributes" label="Attributes">
-                <br>
-                <table width="100%">
-                    <tr>
-                        <td class="DarkBackground" align="center" width="40%">Name</td>
-                        <td class="DarkBackground" align="center" width="60%">Value</td>
-                    </tr>
-                    <tbody id="attributesTableBody">
-                    </tbody>
-                </table>
-    		</div> <!-- Attributes tab -->
-
-            <!-- Search tab -->
-    		<div id="searchTab" dojoType="ContentPane" title = "" label="Search">
-    		    <br>
-                <form NAME="LDAPSearchForm">
-        	        <table>
-                        <tr>
-                            <td nowrap align="right">Search DN:</td>
-                            <td><input type="text" name="searchDN" value="" size="45"/></td>
-                        </tr>
-                        <tr>
-                            <td nowrap align="right">Filter:</td>
-                            <td><input type="text" name="filter" value="(objectclass=*)" size="45"/></td>
-                        </tr>
-                        <tr>
-                            <td nowrap align="right">&nbsp;Search scope:</td>
-                            <td>
-                                <INPUT type="radio" name="searchScope" value="onelevel" checked> One level
-                                <INPUT type="radio" name="searchScope" value="subtree"> Sub-tree level
-                            </td>
-                        </tr>
-                        <tr>
-                            <td colspan="2">&nbsp;</td>
-                        </tr>
-                        <tr>
-                            <td align="left" colspan="2">
-                                &nbsp;<input type="button" value="Search" name="ldapSearch" onClick="searchBtnClicked()"/>
-                                &nbsp;<input type="button" value="Clear Result" name="clearResult" onClick="clearResultBtnClicked()"/>
-                                &nbsp;&nbsp;<span id='searchResultCount'></span>
-                            </td>
-                        </tr>
-                    </table>
-                </form>
-                <hr>
-                <table width="100%">
-                  <tr>
-                    <td class="DarkBackground" align="center">DN</td>
-                  </tr>
-                  <tbody id="searchResultTableBody">
-                  </tbody>
-                </table>
-            </div> <!-- Search tab -->
-
-            <!-- Connection Info tab -->
-    		<div id="connectInfoTab" dojoType="ContentPane" title = "" label="Connect Info">
-    		    <br>
-                <form NAME="LDAPConnectForm">
-        	        <table>
-                        <tr>
-                            <td nowrap align="right">Host:</td>
-                            <td>
-                                <input type="text" name="host" value="localhost" size="40"
-                					dojoType="ValidationTextbox"
-                					required="true"
-                					trim="true"
-                                	uppercase: false,
-                                	lowercase: false,
-                                	ucFirst: false,
-                                	digit: false,
-                					missingMessage="<br>* Host is required." />
-                            </td>
-                        </tr>
-                        <tr>
-                            <td nowrap align="right">Port:</td>
-                            <td>
-                                <input type="text" name="port" value="1389" size="40"
-                					dojoType="IntegerTextbox"
-                					required="true"
-                					trim="true"
-                					digit="true"
-                					min="0"
-                					max="65535"
-                					missingMessage="<br>* Port is required." 
-                                    invalidMessage="<br>* The value entered is not valid."
-                                    rangeMessage="<br>* This value is out of range use 0 - 65535." />
-                            </td>
-                        </tr>
-                        <tr>
-                            <td nowrap align="right">Version:</td>
-                            <td>
-                                <INPUT type="radio" name="ldapVersion" value="3" checked> 3
-                                <INPUT type="radio" name="ldapVersion" value="2"> 2
-                            </td>
-                        </tr>
-                        <tr>
-                            <td nowrap align="right">Base DN:</td>
-                            <td>
-                                <input type="text" name="baseDN" value="ou=system" size="40"
-                					dojoType="ValidationTextbox"
-                					required="true"
-                					trim="true"
-                					missingMessage="<br>* Base DN is required." />
-                            </td>
-                        </tr>
-                        <tr>
-                            <td nowrap align="right">SSL:</td>
-                            <td><input type="checkbox" name="ssl" value="" size="40"></td>
-                        </tr>
-                        <tr>
-                            <td nowrap align="right">&nbsp;Anonymous Bind:</td>
-                            <td><input type="checkbox" name="anonBind" value="" size="40" onclick="javascript:anonBindChkboxClicked()"></td>
-                        </tr>
-                        <tr>
-                            <td nowrap align="right">User DN:</td>
-                            <td>
-                                <input type="text" name="userDN" value="uid=admin, ou=system" size="40"
-                					dojoType="ValidationTextbox"
-                					required="true"
-                					trim="true"
-                					missingMessage="<br>* User DN is required." />
-                            </td>
-                        </tr>
-                        <tr>
-                            <td nowrap align="right">Password:</td>
-                            <td><input type="password" name="password" value="" size="40"></td>
-                        </tr>
-                        <tr>
-                            <td align="right" colspan="2">
-                                &nbsp;<input type="button" value="Restore Default" name="defaultLDAP" onClick="restoreDefaultBtnClicked()"/>
-                                &nbsp;<input type="button" value="Connect" name="connectLDAP" onClick="connectBtnClicked()"/>
-                            </td>
-                        </tr>
-                    </table>
-                </form>
-            </div> <!-- Connection Info tab -->
-
-            <!-- Help tab -->
-    		<!--
-    		<div id="helpTab" dojoType="ContentPane" title="Help Information" label="Help">
-                <br>
-                <p>The LDAP viewer portlet can be used to do the following:
-                <ul>
-                    <li>Connect to any LDAP server and explore its contents (default is the Embedded LDAP server - Apache DS)
-                    <li>View the attributes of an entry
-                    <li>Do an LDAP search on a particular entry
-                    <li>Refresh any entry to get the latest data from the directory server
-                    <li>View the LDAP connection environment data
-                </ul>
-                <p>Note: Right-click to any tree node to view the context menu for performing different actions.
-    		</div>
-    		--> 
-    		<!-- Help tab -->
-
-        </div> <!-- Main tab container -->
-	</div>  <!-- Horizontal split container -->
-</div> <!-- Main layout container -->
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+ 
+      http://www.apache.org/licenses/LICENSE-2.0
+ 
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+--%>
+
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
+<%@ page import="org.apache.geronimo.console.util.PortletManager" %>
+<portlet:defineObjects/>
+
+<%
+    // LDAP icon
+    String consoleFrameworkContext = PortletManager.getConsoleFrameworkServletPath(request);
+    String ldapIconURI = consoleFrameworkContext + "/../images/ico_filetree_16x16.gif";
+%>
+
+<!-- DOJO Stuff -->
+<script>
+/* Global vars */
+var _selectedNode = null; // Selected tree node
+var _baseDN = null;       // Base distinguised name
+
+/* Get selected node */
+function getSelectedNode() {
+    var tree = dojo.widget.byId('ldapTree');
+    var selectedNode = tree.selector.selectedNode;
+    return selectedNode;
+}
+
+/* Select tab */
+function selectTab(tabID) {
+    var mainTabContainer = dojo.widget.byId('mainTabContainer');
+    var tab = dojo.widget.byId(tabID);
+    mainTabContainer.selectTab(tab);   
+}
+
+/* Init stuff */
+dojo.addOnLoad(
+    function() {
+        /* Init LDAP tree */
+        LDAPHelper.getBaseDN(<portlet:namespace/>initLDAPTree);
+
+        /* Init LDAP connection info tab */
+        if (_baseDN != null) {
+            LDAPHelper.getEnvironment(<portlet:namespace/>initConnectInfoTab);
+        }
+
+        /* Tree click event handler */
+        var treeController = dojo.widget.manager.getWidgetById('treeController');
+        dojo.event.connect(
+            'before',
+            treeController,
+            'onTreeClick',
+            {
+                beforeTreeClick: function(evt) {
+                    var selectedNode = evt.source;
+                    if ((selectedNode.state == 'UNCHECKED') && (selectedNode.isExpanded == false)) {
+                        // Add children
+                        _selectedNode = selectedNode;
+                        LDAPHelper.list(<portlet:namespace/>updateLDAPTree, _selectedNode.widgetId);
+                    }
+                }
+            },
+            'beforeTreeClick'
+        );
+
+		/* Tree node title click event handler */
+		var tree = dojo.widget.manager.getWidgetById('ldapTree');
+		dojo.event.topic.subscribe(
+			tree.eventNames.titleClick,
+			function(message) {
+			    var dn = message.source.widgetId;
+			    LDAPHelper.getAttributes(<portlet:namespace/>updateAttributesTable, dn);
+			}
+		);
+
+        /* Tree context menu event handler: 'Refresh' */
+		dojo.event.topic.subscribe(
+		    'treeContextMenuRefresh/engage',
+			function (menuItem) {
+			    var selectedNode = getSelectedNode();
+                if (selectedNode == null) {
+                    alert('Please select a tree node.');
+                    return;
+                }
+			    if ((selectedNode.state == 'UNCHECKED') && (selectedNode.isExpanded == false)) {
+			        // Unchecked tree node, do nothing
+                } else {
+                    // Remove children
+                    var treeController = dojo.widget.byId('treeController');
+    			    var children = selectedNode.children;
+    			    while (children.length > 0) {
+    			        var node = children[0];
+    			        treeController.removeNode(node);
+                        node.destroy();
+    			    }
+    			    // Add children
+    			    _selectedNode = selectedNode;
+    			    LDAPHelper.list(<portlet:namespace/>updateLDAPTree, _selectedNode.widgetId);
+    	        }
+            }
+		);
+
+        /* Tree context menu event handler: 'Search...' */
+		dojo.event.topic.subscribe(
+		    'treeContextMenuSearch/engage',
+			function (menuItem) {
+			    var selectedNode = getSelectedNode();
+                if (selectedNode == null) {
+                    alert('Please select a tree node.');
+                    return;
+                }
+			    selectTab('searchTab');
+			    // Set Search DN
+			    document.LDAPSearchForm.searchDN.value = selectedNode.widgetId;
+			}
+		);
+
+        /* Tree context menu event handler: 'View Entry' */
+		dojo.event.topic.subscribe(
+		    'treeContextMenuViewEntry/engage',
+			function (menuItem) {
+			    var selectedNode = getSelectedNode();
+                if (selectedNode == null) {
+                    alert('Please select a tree node.');
+                    return;
+                }
+			    selectTab('attributesTab');
+            }
+		);
+
+        /* Tree context menu event handler: 'Connect Info' */
+		dojo.event.topic.subscribe(
+		    'treeContextMenuConnectInfo/engage',
+			function (menuItem) {
+			    var selectedNode = getSelectedNode();
+                if (selectedNode == null) {
+                    alert('Please select a tree node.');
+                    return;
+                }
+			    selectTab('connectInfoTab');
+            }
+		);
+    }
+);
+
+/* Anonymous bind checkbox clicked even handler */
+function anonBindChkboxClicked() {
+    var isAnonBind = document.LDAPConnectForm.anonBind.checked;
+    document.LDAPConnectForm.userDN.disabled = isAnonBind;
+    document.LDAPConnectForm.password.disabled = isAnonBind;
+}
+
+/* Restore Default button clicked event handler */
+function restoreDefaultBtnClicked() {
+    // Restore default connection properties (Embedded Apache DS)
+    document.LDAPConnectForm.host.value = 'localhost';
+    document.LDAPConnectForm.port.value = '1389';
+    document.LDAPConnectForm.ldapVersion[0].checked = true;
+    document.LDAPConnectForm.ldapVersion[1].checked = false;
+    document.LDAPConnectForm.baseDN.value = 'ou=system';
+    document.LDAPConnectForm.ssl.checked = false;
+    document.LDAPConnectForm.anonBind.checked = false;
+    document.LDAPConnectForm.userDN.value = 'uid=admin, ou=system';
+    document.LDAPConnectForm.password.value = '';
+    document.LDAPConnectForm.userDN.disabled = false;
+    document.LDAPConnectForm.password.disabled = false;
+}
+
+/* Connect button clicked event handler */
+function connectBtnClicked() {
+    // TODO: Add validation
+    var initialContextFactory = 'com.sun.jndi.ldap.LdapCtxFactory';
+    var host = document.LDAPConnectForm.host.value;
+    var port = document.LDAPConnectForm.port.value;
+    var ldapVersion;
+    if (document.LDAPConnectForm.ldapVersion[0].checked) {
+        ldapVersion = '3';
+    } else {
+        ldapVersion = '2';
+    }
+    var baseDN = document.LDAPConnectForm.baseDN.value;
+    var securityProtocol = '';
+    if (document.LDAPConnectForm.ssl.checked) {
+        securityProtocol = 'ssl';
+    }
+    var securityAuthentication = 'simple';
+    var securityPrincipal;
+    var securityCredentials;
+    if (document.LDAPConnectForm.anonBind.checked) {
+        securityAuthentication = 'none';
+        securityPrincipal = '';
+        securityCredentials = '';
+    } else {
+        securityAuthentication = 'simple';
+        securityPrincipal = document.LDAPConnectForm.userDN.value;
+        securityCredentials = document.LDAPConnectForm.password.value;
+    }
+    
+    // DEBUG: Connect Info
+    var connectInfoStr =
+        'initialContextFactory:' + initialContextFactory +
+        '\nhost:' + host +
+        '\nport:' + port +
+        '\nldapVersion:' + ldapVersion +
+        '\nbaseDN:' + baseDN +
+        '\nsecurityProtocol:' + securityProtocol +
+        '\nsecurityAuthentication:' + securityAuthentication +
+        '\nsecurityPrincipal:' + securityPrincipal +
+        '\nsecurityCredentials:' + securityCredentials;
+    // alert(connectInfoStr);
+    
+    // Connect to new LDAP server
+    LDAPHelper.connect(
+        function(result) {
+            // TODO: Check result
+            if (result == '<SUCCESS>') {
+                window.location = '<portlet:actionURL />';
+            } else {
+                // Display error
+                alert(result + '\n** Make sure LDAP server is running and/or connection properties are correct.');
+            }
+        },
+        initialContextFactory,
+        host,
+        port,
+        baseDN,
+        ldapVersion,
+        securityProtocol,
+        securityAuthentication,
+        securityPrincipal,
+        securityCredentials
+    );
+}
+
+/* Search button clicked event handler */
+function searchBtnClicked() {
+    var searchDN = document.LDAPSearchForm.searchDN.value;
+    var filter = document.LDAPSearchForm.filter.value;
+    var scope;
+    if (document.LDAPSearchForm.searchScope[0].checked) {
+        scope = 'onelevel';
+    } else {
+        scope = 'subtree';
+    }
+    LDAPHelper.search(<portlet:namespace/>updateSearchResultTable, searchDN, filter, scope);
+}
+
+/* Clear result button clicked event handler */
+function clearResultBtnClicked() {
+    DWRUtil.removeAllRows('searchResultTableBody');
+    DWRUtil.setValue('searchResultCount', '');
+}
+</script>
+
+<style>
+body .dojoHtmlSplitterPanePanel {
+	background: white;
+	overflow: auto;
+}
+
+span.invalid, span.missing, span.range {
+	display: inline;
+	margin-left: 1em;
+	font-weight: bold;
+	font-style: italic;
+	font-family: Arial, Verdana, sans-serif;
+	color: #f66;
+	font-size: 0.9em;
+}
+</style>
+
+<!-- DWR Stuff -->
+<% String dwrForwarderServlet = PortletManager.getConsoleFrameworkServletPath(request) + "/../dwr"; %>
+<script type='text/javascript' src='<%= dwrForwarderServlet %>/interface/LDAPHelper.js'></script>
+<script type='text/javascript' src='<%= dwrForwarderServlet %>/engine.js'></script>
+<script type='text/javascript' src='<%= dwrForwarderServlet %>/util.js'></script>
+
+<script>
+/* Sync calls */
+DWREngine.setAsync(false);
+
+/* Generic error handler */
+DWREngine.setErrorHandler(
+    function (errorString) {
+        alert('Error: ' + errorString + '\n** Make sure LDAP server is running and/or connection properties are correct.');
+        selectTab('connectInfoTab');
+    }
+);
+
+/* Table render option */
+var tableOption = {
+    rowCreator: function(options) {
+        var row = document.createElement('tr');
+        return row;
+    },
+    cellCreator: function(options) {
+        var td = document.createElement('td');
+        if ((options.rowIndex % 2) == 0) {
+            td.style.backgroundColor = '#FFFFFF';
+        } else {
+            td.style.backgroundColor = '#F2F2F2';
+        }
+        return td;
+    }
+}
+
+/* Update attributes table */
+function <portlet:namespace/>updateAttributesTable(attributes) {
+    DWRUtil.removeAllRows('attributesTableBody');
+    DWRUtil.addRows(
+        'attributesTableBody', 
+        attributes,
+        [
+            function(attribute) { /* Attribute Name Column */
+                return attribute[0];
+            }, 
+            function(attribute) { /* Attribute Value Column */
+                return attribute[1];
+            } 
+        ],
+        tableOption
+    );
+}
+
+/* Update search result table */
+function <portlet:namespace/>updateSearchResultTable(searchResult) {
+    DWRUtil.removeAllRows('searchResultTableBody');
+    DWRUtil.addRows(
+        'searchResultTableBody',
+        searchResult,
+        [
+            function(dn) { /* Distinguished Name Column */ 
+                return dn;
+            }
+        ],
+        tableOption
+    );
+    DWRUtil.setValue('searchResultCount', searchResult.length + ' entries returned...');
+}
+
+/* Update LDAP tree */
+function <portlet:namespace/>updateLDAPTree(entries) {
+    for (var i = 0; i < entries.length; i++) {
+        var entry = entries[i];
+        var newNode = dojo.widget.createWidget(
+            'TreeNode', 
+            {title: entry[0], widgetId: entry[1], isFolder: true, childIconSrc:'<%= ldapIconURI %>'}
+        );
+		_selectedNode.addChild(newNode);
+    }
+    _selectedNode.state = 'LOADED';
+}
+
+/* Init LDAP tree */
+function <portlet:namespace/>initLDAPTree(baseDN) {
+    _baseDN = baseDN;
+    var tree = dojo.widget.byId('ldapTree');
+	var rootNode = dojo.widget.createWidget(
+	    'TreeNode', 
+	    {title: baseDN, widgetId: baseDN, isFolder: true, childIconSrc:'<%= ldapIconURI %>'}
+	);
+	tree.addChild(rootNode);
+    var controller = dojo.widget.byId('treeController');
+    controller.expand(rootNode);
+    _selectedNode = rootNode;
+    LDAPHelper.list(<portlet:namespace/>updateLDAPTree, _selectedNode.widgetId);
+
+    // Select node
+    var treeSelector = dojo.widget.byId("treeSelector");
+    if (getSelectedNode() != null) {
+        treeSelector.deselect();
+    }
+    treeSelector.doSelect(rootNode);
+    
+    // Select attributes tab
+    selectTab('attributesTab');
+    
+    // Update attributes table
+    var dn = rootNode.widgetId;
+	LDAPHelper.getAttributes(<portlet:namespace/>updateAttributesTable, dn);
+	
+	// Update Search tab's 'Search DN' field
+	document.LDAPSearchForm.searchDN.value = baseDN;
+}
+
+/* Init LDAP connection info tab */
+function <portlet:namespace/>initConnectInfoTab(env) {
+    var host = env['host'];
+    document.LDAPConnectForm.host.value = host;
+    var port = env['port'];
+    document.LDAPConnectForm.port.value = port;
+    var version = env['ldapVersion'];
+    if (version == '3') {
+        document.LDAPConnectForm.ldapVersion[0].checked = true;
+    } else if (version == '2') {
+        document.LDAPConnectForm.ldapVersion[1].checked = true;
+    }
+    var baseDN = env['baseDN'];
+    document.LDAPConnectForm.baseDN.value = baseDN;
+    var securityProtocol = env['securityProtocol'];
+    if ((securityProtocol != null) && (securityProtocol == 'ssl')) {
+        // SSL
+        document.LDAPConnectForm.ssl.checked = true;
+    }
+    var securityAuthentication = env['securityAuthentication'];
+    if ((securityAuthentication != null) && (securityAuthentication == 'none')) {
+        // Anonymous bind
+        document.LDAPConnectForm.anonBind.checked = true;
+        document.LDAPConnectForm.userDN.value = '';
+    } else {
+        var securityPrincipal = env['securityPrincipal'];
+        document.LDAPConnectForm.userDN.value = securityPrincipal;
+    }
+}
+
+/* Prints 'LOADING' message while waiting for DWR method calls */
+function init() {
+    DWRUtil.useLoadingMessage();
+}
+
+function callOnLoad(load) {
+    if (window.addEventListener) {
+        window.addEventListener('load', load, false);
+    } else if (window.attachEvent) {
+        window.attachEvent('onload', load);
+    } else {
+        window.onload = load;
+    }
+}
+
+callOnLoad(init);
+</script>
+
+<div dojoType="TreeContextMenu" toggle="explode" contextMenuForWindow="false" widgetId="treeContextMenu">
+	<div dojoType="TreeMenuItem" treeActions="refreshNode" widgetId="treeContextMenuRefresh" caption="Refresh" ></div>
+	<div dojoType="TreeMenuItem" treeActions="searchNode" widgetId="treeContextMenuSearch" caption="Search..."></div>
+	<div dojoType="TreeMenuItem" treeActions="viewEntry" widgetId="treeContextMenuViewEntry" caption="View Entry"></div>
+	<div dojoType="TreeMenuItem" treeActions="viewConnectInfo" widgetId="treeContextMenuConnectInfo" caption="Connect Info"></div>
+</div>
+
+<div dojoType="TreeSelector" widgetId="treeSelector"></div>
+<div dojoType="TreeBasicController" widgetId="treeController"></div>
+
+<!-- Main layout container -->
+<div dojoType="LayoutContainer"
+	layoutChildPriority='left-right'
+	id="mainLayout"
+	style="height: 500px;">
+
+    <!-- Horizontal split container -->
+	<div dojoType="SplitContainer"
+		orientation="horizontal"
+		sizerWidth="5"
+		activeSizing="1"
+		layoutAlign="client">
+		
+		<!-- LDAP tree -->
+        <div dojoType="Tree"
+            toggle="fade"
+            layoutAlign="flood"
+			sizeMin="60"
+			sizeShare="40"
+            widgetId="ldapTree"
+            selector="treeSelector"
+            controller="treeController"
+            expandLevel="0"
+            menu="treeContextMenu"
+            strictFolders="false">
+            <!-- Nodes will be added programmatically -->
+        </div>
+
+        <!-- Main tab container -->
+    	<div id="mainTabContainer" 
+    	    dojoType="TabContainer" 
+    	    selectedTab="attributesTab" 
+    	    style="overflow: auto" 
+    	    sizeShare="60">
+            
+            <!-- Attributes tab -->
+    		<div id="attributesTab" dojoType="ContentPane" title="LDAP Entry Attributes" label="Attributes">
+                <br>
+                <table width="100%">
+                    <tr>
+                        <td class="DarkBackground" align="center" width="40%">Name</td>
+                        <td class="DarkBackground" align="center" width="60%">Value</td>
+                    </tr>
+                    <tbody id="attributesTableBody">
+                    </tbody>
+                </table>
+    		</div> <!-- Attributes tab -->
+
+            <!-- Search tab -->
+    		<div id="searchTab" dojoType="ContentPane" title = "" label="Search">
+    		    <br>
+                <form NAME="LDAPSearchForm">
+        	        <table>
+                        <tr>
+                            <td nowrap align="right">Search DN:</td>
+                            <td><input type="text" name="searchDN" value="" size="45"/></td>
+                        </tr>
+                        <tr>
+                            <td nowrap align="right">Filter:</td>
+                            <td><input type="text" name="filter" value="(objectclass=*)" size="45"/></td>
+                        </tr>
+                        <tr>
+                            <td nowrap align="right">&nbsp;Search scope:</td>
+                            <td>
+                                <INPUT type="radio" name="searchScope" value="onelevel" checked> One level
+                                <INPUT type="radio" name="searchScope" value="subtree"> Sub-tree level
+                            </td>
+                        </tr>
+                        <tr>
+                            <td colspan="2">&nbsp;</td>
+                        </tr>
+                        <tr>
+                            <td align="left" colspan="2">
+                                &nbsp;<input type="button" value="Search" name="ldapSearch" onClick="searchBtnClicked()"/>
+                                &nbsp;<input type="button" value="Clear Result" name="clearResult" onClick="clearResultBtnClicked()"/>
+                                &nbsp;&nbsp;<span id='searchResultCount'></span>
+                            </td>
+                        </tr>
+                    </table>
+                </form>
+                <hr>
+                <table width="100%">
+                  <tr>
+                    <td class="DarkBackground" align="center">DN</td>
+                  </tr>
+                  <tbody id="searchResultTableBody">
+                  </tbody>
+                </table>
+            </div> <!-- Search tab -->
+
+            <!-- Connection Info tab -->
+    		<div id="connectInfoTab" dojoType="ContentPane" title = "" label="Connect Info">
+    		    <br>
+                <form NAME="LDAPConnectForm">
+        	        <table>
+                        <tr>
+                            <td nowrap align="right">Host:</td>
+                            <td>
+                                <input type="text" name="host" value="localhost" size="40"
+                					dojoType="ValidationTextbox"
+                					required="true"
+                					trim="true"
+                                	uppercase: false,
+                                	lowercase: false,
+                                	ucFirst: false,
+                                	digit: false,
+                					missingMessage="<br>* Host is required." />
+                            </td>
+                        </tr>
+                        <tr>
+                            <td nowrap align="right">Port:</td>
+                            <td>
+                                <input type="text" name="port" value="1389" size="40"
+                					dojoType="IntegerTextbox"
+                					required="true"
+                					trim="true"
+                					digit="true"
+                					min="0"
+                					max="65535"
+                					missingMessage="<br>* Port is required." 
+                                    invalidMessage="<br>* The value entered is not valid."
+                                    rangeMessage="<br>* This value is out of range use 0 - 65535." />
+                            </td>
+                        </tr>
+                        <tr>
+                            <td nowrap align="right">Version:</td>
+                            <td>
+                                <INPUT type="radio" name="ldapVersion" value="3" checked> 3
+                                <INPUT type="radio" name="ldapVersion" value="2"> 2
+                            </td>
+                        </tr>
+                        <tr>
+                            <td nowrap align="right">Base DN:</td>
+                            <td>
+                                <input type="text" name="baseDN" value="ou=system" size="40"
+                					dojoType="ValidationTextbox"
+                					required="true"
+                					trim="true"
+                					missingMessage="<br>* Base DN is required." />
+                            </td>
+                        </tr>
+                        <tr>
+                            <td nowrap align="right">SSL:</td>
+                            <td><input type="checkbox" name="ssl" value="" size="40"></td>
+                        </tr>
+                        <tr>
+                            <td nowrap align="right">&nbsp;Anonymous Bind:</td>
+                            <td><input type="checkbox" name="anonBind" value="" size="40" onclick="javascript:anonBindChkboxClicked()"></td>
+                        </tr>
+                        <tr>
+                            <td nowrap align="right">User DN:</td>
+                            <td>
+                                <input type="text" name="userDN" value="uid=admin, ou=system" size="40"
+                					dojoType="ValidationTextbox"
+                					required="true"
+                					trim="true"
+                					missingMessage="<br>* User DN is required." />
+                            </td>
+                        </tr>
+                        <tr>
+                            <td nowrap align="right">Password:</td>
+                            <td><input type="password" name="password" value="" size="40"></td>
+                        </tr>
+                        <tr>
+                            <td align="right" colspan="2">
+                                &nbsp;<input type="button" value="Restore Default" name="defaultLDAP" onClick="restoreDefaultBtnClicked()"/>
+                                &nbsp;<input type="button" value="Connect" name="connectLDAP" onClick="connectBtnClicked()"/>
+                            </td>
+                        </tr>
+                    </table>
+                </form>
+            </div> <!-- Connection Info tab -->
+
+            <!-- Help tab -->
+    		<!--
+    		<div id="helpTab" dojoType="ContentPane" title="Help Information" label="Help">
+                <br>
+                <p>The LDAP viewer portlet can be used to do the following:
+                <ul>
+                    <li>Connect to any LDAP server and explore its contents (default is the Embedded LDAP server - Apache DS)
+                    <li>View the attributes of an entry
+                    <li>Do an LDAP search on a particular entry
+                    <li>Refresh any entry to get the latest data from the directory server
+                    <li>View the LDAP connection environment data
+                </ul>
+                <p>Note: Right-click to any tree node to view the context menu for performing different actions.
+    		</div>
+    		--> 
+    		<!-- Help tab -->
+
+        </div> <!-- Main tab container -->
+	</div>  <!-- Horizontal split container -->
+</div> <!-- Main layout container -->

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

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

Propchange: geronimo/server/trunk/applications/demo/NOTICE.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/cal/cal1.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/cal/cal2.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/checkbox/checkresult.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/colors/colrs.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/dates/date.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/error/err.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/error/errorpge.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/forward/forward.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/forward/one.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/include/foo.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/include/include.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/el/basic-arithmetic.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/el/basic-comparisons.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/el/functions.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/el/implicit-objects.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/jspattribute/jspattribute.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/jspattribute/shuffle.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/misc/config.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/misc/dynamicattrs.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/simpletag/book.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/simpletag/hello.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/simpletag/repeat.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/tagfiles/hello.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/tagfiles/panel.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsp2/tagfiles/products.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsptoserv/hello.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/jsptoserv/jsptoservlet.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/num/numguess.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/plugin/plugin.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/security/protected/error.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/security/protected/index.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/security/protected/login.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/sessions/carts.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/simpletag/foo.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/snp/snoop.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/source.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/tagplugin/choose.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/tagplugin/foreach.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/tagplugin/if.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-jsp-examples/src/main/webapp/xml/xml.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/applications/geronimo-examples/geronimo-servlet-examples/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/configs/clustering/LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/clustering/LICENSE.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/configs/clustering/NOTICE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/clustering/NOTICE.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/configs/clustering/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/clustering/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/server/trunk/configs/clustering/src/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/clustering/src/plan/plan.xml?view=diff&rev=476334&r1=476333&r2=476334
==============================================================================
--- geronimo/server/trunk/configs/clustering/src/plan/plan.xml (original)
+++ geronimo/server/trunk/configs/clustering/src/plan/plan.xml Fri Nov 17 13:47:48 2006
@@ -1,26 +1,26 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  Copyright 2006 The Apache Software Foundation
-  
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<!-- $Rev: 446730 $ $Date: 2006-09-16 06:44:51 +1000 (Sat, 16 Sep 2006) $ -->
-
-<module xmlns="http://geronimo.apache.org/xml/ns/deployment-${geronimoSchemaVersion}">
-
-    <gbean name="Node" class="org.apache.geronimo.clustering.BasicNode">
-        <attribute name="nodeName">${PlanNodeName}</attribute>
-    </gbean>
-
-</module>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  Copyright 2006 The Apache Software Foundation
+  
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Rev: 446730 $ $Date: 2006-09-16 06:44:51 +1000 (Sat, 16 Sep 2006) $ -->
+
+<module xmlns="http://geronimo.apache.org/xml/ns/deployment-${geronimoSchemaVersion}">
+
+    <gbean name="Node" class="org.apache.geronimo.clustering.BasicNode">
+        <attribute name="nodeName">${PlanNodeName}</attribute>
+    </gbean>
+
+</module>

Propchange: geronimo/server/trunk/configs/clustering/src/plan/plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/clustering/src/plan/plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/configs/wadi-clustering/LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/wadi-clustering/LICENSE.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/configs/wadi-clustering/NOTICE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/wadi-clustering/NOTICE.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/configs/wadi-clustering/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/wadi-clustering/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/server/trunk/configs/wadi-clustering/src/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/wadi-clustering/src/plan/plan.xml?view=diff&rev=476334&r1=476333&r2=476334
==============================================================================
--- geronimo/server/trunk/configs/wadi-clustering/src/plan/plan.xml (original)
+++ geronimo/server/trunk/configs/wadi-clustering/src/plan/plan.xml Fri Nov 17 13:47:48 2006
@@ -1,41 +1,41 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  Copyright 2006 The Apache Software Foundation
-  
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-
-<!-- $Rev: 446730 $ $Date: 2006-09-16 06:44:51 +1000 (Sat, 16 Sep 2006) $ -->
-
-<module xmlns="http://geronimo.apache.org/xml/ns/deployment-${geronimoSchemaVersion}">
-
-    <gbean name="DefaultReplicationManagerFactory" class="org.apache.geronimo.clustering.wadi.BasicReplicationManagerFactoryGBean">
-    </gbean>
-
-    <gbean name="DefaultReplicaStorageFactory" class="org.apache.geronimo.clustering.wadi.BasicReplicaStorageFactoryGBean">
-    </gbean>
-
-    <gbean name="DefaultBackingStrategyFactory" class="org.apache.geronimo.clustering.wadi.RoundRobinBackingStrategyFactoryGBean">
-        <attribute name="nbReplica">${PlanNbReplica}</attribute>
-    </gbean>
-
-    <gbean name="DefaultDispatcherHolder" class="org.apache.geronimo.clustering.wadi.TribesDispatcherHolder">
-        <attribute name="endPointURI">${EndPointURI}</attribute>
-        <attribute name="clusterName">${PlanClusterName}</attribute>
-        <attribute name="inactiveTime">${PlanInactiveTime}</attribute>
-        <reference name="Node">
-            <name>Node</name>
-        </reference>
-    </gbean>
-
-</module>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  Copyright 2006 The Apache Software Foundation
+  
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Rev: 446730 $ $Date: 2006-09-16 06:44:51 +1000 (Sat, 16 Sep 2006) $ -->
+
+<module xmlns="http://geronimo.apache.org/xml/ns/deployment-${geronimoSchemaVersion}">
+
+    <gbean name="DefaultReplicationManagerFactory" class="org.apache.geronimo.clustering.wadi.BasicReplicationManagerFactoryGBean">
+    </gbean>
+
+    <gbean name="DefaultReplicaStorageFactory" class="org.apache.geronimo.clustering.wadi.BasicReplicaStorageFactoryGBean">
+    </gbean>
+
+    <gbean name="DefaultBackingStrategyFactory" class="org.apache.geronimo.clustering.wadi.RoundRobinBackingStrategyFactoryGBean">
+        <attribute name="nbReplica">${PlanNbReplica}</attribute>
+    </gbean>
+
+    <gbean name="DefaultDispatcherHolder" class="org.apache.geronimo.clustering.wadi.TribesDispatcherHolder">
+        <attribute name="endPointURI">${EndPointURI}</attribute>
+        <attribute name="clusterName">${PlanClusterName}</attribute>
+        <attribute name="inactiveTime">${PlanInactiveTime}</attribute>
+        <reference name="Node">
+            <name>Node</name>
+        </reference>
+    </gbean>
+
+</module>

Propchange: geronimo/server/trunk/configs/wadi-clustering/src/plan/plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/configs/wadi-clustering/src/plan/plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/empty-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/empty-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/expected-empty-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/expected-empty-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/expected-no-env-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/expected-no-env-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/no-env-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/car-maven-plugin/src/test/resources/no-env-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/modules/geronimo-clustering-builder-wadi/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/modules/geronimo-clustering-builder-wadi/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/modules/geronimo-clustering-builder-wadi/src/main/schema/xmlconfig.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/modules/geronimo-clustering-builder-wadi/src/main/schema/xmlconfig.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/modules/geronimo-clustering-wadi/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/modules/geronimo-clustering-wadi/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/modules/geronimo-clustering/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/modules/geronimo-clustering/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/modules/geronimo-jetty-clustering-wadi/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/modules/geronimo-jetty-clustering-wadi/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/server/trunk/modules/geronimo-webservices-builder/LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/modules/geronimo-webservices-builder/LICENSE.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/modules/geronimo-webservices-builder/NOTICE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/modules/geronimo-webservices-builder/NOTICE.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/server/trunk/modules/geronimo-webservices-builder/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/modules/geronimo-webservices-builder/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message