Hi Steve, all

After having read https://issues.apache.org/jira/browse/LOKAHI-4 and the code of ServerXmlFile, i'm perplex.

All of this isn't customizable easily and barely unusable outside of the context it was designed for without modifiying the code; lot of assumptions are made on the configuration and location of the Tomcat instance and i believe it will be hard to manage custom configurations (like clustered tomcats) with this: does it require to manage special cases in code and to recompile ?

For instance, regarding my problem for running tasks from the agent, how should i deal with :
         new Attribute("path", "/TMAgent"),
new Attribute("docBase", "/usr/local/covalent/tomcat4.0.4/webapps/TMAgent"), [or the same lines for tc 5]
under Mac OS X and tomcat 5.5 installed elsewhere ?
Also if the TMAgent webapp is required why isn't it included in the source ?
Am i missing something ?
Thanks for your help,

Steve Toback a écrit :
...
- i haven't been able to run the ReloadContext job/task (and this is the
only one i have tried) : at one point, in the
HttpTomcat.httpRequest(String url) method, a connection is opened on
"http://127.0.0.1:"; + httpPort +
"/TMAgent/TMAgentManagerServlet?command=" + url)
(
      ret = TMCAgentBrowser.get(new URL("http://127.0.0.1:"; + httpPort +
"/TMAgent/TMAgentManagerServlet?command=" + url));
)
This last point let me wonder if i need to install a special context on
the tomcat i want to administer with the lokahi agent. Is it the case (a
context named TMAgent with a TMAgentMAnagetServlet perhaps ?) ? Or
should i just adjust the url in the code to a Tomcat Manager webapp ?

What version of tomcat are you trying to control?

--
Cordialement,
Ludo - http://www.ubik-products.com
---
"L'amour pour principe et l'ordre pour base; le progres pour but" (A.Comte)

Reply via email to