I just downloaded the Tomcat 7.0.23 package on my Ubuntu 11.10.
I followed the instructions on a Google API website to deploy their example webapp. It basically consists of jar
files placed in the WEB-INF/lib
directory and a web.xml
file placed in the WEB-INF
directory.
Yet the app is not automatically deployed and when trying to force the server to deploy it through the manager gui, I get the following message:
FAIL - Application at context path /myWebApp could not be started
FAIL - Encountered exception org.apache.catalina.LifecycleException:
Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/myWebApp]]
However, the JSP examples provided with Tomcat do work!
I have the same problem on Tomcat6.
So what did I do wrong ? Is this a permission problem ? (I even try to change the mod of all files to 777).
This means something is wrong with your application configuration or startup.
There is always information about that in the logs - check logs/catalina.out
and figure out what is wrong.