My TOMCAT was starting and working fine. Once I deleted the "TOMCAT_HOME/work" directory for a reason and recreated it manually. Under work I also recreated the Catalina/localhost folder manually in windows 7. Since then I was getting various weird start up errors. SO, I reinstalled tomcat 7.0.47 from the tomcat website and tried to start the server, but still I get the same error messages. Any help? note also that I didn't deploy any applications under webapps. The errors below are solely from the applications that come with tomcat out of the box. So there is no room for jar conflicts from WEB-INF etc...
The below errors from the above snippet are of concern.
WARNING: Failed to create work directory [C:\NOSCAN\apache-tomcat-7.0.47\work\Ca
talina\localhost\docs] for context [/docs] SEVERE: The scratchDir you specified: C:\NOSCAN\apache-tomcat-7.0.47\work\Catali
na\localhost\host-manager is unusable. WARNING: Failed to create work directory [C:\NOSCAN\apache-tomcat-7.0.47\work\Ca
talina\localhost\manager] for context [/manager]
You don't need to recreate any subdirectories when you delete the contents of the tomcat work, temp, or log directories. Tomcat will do that if it needs them. All you need is those directories (with PROPER case on the names - 'work', not 'Work') and ensure that the Tomcat user ID can read/write/create/delete in them.
Science is the process of replacing what we "know" with what is TRUE. Politics, alas, often prefers to be the opposite.
Thanks. Problem Solved. The issue was related to the "Administrator" privileges in Windows 7. I had to right click the "start.bat" file and select "Run as administrator". Then there were no issues.
However, I do have the Local Admin rights for my user in the machine.
SCJP 5.0 , SCEA Java EE 5, TOGAF Certified
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop