<?xml version="1.0" encoding="UTF-8"?>
<!--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.-->
<!--$Rev: 1346435 $ $Date: 2012-06-05 23:45:32 +0800 (Tue, 05 Jun 2012) $-->
<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.2">
  <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
    <dep:moduleId>
      <dep:groupId>org.apache.geronimo.plugins</dep:groupId>
      <dep:artifactId>console-tomcat</dep:artifactId>
      <dep:version>3.0.0</dep:version>
      <dep:type>car</dep:type>
    </dep:moduleId>
    <dep:dependencies>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.framework</dep:groupId>
        <dep:artifactId>j2ee-security</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.plugins</dep:groupId>
        <dep:artifactId>pluto-support</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>commons-fileupload</dep:groupId>
        <dep:artifactId>commons-fileupload</dep:artifactId>
        <dep:version>1.2.1</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.plugins</dep:groupId>
        <dep:artifactId>console-core</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.tranql</dep:groupId>
        <dep:artifactId>tranql-connector</dep:artifactId>
        <dep:version>1.7</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.modules</dep:groupId>
        <dep:artifactId>geronimo-bval</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.commons</dep:groupId>
        <dep:artifactId>commons-lang3</dep:artifactId>
        <dep:version>3.1</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.bundles</dep:groupId>
        <dep:artifactId>bval-jsr303</dep:artifactId>
        <dep:version>0.4_1</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.specs</dep:groupId>
        <dep:artifactId>geronimo-jms_1.1_spec</dep:artifactId>
        <dep:version>1.1.1</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.framework</dep:groupId>
        <dep:artifactId>geronimo-deploy-jsr88</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.framework</dep:groupId>
        <dep:artifactId>geronimo-plugin</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.framework</dep:groupId>
        <dep:artifactId>geronimo-deploy-config</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.framework</dep:groupId>
        <dep:artifactId>geronimo-bundle-recorder</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.bundles</dep:groupId>
        <dep:artifactId>dwr</dep:artifactId>
        <dep:version>3.0.M1_1</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.plugins</dep:groupId>
        <dep:artifactId>console-filter</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>jar</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.configs</dep:groupId>
        <dep:artifactId>jasper</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.configs</dep:groupId>
        <dep:artifactId>tomcat7</dep:artifactId>
        <dep:version>3.0.0</dep:version>
        <dep:type>car</dep:type>
      </dep:dependency>
    </dep:dependencies>
    <dep:hidden-classes/>
    <dep:non-overridable-classes/>
    <dep:private-classes/>
  </dep:environment>
  <module>
    <web>portal-driver.war</web>
    <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.2" xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
      <context-root>/console</context-root>
      <cross-context/>
      <security-realm-name>geronimo-admin</security-realm-name>
      <gbean name="CARExportForward" class="org.apache.geronimo.console.gbean.ContextForwardGBean" xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <attribute name="portalPathPrefix">/car-export</attribute>
        <attribute name="portletContextPath">/plugin</attribute>
        <attribute name="portletServletPath">/car-export</attribute>
      </gbean>
      <gbean name="SVGForward" class="org.apache.geronimo.console.gbean.ContextForwardGBean" xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <attribute name="portalPathPrefix">/graphs</attribute>
        <attribute name="portletContextPath">/console-base</attribute>
        <attribute name="portletServletPath">/graphs</attribute>
      </gbean>
      <gbean name="PlanExportForward" class="org.apache.geronimo.console.gbean.ContextForwardGBean" xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <attribute name="portalPathPrefix">/plan-export</attribute>
        <attribute name="portletContextPath">/plugin</attribute>
        <attribute name="portletServletPath">/plan-export</attribute>
      </gbean>
    </web-app>
  </module>
  <module>
    <web>base-portlets.war</web>
    <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.2" xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
      <context-root>/console-base</context-root>
      <cross-context/>
      <security-realm-name>geronimo-admin</security-realm-name>
      <gbean name="PropertiesLoginManager" class="org.apache.geronimo.console.core.security.PropertiesLoginModuleManager">
        <reference name="ServerInfo">
          <name>ServerInfo</name>
        </reference>
        <reference name="LoginModule">
          <name>properties-login</name>
        </reference>
      </gbean>
      <!--i18n support-->
      <gbean name="ConsoleResourceGBean" class="org.apache.geronimo.console.i18n.ConsoleResourceGBean" xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <reference name="ConsoleResourceRegistry">
          <name>ConsoleResourceRegistry</name>
        </reference>
      </gbean>
      <gbean name="Welcome" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">0/Welcome</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[Welcome]</attribute>
        <attribute name="icon">/images/ico_welcome_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="ServerInfo" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">1-1-1/Application Server/System Information/Server Information</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[ServerInfo]</attribute>
        <attribute name="icon">/images/ico_servinfo_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="JavaSysInfo" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">1-1-2/Application Server/System Information/Java System Info</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[JavaSysInfo]</attribute>
        <attribute name="icon">/images/ico_list_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="ThreadPool" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">1-1-4/Application Server/System Information/Thread Pools</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[ThreadPool]</attribute>
        <attribute name="icon">/images/ico_threads_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="WebServer" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">1-2/Application Server/Web Server</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[WebServerManager, ConnectorManager]</attribute>
        <attribute name="icon">/images/ico_webserv_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="Shutdown" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">1-6/Application Server/Shutdown</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[ServerManager]</attribute>
        <attribute name="icon">/images/ico_shutdown_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="WARModules" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">2-2-1/Applications/User Assets/Web Apps (WAR)</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[WARModules]</attribute>
        <attribute name="icon">/images/ico_webapp_16x16.gif</attribute>
        <attribute name="mode">basic</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="EARModules" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">2-2-2/Applications/User Assets/Applications (EAR)</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[EARModules]</attribute>
        <attribute name="icon">/images/ico_ear_16x16.gif</attribute>
        <attribute name="mode">basic</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="EJBModules" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">2-2-3/Applications/User Assets/EJB JARs</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[EJBModules]</attribute>
        <attribute name="icon">/images/ico_ejb_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="ClientModules" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">2-2-4/Applications/User Assets/App Clients</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[ClientModules]</attribute>
        <attribute name="icon">/images/ico_appclient_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="RARModules" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">2-2-5/Applications/User Assets/Java EE Connectors</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[RARModules]</attribute>
        <attribute name="icon">/images/ico_connect_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="EBAModules" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">2-2-6/Applications/User Assets/Aries Applications (EBA)</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[EBAModules]</attribute>
        <attribute name="icon">/images/ico_ariesapp_16x16.gif</attribute>
        <attribute name="mode">basic</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="OSGiBundles" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">3-3/Resources/OSGi Bundles</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[BundleManagerPortlet]</attribute>
        <attribute name="icon">/images/ico_osgibundles_16x16.gif</attribute>
        <attribute name="mode">basic</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="Aliases" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">3-4/Resources/JAR Aliases</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[Artifact]</attribute>
        <attribute name="icon">/images/ico_alias_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="RepositoryViewer" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">3-5/Resources/Repository</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[RepositoryViewer]</attribute>
        <attribute name="icon">/images/ico_repo_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="ApacheJK" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">3-6/Resources/Apache HTTP</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[ApacheJK]</attribute>
        <attribute name="icon">/images/ico_web_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="SystemModules" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">3-7/Resources/System Modules</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[SystemModules]</attribute>
        <attribute name="icon">/images/ico_car_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <!--3-8 is plugins portlet, so here is 3-9-->
      <gbean name="OBRManager" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">3-9/Resources/Bundle Repositories</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[OBRManagerPortlet]</attribute>
        <attribute name="icon">/images/ico_obr_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="UsersGroups" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">4-1/Security/Users and Groups</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[SEUsers, SEGroups]</attribute>
        <attribute name="icon">/images/ico_usergroup_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="Keystores" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">4-2/Security/Keystores</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[Keystores]</attribute>
        <attribute name="icon">/images/ico_keystore_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="CertificationAuthority" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">4-3/Security/Certificate Authority</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[CertificationAuthority]</attribute>
        <attribute name="icon">/images/ico_cert_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
      <gbean name="Logs" class="org.apache.geronimo.pluto.AdminConsoleExtensionGBean">
        <attribute name="pageTitle">5-2-1/Monitoring and Troubleshooting/Logs/Server Logs</attribute>
        <attribute name="portletContext">/console-base</attribute>
        <attribute name="portletList">[LogManager, LogViewer, WebAccessLogViewer]</attribute>
        <attribute name="icon">/images/ico_look_16x16.gif</attribute>
        <reference name="PortalContainerServices">
          <name>PlutoPortalServices</name>
        </reference>
      </gbean>
    </web-app>
  </module>
  <security xmlns="http://geronimo.apache.org/xml/ns/security-1.2">
    <role-mappings>
      <role role-name="admin">
        <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="admin"/>
      </role>
      <role role-name="monitor">
        <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="monitor"/>
      </role>
    </role-mappings>
  </security>
  <!--i18n support-->
  <gbean name="ConsoleResourceRegistry" class="org.apache.geronimo.console.i18n.ConsoleResourceRegistry" xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2"/>
</application>