incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r413105 - in /incubator/lokahi/lokahi/trunk: build.xml conf/agent.log4j.xml conf/agent.wsdd docs/README.TXT
Date Fri, 09 Jun 2006 17:39:46 GMT
Author: toback
Date: Fri Jun  9 10:39:46 2006
New Revision: 413105

URL: http://svn.apache.org/viewvc?rev=413105&view=rev
Log:
added log4j, axis config for agent, and added those files the build.xml.

README.TXT tmc -> lokahi changes. 

Added:
    incubator/lokahi/lokahi/trunk/conf/agent.log4j.xml
    incubator/lokahi/lokahi/trunk/conf/agent.wsdd
Modified:
    incubator/lokahi/lokahi/trunk/build.xml
    incubator/lokahi/lokahi/trunk/docs/README.TXT

Modified: incubator/lokahi/lokahi/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/build.xml?rev=413105&r1=413104&r2=413105&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/build.xml (original)
+++ incubator/lokahi/lokahi/trunk/build.xml Fri Jun  9 10:39:46 2006
@@ -1,4 +1,4 @@
-<project name="tmc" default="install">
+<project name="lokahi" default="install">
 
   <target name="install" depends="init,jar,copy-www,copy-db,build-agent,copy-docs,post-process"/>
 
@@ -33,7 +33,7 @@
       <fileset dir="${app.conf}">
         <exclude name="dbpool.props"/>
         <exclude name="ApplicationResources.properties"/>
-        <exclude name="tmc.properties"/>
+        <exclude name="lokahi.properties"/>
         <exclude name="db.properties"/>
         <exclude name="state.xml"/>
         <exclude name="function.xml"/>
@@ -48,13 +48,13 @@
     <copy todir="${app.build.web-inf.classes}">
       <fileset dir="${app.conf}">
         <include name="dbpool.props"/>
-        <include name="tmc.properties"/>
+        <include name="lokahi.properties"/>
         <include name="db.properties"/>
         <include name="state.xml"/>
         <include name="function.xml"/>
       </fileset>
     </copy>
-    <copy todir="${app.build.web-inf.classes}/tmc">
+    <copy todir="${app.build.web-inf.classes}/lokahi">
       <fileset dir="${app.conf}" >
         <include name="ApplicationResources.properties"/>
       </fileset>
@@ -76,6 +76,11 @@
       </fileset>
       <fileset dir="${app.conf}" >
         <include name="agent.properties"/>
+      </fileset>
+      <fileset dir="${app.conf}">
+        <include name="agent.wsdd"/>
+        <include name="agentlog4j.xml"/>
+        <include name="log4j.dtd" />
       </fileset>
     </copy>
   </target>

Added: incubator/lokahi/lokahi/trunk/conf/agent.log4j.xml
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/conf/agent.log4j.xml?rev=413105&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/agent.log4j.xml (added)
+++ incubator/lokahi/lokahi/trunk/conf/agent.log4j.xml Fri Jun  9 10:39:46 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_agent_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="org.apache.lokahi">
+    <priority value="DEBUG"/>
+  </category>
+  <category name="org.apache">
+    <priority value="ERROR"/>
+  </category>
+  <category name="org.apache.lokahi.core.api.function.Function">
+    <priority value="INFO"/>
+  </category>
+  <category name="org.apache.lokahi.dao.TMCCollectionImpl">
+    <priority value="INFO"/>
+  </category>
+
+
+  <root>
+    <priority value="DEBUG"/>
+<!--    <appender-ref ref="console"/>-->
+    <appender-ref ref="file"/>
+  </root>
+
+</log4j:configuration>

Added: incubator/lokahi/lokahi/trunk/conf/agent.wsdd
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/conf/agent.wsdd?rev=413105&view=auto
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/agent.wsdd (added)
+++ incubator/lokahi/lokahi/trunk/conf/agent.wsdd Fri Jun  9 10:39:46 2006
@@ -0,0 +1,8 @@
+<?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">
+ <service name="JobHandler" provider="java:RPC">
+  <parameter name="className" value="org.apache.lokahi.core.agent.JobSOAP"/>
+  <parameter name="allowedMethods" value="scheduleJob"/>
+ </service>
+</deployment>
\ No newline at end of file

Modified: incubator/lokahi/lokahi/trunk/docs/README.TXT
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/docs/README.TXT?rev=413105&r1=413104&r2=413105&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/docs/README.TXT (original)
+++ incubator/lokahi/lokahi/trunk/docs/README.TXT Fri Jun  9 10:39:46 2006
@@ -20,7 +20,7 @@
 
 Agent install:
 1.	copy the files in ./build/agent to a directory on each server.
-2.	start the agent buy running:  $JAVA_HOME/bin/java classpath $JAVA_HOME/lib/tools.jar:$AGENT_HOME/tmc.jar:$AGENT_HOME/log4j-1.2.8.jar
tmc.agent.TMCAgent start
+2.	start the agent buy running:  $JAVA_HOME/bin/java classpath $JAVA_HOME/lib/tools.jar:$AGENT_HOME/lokahi.jar:$AGENT_HOME/log4j-1.2.8.jar
org.apache.lokahi.core.agent.TMCAgent start
 
 Console install:
 1.	in build/gui/WEB-INF/log4j.xml set this line to a valid path: <param name="File" value="/www/httpd/logs/websites/tmc_log4j.log"/>



Mime
View raw message