incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r392982 [2/25] - in /incubator/lokahi/lokahi/trunk: ./ conf/ database/ docs/ lib/ src/ src/java/ src/java/lokahi/ src/java/lokahi/core/ src/java/lokahi/core/agent/ src/java/lokahi/core/agent/callable/ src/java/lokahi/core/agent/callable/con...
Date Mon, 10 Apr 2006 16:20:11 GMT
Added: incubator/lokahi/lokahi/trunk/conf/derby.xml
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/conf/derby.xml?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/derby.xml (added)
+++ incubator/lokahi/lokahi/trunk/conf/derby.xml Mon Apr 10 09:19:33 2006
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <!-- $Id: derby.xml,v 1.2 2006/01/17 18:54:34 drtobes Exp $ -->
+<!DOCTYPE database [
+  <!ELEMENT database    (table)>
+  <!ELEMENT table      (column)>
+  <!ELEMENT column    (EMPTY)>
+    <!ATTLIST database version id #REQUIRED>
+    <!ATTLIST database type id #REQUIRED>
+    <!ATTLIST table name id #REQUIRED>
+    <!ATTLIST column name id #REQUIRED>
+    <!ATTLIST column type (VARCHAR|INTEGER|BLOB|DATE) #REQUIRED>
+    <!ATTLIST column null (true|false) #REQUIRED>
+    <!ATTLIST column pk (true|false) "false">
+    <!ATTLIST column size CDATA "0">
+]>
+<database type="derby" version="0.6.0">
+  <table name="AM_CONTAINER">
+    <column name="CONTAINER_ID" type="INTEGER" size="0" null="false" pk="true" />
+    <column name="CONTAINER_NAME" type="VARCHAR" size="100" null="false"/>
+    <column name="SERVER_ROOT" type="VARCHAR" size="300" null="true"/>
+    <column name="LOG_LOCATION" type="VARCHAR" size="300" null="true"/>
+    <column name="SYS_USER" type="VARCHAR" size="8" null="true"/>
+    <column name="SYS_GROUP" type="VARCHAR" size="8" null="true"/>
+    <column name="START_COMMAND" type="VARCHAR" size="4000" null="true"/>
+    <column name="STOP_COMMAND" type="VARCHAR" size="4000" null="true"/>
+    <column name="RESTART_COMMAND" type="VARCHAR" size="4000" null="true"/>
+    <column name="FORK_WAIT" type="INTEGER" size="0" null="true"/>
+    <column name="PIDFILE_LOCATION" type="VARCHAR" size="300" null="true"/>
+    <column name="ENV_VARIBLES" type="VARCHAR" size="4000" null="true"/>
+    <column name="MAIN_ID" type="INTEGER" size="0" null="true"/>
+  </table>
+  <table name="AM_POOL">
+    <column name="POOL_ID" type="INTEGER" size="0" null="false"/>
+    <column name="POOL_NAME" type="VARCHAR" size="40" null="false"/>
+    <column name="ENV_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="AM_REL_CONTAINER_FILE">
+    <column name="CONTAINER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="FILE_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="AM_REL_ENTITY_PROJECT">
+    <column name="PROJECT_ID" type="INTEGER" size="0" null="false"/>
+    <column name="VHOST_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="AM_REL_POOL_WORKER">
+    <column name="POOL_ID" type="INTEGER" size="0" null="false"/>
+    <column name="WORKER_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="AM_REL_VHOST_IP">
+    <column name="VHOST_ID" type="INTEGER" size="0" null="false"/>
+    <column name="IP_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="AM_VHOST">
+    <column name="VHOST_ID" type="INTEGER" size="0" null="false"/>
+    <column name="VHOST_ENTRY" type="BLOB" size="0" null="true"/>
+    <column name="VHOST_NAME" type="VARCHAR" size="60" null="false"/>
+    <column name="ENV_ID" type="INTEGER" size="0" null="true"/>
+    <column name="STATE_ID" type="INTEGER" size="0" null="true"/>
+    <column name="HOSTING_POOL_ID" type="INTEGER" size="0" null="true"/>
+    <column name="NAMEBASED" type="INTEGER" size="0" null="true"/>
+    <column name="CATCHALL" type="INTEGER" size="0" null="true"/>
+    <column name="EX_PROJECT_ID" type="INTEGER" size="0" null="true"/>
+  </table>
+  <table name="AM_WORKER">
+    <column name="WORKER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="STATE_ID" type="INTEGER" size="0" null="true"/>
+    <column name="HARDWARE_ID" type="INTEGER" size="0" null="false"/>
+    <column name="CONTAINER_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+<!--  <table name="TMC_ADMIN">-->
+<!--    <column name="LOCK_USERS" type="INTEGER" size="0" null="true"/>-->
+<!--    <column name="PRIMARY_JVM" type="VARCHAR" size="60" null="true"/>-->
+<!--    <column name="BACKUP_JVM" type="VARCHAR" size="60" null="true"/>-->
+<!--    <column name="ALTERNATE_JVM" type="VARCHAR" size="2000" null="true"/>-->
+<!--    <column name="OLD_KEY" type="VARCHAR" size="30" null="true"/>-->
+<!--    <column name="CURRENT_KEY" type="VARCHAR" size="30" null="true"/>-->
+<!--    <column name="KEY_LAST_ROTATED" type="DATE" size="0" null="true"/>-->
+<!--    <column name="INSTANCE_ID" type="INTEGER" size="0" null="true"/>-->
+<!--  </table>-->
+  <table name="TMC_ALERTS">
+    <column name="ALERT_ID" type="INTEGER" size="0" null="false"/>
+    <column name="ALERT_CONTENTS" type="BLOB" size="0" null="true"/>
+    <column name="SUBMISION_DATE" type="DATE" size="0" null="true"/>
+    <column name="SUBMITTER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="ALERT_TITLE" type="VARCHAR" size="200" null="true"/>
+    <column name="ALERT_LINK" type="VARCHAR" size="4000" null="true"/>
+  </table>
+  <table name="TMC_ENV">
+    <column name="ENV_ID" type="INTEGER" size="0" null="false"/>
+    <column name="ENV_NAME" type="VARCHAR" size="400" null="false"/>
+    <column name="COMMENTS" type="VARCHAR" size="400" null="true"/>
+  </table>
+  <table name="TMC_EX_PROJECT">
+    <column name="EX_PROJECT_ID" type="INTEGER" size="0" null="false"/>
+    <column name="EX_PROJECT_NAME" type="VARCHAR" size="40" null="false"/>
+  </table>
+  <table name="TMC_FILES">
+    <column name="FILE_ID" type="INTEGER" size="0" null="false"/>
+    <column name="FILE_NAME" type="VARCHAR" size="100" null="false"/>
+    <column name="FILE_CONTENT" type="BLOB" size="0" null="true"/>
+    <column name="FILE_DESCRIPTOR" type="VARCHAR" size="100" null="true"/>
+    <column name="FILE_PATH" type="VARCHAR" size="2000" null="true"/>
+  </table>
+  <table name="TMC_FUNCTION">
+    <column name="FUNCTION_ID" type="INTEGER" size="0" null="false"/>
+    <column name="FUNCTION_NAME" type="VARCHAR" size="50" null="false"/>
+    <column name="FUNCTION_COMMAND" type="VARCHAR" size="50" null="true"/>
+<!--    <column name="MODULE_ID" type="INTEGER" size="0" null="true"/>-->
+  </table>
+  <table name="TMC_HARDWARE">
+    <column name="HARDWARE_NAME" type="VARCHAR" size="60" null="false"/>
+    <column name="PHYSICAL_LOCATION" type="VARCHAR" size="500" null="true"/>
+    <column name="COMMENTS" type="VARCHAR" size="4000" null="true"/>
+    <column name="HARDWARE_ID" type="INTEGER" size="0" null="false"/>
+    <column name="INSTANCE_ID" type="INTEGER" size="0" null="true"/>
+    <column name="ENV_ID" type="INTEGER" size="0" null="true"/>
+    <column name="STATUS_ID" type="INTEGER" size="0" null="true"/>
+    <column name="DEFAULT_IP_ID" type="INTEGER" size="0" null="true"/>
+  </table>
+  <table name="TMC_HELP_ITEM">
+    <column name="HELP_ITEM_ID" type="INTEGER" size="0" null="false"/>
+    <column name="HELP_ITEM_TITLE" type="VARCHAR" size="50" null="false"/>
+    <column name="VALID" type="INTEGER" size="0" null="true"/>
+    <column name="FUNCTION_ID" type="INTEGER" size="0" null="false"/>
+    <column name="CONTENT" type="BLOB" size="0" null="false"/>
+    <column name="SUMMARY" type="VARCHAR" size="250" null="false"/>
+  </table>
+  <table name="TMC_HOSTING_POOL">
+    <column name="HOSTING_POOL_ID" type="INTEGER" size="0" null="false"/>
+    <column name="HOSTING_POOL_NAME" type="VARCHAR" size="60" null="false"/>
+    <column name="ENV_ID" type="INTEGER" size="0" null="false"/>
+    <column name="TM_POOL_ID" type="INTEGER" size="0" null="true"/>
+    <column name="AM_POOL_ID" type="INTEGER" size="0" null="true"/>
+  </table>
+  <table name="TMC_INSTANCE">
+    <column name="INSTANCE_ID" type="INTEGER" size="0" null="false"/>
+    <column name="INSTANCE_NAME" type="VARCHAR" size="100" null="false"/>
+    <column name="COMMENTS" type="VARCHAR" size="4000" null="true"/>
+  </table>
+  <table name="TMC_IP">
+    <column name="IP" type="VARCHAR" size="15" null="false"/>
+    <column name="IP_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+<!--  <table name="TMC_JOB">-->
+<!--    <column name="JOB_ID" type="INTEGER" size="0" null="false"/>-->
+<!--    <column name="POOL_ID" type="INTEGER" size="0" null="false"/>-->
+<!--    <column name="JOB_NAME" type="VARCHAR" size="400" null="true"/>-->
+<!--    <column name="SERVER_ID" type="INTEGER" size="0" null="false"/>-->
+<!--    <column name="PARENT_ID" type="INTEGER" size="0" null="true"/>-->
+<!--    <column name="START_TIME" type="DATE" size="0" null="true"/>-->
+<!--    <column name="FINISH_TIME" type="DATE" size="0" null="true"/>-->
+<!--    <column name="STATE_ID" type="INTEGER" size="0" null="true"/>-->
+<!--    <column name="OPTIONS" type="VARCHAR" size="4000" null="true"/>-->
+<!--    <column name="INSTANCE_ID" type="INTEGER" size="0" null="false"/>-->
+<!--    <column name="FUNCTION_ID" type="INTEGER" size="0" null="false"/>-->
+<!--    <column name="RESULT" type="BLOB" size="0" null="true"/>-->
+<!--  </table>-->
+<!--  <table name="TMC_JOB_POOL">-->
+<!--    <column name="JOB_POOL_ID" type="INTEGER" size="0" null="false"/>-->
+<!--    <column name="JOB_POOL_NAME" type="VARCHAR" size="400" null="true"/>-->
+<!--    <column name="PROJECT_ID" type="INTEGER" size="0" null="true"/>-->
+<!--    <column name="USER_ID" type="INTEGER" size="0" null="true"/>-->
+<!--    <column name="START_TIME" type="DATE" size="0" null="true"/>-->
+<!--    <column name="FINISH_TIME" type="DATE" size="0" null="true"/>-->
+<!--    <column name="STATE_ID" type="INTEGER" size="0" null="true"/>-->
+<!--    <column name="FUNCTION_ID" type="INTEGER" size="0" null="false"/>-->
+<!--    <column name="OPTIONS" type="VARCHAR" size="4000" null="true"/>-->
+<!--  </table>-->
+  <table name="TMC_KEYWORD">
+    <column name="KEYWORD_ID" type="INTEGER" size="0" null="false"/>
+    <column name="KEYWORD_NAME" type="VARCHAR" size="50" null="false"/>
+  </table>
+  <table name="TMC_PROJECT">
+    <column name="PROJECT_ID" type="INTEGER" size="0" null="false"/>
+    <column name="PROJECT_NAME" type="VARCHAR" size="500" null="false"/>
+  </table>
+  <table name="TMC_REL_ALERT_PROJECT">
+    <column name="ALERT_ID" type="INTEGER" size="0" null="false"/>
+    <column name="PROJECT_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_FUNCTION_USER">
+    <column name="USER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="FUNCTION_ID" type="INTEGER" size="0" null="false"/>
+    <column name="OBJECT_ID" type="INTEGER" size="0" null="false"/>
+    <column name="OBJECT_TYPE" type="INTEGER" size="0" null="false"/>
+    <column name="PROJECT_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_HARDWARE_IP">
+    <column name="HARDWARE_ID" type="INTEGER" size="0" null="false"/>
+    <column name="IP_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_HELP_KEYWORD">
+    <column name="HELP_ITEM_ID" type="INTEGER" size="0" null="false"/>
+    <column name="KEYWORD_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_HELP_TOPIC">
+    <column name="HELP_ITEM_ID" type="INTEGER" size="0" null="false"/>
+    <column name="TOPIC_ID" type="INTEGER" size="0" null="false"/>
+    <column name="SUBTOPIC_ID" type="INTEGER" size="0" null="true"/>
+  </table>
+  <table name="TMC_REL_USER_EXPROJ">
+    <column name="USER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="EX_PROJECT_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_USER_PROJECT">
+    <column name="PROJECT_ID" type="INTEGER" size="0" null="false"/>
+    <column name="USER_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_VHOST_CONTEXT">
+    <column name="CONTEXT_ID" type="INTEGER" size="0" null="false"/>
+    <column name="VHOST_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TMC_STATE">
+    <column name="STATE_ID" type="INTEGER" size="0" null="false"/>
+    <column name="STATE_NAME" type="VARCHAR" size="100" null="false"/>
+    <column name="STATE_COLOR" type="VARCHAR" size="30" null="true"/>
+  </table>
+  <table name="TMC_TOPIC">
+    <column name="TOPIC_ID" type="INTEGER" size="0" null="false"/>
+    <column name="TOPIC_NAME" type="VARCHAR" size="50" null="true"/>
+  </table>
+  <table name="TMC_USER">
+    <column name="FIRST_NAME" type="VARCHAR" size="30" null="true"/>
+    <column name="LAST_NAME" type="VARCHAR" size="30" null="true"/>
+    <column name="JOB_TITLE" type="VARCHAR" size="100" null="true"/>
+    <column name="COMMENTS" type="VARCHAR" size="2000" null="true"/>
+    <column name="EMAIL" type="VARCHAR" size="60" null="true"/>
+    <column name="USER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="USER_NAME" type="VARCHAR" size="30" null="false"/>
+  </table>
+  <table name="TM_CONTAINER">
+    <column name="CONTAINER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="CONTAINER_NAME" type="VARCHAR" size="40" null="true"/>
+    <column name="BASE_LOCATION" type="VARCHAR" size="100" null="true"/>
+    <column name="TOMCAT_HOME" type="VARCHAR" size="100" null="true"/>
+    <column name="HTTP_PORT" type="INTEGER" size="0" null="true"/>
+    <column name="SYS_USER" type="VARCHAR" size="8" null="true"/>
+    <column name="SYS_GROUP" type="VARCHAR" size="8" null="true"/>
+    <column name="CONF_ENTRY" type="BLOB" size="0" null="true"/>
+    <column name="TOMCAT_TYPE" type="INTEGER" size="0" null="true"/>
+    <column name="DESCRIPTION" type="VARCHAR" size="100" null="true"/>
+  </table>
+  <table name="TM_ENTITY">
+    <column name="ENTITY_ID" type="INTEGER" size="0" null="false"/>
+    <column name="ENTITY_NAME" type="VARCHAR" size="60" null="false"/>
+    <column name="DOC_BASE" type="VARCHAR" size="500" null="false"/>
+    <column name="ENTITY_STATE_ID" type="INTEGER" size="0" null="false"/>
+    <column name="ENV_ID" type="INTEGER" size="0" null="false"/>
+    <column name="TOMCAT_POOL_ID" type="INTEGER" size="0" null="true"/>
+    <column name="ENTITY_DEFIN" type="VARCHAR" size="4000" null="true"/>
+    <column name="EX_PROJECT_ID" type="INTEGER" size="0" null="true"/>
+  </table>
+  <table name="TM_POOL">
+    <column name="POOL_ID" type="INTEGER" size="0" null="false"/>
+    <column name="POOL_NAME" type="VARCHAR" size="40" null="false"/>
+    <column name="ENV_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TM_REL_CONTAINER_FILE">
+    <column name="CONTAINER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="FILE_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TM_REL_ENTITY_PROJECT">
+    <column name="PROJECT_ID" type="INTEGER" size="0" null="false"/>
+    <column name="CONTEXT_ID" type="INTEGER" size="0" null="true"/>
+  </table>
+  <table name="TM_REL_POOL_WORKER">
+    <column name="POOL_ID" type="INTEGER" size="0" null="false"/>
+    <column name="WORKER_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TM_WORKER">
+    <column name="WORKER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="CONTAINER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="HARDWARE_ID" type="INTEGER" size="0" null="false"/>
+    <column name="STATE_ID" type="INTEGER" size="0" null="true"/>
+  </table>
+</database>
\ No newline at end of file

Added: incubator/lokahi/lokahi/trunk/conf/function.xml
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/conf/function.xml?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/function.xml (added)
+++ incubator/lokahi/lokahi/trunk/conf/function.xml Mon Apr 10 09:19:33 2006
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<functions>
+<function id="8" name="Update Virtualhost" command="UpdateVirtualHost" />
+<function id="123" name="Delete Alert" command="DeleteAlert" />
+<function id="64" name="Add Enviroment" command="AddEnviroment" />
+<function id="38" name="Update Tomcat" command="UpdateTomcat" />
+<function id="61" name="View TomcatPool" command="ViewTomcatPool" />
+<function id="120" name="View Alert" command="ViewAlert" />
+<function id="97" name="Update Apache" command="UpdateApache" />
+<function id="69" name="Update Instance" command="UpdateInstance" />
+<function id="29" name="View Apache Worker" command="ViewApacheWorker" />
+<function id="87" name="Start Tomcat" command="StartTomcat" />
+<function id="36" name="Add Tomcat" command="AddTomcat" />
+<function id="32" name="Add Project" command="AddProject" />
+<function id="28" name="Add Apache Worker" command="AddApacheWorker" />
+<function id="74" name="Delete Function" command="DeleteFunction" />
+<function id="90" name="Update Tomcat" command="UpdateTomcat" />
+<function id="119" name="Deploy Tomcat Config" command="DeployTomcatConfig" />
+<function id="18" name="Delete Hardware" command="DeleteHardware" />
+<function id="34" name="Delete Project" command="DeleteProject" />
+  <function id="10" name="View Context" command="ViewContext" />
+  <function id="3" name="Update Context" command="UpdateContext" />
+  <function id="1" name="Delete Context" command="DeleteContext" />
+
+  <function id="76" name="Reload Context" command="ReloadContext" />
+  <function id="77" name="Stop Context" command="StopContext" />
+  <function id="78" name="Start Context" command="StartContext" />
+  <function id="79" name="Undeploy Context" command="UndeployContext" />
+  <function id="80" name="Redeploy Context" command="RedeployContext" />
+  <function id="81" name="Install Context" command="InstallContext" />
+  <function id="82" name="List Context" command="ListContext" />
+  <function id="84" name="List Sessions" command="SessionsOfContext" />
+  <function id="85" name="Status of Context" command="StatusOfContext" />
+
+  <function id="127" name="Reload Context" command="ReloadContext6" />
+  <function id="128" name="Stop Context" command="StopContext6" />
+  <function id="129" name="Start Context" command="StartContext6" />
+  <function id="130" name="Undeploy Context" command="UndeployContext6" />
+  <function id="131" name="Redeploy Context" command="RedeployContext6" />
+  <function id="132" name="Install Context" command="InstallContext6" />
+  <function id="133" name="List Context" command="ListContext6" />
+  <function id="134" name="List Sessions" command="SessionsOfContext6" />
+  <function id="135" name="Status of Context" command="StatusOfContext6" />
+
+<function id="121" name="Update Alert" command="UpdateAlert" />
+<function id="125" name="Delete VirtualHost" command="DeleteVirtualHost" />
+<function id="48" name="Add HostingPool" command="AddHostingPool" />
+<function id="37" name="View Tomcat" command="ViewTomcat" />
+<function id="107" name="View Enviroment" command="ViewEnviroment" />
+<function id="47" name="Delete Tomcat Worker" command="DeleteTomcatWorker" />
+<function id="4" name="Add Virtualhost" command="AddVirtualHost" />
+<function id="58" name="Update ApachePool" command="UpdateApachePool" />
+<function id="91" name="Stop Apache" command="StopApache" />
+<function id="99" name="Get File" command="GetFile" />
+<function id="19" name="Move Hardware" command="MoveHardware" />
+<function id="100" name="Tail File" command="TailFile" />
+<function id="45" name="View Tomcat Worker" command="ViewTomcatWorker" />
+<function id="50" name="Update HostingPool" command="UpdateHostingPool" />
+<function id="83" name="Monitor Managment Context" command="MonitorTMAgent" />
+<function id="96" name="Status of Apache" command="StatusOfApache" />
+<function id="63" name="Delete TomcatPool" command="DeleteTomcatPool" />
+<function id="94" name="Configtest Apache" command="ConfigtestApache" />
+<function id="49" name="View HostingPool" command="ViewHostingPool" />
+<function id="105" name="Add Url Monitor to Guardian" command="AddUrlMonitor" />
+<function id="31" name="Update Apache Worker" command="UpdateApacheWorker" />
+<function id="115" name="Add an Alert" command="AddAlert" />
+<function id="102" name="List Directory" command="ListDir" />
+<function id="2" name="Move Context" command="MoveContext" />
+<function id="7" name="Delete Virtualhost" command="DeleteVirtualHost" />
+<function id="62" name="Update TomcatPool" command="UpdateTomcatPool" />
+<function id="68" name="Delete Instance" command="DeleteInstance" />
+<function id="112" name="Add Internet Project" command="AddInternetProject" />
+<function id="109" name="View State" command="ViewState" />
+<function id="15" name="Add Hardware" command="AddHardware" />
+<function id="17" name="Update Hardware" command="UpdateHardware" />
+<function id="25" name="View Apache" command="ViewApache" />
+<function id="30" name="Delete Apache Worker" command="DeleteApacheWorker" />
+<function id="59" name="Delete ApachePool" command="DeleteApachePool" />
+<function id="65" name="Delete Enviroment" command="DeleteEnviroment" />
+<function id="86" name="Stop Tomcat" command="StopTomcat" />
+<function id="9" name="Add Context" command="AddContext" />
+<function id="11" name="Add User" command="AddUser" />
+<function id="14" name="Delete User" command="DeleteUser" />
+<function id="95" name="Graceful Apache" command="GracefulApache" />
+<function id="101" name="Make Directory" command="MakeDir" />
+<function id="46" name="Update Tomcat Worker" command="UpdateTomcatWorker" />
+<function id="33" name="View Project" command="ViewProject" />
+<function id="21" name="View IP" command="ViewIp" />
+<function id="44" name="Add Tomcat Worker" command="AddTomcatWorker" />
+<function id="108" name="View Instance" command="ViewInstance" />
+<function id="110" name="View Function" command="ViewFunction" />
+<function id="104" name="Status of Agent" command="StatusOfAgent" />
+<function id="22" name="Delete IP" command="DeleteIp" />
+<function id="56" name="Add ApachePool" command="AddApachePool" />
+<function id="5" name="View Virtualhost" command="ViewVirtualHost" />
+<function id="98" name="Push File" command="PutFile" />
+<function id="26" name="Delete Apache" command="DeleteApache" />
+<function id="75" name="Update Function" command="UpdateFunction" />
+<function id="92" name="Start Apache" command="StartApache" />
+<function id="35" name="Update Project" command="UpdateProject" />
+<function id="51" name="Delete HostingPool" command="DeleteHostingPool" />
+<function id="126" name="Remove from Vhost" command="RemoveContextFromVhost" />
+<function id="60" name="Add TomcatPool" command="AddTomcatPool" />
+<function id="6" name="Move Virtualhost" command="MoveVirtualHost" />
+<function id="13" name="Update User" command="UpdateUser" />
+<function id="12" name="View User" command="ViewUser" />
+<function id="16" name="View Hardware" command="ViewHardware" />
+<function id="20" name="Add IP" command="AddIp" />
+<function id="103" name="Graceful Agent" command="GracefulAgent" />
+<function id="111" name="Add User To Project" command="AddUserToProject" />
+<function id="27" name="Update Apache" command="UpdateApache" />
+<function id="118" name="Deploy Apache Config" command="DeployApacheConfig" />
+<function id="88" name="Restart Tomcat" command="RestartTomcat" />
+<function id="23" name="Update IP" command="UpdateIp" />
+<function id="117" name="Add Help Entry" command="AddHelpItem" />
+<function id="42" name="Update File" command="UpdateFile" />
+<function id="39" name="Delete Tomcat" command="DeleteTomcat" />
+<function id="67" name="Add Instance" command="AddInstance" />
+<function id="89" name="Status of Tomcat" command="StatusOfTomcat" />
+<function id="41" name="View File" command="ViewFile" />
+<function id="106" name="Add Process to Guardian" command="AddProccess" />
+<function id="66" name="Update Enviroment" command="UpdateEnviroment" />
+<function id="24" name="Add Apache" command="AddApache" />
+<function id="57" name="View ApachePool" command="ViewApachePool" />
+<function id="116" name="Update Help Entry" command="UpdateHelpItem" />
+<function id="114" name="Add VirtualHost To Project" command="AddVirtualHostToProject" />
+<function id="93" name="Restart Apache" command="RestartApache" />
+<function id="73" name="Add Function" command="AddFunction" />
+<function id="43" name="Delete File" command="DeleteFile" />
+<function id="40" name="Add File" command="AddFile" />
+</functions>

Added: incubator/lokahi/lokahi/trunk/conf/log4j.dtd
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/conf/log4j.dtd?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/log4j.dtd (added)
+++ incubator/lokahi/lokahi/trunk/conf/log4j.dtd Mon Apr 10 09:19:33 2006
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!-- Authors: Chris Taylor, Ceki Gulcu. -->
+
+<!-- Version: 1.2 -->
+
+<!-- A configuration element consists of optional renderer
+elements,appender elements, categories and an optional root
+element. -->
+
+<!ELEMENT log4j:configuration (renderer*, appender*,(category|logger)*,root?,
+                               categoryFactory?)>
+
+<!-- The "threshold" attribute takes a level value such that all -->
+<!-- logging statements with a level equal or below this value are -->
+<!-- disabled. -->
+
+<!-- Setting the "debug" enable the printing of internal log4j logging   -->
+<!-- statements.                                                         -->
+
+<!-- By default, debug attribute is "null", meaning that we not do touch -->
+<!-- internal log4j logging settings. The "null" value for the threshold -->
+<!-- attribute can be misleading. The threshold field of a repository	 -->
+<!-- cannot be set to null. The "null" value for the threshold attribute -->
+<!-- simply means don't touch the threshold field, the threshold field   --> 
+<!-- keeps its old value.                                                -->
+     
+<!ATTLIST log4j:configuration
+  xmlns:log4j              CDATA #FIXED "http://jakarta.apache.org/log4j/" 
+  threshold                (all|debug|info|warn|error|fatal|off|null) "null"
+  debug                    (true|false|null)  "null"
+>
+
+<!-- renderer elements allow the user to customize the conversion of  -->
+<!-- message objects to String.                                       -->
+
+<!ELEMENT renderer EMPTY>
+<!ATTLIST renderer
+  renderedClass  CDATA #REQUIRED
+  renderingClass CDATA #REQUIRED
+>
+
+<!-- Appenders must have a name and a class. -->
+<!-- Appenders may contain an error handler, a layout, optional parameters -->
+<!-- and filters. They may also reference (or include) other appenders. -->
+<!ELEMENT appender (errorHandler?, param*, layout?, filter*, appender-ref*)>
+<!ATTLIST appender
+  name 		ID 	#REQUIRED
+  class 	CDATA	#REQUIRED
+>
+
+<!ELEMENT layout (param*)>
+<!ATTLIST layout
+  class		CDATA	#REQUIRED
+>
+
+<!ELEMENT filter (param*)>
+<!ATTLIST filter
+  class		CDATA	#REQUIRED
+>
+
+<!-- ErrorHandlers can be of any class. They can admit any number of -->
+<!-- parameters. -->
+
+<!ELEMENT errorHandler (param*, root-ref?, logger-ref*,  appender-ref?)> 
+<!ATTLIST errorHandler
+   class        CDATA   #REQUIRED 
+>
+
+<!ELEMENT root-ref EMPTY>
+
+<!ELEMENT logger-ref EMPTY>
+<!ATTLIST logger-ref
+  ref IDREF #REQUIRED
+>
+
+<!ELEMENT param EMPTY>
+<!ATTLIST param
+  name		CDATA   #REQUIRED
+  value		CDATA	#REQUIRED
+>
+
+
+<!-- The priority class is org.apache.log4j.Level by default -->
+<!ELEMENT priority (param*)>
+<!ATTLIST priority
+  class   CDATA	#IMPLIED
+  value	  CDATA #REQUIRED
+>
+
+<!-- The level class is org.apache.log4j.Level by default -->
+<!ELEMENT level (param*)>
+<!ATTLIST level
+  class   CDATA	#IMPLIED
+  value	  CDATA #REQUIRED
+>
+
+
+<!-- If no level element is specified, then the configurator MUST not -->
+<!-- touch the level of the named category. -->
+<!ELEMENT category (param*,(priority|level)?,appender-ref*)>
+<!ATTLIST category
+  class         CDATA   #IMPLIED
+  name		CDATA	#REQUIRED
+  additivity	(true|false) "true"  
+>
+
+<!-- If no level element is specified, then the configurator MUST not -->
+<!-- touch the level of the named logger. -->
+<!ELEMENT logger (level?,appender-ref*)>
+<!ATTLIST logger
+  name		ID	#REQUIRED
+  additivity	(true|false) "true"  
+>
+
+
+<!ELEMENT categoryFactory (param*)>
+<!ATTLIST categoryFactory 
+   class        CDATA #REQUIRED>
+
+<!ELEMENT appender-ref EMPTY>
+<!ATTLIST appender-ref
+  ref IDREF #REQUIRED
+>
+
+<!-- If no priority element is specified, then the configurator MUST not -->
+<!-- touch the priority of root. -->
+<!-- The root category always exists and cannot be subclassed. -->
+<!ELEMENT root (param*, (priority|level)?, appender-ref*)>
+
+
+<!-- ==================================================================== -->
+<!--                       A logging event                                -->
+<!-- ==================================================================== -->
+<!ELEMENT log4j:eventSet (log4j:event*)>
+<!ATTLIST log4j:eventSet
+  xmlns:log4j             CDATA #FIXED "http://jakarta.apache.org/log4j/" 
+  version                (1.1|1.2) "1.2" 
+  includesLocationInfo   (true|false) "true"
+>
+
+
+
+<!ELEMENT log4j:event (log4j:message, log4j:NDC?, log4j:throwable?, 
+                       log4j:locationInfo?) >
+
+<!-- The timestamp format is application dependent. -->
+<!ATTLIST log4j:event
+    logger     CDATA #REQUIRED
+    level      CDATA #REQUIRED
+    thread     CDATA #REQUIRED
+    timestamp  CDATA #REQUIRED
+>
+
+<!ELEMENT log4j:message (#PCDATA)>
+<!ELEMENT log4j:NDC (#PCDATA)>
+
+<!ELEMENT log4j:throwable (#PCDATA)>
+
+<!ELEMENT log4j:locationInfo EMPTY>
+<!ATTLIST log4j:locationInfo
+  class  CDATA	#REQUIRED
+  method CDATA	#REQUIRED
+  file   CDATA	#REQUIRED
+  line   CDATA	#REQUIRED
+>
\ No newline at end of file

Added: incubator/lokahi/lokahi/trunk/conf/log4j.xml
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/conf/log4j.xml?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/log4j.xml (added)
+++ incubator/lokahi/lokahi/trunk/conf/log4j.xml Mon Apr 10 09:19:33 2006
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
+
+<!--  <appender name="console" class="org.apache.log4j.ConsoleAppender">-->
+<!--    <param name="Target" value="System.Out"/>-->
+<!--    <layout class="org.apache.log4j.PatternLayout">-->
+<!--      <param name="ConversionPattern" value="[%d{MM/dd/yyyy HH:mm:ss.SSS}] [%-5p] [%F:%L] [%C::%M] %m%n"/>-->
+<!--    </layout>-->
+<!--  </appender>-->
+
+  <appender name="file" class="org.apache.log4j.RollingFileAppender">
+    <param name="File" value="/www/httpd/logs/websites/tmc_log4j.log"/>
+    <param name="MaxFileSize" value="500000KB"/>
+    <param name="MaxBackupIndex" value="5"/>
+    <param name="Append" value="true"/>
+    <layout class="org.apache.log4j.PatternLayout">
+      <param name="ConversionPattern" value="[%d{MM/dd/yyyy HH:mm:ss.SSS}] [%-5p] [%F:%L] [%C::%M] %m%n"/>
+    </layout>
+  </appender>
+
+  <category name="tmc">
+    <priority value="DEBUG"/>
+  </category>
+  <category name="org.apache">
+    <priority value="ERROR"/>
+  </category>
+  <category name="lokahi.core.api.function.Function">
+    <priority value="INFO"/>
+  </category>
+  <category name="lokahi.dao.TMCCollectionImpl">
+    <priority value="INFO"/>
+  </category>
+
+
+  <root>
+    <priority value="DEBUG"/>
+<!--    <appender-ref ref="console"/>-->
+    <appender-ref ref="file"/>
+  </root>
+
+</log4j:configuration>
\ No newline at end of file

Added: incubator/lokahi/lokahi/trunk/conf/oracle.xml
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/conf/oracle.xml?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/oracle.xml (added)
+++ incubator/lokahi/lokahi/trunk/conf/oracle.xml Mon Apr 10 09:19:33 2006
@@ -0,0 +1,266 @@
+<database type="oracle" version="0.6.0">
+  <table name="AM_CONTAINER">
+    <column name="CONTAINER_ID" type="NUMBER" size="0" null="false" />
+    <column name="CONTAINER_NAME" type="VARCHAR" size="100" null="false"/>
+    <column name="SERVER_ROOT" type="VARCHAR" size="300" null="true"/>
+    <column name="LOG_LOCATION" type="VARCHAR" size="300" null="true"/>
+    <column name="SYS_USER" type="VARCHAR" size="8" null="true"/>
+    <column name="SYS_GROUP" type="VARCHAR" size="8" null="true"/>
+    <column name="START_COMMAND" type="VARCHAR" size="4000" null="true"/>
+    <column name="STOP_COMMAND" type="VARCHAR" size="4000" null="true"/>
+    <column name="RESTART_COMMAND" type="VARCHAR" size="4000" null="true"/>
+    <column name="FORK_WAIT" type="NUMBER" size="0" null="true"/>
+    <column name="PIDFILE_LOCATION" type="VARCHAR" size="300" null="true"/>
+    <column name="ENV_VARIBLES" type="VARCHAR" size="4000" null="true"/>
+    <column name="MAIN_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+  <table name="AM_POOL">
+    <column name="POOL_ID" type="NUMBER" size="0" null="false"/>
+    <column name="POOL_NAME" type="VARCHAR" size="40" null="false"/>
+    <column name="ENV_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="AM_REL_CONTAINER_FILE">
+    <column name="CONTAINER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="FILE_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="AM_REL_ENTITY_PROJECT">
+    <column name="PROJECT_ID" type="NUMBER" size="0" null="false"/>
+    <column name="VHOST_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="AM_REL_POOL_WORKER">
+    <column name="POOL_ID" type="NUMBER" size="0" null="false"/>
+    <column name="WORKER_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="AM_REL_VHOST_IP">
+    <column name="VHOST_ID" type="NUMBER" size="0" null="false"/>
+    <column name="IP_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="AM_VHOST">
+    <column name="VHOST_ID" type="NUMBER" size="0" null="false"/>
+    <column name="VHOST_ENTRY" type="BLOB" size="0" null="true"/>
+    <column name="VHOST_NAME" type="VARCHAR" size="60" null="false"/>
+    <column name="ENV_ID" type="NUMBER" size="0" null="true"/>
+    <column name="STATE_ID" type="NUMBER" size="0" null="true"/>
+    <column name="HOSTING_POOL_ID" type="NUMBER" size="0" null="true"/>
+    <column name="NAMEBASED" type="NUMBER" size="0" null="true"/>
+    <column name="CATCHALL" type="NUMBER" size="0" null="true"/>
+    <column name="EX_PROJECT_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+  <table name="AM_WORKER">
+    <column name="WORKER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="STATE_ID" type="NUMBER" size="0" null="true"/>
+    <column name="HARDWARE_ID" type="NUMBER" size="0" null="false"/>
+    <column name="CONTAINER_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TMC_ADMIN">
+    <column name="LOCK_USERS" type="NUMBER" size="0" null="true"/>
+    <column name="PRIMARY_JVM" type="VARCHAR" size="60" null="true"/>
+    <column name="BACKUP_JVM" type="VARCHAR" size="60" null="true"/>
+    <column name="ALTERNATE_JVM" type="VARCHAR" size="2000" null="true"/>
+    <column name="OLD_KEY" type="VARCHAR" size="30" null="true"/>
+    <column name="CURRENT_KEY" type="VARCHAR" size="30" null="true"/>
+    <column name="KEY_LAST_ROTATED" type="DATE" size="0" null="true"/>
+    <column name="INSTANCE_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+  <table name="TMC_ALERTS">
+    <column name="ALERT_ID" type="NUMBER" size="0" null="false"/>
+    <column name="ALERT_CONTENTS" type="BLOB" size="0" null="true"/>
+    <column name="SUBMISION_DATE" type="DATE" size="0" null="true"/>
+    <column name="SUBMITTER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="ALERT_TITLE" type="VARCHAR" size="200" null="true"/>
+    <column name="ALERT_LINK" type="VARCHAR" size="4000" null="true"/>
+  </table>
+  <table name="TMC_ENV">
+    <column name="ENV_ID" type="NUMBER" size="0" null="false"/>
+    <column name="ENV_NAME" type="VARCHAR" size="400" null="false"/>
+    <column name="COMMENTS" type="VARCHAR" size="400" null="true"/>
+  </table>
+  <table name="TMC_EX_PROJECT">
+    <column name="EX_PROJECT_ID" type="NUMBER" size="0" null="false"/>
+    <column name="EX_PROJECT_NAME" type="VARCHAR" size="40" null="false"/>
+  </table>
+  <table name="TMC_FILES">
+    <column name="FILE_ID" type="NUMBER" size="0" null="false"/>
+    <column name="FILE_NAME" type="VARCHAR" size="100" null="false"/>
+    <column name="FILE_CONTENT" type="BLOB" size="0" null="true"/>
+    <column name="FILE_DESCRIPTOR" type="VARCHAR" size="100" null="true"/>
+    <column name="FILE_PATH" type="VARCHAR" size="2000" null="true"/>
+  </table>
+  <table name="TMC_FUNCTION">
+    <column name="FUNCTION_ID" type="NUMBER" size="0" null="false"/>
+    <column name="FUNCTION_NAME" type="VARCHAR" size="50" null="false"/>
+    <column name="FUNCTION_COMMAND" type="VARCHAR" size="50" null="true"/>
+    <column name="MODULE_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+  <table name="TMC_HARDWARE">
+    <column name="HARDWARE_NAME" type="VARCHAR" size="60" null="false"/>
+    <column name="PHYSICAL_LOCATION" type="VARCHAR" size="500" null="true"/>
+    <column name="COMMENTS" type="VARCHAR" size="4000" null="true"/>
+    <column name="HARDWARE_ID" type="NUMBER" size="0" null="false"/>
+    <column name="INSTANCE_ID" type="NUMBER" size="0" null="true"/>
+    <column name="ENV_ID" type="NUMBER" size="0" null="true"/>
+    <column name="STATUS_ID" type="NUMBER" size="0" null="true"/>
+    <column name="DEFAULT_IP_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+  <table name="TMC_HELP_ITEM">
+    <column name="HELP_ITEM_ID" type="NUMBER" size="0" null="false"/>
+    <column name="HELP_ITEM_TITLE" type="VARCHAR" size="50" null="false"/>
+    <column name="VALID" type="NUMBER" size="0" null="true"/>
+    <column name="FUNCTION_ID" type="NUMBER" size="0" null="false"/>
+    <column name="CONTENT" type="BLOB" size="0" null="false"/>
+    <column name="SUMMARY" type="VARCHAR" size="250" null="false"/>
+  </table>
+  <table name="TMC_HOSTING_POOL">
+    <column name="HOSTING_POOL_ID" type="NUMBER" size="0" null="false"/>
+    <column name="HOSTING_POOL_NAME" type="VARCHAR" size="60" null="false"/>
+    <column name="ENV_ID" type="NUMBER" size="0" null="false"/>
+    <column name="TM_POOL_ID" type="NUMBER" size="0" null="true"/>
+    <column name="AM_POOL_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+  <table name="TMC_INSTANCE">
+    <column name="INSTANCE_ID" type="NUMBER" size="0" null="false"/>
+    <column name="INSTANCE_NAME" type="VARCHAR" size="100" null="false"/>
+    <column name="COMMENTS" type="VARCHAR" size="4000" null="true"/>
+  </table>
+  <table name="TMC_IP">
+    <column name="IP" type="VARCHAR" size="15" null="false"/>
+    <column name="IP_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TMC_JOB">
+    <column name="JOB_ID" type="NUMBER" size="0" null="false"/>
+    <column name="POOL_ID" type="NUMBER" size="0" null="false"/>
+    <column name="JOB_NAME" type="VARCHAR" size="400" null="true"/>
+    <column name="SERVER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="PARENT_ID" type="NUMBER" size="0" null="true"/>
+    <column name="START_TIME" type="DATE" size="0" null="true"/>
+    <column name="FINISH_TIME" type="DATE" size="0" null="true"/>
+    <column name="STATE_ID" type="NUMBER" size="0" null="true"/>
+    <column name="OPTIONS" type="VARCHAR" size="4000" null="true"/>
+    <column name="INSTANCE_ID" type="NUMBER" size="0" null="false"/>
+    <column name="FUNCTION_ID" type="NUMBER" size="0" null="false"/>
+    <column name="RESULT" type="BLOB" size="0" null="true"/>
+  </table>
+  <table name="TMC_JOB_POOL">
+    <column name="JOB_POOL_ID" type="NUMBER" size="0" null="false"/>
+    <column name="JOB_POOL_NAME" type="VARCHAR" size="400" null="true"/>
+    <column name="PROJECT_ID" type="NUMBER" size="0" null="true"/>
+    <column name="USER_ID" type="NUMBER" size="0" null="true"/>
+    <column name="START_TIME" type="DATE" size="0" null="true"/>
+    <column name="FINISH_TIME" type="DATE" size="0" null="true"/>
+    <column name="STATE_ID" type="NUMBER" size="0" null="true"/>
+    <column name="FUNCTION_ID" type="NUMBER" size="0" null="false"/>
+    <column name="OPTIONS" type="VARCHAR" size="4000" null="true"/>
+  </table>
+  <table name="TMC_KEYWORD">
+    <column name="KEYWORD_ID" type="NUMBER" size="0" null="false"/>
+    <column name="KEYWORD_NAME" type="VARCHAR" size="50" null="false"/>
+  </table>
+  <table name="TMC_PROJECT">
+    <column name="PROJECT_ID" type="NUMBER" size="0" null="false"/>
+    <column name="PROJECT_NAME" type="VARCHAR" size="500" null="false"/>
+<!--    <column name="FUNCTION_GROUP_ID" type="NUMBER" size="0" null="true"/>-->
+<!--    <column name="VHOST_GROUP_ID" type="NUMBER" size="0" null="true"/>-->
+<!--    <column name="CONTEXT_GROUP_ID" type="NUMBER" size="0" null="true"/>-->
+<!--    <column name="PROJECT_PARENT_ID" type="NUMBER" size="0" null="true"/>-->
+<!--    <column name="HOSTING_POOL_ID" type="NUMBER" size="0" null="true"/>-->
+  </table>
+  <table name="TMC_REL_ALERT_PROJECT">
+    <column name="ALERT_ID" type="NUMBER" size="0" null="false"/>
+    <column name="PROJECT_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_FUNCTION_USER">
+    <column name="USER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="FUNCTION_ID" type="NUMBER" size="0" null="false"/>
+    <column name="OBJECT_ID" type="NUMBER" size="0" null="false"/>
+    <column name="OBJECT_TYPE" type="NUMBER" size="0" null="false"/>
+    <column name="PROJECT_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_HARDWARE_IP">
+    <column name="HARDWARE_ID" type="NUMBER" size="0" null="false"/>
+    <column name="IP_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_HELP_KEYWORD">
+    <column name="HELP_ITEM_ID" type="NUMBER" size="0" null="false"/>
+    <column name="KEYWORD_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_HELP_TOPIC">
+    <column name="HELP_ITEM_ID" type="NUMBER" size="0" null="false"/>
+    <column name="TOPIC_ID" type="NUMBER" size="0" null="false"/>
+    <column name="SUBTOPIC_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+  <table name="TMC_REL_USER_EXPROJ">
+    <column name="USER_ID" type="INTEGER" size="0" null="false"/>
+    <column name="EX_PROJECT_ID" type="INTEGER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_USER_PROJECT">
+    <column name="PROJECT_ID" type="NUMBER" size="0" null="false"/>
+    <column name="USER_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TMC_REL_VHOST_CONTEXT">
+    <column name="CONTEXT_ID" type="NUMBER" size="0" null="false"/>
+    <column name="VHOST_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TMC_STATE">
+    <column name="STATE_ID" type="NUMBER" size="0" null="false"/>
+    <column name="STATE_NAME" type="VARCHAR" size="100" null="false"/>
+    <column name="STATE_COLOR" type="VARCHAR" size="30" null="true"/>
+  </table>
+  <table name="TMC_TOPIC">
+    <column name="TOPIC_ID" type="NUMBER" size="0" null="false"/>
+    <column name="TOPIC_NAME" type="VARCHAR" size="50" null="true"/>
+  </table>
+  <table name="TMC_USER">
+    <column name="FIRST_NAME" type="VARCHAR" size="30" null="true"/>
+    <column name="LAST_NAME" type="VARCHAR" size="30" null="true"/>
+    <column name="JOB_TITLE" type="VARCHAR" size="100" null="true"/>
+    <column name="COMMENTS" type="VARCHAR" size="2000" null="true"/>
+    <column name="EMAIL" type="VARCHAR" size="60" null="true"/>
+    <column name="USER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="USER_NAME" type="VARCHAR" size="30" null="false"/>
+  </table>
+  <table name="TM_CONTAINER">
+    <column name="CONTAINER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="CONTAINER_NAME" type="VARCHAR" size="40" null="true"/>
+    <column name="BASE_LOCATION" type="VARCHAR" size="100" null="true"/>
+    <column name="TOMCAT_HOME" type="VARCHAR" size="100" null="true"/>
+    <column name="HTTP_PORT" type="NUMBER" size="0" null="true"/>
+    <column name="SYS_USER" type="VARCHAR" size="8" null="true"/>
+    <column name="SYS_GROUP" type="VARCHAR" size="8" null="true"/>
+    <column name="CONF_ENTRY" type="BLOB" size="0" null="true"/>
+    <column name="TOMCAT_TYPE" type="NUMBER" size="0" null="true"/>
+    <column name="DESCRIPTION" type="VARCHAR" size="100" null="true"/>
+  </table>
+  <table name="TM_ENTITY">
+    <column name="ENTITY_ID" type="NUMBER" size="0" null="false"/>
+    <column name="ENTITY_NAME" type="VARCHAR" size="60" null="false"/>
+    <column name="DOC_BASE" type="VARCHAR" size="500" null="false"/>
+    <column name="ENTITY_STATE_ID" type="NUMBER" size="0" null="false"/>
+    <column name="ENV_ID" type="NUMBER" size="0" null="false"/>
+    <column name="TOMCAT_POOL_ID" type="NUMBER" size="0" null="true"/>
+    <column name="ENTITY_DEFIN" type="VARCHAR" size="4000" null="true"/>
+    <column name="EX_PROJECT_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+  <table name="TM_POOL">
+    <column name="POOL_ID" type="NUMBER" size="0" null="false"/>
+    <column name="POOL_NAME" type="VARCHAR" size="40" null="false"/>
+    <column name="ENV_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TM_REL_CONTAINER_FILE">
+    <column name="CONTAINER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="FILE_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TM_REL_ENTITY_PROJECT">
+    <column name="PROJECT_ID" type="NUMBER" size="0" null="false"/>
+    <column name="ENTITY_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+  <table name="TM_REL_POOL_WORKER">
+    <column name="POOL_ID" type="NUMBER" size="0" null="false"/>
+    <column name="WORKER_ID" type="NUMBER" size="0" null="false"/>
+  </table>
+  <table name="TM_WORKER">
+    <column name="WORKER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="CONTAINER_ID" type="NUMBER" size="0" null="false"/>
+    <column name="HARDWARE_ID" type="NUMBER" size="0" null="false"/>
+    <column name="STATE_ID" type="NUMBER" size="0" null="true"/>
+  </table>
+</database>
\ No newline at end of file

Added: incubator/lokahi/lokahi/trunk/conf/server-config.wsdd
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/conf/server-config.wsdd?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/server-config.wsdd (added)
+++ incubator/lokahi/lokahi/trunk/conf/server-config.wsdd Mon Apr 10 09:19:33 2006
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
+ <globalConfiguration>
+  <parameter name="adminPassword" value="admin"/>
+  <parameter name="sendMultiRefs" value="true"/>
+  <parameter name="sendXsiTypes" value="true"/>
+  <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
+  <parameter name="sendXMLDeclaration" value="true"/>
+  <parameter name="axis.sendMinimizedElements" value="true"/>
+  <requestFlow>
+   <handler type="java:org.apache.axis.handlers.JWSHandler">
+    <parameter name="scope" value="session"/>
+   </handler>
+   <handler type="java:org.apache.axis.handlers.JWSHandler">
+    <parameter name="scope" value="request"/>
+    <parameter name="extension" value=".jwr"/>
+   </handler>
+  </requestFlow>
+ </globalConfiguration>
+ <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
+ <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
+ <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
+ <service name="AdminService" provider="java:MSG">
+  <parameter name="allowedMethods" value="AdminService"/>
+  <parameter name="enableRemoteAdmin" value="false"/>
+  <parameter name="className" value="org.apache.axis.utils.Admin"/>
+  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
+ </service>
+ <service name="Version" provider="java:RPC">
+  <parameter name="allowedMethods" value="getVersion"/>
+  <parameter name="className" value="org.apache.axis.Version"/>
+ </service>
+ <service name="TmcJob" provider="java:RPC">
+  <parameter name="className" value="lokahi.dao.Job"/>
+  <parameter name="allowedMethods" value="receiveResponse"/>
+ </service>
+ <service name="TmcController" provider="java:RPC">
+  <parameter name="className" value="lokahi.controller.CheckJvmThread"/>
+  <parameter name="allowedMethods" value="isTheThreadRunning"/>
+ </service>
+ <transport name="http">
+  <requestFlow>
+   <handler type="URLMapper"/>
+   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
+  </requestFlow>
+ </transport>
+ <transport name="local">
+  <responseFlow>
+   <handler type="LocalResponder"/>
+  </responseFlow>
+ </transport>
+</deployment>
\ No newline at end of file

Added: incubator/lokahi/lokahi/trunk/conf/state.xml
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/conf/state.xml?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/state.xml (added)
+++ incubator/lokahi/lokahi/trunk/conf/state.xml Mon Apr 10 09:19:33 2006
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<states>
+<state id="2" name="Cancel" color="red" />
+<state id="1" name="Running" color="blue" />
+<state id="0" name="New" color="blue" />
+<state id="6" name="Cron" color="blue" />
+<state id="4" name="Complete" color="green" />
+<state id="9" name="Inactive" color="red" />
+<state id="7" name="Security" color="blue" />
+<state id="8" name="Active" color="green" />
+<state id="5" name="Failed" color="red" />
+</states>

Added: incubator/lokahi/lokahi/trunk/conf/struts-config.xml
URL: http://svn.apache.org/viewcvs/incubator/lokahi/lokahi/trunk/conf/struts-config.xml?rev=392982&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/struts-config.xml (added)
+++ incubator/lokahi/lokahi/trunk/conf/struts-config.xml Mon Apr 10 09:19:33 2006
@@ -0,0 +1,431 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+
+<!DOCTYPE struts-config SYSTEM
+          "struts-config_1_2.dtd">
+
+<struts-config>
+
+  <!-- ============== FORM BEAN DEFINITIONS ============= -->
+  <form-beans>
+    <form-bean name="authForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="userName" type="java.lang.String"/>
+      <form-property name="passWord" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="redirectUrl" type="java.lang.String" initial="" />
+      <form-property name="logout" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="ContextForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="methodToCall" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="contextName" type="java.lang.String"/>
+      <form-property name="contextId" type="java.lang.String" initial="0"/>
+      <form-property name="appxml" type="java.lang.String" />
+      <form-property name="docBase" type="java.lang.String"/>
+      <form-property name="stateId" type="java.lang.String"/>
+      <form-property name="vhostId" type="java.lang.String" initial="0"/>
+      <form-property name="projectId" type="java.lang.String" initial="0"/>
+      <form-property name="hpId" type="java.lang.String" initial="0"/>
+      <form-property name="envId" type="java.lang.String"/>
+      <form-property name="poolId" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="HelpItemForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="methodToCall" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="hiTitle" type="java.lang.String"/>
+      <form-property name="id" type="java.lang.String" initial="0"/>
+      <form-property name="topic" type="java.lang.String"/>
+      <form-property name="subtopic" type="java.lang.String"/>
+      <form-property name="content" type="java.lang.String"/>
+      <form-property name="summary" type="java.lang.String"/>
+      <form-property name="valid" type="java.lang.String" initial="false"/>
+      <form-property name="functionIdString" type="java.lang.String" initial="0"/>
+      <form-property name="keywords" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="UserForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="userId" type="java.lang.String"/>
+      <form-property name="userName" type="java.lang.String"/>
+      <form-property name="firstName" type="java.lang.String"/>
+      <form-property name="lastName" type="java.lang.String"/>
+      <form-property name="email" type="java.lang.String"/>
+      <form-property name="comments" type="java.lang.String"/>
+      <form-property name="jobTitle" type="java.lang.String"/>
+      <form-property name="projects" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="AlertForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="alertTitle" type="java.lang.String"/>
+      <form-property name="content" type="java.lang.String"/>
+      <form-property name="format" type="java.lang.String"/>
+      <form-property name="alertLink" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="FunctionForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="functionId" type="java.lang.String"/>
+      <form-property name="functionName" type="java.lang.String"/>
+      <form-property name="functionCommand" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="EnviromentForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="envId" type="java.lang.String"/>
+      <form-property name="envName" type="java.lang.String"/>
+      <form-property name="comments" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="InstanceForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="instanceName" type="java.lang.String"/>
+      <form-property name="instanceId" type="java.lang.String"/>
+      <form-property name="comments" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="IpForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="ip" type="java.lang.String"/>
+      <form-property name="ipId" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="StateForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="stateName" type="java.lang.String"/>
+      <form-property name="stateId" type="java.lang.String"/>
+      <form-property name="color" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="HardwareForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="hardwareId" type="java.lang.String"/>
+      <form-property name="hardwareName" type="java.lang.String"/>
+      <form-property name="physicalLocation" type="java.lang.String"/>
+      <form-property name="comments" type="java.lang.String"/>
+      <form-property name="instanceId" type="java.lang.String"/>
+      <form-property name="envId" type="java.lang.String"/>
+      <form-property name="statusId" type="java.lang.String"/>
+      <form-property name="defaultIpId" type="java.lang.String"/>
+      <form-property name="defaultIp" type="java.lang.String"/>
+      <form-property name="ipIds" type="java.lang.String[]"/>
+      <form-property name="ips" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="ApachePoolForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="poolId" type="java.lang.String"/>
+      <form-property name="poolName" type="java.lang.String"/>
+      <form-property name="envId" type="java.lang.String"/>
+      <form-property name="hardwareId" type="java.lang.String[]"/>
+      <form-property name="apacheId" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="TomcatPoolForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="poolId" type="java.lang.String"/>
+      <form-property name="poolName" type="java.lang.String"/>
+      <form-property name="envId" type="java.lang.String"/>
+      <form-property name="hardwareId" type="java.lang.String[]"/>
+      <form-property name="tomcatId" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="HostingPoolForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="poolName" type="java.lang.String"/>
+      <form-property name="tomcatPoolId" type="java.lang.String"/>
+      <form-property name="apachePoolId" type="java.lang.String"/>
+      <form-property name="envId" type="java.lang.String"/>
+      <form-property name="hostingPoolEntries" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="TomcatWorkerForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="workerId" type="java.lang.String"/>
+      <form-property name="workerName" type="java.lang.String"/>
+      <form-property name="stateId" type="java.lang.String"/>
+      <form-property name="hardwareId" type="java.lang.String"/>
+      <form-property name="tomcatId" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="TomcatForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="name" type="java.lang.String"/>
+      <form-property name="baseLocation" type="java.lang.String"/>
+      <form-property name="tomcatHome" type="java.lang.String"/>
+      <form-property name="tomcatType" type="java.lang.String" initial="4"/>
+      <form-property name="httpPort" type="java.lang.String"/>
+      <form-property name="sysUser" type="java.lang.String"/>
+      <form-property name="sysGroup" type="java.lang.String"/>
+      <form-property name="env" type="java.lang.String"/>
+      <form-property name="javaOpts" type="java.lang.String"/>
+      <form-property name="files" type="java.lang.String[]"/>
+      <form-property name="description" type="java.lang.String"/>
+      <form-property name="startClass" type="java.lang.String"/>
+      <form-property name="stdOutLog" type="java.lang.String"/>
+      <form-property name="javaHome" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="ApacheForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="mainId" type="java.lang.String"/>
+      <form-property name="name" type="java.lang.String"/>
+      <form-property name="serverRoot" type="java.lang.String"/>
+      <form-property name="logLocation" type="java.lang.String"/>
+      <form-property name="sysUser" type="java.lang.String"/>
+      <form-property name="sysGroup" type="java.lang.String"/>
+      <form-property name="startCommand" type="java.lang.String"/>
+      <form-property name="stopCommand" type="java.lang.String"/>
+      <form-property name="restartCommand" type="java.lang.String"/>
+      <form-property name="forkWait" type="java.lang.String"/>
+      <form-property name="envVaribles" type="java.lang.String"/>
+      <form-property name="pidFileLocation" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+      <form-property name="files" type="java.lang.String[]"/>
+    </form-bean>
+    <form-bean name="ApacheWorkerForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="apacheId" type="java.lang.String"/>
+      <form-property name="stateId" type="java.lang.String"/>
+      <form-property name="hardwareId" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="VirtualHostForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="name" type="java.lang.String"/>
+      <form-property name="entry" type="java.lang.String"/>
+      <form-property name="envId" type="java.lang.String"/>
+      <form-property name="stateId" type="java.lang.String"/>
+      <form-property name="aliases" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="ProjectForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="name" type="java.lang.String"/>
+      <form-property name="functionGroupId" type="java.lang.String" initial="-1"/>
+      <form-property name="vhostGroupId" type="java.lang.String" initial="-1"/>
+      <form-property name="tomcatContextGroupId" type="java.lang.String" initial="-1"/>
+      <form-property name="parentProjectId" type="java.lang.String" initial="0"/>
+      <form-property name="functionGroupName" type="java.lang.String"/>
+      <form-property name="virtualHostGroupName" type="java.lang.String"/>
+      <form-property name="tomcatContextGroupName" type="java.lang.String"/>
+      <form-property name="functions" type="java.lang.String[]"/>
+      <form-property name="virtualHosts" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="tomcatContexts" type="java.lang.String[]"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="HPEForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="vhostId" type="java.lang.String"/>
+      <form-property name="ipId" type="java.lang.String"/>
+      <form-property name="catchAll" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="nameBased" type="java.lang.String"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="FileForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="name" type="java.lang.String"/>
+      <form-property name="content" type="java.lang.String"/>
+      <form-property name="path" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="descriptor" type="java.lang.String"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+
+    <form-bean name="AddInternetSiteTemplateForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="projectName" type="java.lang.String"/>
+      <form-property name="vhostName" type="java.lang.String"/>
+      <form-property name="hostingPoolId" type="java.lang.String"/>
+      <form-property name="contextName" type="java.lang.String[]"/>
+      <form-property name="docBase" type="java.lang.String[]"/>
+      <form-property name="ipId" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="AddVirtualHostTemplateForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="projectId" type="java.lang.String"/>
+      <form-property name="projectName" type="java.lang.String"/>
+      <form-property name="hostingPoolId" type="java.lang.String"/>
+      <form-property name="vhostName" type="java.lang.String"/>
+      <form-property name="entry" type="java.lang.String"/>
+      <form-property name="aliases" type="java.lang.String"/>
+      <form-property name="nameVirtualHost" type="java.lang.String" initial="false"/>
+      <form-property name="catchAll" type="java.lang.String" initial="false"/>
+      <form-property name="contextName" type="java.lang.String[]"/>
+      <form-property name="docBase" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="ipId" type="java.lang.String[]"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="AddExistingContextVhostTemplateForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="vhostid" type="java.lang.String"/>
+      <form-property name="projectId" type="java.lang.String"/>
+      <form-property name="contextId" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+
+    <form-bean name="AddUserToProjectForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="userName" type="java.lang.String" />
+      <form-property name="projectId" type="java.lang.String" initial="-1"/>
+      <form-property name="contextFunction" type="java.lang.String[]"/>
+      <form-property name="vhostFunctions" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="AddAdminUserForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="userName" type="java.lang.String" />
+      <form-property name="functions" type="java.lang.String[]"/>
+      <form-property name="global" type="java.lang.String" initial="1" />
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+
+    <form-bean name="ContextMultipleForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="methodToCall" type="java.lang.String"/>
+      <form-property name="removeFromProject" type="java.lang.String" initial="false"/>
+      <form-property name="id" type="java.lang.String"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="vhostId" type="java.lang.String" initial="0"/>
+      <form-property name="projectId" type="java.lang.String" initial="-1"/>
+      <form-property name="poolId" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="HostingPoolMultipleForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String[]"/>
+      <form-property name="projectId" type="java.lang.String" initial="-1"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="TomcatPoolMultipleForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String[]"/>
+      <form-property name="projectId" type="java.lang.String" initial="-1"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="ApacheWorkerMultipleForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="projectId" type="java.lang.String" initial="-1"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="TomcatWorkerMultipleForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="projectId" type="java.lang.String" initial="-1"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+    <form-bean name="ApachePoolMultipleForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="projectId" type="java.lang.String" initial="-1"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+
+    <form-bean name="DeleteForm" type="org.apache.struts.validator.DynaValidatorForm" dynamic="true">
+      <form-property name="id" type="java.lang.String[]"/>
+      <form-property name="wap" type="java.lang.String" initial="false"/>
+      <form-property name="methodToCall" type="java.lang.String"/>
+    </form-bean>
+
+   </form-beans>
+
+  <global-forwards>
+    <forward name="application.forward.error" path="/index.vm?forward=/Core/JobPool/recent.vm"/>
+    <forward name="application.forward.administration.success" path="/index.vm?forward=/Core/JobPool/recent.vm"/>
+    <forward name="application.forward.login" path="/index.vm"/>
+    <forward name="wap.failure.action" path="/wap/redirect.wml?path=/wap/results.wml"/>>
+    <forward name="wap.success.action" path="/wap/redirect.wml?path=/wap/results.wml"/>>
+    <forward name="wap.failure" path="/wap/redirect.wml?path=/wap/index.wml"/>
+  </global-forwards>
+
+  <!-- ============== ACTION MAPPING DEFINITIONS ========= -->
+  <action-mappings>
+    <!--    <action-->
+    <!--      path="/administration/UserAction"-->
+    <!--      type="tmc.actions.UserAction"-->
+    <!--      name="userAction"-->
+    <!--      validate="true">-->
+    <!--    </action>-->
+
+    <!-- I am incredibly lazy I know...  -toback
+        so here is the reference url:
+       http://jakarta.apache.org/struts/userGuide/building_controller.html#action_mapping_wildcards -->
+    <action
+      path="/administration/*Action"
+      type="lokahi.actions.{1}Action"
+      name="{1}Form"
+      scope="request"
+      validate="true"
+      >
+    </action>
+    <action
+      path="/User/*Action"
+      type="lokahi.core.gui.www.UserAction"
+      name="{1}Form"
+      scope="request"
+      validate="true"
+      >
+    </action>
+    <action
+      path="/help/HelpItemAction"
+      type="lokahi.core.gui.help.HelpItemAction"
+      name="HelpItemForm"
+      scope="request"
+      validate="true"
+      >
+    </action>
+    <action
+      path="/*/SubmitJobAction"
+      type="lokahi.actions.{1}Action"
+      name="{1}MultipleForm"
+      scope="request"
+      validate="true"
+      >
+    </action>
+    <action
+      path="/administration/*/Delete"
+      type="lokahi.actions.{1}Action"
+      name="DeleteForm"
+      scope="request"
+      validate="true"
+      >
+    </action>
+    <action
+      path="/templating/*Action"
+      type="lokahi.core.gui.www.TemplateAction"
+      name="{1}TemplateForm"
+      scope="request"
+      validate="true"
+      >
+    </action>
+    <action path="/Authenticate"
+      type="lokahi.core.gui.www.Authorization"
+      name="authForm"
+      scope="request"
+      validate="true">
+      <forward name="success" path="/index.vm"/>
+      <forward name="failure" path="/index.vm"/>
+      <forward name="wap.success" path="/wap/redirect.wml?path=/wap/home.wml"/>
+    </action>
+
+  </action-mappings>
+
+  <message-resources parameter="lokahi.ApplicationResources" null="false"/>
+
+  <!-- ========== Plug Ins Configuration ================================== -->
+
+  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
+    <set-property property="pathnames" value="/WEB-INF/validator-rules.xml,
+                                              /WEB-INF/validation.xml"/>
+  </plug-in>
+
+  <plug-in className="org.apache.struts.plugins.ModuleConfigVerifier"/>
+
+</struts-config>



Mime
View raw message