|
Re: Equinox + Jetty + Browser Widget - Problem [message #113133 is a reply to message #112855] |
Sun, 23 November 2008 18:49   |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Walter,
with the current implementation there is always a chance to
interfere with another resource registration.
To lower chances of a conflict, the browser widget could register
its resources in a distinct folder. If time permits, I will change
this. However, registering a resource with the alias "/" isn't
recommendable either.
Cheers,
Rüdiger
Walter Prabhakar wrote:
> When I define the following in plugin.xml my Application fails.
> <extension point="org.eclipse.equinox.http.registry.resources">
> <resource alias="/" base-name="/WebContent" />
> </extension>
>
> However if I comment above entry, application works fine.
> This might be due to Browser widget.
>
> If you had faced this problem and have an workaround... please share.
>
> Attached is the entire code base to simulate the problem.
>
> Just import the project and then run as RAP application and use the
> following url in a browser
> http://127.0.0.1/rap?startup=test
> => Click on Test => TestCmd => an embedded browser will show up with an
> error.
>
> Then go to plugins.xml and comment the following entry
> <extension point="org.eclipse.equinox.http.registry.resources">
> <resource alias="/" base-name="/WebContent" />
> </extension>
>
> Then relaunch tha RAP application and test scenario. Now you can see
> "This is a Test" in the embedded browser.
>
> I have already raised this a defect.
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=244642
>
> But now I am looking for a workaround as RAP team is focusing on other
> important aspects... i guess.
>
>
> Thanks,
> Best Regards,
> Walter G. Prabhakar.
|
|
|
Re: Equinox + Jetty + Browser Widget - Problem [message #113172 is a reply to message #113133] |
Mon, 24 November 2008 07:45  |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
See this bug entry:
256245: Browser widget shouldn't register its resources at /
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256245
Rüdiger Herrmann wrote:
> Walter,
>
> with the current implementation there is always a chance to interfere
> with another resource registration.
>
> To lower chances of a conflict, the browser widget could register its
> resources in a distinct folder. If time permits, I will change this.
> However, registering a resource with the alias "/" isn't recommendable
> either.
>
> Cheers,
> Rüdiger
>
> Walter Prabhakar wrote:
>> When I define the following in plugin.xml my Application fails.
>> <extension point="org.eclipse.equinox.http.registry.resources">
>> <resource alias="/" base-name="/WebContent" />
>> </extension>
>>
>> However if I comment above entry, application works fine.
>> This might be due to Browser widget.
>>
>> If you had faced this problem and have an workaround... please share.
>>
>> Attached is the entire code base to simulate the problem.
>>
>> Just import the project and then run as RAP application and use the
>> following url in a browser
>> http://127.0.0.1/rap?startup=test
>> => Click on Test => TestCmd => an embedded browser will show up with
>> an error.
>>
>> Then go to plugins.xml and comment the following entry
>> <extension point="org.eclipse.equinox.http.registry.resources">
>> <resource alias="/" base-name="/WebContent" />
>> </extension>
>>
>> Then relaunch tha RAP application and test scenario. Now you can see
>> "This is a Test" in the embedded browser.
>>
>> I have already raised this a defect.
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=244642
>>
>> But now I am looking for a workaround as RAP team is focusing on other
>> important aspects... i guess.
>>
>>
>> Thanks,
>> Best Regards,
>> Walter G. Prabhakar.
>
|
|
|
Powered by
FUDForum. Page generated in 0.01682 seconds