|Problems of starting tomcat5.5.23 using wtp1.5.4 [message #192513]
||Wed, 16 May 2007 04:14
Originally posted by: allenmacyoung.gmail.com|
I have used wtp(some older version) before and know how to config an application
server and run it. But this time I got a strange problem.
I'm using wtp1.5.4(all in one version), tomcat5.5.23 and jdk1.5.0_10. I have
set the jdk to be the runtime lib of tomcat instead of jre(which is the default
option). After that, I created a server in "Servers" view and start it as
I had used to. There was no errors and the output in the "Console" view seemed
to be all right too. But when I pointed my browser to "http://localhost:8080",
it reported a 404 error.
I'm sure that there is nothing wrong with my tomcat since I can use it perfectly
without wtp. After a few searching on the web, I found out that if I unchecked
the "Run modules directly from the workspace" option, then everyone could
But why the default setting just cannot work? Is there any particular settings
in wtp1.5.4? How can I solve the problem while still run modules directly
from the workspace?
Thanks a lot.
|Re: Problems of starting tomcat5.5.23 using wtp1.5.4 [message #192547 is a reply to message #192531]
||Wed, 16 May 2007 12:56
| Larry Isaacs
Registered: July 2009
The problem with unchecking "Run modules directly..." is that it means|
that Eclipse now "owns" your Tomcat installation. The configuration
files under the Servers project in your Eclipse workspace are now the
master files. They will overwrite those in your Tomcat installation
every time you publish the server. To avoid impacting the installation
in a potentially adverse way by default, the initial behavior is to
create a separate server instance.
I've recently submitted a Tomcat FAQ that hasn't been integrated into
the Web Tools web site yet, but discusses this and other questions in
more detail. A current copy of this FAQ is available as an attachment
to Bug 183840 and viewed using:
Your question is addressed by:
P.S. Those reading this e-mail in the future may want to check the Web
Tools web site FAQ to see if an updated version is available. You may
have to navigate to the Tomcat specific FAQ from the main FAQ, possibly
via a question in the "Server/Internet" category.
> I think this really should be default (I mean deploying to "real"
> Tomcat). Needless confusion with hidden deployment.
> Wolfgang Knauf wrote:
>> Hi Allen,
>> for your information: if the option "run modules directly from workspace" is
>> set, then the tomcat ROOT webapplication and other applications from the webapps
>> directory are not deployed to your tomcat, it contains only the webapp from
>> eclipse and nothing else.
>> You will find the current server configuration and deployed webapps e.g. here:
>> workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp 0\
>> Hope this helps
>> Allen Young wrote:
>>> I'm sure that there is nothing wrong with my tomcat since I can use it
>>> perfectly without wtp. After a few searching on the web, I found out
>>> that if I unchecked the "Run modules directly from the workspace"
>>> option, then everyone could work fine.
Powered by FUDForum
. Page generated in 0.01758 seconds