Hi Steve,

Thanks for your answers,

Steve Toback a écrit :
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...

We could perhaps remove the "Add TomcatWorker" menu entry.
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.

I will investigate further after having succeeded in running at least one job.
- 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?

Apache Tomcat/5.5.23 under Mac OS X 10.4 powerpc and JDK 1.5.

Thanks again for your answers, i will try to understand what doesn't work in my setup.

--
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