|
Re: Tomcat can't find Eclipse deployed app [message #667423 is a reply to message #667383] |
Thu, 28 April 2011 15:23 |
Eric Rizzo Messages: 3070 Registered: July 2009 |
Senior Member |
|
|
On 4/28/11 8:56 AM, Don Lawton wrote:
> 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
First, you should note that there's a forum group dedicated to Web Tools
(WTP); this question might be better placed there.
However, I think what you're overlooking is the fact that when you test
your app from within Eclipse, Eclipse does not deploy the app to the
standard Tomcat location; AFAIK, Eclipse launches Tomcat with specific
configuration to deploy your app(s) in the location where Eclipse is
building them. So, if you launch Tomcat manually from outside Eclipse,
Tomcat is not configured to deploy those Eclipse apps.
Eric
|
|
|
Re: Tomcat can't find Eclipse deployed app [message #667424 is a reply to message #667383] |
Thu, 28 April 2011 15:48 |
|
On 28-Apr-11 06:56, Don Lawton wrote:
> 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
Just export your web app as a WAR file and drop it into your installed
Tomcat--not necessarily the one you told the Eclipse IDE about. (This
would be in the webapps subdirectory.)
|
|
|
Powered by
FUDForum. Page generated in 0.07931 seconds