• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat can't find Eclipse deployed app

 
Don Lawton
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 436
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic