Hi Ludovic,
On 10/13/07, Ludovic Maitre <[EMAIL PROTECTED]> wrote:
> tomcat pool by the interface seems to have worked. BTW, I guess that
> it's intended that it's not possible to add Tomcat workers or Apache
> workers directly with the web UI ? ("The function AddTomcatWorker has
> not been found." and nothing is coded in the action?)
It was never intended to add a worker individually through the gui.
But that is always something we can change...
> On the Agent not all works yet and i have encountered the following
> problems:
> - it seems that the JARs packaged with the build-agent target aren't
> sufficient for it to work properly. I haven't identified what are the
> missing dependencies (i have just put all the jars in the agent folder
> and the agent.sh file add them to the classpath). Now it works, i
> receive jobs.
Strange. Thanks for testing this.
> - the job is sent with a null string for the environment, i guess this
> is a problem with my setup but i have added a check for a null value in
> the setEnvironment method of HttpTomcat, so it return directly if the
> environment string is null.
> - 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?