Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDeploying to the root context...
https://www.eclipse.org/forums/index.php/mv/msg/53451/170408/#msg_170408
root context. They will not be fixed so I am trying to find some work
arounds. The problem I have been having is that the web application gets
loaded at least twice when deployed through eclipse. I have found that
if you manually edit the config files you can set the context root to an
empty string, and it gets deployed at the root context, however with the
multiple loading problems. The GUI will not let you do this. Is there
anyway in WTP to deploy to the root context that is supported and not
cause the application to be loaded multiple times?
Thanks!
-Nate]]>nw603122006-06-01T15:57:13-00:00Re: Deploying to the root context...
https://www.eclipse.org/forums/index.php/mv/msg/53451/170416/#msg_170416
Servers project in your workspace should avoid the multiple loading problem.
Cheers,
Larry
Nathan Wilhelmi wrote:
> Hello - We have several applications that hard coded to only run in the
> root context. They will not be fixed so I am trying to find some work
> arounds. The problem I have been having is that the web application gets
> loaded at least twice when deployed through eclipse. I have found that
> if you manually edit the config files you can set the context root to an
> empty string, and it gets deployed at the root context, however with the
> multiple loading problems. The GUI will not let you do this. Is there
> anyway in WTP to deploy to the root context that is supported and not
> cause the application to be loaded multiple times?
>
> Thanks!
>
> -Nate]]>Larry Isaacs2006-06-01T16:31:46-00:00Re: Deploying to the root context...
https://www.eclipse.org/forums/index.php/mv/msg/53451/171030/#msg_171030
Originally posted by: tobias.domain.hidden.com
Hi Larry,
I found your reply to this message and thought you we're giving us a
workaround for bug 125364. After reading up on your responses in
bugzilla I also found this statement from you "Disabling the auto
serving of webapps should avoid the extra version of the webapp being
served based on the project name.", this was on bug 137628. However, I
can't get it to work. Using the latest RC of the eclipse platform and
the latest WTP RC i've configured my app to run as the default app and
set @autoDeploy="false" on /Server/Service/Engine/Host in server.xml. Is
there something more I need to do or am I mistaken altogether and there
is no quick-fix for the 'two-copies-of-webapp' problem?
Larry Isaacs wrote:
> Disabling the auto-deployment feature in the server.xml found under the
> Servers project in your workspace should avoid the multiple loading
> problem.
>
> Cheers,
> Larry
>
> Nathan Wilhelmi wrote:
>> Hello - We have several applications that hard coded to only run in
>> the root context. They will not be fixed so I am trying to find some
>> work arounds. The problem I have been having is that the web
>> application gets loaded at least twice when deployed through eclipse.
>> I have found that if you manually edit the config files you can set
>> the context root to an empty string, and it gets deployed at the root
>> context, however with the multiple loading problems. The GUI will not
>> let you do this. Is there anyway in WTP to deploy to the root context
>> that is supported and not cause the application to be loaded multiple
>> times?
>>
>> Thanks!
>>
>> -Nate]]>2006-06-10T17:46:31-00:00Re: Deploying to the root context...
https://www.eclipse.org/forums/index.php/mv/msg/53451/171051/#msg_171051
false, depending on which version of Tomcat you are using. See the
documentation on the Host element for details.
Cheers,
Larry
Tobias Mattsson wrote:
> Hi Larry,
>
> I found your reply to this message and thought you we're giving us a
> workaround for bug 125364. After reading up on your responses in
> bugzilla I also found this statement from you "Disabling the auto
> serving of webapps should avoid the extra version of the webapp being
> served based on the project name.", this was on bug 137628. However, I
> can't get it to work. Using the latest RC of the eclipse platform and
> the latest WTP RC i've configured my app to run as the default app and
> set @autoDeploy="false" on /Server/Service/Engine/Host in server.xml. Is
> there something more I need to do or am I mistaken altogether and there
> is no quick-fix for the 'two-copies-of-webapp' problem?
>
> Larry Isaacs wrote:
>> Disabling the auto-deployment feature in the server.xml found under
>> the Servers project in your workspace should avoid the multiple
>> loading problem.
>>
>> Cheers,
>> Larry
>>
>> Nathan Wilhelmi wrote:
>>> Hello - We have several applications that hard coded to only run in
>>> the root context. They will not be fixed so I am trying to find some
>>> work arounds. The problem I have been having is that the web
>>> application gets loaded at least twice when deployed through eclipse.
>>> I have found that if you manually edit the config files you can set
>>> the context root to an empty string, and it gets deployed at the root
>>> context, however with the multiple loading problems. The GUI will not
>>> let you do this. Is there anyway in WTP to deploy to the root context
>>> that is supported and not cause the application to be loaded multiple
>>> times?
>>>
>>> Thanks!
>>>
>>> -Nate]]>Larry Isaacs2006-06-12T13:15:44-00:00