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
Hauke Ingmar Schmidt
posted 4 years ago
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).