Two Laptop Bag*
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
Author

Tomcat can't find Eclipse deployed app

Don Lawton
Greenhorn

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

Thanks.
Don Lawton
Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
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: http://aspose.com/file-tools
 
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