Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Problems of starting tomcat5.5.23 using wtp1.5.4
Problems of starting tomcat5.5.23 using wtp1.5.4 [message #192513] Wed, 16 May 2007 04:14 Go to next message
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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
Mirza Hadzic is currently offline Mirza Hadzic
Messages: 19
Registered: July 2009
Junior Member
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 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
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.
>>>
>>>
Previous Topic:New Axis2 Web services tools in WTP 2.0
Next Topic:Announcing WTP 1.5.4
Goto Forum:
  


Current Time: Sat Oct 25 19:16:00 GMT 2014

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

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