Problems of starting tomcat5.5.23 using wtp1.5.4 [message #192513] |
Wed, 16 May 2007 04:14  |
Eclipse User |
|
|
|
Originally posted by: allenmacyoung.gmail.com
Hi all,
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
work fine.
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.
Allen
|
|
|
Re: Problems of starting tomcat5.5.23 using wtp1.5.4 [message #192523 is a reply to message #192513] |
Wed, 16 May 2007 09:20   |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
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
Wolfgang
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.
>
>
|
|
|
Re: Problems of starting tomcat5.5.23 using wtp1.5.4 [message #192531 is a reply to message #192523] |
Wed, 16 May 2007 10:32   |
Eclipse User |
|
|
|
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
>
> Wolfgang
>
> 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.
>>
>>
|
|
|
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  |
Eclipse User |
|
|
|
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:
https://bugs.eclipse.org/bugs/attachment.cgi?id=67392
Your question is addressed by:
https://bugs.eclipse.org/bugs/attachment.cgi?id=67392#troubl e_5
Cheers,
Larry
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.
mirza wrote:
> 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
>>
>> Wolfgang
>>
>> 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.03474 seconds