This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat can't find Eclipse deployed app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat can Watch "Tomcat can New topic

Tomcat can't find Eclipse deployed app

Don Lawton

Joined: Apr 28, 2011
Posts: 1
Greetings. I'm learning J2EE. I created an app using Eclipse and Java. Testing functions quite well - Eclipse starts Tomcat, internal Eclipse browser runs the app, and Chrome runs it well also. With Eclipse not running and I start Tomcat service manually (or with 'Monitor Tomcat' tool) Chrome and Tomcat generate a 404 using the same url as was used while Eclipse was running. Any ideas?

Windows 7 Ultimate SP1
Apache Tomcat Server 6.0.26
Google Chrome 10
Eclipse Helios

Don Lawton
Hauke Ingmar Schmidt

Joined: Nov 18, 2008
Posts: 433
I assume you used Eclipse WTP for developing and testing and you configured Tomcat there.

In the default settings WTP uses an own working directory (and configuration) for web apps. If you start Tomcat from outside the "normal" directory (and configuration) is used. So the deployments during developement have no effect. You can either change the Tomcat configuration so it uses the default directories or you deploy to the server like you do with any external Tomcat installation (Tomcat Manager webapp, Deploy war).
jQuery in Action, 2nd edition
subject: Tomcat can't find Eclipse deployed app
Similar Threads
Tomcat Working directory
Jsf Error for simple jsf program in web application.
How can I configure firefox not to cache the pages
Running Tomcat from Eclipse
Problem invoking a servlet directly from FireFox browser