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  |
Eclipse User |
|
|
|
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 #159412 is a reply to message #159114] |
Tue, 07 February 2006 09:56  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Mon Apr 14 17:58:35 EDT 2025
Powered by FUDForum. Page generated in 0.04323 seconds
|