Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Upgrade to 3.4.1 - Run on server no longer launches initial page
Upgrade to 3.4.1 - Run on server no longer launches initial page [message #229227] Thu, 19 March 2009 12:11 Go to next message
Steve Whatmore is currently offline Steve Whatmore
Messages: 95
Registered: July 2009
Member
Good morning,

I just upgraded to 3.4.1 and now when I launch my web project (JSF / AJAX /
RichFaces) it sometimes does not launch my initial web page.

Is there a setting somewhere that I need to adjust for my project in 3.4.1?

Thanks in advance.

Whatty
Re: Upgrade to 3.4.1 - Run on server no longer launches initial page - context name with embedded sp [message #229447 is a reply to message #229227] Tue, 24 March 2009 14:55 Go to previous messageGo to next message
Steve Whatmore is currently offline Steve Whatmore
Messages: 95
Registered: July 2009
Member
I believe part of the problem is that when I run the web project on the
server that the project under the server view has an embedded space in the
Web module name (example "project<sp>") and it complains about not being
able to find the correct folder, which is related to the context entry in
the server.xml in the server local-config

<Context docBase="Project 1" path="/Project1" reloadable="true"
source="org.eclipse.jst.j2ee.sever:Project 1"/>

See the inconsistency above from the path compared to the docBase / source.

Where is this value coming from (I have searched and can't seem to track it
down)?

I have also tried to manually modify this value in the sever.xml in the
Tomcat localhost-config and seems to be reloaded somewhere else and may
changes get overwritten.

Thanks in advance.

Whatty

"Whatty" <steven.whatmore@lynxdev.com> wrote in message
news:gptcok$pcb$1@build.eclipse.org...
> Good morning,
>
> I just upgraded to 3.4.1 and now when I launch my web project (JSF / AJAX
> / RichFaces) it sometimes does not launch my initial web page.
>
> Is there a setting somewhere that I need to adjust for my project in
> 3.4.1?
>
> Thanks in advance.
>
> Whatty
>
Re: Upgrade to 3.4.1 - Run on server no longer launches initial page - context name with embedded sp [message #229697 is a reply to message #229447] Thu, 26 March 2009 15:21 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1308
Registered: July 2009
Senior Member
The setting that controls the context path is the "Context Root"
property on the Web Project Settings page of the project's Properties
dialog. However, "Web module name" likely refers to the "deploy-name"
attribute found in the ".settings/org.eclipse.wst.common.component" file
of the project. Note that the "deploy-name" value needs to stay in sync
with the project name, or there will be bigger problems with the project.

Does "does not launch my initial web page" mean the browser doesn't
appear or the browser appears but unexpected output occurs?

Cheers,
Larry

Whatty wrote:
> I believe part of the problem is that when I run the web project on the
> server that the project under the server view has an embedded space in the
> Web module name (example "project<sp>") and it complains about not being
> able to find the correct folder, which is related to the context entry in
> the server.xml in the server local-config
>
> <Context docBase="Project 1" path="/Project1" reloadable="true"
> source="org.eclipse.jst.j2ee.sever:Project 1"/>
>
> See the inconsistency above from the path compared to the docBase / source.
>
> Where is this value coming from (I have searched and can't seem to track it
> down)?
>
> I have also tried to manually modify this value in the sever.xml in the
> Tomcat localhost-config and seems to be reloaded somewhere else and may
> changes get overwritten.
>
> Thanks in advance.
>
> Whatty
>
> "Whatty" <steven.whatmore@lynxdev.com> wrote in message
> news:gptcok$pcb$1@build.eclipse.org...
>> Good morning,
>>
>> I just upgraded to 3.4.1 and now when I launch my web project (JSF / AJAX
>> / RichFaces) it sometimes does not launch my initial web page.
>>
>> Is there a setting somewhere that I need to adjust for my project in
>> 3.4.1?
>>
>> Thanks in advance.
>>
>> Whatty
>>
>
>
Re: Upgrade to 3.4.1 - Run on server no longer launches initial page - context name with embedded sp [message #229713 is a reply to message #229697] Thu, 26 March 2009 17:09 Go to previous messageGo to next message
Steve Whatmore is currently offline Steve Whatmore
Messages: 95
Registered: July 2009
Member
The browser does not appear

I am changing the name in the settings, I guess it was silly to use an
embedded space way back when I first created the project, and I will how
that works.


"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:gqg6ij$n67$1@build.eclipse.org...
> The setting that controls the context path is the "Context Root" property
> on the Web Project Settings page of the project's Properties dialog.
> However, "Web module name" likely refers to the "deploy-name" attribute
> found in the ".settings/org.eclipse.wst.common.component" file of the
> project. Note that the "deploy-name" value needs to stay in sync with the
> project name, or there will be bigger problems with the project.
>
> Does "does not launch my initial web page" mean the browser doesn't appear
> or the browser appears but unexpected output occurs?
>
> Cheers,
> Larry
>
> Whatty wrote:
>> I believe part of the problem is that when I run the web project on the
>> server that the project under the server view has an embedded space in
>> the Web module name (example "project<sp>") and it complains about not
>> being able to find the correct folder, which is related to the context
>> entry in the server.xml in the server local-config
>>
>> <Context docBase="Project 1" path="/Project1" reloadable="true"
>> source="org.eclipse.jst.j2ee.sever:Project 1"/>
>>
>> See the inconsistency above from the path compared to the docBase /
>> source.
>>
>> Where is this value coming from (I have searched and can't seem to track
>> it down)?
>>
>> I have also tried to manually modify this value in the sever.xml in the
>> Tomcat localhost-config and seems to be reloaded somewhere else and may
>> changes get overwritten.
>>
>> Thanks in advance.
>>
>> Whatty
>>
>> "Whatty" <steven.whatmore@lynxdev.com> wrote in message
>> news:gptcok$pcb$1@build.eclipse.org...
>>> Good morning,
>>>
>>> I just upgraded to 3.4.1 and now when I launch my web project (JSF /
>>> AJAX / RichFaces) it sometimes does not launch my initial web page.
>>>
>>> Is there a setting somewhere that I need to adjust for my project in
>>> 3.4.1?
>>>
>>> Thanks in advance.
>>>
>>> Whatty
>>>
>>
Re: Upgrade to 3.4.1 - Run on server no longer launches initial page - context name with embedded sp [message #229721 is a reply to message #229713] Thu, 26 March 2009 18:11 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1308
Registered: July 2009
Senior Member
If the server is already started, will "Run on server" make the browser
appear?

Cheers,
Larry

Whatty wrote:
> The browser does not appear
>
> I am changing the name in the settings, I guess it was silly to use an
> embedded space way back when I first created the project, and I will how
> that works.
>
>
> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
> news:gqg6ij$n67$1@build.eclipse.org...
>> The setting that controls the context path is the "Context Root" property
>> on the Web Project Settings page of the project's Properties dialog.
>> However, "Web module name" likely refers to the "deploy-name" attribute
>> found in the ".settings/org.eclipse.wst.common.component" file of the
>> project. Note that the "deploy-name" value needs to stay in sync with the
>> project name, or there will be bigger problems with the project.
>>
>> Does "does not launch my initial web page" mean the browser doesn't appear
>> or the browser appears but unexpected output occurs?
>>
>> Cheers,
>> Larry
>>
>> Whatty wrote:
>>> I believe part of the problem is that when I run the web project on the
>>> server that the project under the server view has an embedded space in
>>> the Web module name (example "project<sp>") and it complains about not
>>> being able to find the correct folder, which is related to the context
>>> entry in the server.xml in the server local-config
>>>
>>> <Context docBase="Project 1" path="/Project1" reloadable="true"
>>> source="org.eclipse.jst.j2ee.sever:Project 1"/>
>>>
>>> See the inconsistency above from the path compared to the docBase /
>>> source.
>>>
>>> Where is this value coming from (I have searched and can't seem to track
>>> it down)?
>>>
>>> I have also tried to manually modify this value in the sever.xml in the
>>> Tomcat localhost-config and seems to be reloaded somewhere else and may
>>> changes get overwritten.
>>>
>>> Thanks in advance.
>>>
>>> Whatty
>>>
>>> "Whatty" <steven.whatmore@lynxdev.com> wrote in message
>>> news:gptcok$pcb$1@build.eclipse.org...
>>>> Good morning,
>>>>
>>>> I just upgraded to 3.4.1 and now when I launch my web project (JSF /
>>>> AJAX / RichFaces) it sometimes does not launch my initial web page.
>>>>
>>>> Is there a setting somewhere that I need to adjust for my project in
>>>> 3.4.1?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Whatty
>>>>
>
Re: Upgrade to 3.4.1 - Run on server no longer launches initial page - context name with embedded sp [message #229792 is a reply to message #229721] Sun, 29 March 2009 21:14 Go to previous messageGo to next message
Steve Whatmore is currently offline Steve Whatmore
Messages: 95
Registered: July 2009
Member
I have removed the embedded space in the ".settings" property file and it
still does not launch the initial page sometimes.

However, as per your suggestion, if the server is started, and I ask for
"Run on server" again the browser does in fact appear.

This is workable for now but otherwise is a minor PITA (Pain in the A$$)

"Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
news:gqggg9$n8m$1@build.eclipse.org...
> If the server is already started, will "Run on server" make the browser
> appear?
>
> Cheers,
> Larry
>
> Whatty wrote:
>> The browser does not appear
>>
>> I am changing the name in the settings, I guess it was silly to use an
>> embedded space way back when I first created the project, and I will how
>> that works.
>>
>>
>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>> news:gqg6ij$n67$1@build.eclipse.org...
>>> The setting that controls the context path is the "Context Root"
>>> property on the Web Project Settings page of the project's Properties
>>> dialog. However, "Web module name" likely refers to the "deploy-name"
>>> attribute found in the ".settings/org.eclipse.wst.common.component" file
>>> of the project. Note that the "deploy-name" value needs to stay in sync
>>> with the project name, or there will be bigger problems with the
>>> project.
>>>
>>> Does "does not launch my initial web page" mean the browser doesn't
>>> appear or the browser appears but unexpected output occurs?
>>>
>>> Cheers,
>>> Larry
>>>
>>> Whatty wrote:
>>>> I believe part of the problem is that when I run the web project on the
>>>> server that the project under the server view has an embedded space in
>>>> the Web module name (example "project<sp>") and it complains about not
>>>> being able to find the correct folder, which is related to the context
>>>> entry in the server.xml in the server local-config
>>>>
>>>> <Context docBase="Project 1" path="/Project1" reloadable="true"
>>>> source="org.eclipse.jst.j2ee.sever:Project 1"/>
>>>>
>>>> See the inconsistency above from the path compared to the docBase /
>>>> source.
>>>>
>>>> Where is this value coming from (I have searched and can't seem to
>>>> track it down)?
>>>>
>>>> I have also tried to manually modify this value in the sever.xml in the
>>>> Tomcat localhost-config and seems to be reloaded somewhere else and may
>>>> changes get overwritten.
>>>>
>>>> Thanks in advance.
>>>>
>>>> Whatty
>>>>
>>>> "Whatty" <steven.whatmore@lynxdev.com> wrote in message
>>>> news:gptcok$pcb$1@build.eclipse.org...
>>>>> Good morning,
>>>>>
>>>>> I just upgraded to 3.4.1 and now when I launch my web project (JSF /
>>>>> AJAX / RichFaces) it sometimes does not launch my initial web page.
>>>>>
>>>>> Is there a setting somewhere that I need to adjust for my project in
>>>>> 3.4.1?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> Whatty
>>>>>
>>
Re: Upgrade to 3.4.1 - Run on server no longer launches initial page - context name with embedded sp [message #229886 is a reply to message #229792] Tue, 31 March 2009 13:09 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1308
Registered: July 2009
Senior Member
I have seen this behavior recently too, but haven't had time to
investigate. I'm not sure what has changed.

Cheers,
Larry

Whatty wrote:
> I have removed the embedded space in the ".settings" property file and it
> still does not launch the initial page sometimes.
>
> However, as per your suggestion, if the server is started, and I ask for
> "Run on server" again the browser does in fact appear.
>
> This is workable for now but otherwise is a minor PITA (Pain in the A$$)
>
> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
> news:gqggg9$n8m$1@build.eclipse.org...
>> If the server is already started, will "Run on server" make the browser
>> appear?
>>
>> Cheers,
>> Larry
>>
>> Whatty wrote:
>>> The browser does not appear
>>>
>>> I am changing the name in the settings, I guess it was silly to use an
>>> embedded space way back when I first created the project, and I will how
>>> that works.
>>>
>>>
>>> "Larry Isaacs" <Larry.Isaacs@sas.com> wrote in message
>>> news:gqg6ij$n67$1@build.eclipse.org...
>>>> The setting that controls the context path is the "Context Root"
>>>> property on the Web Project Settings page of the project's Properties
>>>> dialog. However, "Web module name" likely refers to the "deploy-name"
>>>> attribute found in the ".settings/org.eclipse.wst.common.component" file
>>>> of the project. Note that the "deploy-name" value needs to stay in sync
>>>> with the project name, or there will be bigger problems with the
>>>> project.
>>>>
>>>> Does "does not launch my initial web page" mean the browser doesn't
>>>> appear or the browser appears but unexpected output occurs?
>>>>
>>>> Cheers,
>>>> Larry
>>>>
>>>> Whatty wrote:
>>>>> I believe part of the problem is that when I run the web project on the
>>>>> server that the project under the server view has an embedded space in
>>>>> the Web module name (example "project<sp>") and it complains about not
>>>>> being able to find the correct folder, which is related to the context
>>>>> entry in the server.xml in the server local-config
>>>>>
>>>>> <Context docBase="Project 1" path="/Project1" reloadable="true"
>>>>> source="org.eclipse.jst.j2ee.sever:Project 1"/>
>>>>>
>>>>> See the inconsistency above from the path compared to the docBase /
>>>>> source.
>>>>>
>>>>> Where is this value coming from (I have searched and can't seem to
>>>>> track it down)?
>>>>>
>>>>> I have also tried to manually modify this value in the sever.xml in the
>>>>> Tomcat localhost-config and seems to be reloaded somewhere else and may
>>>>> changes get overwritten.
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> Whatty
>>>>>
>>>>> "Whatty" <steven.whatmore@lynxdev.com> wrote in message
>>>>> news:gptcok$pcb$1@build.eclipse.org...
>>>>>> Good morning,
>>>>>>
>>>>>> I just upgraded to 3.4.1 and now when I launch my web project (JSF /
>>>>>> AJAX / RichFaces) it sometimes does not launch my initial web page.
>>>>>>
>>>>>> Is there a setting somewhere that I need to adjust for my project in
>>>>>> 3.4.1?
>>>>>>
>>>>>> Thanks in advance.
>>>>>>
>>>>>> Whatty
>>>>>>
>
>
Previous Topic:Facet version not detected correctly
Next Topic:change XML schema prefix impossible using WTP XML model
Goto Forum:
  


Current Time: Tue Oct 21 04:06:22 GMT 2014

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

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