Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes IDEs, Version Control and other tools and the fly likes Problem running app under Tomcat v7 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Problem running app under Tomcat v7" Watch "Problem running app under Tomcat v7" New topic
Author

Problem running app under Tomcat v7

Mike Gibbs
Greenhorn

Joined: Oct 31, 2011
Posts: 11
I tried to run the app on Tomcat in Eclipse but keep getting this error "The requested resource (/Ecommerce/) is not available." - what might be wrong? In the tomcat directory "wtpwebapps" - I don't see any jsp files and I dont why this is. And there is an actual jsp file in the project. I can attach the project if anyone wants to try.

HelloWorldController.java



web.xml


dispatcher-servlet.xml


Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12907
    
    3

Welcome to the Ranch.

Did you look at the Tomcat logfiles? Do you see there that your webapp is being properly deployed, or is there an error message that something went wrong with the deployment of the webapp? Or is there nothing at all about your webapp in the logs, which might mean that Tomcat doesn't find your webapp at all?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Mike Gibbs
Greenhorn

Joined: Oct 31, 2011
Posts: 11
I managed to get it working this morning, not sure what was wrong but I just created a new app today.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem running app under Tomcat v7
 
Similar Threads
Spring MVC
Problem finding index page under WEB-INF / Spring MVC
org.springframework.web.servlet.DispatcherServlet noHandlerFound
Spring annotation no handler found
Need Spring 3.0 help with annotations/setup