AnsweredAssumed Answered

Deployment issue on EC2 instance

Question asked by eddiem on Jan 5, 2010
Latest reply on Jan 7, 2010 by eddiem
I'm using ami-36456e42 - the Alfresco Amazon EC2 instance. This all works well.

However, I want to deploy a simple test jsp but I get a 404 when I call the url of the jsp (/amazontest/test.jsp).

Here's my steps.

1) create a simple test.jsp (outputs hello, etc)
2) Create a war file amazontest.jar (done using eclipse)
3) copy the war file to /var/lib/tomcat6/webapps
4) The war file is unpacked automatically (altho later I've also restarted tomcat too)
5) Call the test.jsp with the following url http://public-dns/amazontest/test.jsp -> 404 (have also tried adding port # to the public-dns, etc)
6) Looked at tomcat logs - shows that the war file is being deployed
7) Looked at apache error log - says that file /var/www/amazontest/test.jsp cannot be found.

#7 This seems to imply I'm missing out a step somewhere - that apache or tomcat is not aware of the new app.

Do I need to add the new app to server.xml or similar?