Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Problem changing ContextRoot and setting the Default Server.
Problem changing ContextRoot and setting the Default Server. [message #59966] Tue, 04 January 2005 09:10 Go to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Once I have created a J2EE Project with just one WebModule and I have
deployed and tested into a Tomcat, I can't change the ContextRoot. Well,
I can change in the properties of the project but when you execute it,
continues using the old one.

What am I doing wrong here?

Also, I set a Server as the default one, but the tool continues asking
again, and again each time I try to execute.

What am I doing wrong here?

Thanks in advance,

Chemi.
Re: Problem changing ContextRoot and setting the Default Server. [message #65351 is a reply to message #59966] Thu, 13 January 2005 09:48 Go to previous messageGo to next message
Eclipse UserFriend
Hey Chemi,

I seem to keep hearing from you every couple of years :)

The problem is that the Tomcat configuration contains the context root, and
the syncing is rusty and only works when the Tomcat plugin is loaded. The
quickest way to fix it is just to open the Tomcat server, and manually
update the context root on the second (Modules) page.

You're having problems with the default server? If you can reproduce, please
open up a bugzilla against wst.server with the details and I'll fix it. Or
if you are feeling adventurous, you can debug the org.eclipse.wst.server.ui
plugin and try to find the problem yourself. :)
Re: Problem changing ContextRoot and setting the Default Server. [message #66104 is a reply to message #65351] Wed, 19 January 2005 05:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Thanks a lot for the workaround Tim.
As I have been able to reproduce it all the times, I have opened Bug
83164: https://bugs.eclipse.org/bugs/show_bug.cgi?id=83164

Regards,

Chemi.

Tim deBoer wrote:

>Hey Chemi,
>
>I seem to keep hearing from you every couple of years :)
>
>The problem is that the Tomcat configuration contains the context root, and
>the syncing is rusty and only works when the Tomcat plugin is loaded. The
>quickest way to fix it is just to open the Tomcat server, and manually
>update the context root on the second (Modules) page.
>
>You're having problems with the default server? If you can reproduce, please
>open up a bugzilla against wst.server with the details and I'll fix it. Or
>if you are feeling adventurous, you can debug the org.eclipse.wst.server.ui
>plugin and try to find the problem yourself. :)
>
Re: Problem changing ContextRoot and setting the Default Server. [message #66125 is a reply to message #65351] Wed, 19 January 2005 05:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

I also opened Bug 83166:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=83166 explaining the
problem setting a server as the default for a project.

Regards,

Chemi.

Tim deBoer wrote:

>Hey Chemi,
>
>I seem to keep hearing from you every couple of years :)
>
>The problem is that the Tomcat configuration contains the context root, and
>the syncing is rusty and only works when the Tomcat plugin is loaded. The
>quickest way to fix it is just to open the Tomcat server, and manually
>update the context root on the second (Modules) page.
>
>You're having problems with the default server? If you can reproduce, please
>open up a bugzilla against wst.server with the details and I'll fix it. Or
>if you are feeling adventurous, you can debug the org.eclipse.wst.server.ui
>plugin and try to find the problem yourself. :)
>
Re: Problem changing ContextRoot and setting the Default Server. [message #66209 is a reply to message #66125] Wed, 19 January 2005 06:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jrduncans.stephenduncanjr.com

Chemi wrote:
> I also opened Bug 83166:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=83166 explaining the
> problem setting a server as the default for a project.
>
> Regards,
>
> Chemi.
>
> Tim deBoer wrote:
>
>> Hey Chemi,
>>
>> I seem to keep hearing from you every couple of years :)
>>
>> The problem is that the Tomcat configuration contains the context
>> root, and
>> the syncing is rusty and only works when the Tomcat plugin is loaded. The
>> quickest way to fix it is just to open the Tomcat server, and manually
>> update the context root on the second (Modules) page.
>>
>> You're having problems with the default server? If you can reproduce,
>> please
>> open up a bugzilla against wst.server with the details and I'll fix
>> it. Or
>> if you are feeling adventurous, you can debug the
>> org.eclipse.wst.server.ui
>> plugin and try to find the problem yourself. :)
>>

I had already put that problem in as
https://bugs.eclipse.org/bugs/show_bug.cgi?id=82836 (see my post here on
Jan 13th...) ;)

-Stephen Duncan Jr
Re: Problem changing ContextRoot and setting the Default Server. [message #66230 is a reply to message #66209] Wed, 19 January 2005 07:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Stephen Duncan Jr wrote:

> I had already put that problem in as
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=82836 (see my post here
> on Jan 13th...) ;)
>
> -Stephen Duncan Jr

Correct. I was out for one week and I was reviewing all the new posts in
order. When I arrived to yours I closed mi bug report as duplicated.

Thanks,

Chemi.
Re: Problem changing ContextRoot and setting the Default Server. [message #67242 is a reply to message #65351] Mon, 24 January 2005 20:52 Go to previous messageGo to next message
Eclipse UserFriend
I'm having the same problem. Where is the Modules page to manually
update the context root? I go to Window-> Preferences-> Server->
Installed Runtimes-> Tomcat v5.5-> Edit and there is only one page.
Then, I thought maybe you meant the Tomcat manager webapp, but that
doesn't seem to be it...

Thanks,
mike


Tim deBoer wrote:
> Hey Chemi,
>
> I seem to keep hearing from you every couple of years :)
>
> The problem is that the Tomcat configuration contains the context root, and
> the syncing is rusty and only works when the Tomcat plugin is loaded. The
> quickest way to fix it is just to open the Tomcat server, and manually
> update the context root on the second (Modules) page.
>
> You're having problems with the default server? If you can reproduce, please
> open up a bugzilla against wst.server with the details and I'll fix it. Or
> if you are feeling adventurous, you can debug the org.eclipse.wst.server.ui
> plugin and try to find the problem yourself. :)
>
>
Re: Problem changing ContextRoot and setting the Default Server. [message #67316 is a reply to message #67242] Tue, 25 January 2005 04:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Open "Tomcat configuration" from "Servers view" clicking over your
existing server.

Hope this helps,

Chemi.

Mike Traum wrote:

> I'm having the same problem. Where is the Modules page to manually
> update the context root? I go to Window-> Preferences-> Server->
> Installed Runtimes-> Tomcat v5.5-> Edit and there is only one page.
> Then, I thought maybe you meant the Tomcat manager webapp, but that
> doesn't seem to be it...
>
> Thanks,
> mike
Re: Problem changing ContextRoot and setting the Default Server. [message #67505 is a reply to message #67316] Tue, 25 January 2005 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Excellent - that did it.

Thanks,
Mike

Chemi wrote:
> Open "Tomcat configuration" from "Servers view" clicking over your
> existing server.
>
> Hope this helps,
>
> Chemi.
>
> Mike Traum wrote:
>
>> I'm having the same problem. Where is the Modules page to manually
>> update the context root? I go to Window-> Preferences-> Server->
>> Installed Runtimes-> Tomcat v5.5-> Edit and there is only one page.
>> Then, I thought maybe you meant the Tomcat manager webapp, but that
>> doesn't seem to be it...
>>
>> Thanks,
>> mike
>
>
Re: Problem changing ContextRoot and setting the Default Server. [message #158759 is a reply to message #66104] Thu, 02 February 2006 00:14 Go to previous messageGo to next message
Eclipse UserFriend
Hi there,

I still have the problem that i can't get my apllictaion to run as the
default configuration in Tomcat.

i am running eclipse 3.1.2 GTK x86_64

i have tested wtp1.0 and the latest 2 integration builds:
wtp-sdk-M200601251151
wtp-sdk-M200602010238

the problems are as follows:
1. if i edit the server.xml file of my server configuration to path=""
it always gets changed back to path="/myproject"
2. if i use the modules tab of my server configuration it also gets
changed back.
3. in the latest integration builds: on project settings/J2EE i can
change to a diffrent path but i don't know how to enter ""/nothing as it
is forbidden by the wizard.

what can i do? can someone reproduce this?

thx

max


Chemi wrote:
> Thanks a lot for the workaround Tim.
> As I have been able to reproduce it all the times, I have opened Bug
> 83164: https://bugs.eclipse.org/bugs/show_bug.cgi?id=83164
>
> Regards,
>
> Chemi.
>
> Tim deBoer wrote:
>
>> Hey Chemi,
>>
>> I seem to keep hearing from you every couple of years :)
>>
>> The problem is that the Tomcat configuration contains the context
>> root, and
>> the syncing is rusty and only works when the Tomcat plugin is loaded. The
>> quickest way to fix it is just to open the Tomcat server, and manually
>> update the context root on the second (Modules) page.
>>
>> You're having problems with the default server? If you can reproduce,
>> please
>> open up a bugzilla against wst.server with the details and I'll fix
>> it. Or
>> if you are feeling adventurous, you can debug the
>> org.eclipse.wst.server.ui
>> plugin and try to find the problem yourself. :)
>>
Re: Problem changing ContextRoot and setting the Default Server. [message #159114 is a reply to message #158759] Mon, 06 February 2006 03:51 Go to previous messageGo to next message
Eclipse UserFriend
As I haven't got an answer to my question below yet I would like to ask
the following thing:

In last 2 weekly integration builds you added an option in the project
properties under J2EE to set the Context Root. Here I would like to set
it to ""(nothing) to work with my project as the default server.

How can I achieve this as the wizard doesn't allow it?

Thx

Max

Max Giesbert wrote:
> Hi there,
>
> I still have the problem that i can't get my apllictaion to run as the
> default configuration in Tomcat.
>
> i am running eclipse 3.1.2 GTK x86_64
>
> i have tested wtp1.0 and the latest 2 integration builds:
> wtp-sdk-M200601251151
> wtp-sdk-M200602010238
>
> the problems are as follows:
> 1. if i edit the server.xml file of my server configuration to path=""
> it always gets changed back to path="/myproject"
> 2. if i use the modules tab of my server configuration it also gets
> changed back.
> 3. in the latest integration builds: on project settings/J2EE i can
> change to a diffrent path but i don't know how to enter ""/nothing as it
> is forbidden by the wizard.
>
> what can i do? can someone reproduce this?
>
> thx
>
> max
>
>
> Chemi wrote:
>
>> Thanks a lot for the workaround Tim.
>> As I have been able to reproduce it all the times, I have opened Bug
>> 83164: https://bugs.eclipse.org/bugs/show_bug.cgi?id=83164
>>
>> Regards,
>>
>> Chemi.
>>
>> Tim deBoer wrote:
>>
>>> Hey Chemi,
>>>
>>> I seem to keep hearing from you every couple of years :)
>>>
>>> The problem is that the Tomcat configuration contains the context
>>> root, and
>>> the syncing is rusty and only works when the Tomcat plugin is loaded.
>>> The
>>> quickest way to fix it is just to open the Tomcat server, and manually
>>> update the context root on the second (Modules) page.
>>>
>>> You're having problems with the default server? If you can reproduce,
>>> please
>>> open up a bugzilla against wst.server with the details and I'll fix
>>> it. Or
>>> if you are feeling adventurous, you can debug the
>>> org.eclipse.wst.server.ui
>>> plugin and try to find the problem yourself. :)
>>>
Re: Problem changing ContextRoot and setting the Default Server. [message #159412 is a reply to message #159114] Tue, 07 February 2006 09:56 Go to previous message
Eclipse UserFriend
Originally posted by: caclark.etechsolutions.net

Max Giesbert said the following on 2/6/2006 2:51 AM:
> As I haven't got an answer to my question below yet I would like to ask
> the following thing:
>
> In last 2 weekly integration builds you added an option in the project
> properties under J2EE to set the Context Root. Here I would like to set
> it to ""(nothing) to work with my project as the default server.
>
> How can I achieve this as the wizard doesn't allow it?
>
> Thx
>
> Max
>
> Max Giesbert wrote:
>> Hi there,
>>
>> I still have the problem that i can't get my apllictaion to run as the
>> default configuration in Tomcat.
>>
>> i am running eclipse 3.1.2 GTK x86_64
>>
>> i have tested wtp1.0 and the latest 2 integration builds:
>> wtp-sdk-M200601251151
>> wtp-sdk-M200602010238
>>
>> the problems are as follows:
>> 1. if i edit the server.xml file of my server configuration to path=""
>> it always gets changed back to path="/myproject"
>> 2. if i use the modules tab of my server configuration it also gets
>> changed back.
>> 3. in the latest integration builds: on project settings/J2EE i can
>> change to a diffrent path but i don't know how to enter ""/nothing as
>> it is forbidden by the wizard.
>>
>> what can i do? can someone reproduce this?
>>
>> thx
>>
>> max
>>
>>
>> Chemi wrote:
>>
>>> Thanks a lot for the workaround Tim.
>>> As I have been able to reproduce it all the times, I have opened Bug
>>> 83164: https://bugs.eclipse.org/bugs/show_bug.cgi?id=83164
>>>
>>> Regards,
>>>
>>> Chemi.
>>>
>>> Tim deBoer wrote:
>>>
>>>> Hey Chemi,
>>>>
>>>> I seem to keep hearing from you every couple of years :)
>>>>
>>>> The problem is that the Tomcat configuration contains the context
>>>> root, and
>>>> the syncing is rusty and only works when the Tomcat plugin is
>>>> loaded. The
>>>> quickest way to fix it is just to open the Tomcat server, and manually
>>>> update the context root on the second (Modules) page.
>>>>
>>>> You're having problems with the default server? If you can
>>>> reproduce, please
>>>> open up a bugzilla against wst.server with the details and I'll fix
>>>> it. Or
>>>> if you are feeling adventurous, you can debug the
>>>> org.eclipse.wst.server.ui
>>>> plugin and try to find the problem yourself. :)
>>>>

Edit the .settings/.component and change the context-root property
Previous Topic:Problem with tcp/ip monitoring
Next Topic:Tomcat failed to start
Goto Forum:
  


Current Time: Thu Mar 27 23:52:36 EDT 2025

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

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

Back to the top