Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Help in RAP 1.1.1 RC1
Help in RAP 1.1.1 RC1 [message #104844] Mon, 15 September 2008 05:10 Go to next message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi all,

I found how to work eclipse help in RAP in above messages. I tried to do
it using help plugins from Eclipse 3.4, but now help does not work.
Problem in plugin org.eclipse.help.webapp_3.3.100.v20080528.jar,
plugin.xml differs from old one:

<serviceSelector
filter="(other.info=org.eclipse.help)">
</serviceSelector>

I've added to web.xml of my application

<init-param>
<param-name>other.info</param-name>
<param-value>org.eclipse.help</param-value>
</init-param>

to equinoxbridgeservlet and made war. Help is working.

Is it correct resolution for the problem? How can I change web.xml
parameters in debug version of application?

Thanks.
Re: Help in RAP 1.1.1 RC1 [message #105492 is a reply to message #104844] Thu, 18 September 2008 06:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Boris,

during Eclipse 3.4 there was made a change in the way the help
servlet is registered. See the bug below for further details:
193530: [Help] Should use "serviceSelector" in servlets extensions
https://bugs.eclipse.org/bugs/show_bug.cgi?id=193530

This is why the way to run the help webapp as described in earlier
posts does not work any more.

Regarding the correctness of your solution/workaround: I don't know.
But if it works it can't be too bad;)

The 'debug version' runs a headless Eclipse and uses Jetty as the
servlet engine. Specifying a web.xml seems not to be possible as of
now. I think this bug is about it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=162132

You might ask the Equinox newsgroup whether there is a way to pass
on context parameters apart from specifying them in the web.xml.

HTH
Rüdiger

Boris Stepanov wrote:
> Hi all,
>
> I found how to work eclipse help in RAP in above messages. I tried to do
> it using help plugins from Eclipse 3.4, but now help does not work.
> Problem in plugin org.eclipse.help.webapp_3.3.100.v20080528.jar,
> plugin.xml differs from old one:
>
> <serviceSelector
> filter="(other.info=org.eclipse.help)">
> </serviceSelector>
>
> I've added to web.xml of my application
>
> <init-param>
> <param-name>other.info</param-name>
> <param-value>org.eclipse.help</param-value>
> </init-param>
>
> to equinoxbridgeservlet and made war. Help is working.
>
> Is it correct resolution for the problem? How can I change web.xml
> parameters in debug version of application?
>
> Thanks.
Re: Help in RAP 1.1.1 RC1 [message #105571 is a reply to message #105492] Thu, 18 September 2008 15:33 Go to previous messageGo to next message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi, Rüdiger,

I found discussion about this problem:

http://www.eclipsezone.com/eclipse/forums/t112389.html

I think that I will made patches which will register help services
without serviceSelector.

I also found the way to run help in debug version in that resource. I
just add VM attribute to run configuration:

-Dorg.eclipse.equinox.http.jetty.other.info=org.eclipse.help

> Hi Boris,
>
> during Eclipse 3.4 there was made a change in the way the help servlet
> is registered. See the bug below for further details:
> 193530: [Help] Should use "serviceSelector" in servlets extensions
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=193530
>
> This is why the way to run the help webapp as described in earlier posts
> does not work any more.
>
> Regarding the correctness of your solution/workaround: I don't know. But
> if it works it can't be too bad;)
>
> The 'debug version' runs a headless Eclipse and uses Jetty as the
> servlet engine. Specifying a web.xml seems not to be possible as of now.
> I think this bug is about it:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=162132
>
> You might ask the Equinox newsgroup whether there is a way to pass on
> context parameters apart from specifying them in the web.xml.
>
> HTH
> Rüdiger
>
> Boris Stepanov wrote:
>> Hi all,
>>
>> I found how to work eclipse help in RAP in above messages. I tried to
>> do it using help plugins from Eclipse 3.4, but now help does not work.
>> Problem in plugin org.eclipse.help.webapp_3.3.100.v20080528.jar,
>> plugin.xml differs from old one:
>>
>> <serviceSelector
>> filter="(other.info=org.eclipse.help)">
>> </serviceSelector>
>>
>> I've added to web.xml of my application
>>
>> <init-param>
>> <param-name>other.info</param-name>
>> <param-value>org.eclipse.help</param-value> </init-param>
>>
>> to equinoxbridgeservlet and made war. Help is working.
>>
>> Is it correct resolution for the problem? How can I change web.xml
>> parameters in debug version of application?
>>
>> Thanks.
Re: Help in RAP 1.1.1 RC1 [message #106083 is a reply to message #105571] Tue, 23 September 2008 22:25 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Boris,

it would be great if you could add a FAQ[1] entry so others can profit
from your experiences.

Greets
Benny

[1] http://wiki.eclipse.org/RapFaq

Boris Stepanov wrote:
> Hi, Rüdiger,
>
> I found discussion about this problem:
>
> http://www.eclipsezone.com/eclipse/forums/t112389.html
>
> I think that I will made patches which will register help services
> without serviceSelector.
>
> I also found the way to run help in debug version in that resource. I
> just add VM attribute to run configuration:
>
> -Dorg.eclipse.equinox.http.jetty.other.info=org.eclipse.help
>
>> Hi Boris,
>>
>> during Eclipse 3.4 there was made a change in the way the help servlet
>> is registered. See the bug below for further details:
>> 193530: [Help] Should use "serviceSelector" in servlets extensions
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=193530
>>
>> This is why the way to run the help webapp as described in earlier
>> posts does not work any more.
>>
>> Regarding the correctness of your solution/workaround: I don't know.
>> But if it works it can't be too bad;)
>>
>> The 'debug version' runs a headless Eclipse and uses Jetty as the
>> servlet engine. Specifying a web.xml seems not to be possible as of
>> now. I think this bug is about it:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=162132
>>
>> You might ask the Equinox newsgroup whether there is a way to pass on
>> context parameters apart from specifying them in the web.xml.
>>
>> HTH
>> Rüdiger
>>
>> Boris Stepanov wrote:
>>> Hi all,
>>>
>>> I found how to work eclipse help in RAP in above messages. I tried to
>>> do it using help plugins from Eclipse 3.4, but now help does not
>>> work. Problem in plugin
>>> org.eclipse.help.webapp_3.3.100.v20080528.jar, plugin.xml differs
>>> from old one:
>>>
>>> <serviceSelector
>>> filter="(other.info=org.eclipse.help)">
>>> </serviceSelector>
>>>
>>> I've added to web.xml of my application
>>>
>>> <init-param>
>>> <param-name>other.info</param-name>
>>> <param-value>org.eclipse.help</param-value> </init-param>
>>>
>>> to equinoxbridgeservlet and made war. Help is working.
>>>
>>> Is it correct resolution for the problem? How can I change web.xml
>>> parameters in debug version of application?
>>>
>>> Thanks.
Previous Topic:ClassCastException in FillLayout.flushCache()
Next Topic:Upload widget not working correctly in the Firefox browser
Goto Forum:
  


Current Time: Tue Apr 16 07:56:33 GMT 2024

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

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

Back to the top