Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Tomcat can't find Eclipse deployed app(Cry for help)
Tomcat can't find Eclipse deployed app [message #667383] Thu, 28 April 2011 12:56 Go to next message
Don Lawton is currently offline Don LawtonFriend
Messages: 1
Registered: April 2011
Junior Member
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
Re: Tomcat can't find Eclipse deployed app [message #667423 is a reply to message #667383] Thu, 28 April 2011 15:23 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
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 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

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.)
Previous Topic:Eclipse not finding installed JRE on Mac OS X
Next Topic:Can't open former project
Goto Forum:
  


Current Time: Sat Apr 20 02:08:38 GMT 2024

Powered by FUDForum. Page generated in 0.07931 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top