File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 436
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).
I agree. Here's the link:
subject: Tomcat can't find Eclipse deployed app
It's not a secret anymore!