Reputation: 497
I am trying to deploy a WAR generated with Eclipse in my Tomcat 7 webapps directory. There are several Exceptions like this:
Warnung: Failed to create work directory [C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.22\work\Catalina\localhost\QAServlet] for context [/QAServlet]
When I start the tomcat in Eclipse, it works fine.
Can someone help?
Upvotes: 3
Views: 13457
Reputation: 88
May be your war doesn't contain the MANIFEST file. From Eclipse, be sure to check the option that the manifest is present in the war.
Upvotes: 0
Reputation: 1111
It's because Program files
is protected system folder. The easiest solution is install tomcat in some unsecured folder (E.g. C:\tomcat
).
Upvotes: 11