I am facing problem in deploying a spring application in Tomcat6. I was using Eclipse before to do the development. Now the web application is ready and I would like to deploy it in a separate Tomcat installation. All I did was,
copied the my web application root directory into the tomcat Webapps directory
started the tomcat server using startup.bat..
Opened the Management Console of Tomcat6. I am able to see my application listed there. but when I click on the link, its not opening any page.
Please note, I did nothing extra other than the steps mentioned above. Please let me know if any configurations have to be made.
TTGAdmin, is my root folder. Even if I give the url like this, "http:localhost:8080/TTGAdmin/index.html" or "http:localhost:8080/TTGAdmin/Login.jsp", it is saying, Resource not found.
P.S: I have the index page listed in my application's web.xml file.
Nothing in the logs. But I was able to solve the problem on my own. All of my JSPs and Resources were under Webcontents folder of my own application.. In order to resolve this, I did a WAR packaging of the app and put in Tomcat's webapps folder, instead of copy pasting the whole directory structure. Tomcat took care of everything and now, my site is accessible. On the extracted folder, I noticed that, the resources were available directly under my root folder, instead of my own, WebContents folder.