Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP and Tomcat 3.0.28
WTP and Tomcat 3.0.28 [message #156431] Fri, 13 January 2006 14:08 Go to next message
Eclipse UserFriend
Originally posted by: francois.vandewalle.powerconv.alstom.com

Hello,

On my configuration, I can write servlets and jsps using Tomcat and ant
(tomcat version 3.0.28). When I start Tomcat using its batch file, I am
also able to test the application using my internet browser.

In eclipse I tried to make the tutorial "Creating a Bottom Up Web Service"
using wtp 1.0. Everything seems to happen well but the application is not
loaded on tomcat.

Also when I start tomcat from eclipse, I can access only the first page.
All the other pages (for example "status" or "tomcat administration")
return an http 404 error.

Does somebody know the answer to this problem(s) ?

Thanks in advance,

Francois
Re: WTP and Tomcat 3.0.28 [message #156442 is a reply to message #156431] Fri, 13 January 2006 20:26 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Francois,

The default Tomcat configuration is to run with separate catalina.home
and catalina.base settings. The catalina.home setting points to your
installation. The catalina.base (where "conf", "logs", "webapps", etc.
live) setting points to a directory down under the
"<workspace>/.metadata" directory. This allows you to create one or
more Tomcat servers in Eclipse without modifying your Tomcat
installation in any way. A side effect is that the standard webapps
aren't present by default.

If you double-click the Tomcat server in the Servers view, it will open
the server configuration editor view. You can uncheck "Run modules
directly from the workspace..." setting. In that configuration,
catalina.base and catalina.home will both point to your Tomcat
installation and behavior will be more like you seem to be expecting.
Note that in this case, the files found under the Eclipse Servers
project for that Tomcat server become the "master" version of those
files. They will be copied on top of those in your Tomcat installation
whenever you run the server from Eclipse.

Cheers,
Larry

Francois Vandewalle wrote:
> Hello,
>
> On my configuration, I can write servlets and jsps using Tomcat and ant
> (tomcat version 3.0.28). When I start Tomcat using its batch file, I am
> also able to test the application using my internet browser.
>
> In eclipse I tried to make the tutorial "Creating a Bottom Up Web
> Service" using wtp 1.0. Everything seems to happen well but the
> application is not loaded on tomcat.
>
> Also when I start tomcat from eclipse, I can access only the first page.
> All the other pages (for example "status" or "tomcat administration")
> return an http 404 error.
>
> Does somebody know the answer to this problem(s) ?
>
> Thanks in advance,
>
> Francois
>
Re: WTP and Tomcat 3.0.28 [message #157117 is a reply to message #156442] Wed, 18 January 2006 09:03 Go to previous message
Eclipse UserFriend
Originally posted by: francois.vandewalle.powerconv.alstom.com

Hello Larry,

Thank you very much for this information and tip !

I really like working with the views editors of the wtp package, but up to
now I always had to switch to prompt, compile with ant an have tomcat
running "externally".

Now I have the complete effectivity !


Best regards,

François
Previous Topic:usinga project
Next Topic:"Dynamic Web Project" in 3.2.2
Goto Forum:
  


Current Time: Sat Apr 20 16:09:58 GMT 2024

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

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

Back to the top