You are viewing a plain text version of this content. The canonical link for it is here.
Posted to lokahi-commits@incubator.apache.org by to...@apache.org on 2006/06/29 18:08:31 UTC

svn commit: r418103 - in /incubator/lokahi/lokahi/trunk: conf/lokahi.properties src/java/org/apache/lokahi/core/api/job/Job.java

Author: toback
Date: Thu Jun 29 11:08:30 2006
New Revision: 418103

URL: http://svn.apache.org/viewvc?rev=418103&view=rev
Log:
Update to sending jobs to the agent, endpoint url was wrong.

Modified:
    incubator/lokahi/lokahi/trunk/conf/lokahi.properties
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java

Modified: incubator/lokahi/lokahi/trunk/conf/lokahi.properties
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/conf/lokahi.properties?rev=418103&r1=418102&r2=418103&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/conf/lokahi.properties (original)
+++ incubator/lokahi/lokahi/trunk/conf/lokahi.properties Thu Jun 29 11:08:30 2006
@@ -1,30 +1,9 @@
-#context name
-application.root=/tmc
-#full site app is being hosted at
-application.full.url=http://tmcg2.sourceforge.net/tmc/
-#full site for controller access
-AGENT_REPLY_TO_ADDRESS=https://tmcg2.sourceforge.net/tmc/services/TmcJob
-#full url for the rest servlet
-rest.servlet.url=http://tmcg2.sourceforge.net/tmc/rest/
-#authentication Module to use
-AuthenticateModule=org.apache.lokahi.core.common.authentication.NoAuthentication
-#database info
-tmc.database.uri=jdbc:oracle:thin:@some.server.net:PORT:SCHEMA
-tmc.database.user=tmc
-tmc.database.password=tmc
-tmc.database.driver=oracle.jdbc.driver.OracleDriver
-#instance for this controller
-tmc.instance.name=WHS Intranet
-#location of properties files - should just be the context root on the filesystem.  the install directory
-prop.location=/websites/tmcg2.sourceforge.net/java/tmc
-
-
 
 AGENT_METHOD_TO_CALL_BACK=receiveResponse
 AGENT_REPLY_WEB_SERVICE_NAME=TmcJob
-AGENT_PROTOCOL=https://
+AGENT_PROTOCOL=http://
 AGENT_PORT=5665
-AGENT_ENDPOINT=/mod_soap
+AGENT_ENDPOINT=/axis/services/JobHandler
 
 tmc.thread.run=true
 tmc.thread.protocol=http

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java?rev=418103&r1=418102&r2=418103&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java (original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java Thu Jun 29 11:08:30 2006
@@ -574,7 +574,7 @@
       String ReturnEndpoint = PropertiesFile.getConstantValue("AGENT_REPLY_WEB_SERVICE_NAME");
       String ReturnMethod = PropertiesFile.getConstantValue("AGENT_METHOD_TO_CALL_BACK");
       String namespace = "JobHandler";
-      String method = "create";
+      String method = "scheduleJob";
       String key = "";
       TMCSOAPMessage m = new TMCSOAPMessage();
       String[] args = null;