Hi, I have an application running on Tomcat 5.5.16 which I deploy using tomcat deployer (5.5.16). This works great. This application then calls tomcat deployer to deploy other application to the same server (I build the configuration file at runtime). But then I get this error:
I've been searching the web for this and tried everything: - tools.jar is in TOMCAT_HOME/common/lib - my JAVA_HOME points to the SDK not just the JRE - I specified the path to tools.jar in the build.xml - I put tools.jar in the lib directory of tomcat deployer. I don't know what's going on.. It works when I call the ant task form eclipse but not when I call it fromthe application. Any ideas? Thaks a lot. Pablo.
Thanks for the reply Ben, I installed tomcat with the "apache-tomcat-5.5.16.exe". I tried to start it by different means: with the monitor, the exes (tomcat5.exe, tomcat5w.exe), also I'm calling tomcat5.exe from the eclpse, as an external tool to get the output in the console. I always get the same error. Since tomcat 5.5 has its own compiler, should I skip the compile target of the build.xml and jump directly to the deploy target? If so, how do I create the war? Thanks again.