Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Problems with RCP Help in 3.3
Problems with RCP Help in 3.3 [message #469650] Sun, 30 September 2007 22:27 Go to next message
J. Michael Dean, M.D. is currently offline J. Michael Dean, M.D.Friend
Messages: 218
Registered: July 2009
Senior Member
Migrated to 3.3 and my RCP help system continues to work on OSX platform but
breaks on Win32 with an error involving index.jsp. I noted the previous
thread about this, and my old help plugin requested Tomcat, etc. so I
changed this to only depend on org.eclipse.help.webapp and
org.eclipse.help.ui and I have my run configuration check for optional
dependencies. However, my error persists, and is an HTTP ERROR: 500 unable
to compile class for JSP, RequestURI=/help/index.jsp (and says powered by
Jetty, etc.)

When I examine the plugins in the exported product, Tomcat is still present,
which is disturbing since it is not checked off as a required plugin in my
run configuration, and I wonder if this is part of my problem.

Interestingly, if I select dynamic help, the entire system works inside that
window, with full access to all content, etc. Just does not work when I
select "Help Contents" and an external browser is invoked.

The documentation about Help continues to indicate the need to add the
larger number of plugin dependencies and I am working off the paper from
September by Goldthorpe and Archer.

Thanks in advance for any help you might be able to provide.

- Mike
Re: Problems with RCP Help in 3.3 [message #469651 is a reply to message #469650] Mon, 01 October 2007 16:47 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Nice to see that someone is reading our article.

If the help view is working but not the browser then this indicates that
the help server is starting OK but there seems to be a problem loading
the jsps which form the webapp. The help view does not use any jsps.

I can think of a couple of possibilities, one is the jasper compiler is
not being included in your RCP, the other is that the jsp file is not
found.

When you start Help/Contents do you see multiple frames in the browser
or just one frame with the message about being unable to compile index.jsp?

Are you able to perform a Help/Search and find results when you perform
a search?

Are there any errors written to the log?

As for the tomcat plugin if you remove it from the list of plugins in
your product configuration I would not expect it to get pulled in as a
dependency of any other plugin. I'm not sure why you are seeing this.
Re: Problems with RCP Help in 3.3 [message #469652 is a reply to message #469650] Mon, 01 October 2007 18:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

I use a subset of the help system plug-ins to make a standalone help
system running on Windows XP. I know that my situation is not strictly
an RCP situation, but maybe you can use this to compare.

The subset of plug-ins I find that is needed to run the standalone help
system on Windows XP is:
org.eclipse.core.runtime.compatibility.registry
org.eclipse.equinox.launcher.win32.win32.x86
com.ibm.icu
javax.servlet.jsp
javax.servlet
org.apache.commons.el
org.apache.commons.logging
org.apache.jasper
org.apache.lucene.analysis
org.apache.lucene
org.eclipse.core.contenttype
org.eclipse.core.expressions
org.eclipse.core.jobs
org.eclipse.core.runtime.compatibility.auth
org.eclipse.core.runtime
org.eclipse.equinox.app
org.eclipse.equinox.common
org.eclipse.equinox.http.jetty
org.eclipse.equinox.http.registry
org.eclipse.equinox.http.servlet
org.eclipse.equinox.jsp.jasper.registry
org.eclipse.equinox.jsp.jasper
org.eclipse.equinox.launcher
org.eclipse.equinox.preferences
org.eclipse.equinox.registry
org.eclipse.help.base
org.eclipse.help.webapp
org.eclipse.help
org.eclipse.osgi.services
org.eclipse.osgi
org.eclipse.update.configurator
org.mortbay.jetty

I have some older version doc plug-ins, so I keep the
runtime.compatibility plug-in to handle those.

--Lee Anne
(for email, remove the "nospam_" portion)


J Michael Dean wrote:
> Migrated to 3.3 and my RCP help system continues to work on OSX platform but
> breaks on Win32 with an error involving index.jsp. I noted the previous
> thread about this, and my old help plugin requested Tomcat, etc. so I
> changed this to only depend on org.eclipse.help.webapp and
> org.eclipse.help.ui and I have my run configuration check for optional
> dependencies. However, my error persists, and is an HTTP ERROR: 500 unable
> to compile class for JSP, RequestURI=/help/index.jsp (and says powered by
> Jetty, etc.)
>
> When I examine the plugins in the exported product, Tomcat is still present,
> which is disturbing since it is not checked off as a required plugin in my
> run configuration, and I wonder if this is part of my problem.
>
> Interestingly, if I select dynamic help, the entire system works inside that
> window, with full access to all content, etc. Just does not work when I
> select "Help Contents" and an external browser is invoked.
>
> The documentation about Help continues to indicate the need to add the
> larger number of plugin dependencies and I am working off the paper from
> September by Goldthorpe and Archer.
>
> Thanks in advance for any help you might be able to provide.
>
> - Mike
>
Re: Problems with RCP Help in 3.3 [message #472415 is a reply to message #469651] Mon, 31 March 2008 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hiteshn.mail.gmail.com

Hello,

Even I face the same problem as mentioned by Michael. Following is the list
of answers to Chris's qeustions:

When you start Help/Contents do you see multiple frames in the browser
or just one frame with the message about being unable to compile index.jsp?

I can see only one frame which says "HTTP ERROR: 500
Class org.apache.jasper.servlet.JspServlet does not implement the requested
interface javax.servlet.ServletRequestURI=/help/index.jspPowered by
Jetty://"> Are you able to perform a Help/Search and find results when you
perform
> a search?

Yes, it works well while performing a search, the problem comes only when I
click Help contents under Help menu

> Are there any errors written to the log?

It is as follows:

Mar 31, 2008 4:10:48 PM org.mortbay.jetty.servlet.ServletHandler handle

WARNING: Error for /help/index.jsp

java.lang.IncompatibleClassChangeError: Class
org.apache.jasper.servlet.JspServlet does not implement the requested
interface javax.servlet.Servlet

at org.eclipse.equinox.jsp.jasper.JspServlet.init(JspServlet.ja va:81)

at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.initializeDelegate(ServletManager.java:195)

at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:179)

at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:75)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:288)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)

at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

at org.mortbay.http.HttpServer.service(HttpServer.java:909)

at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)

at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)

at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)

at org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)

at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)

Please help me in solving this problem.

Thanks,
Hitesh...
"Chris Goldthorpe" <cgold@us.ibm.com> wrote in message
news:fdr8au$c6l$1@build.eclipse.org...
> Nice to see that someone is reading our article.
>
> If the help view is working but not the browser then this indicates that
> the help server is starting OK but there seems to be a problem loading
> the jsps which form the webapp. The help view does not use any jsps.
>
> I can think of a couple of possibilities, one is the jasper compiler is
> not being included in your RCP, the other is that the jsp file is not
> found.
>
> When you start Help/Contents do you see multiple frames in the browser or
> just one frame with the message about being unable to compile index.jsp?
>
> Are you able to perform a Help/Search and find results when you perform a
> search?
>
> Are there any errors written to the log?
>
> As for the tomcat plugin if you remove it from the list of plugins in your
> product configuration I would not expect it to get pulled in as a
> dependency of any other plugin. I'm not sure why you are seeing this.
Re: Problems with RCP Help in 3.3 [message #473576 is a reply to message #469652] Fri, 18 April 2008 06:47 Go to previous message
Eclipse UserFriend
Originally posted by: hiteshn.mail.gmail.com

I used the same set of plug-ins but still couldnt find any luck. I face the
same problem even now :(

Thanks in advance for the help.

~ Hitesh

"Lee Anne" <nospam_kowalskilee@gmail.com> wrote in message
news:fdrd7d$9la$1@build.eclipse.org...
>I use a subset of the help system plug-ins to make a standalone help system
>running on Windows XP. I know that my situation is not strictly an RCP
>situation, but maybe you can use this to compare.
>
> The subset of plug-ins I find that is needed to run the standalone help
> system on Windows XP is:
> org.eclipse.core.runtime.compatibility.registry
> org.eclipse.equinox.launcher.win32.win32.x86
> com.ibm.icu
> javax.servlet.jsp
> javax.servlet
> org.apache.commons.el
> org.apache.commons.logging
> org.apache.jasper
> org.apache.lucene.analysis
> org.apache.lucene
> org.eclipse.core.contenttype
> org.eclipse.core.expressions
> org.eclipse.core.jobs
> org.eclipse.core.runtime.compatibility.auth
> org.eclipse.core.runtime
> org.eclipse.equinox.app
> org.eclipse.equinox.common
> org.eclipse.equinox.http.jetty
> org.eclipse.equinox.http.registry
> org.eclipse.equinox.http.servlet
> org.eclipse.equinox.jsp.jasper.registry
> org.eclipse.equinox.jsp.jasper
> org.eclipse.equinox.launcher
> org.eclipse.equinox.preferences
> org.eclipse.equinox.registry
> org.eclipse.help.base
> org.eclipse.help.webapp
> org.eclipse.help
> org.eclipse.osgi.services
> org.eclipse.osgi
> org.eclipse.update.configurator
> org.mortbay.jetty
>
> I have some older version doc plug-ins, so I keep the
> runtime.compatibility plug-in to handle those.
>
> --Lee Anne
> (for email, remove the "nospam_" portion)
>
>
> J Michael Dean wrote:
>> Migrated to 3.3 and my RCP help system continues to work on OSX platform
>> but
>> breaks on Win32 with an error involving index.jsp. I noted the previous
>> thread about this, and my old help plugin requested Tomcat, etc. so I
>> changed this to only depend on org.eclipse.help.webapp and
>> org.eclipse.help.ui and I have my run configuration check for optional
>> dependencies. However, my error persists, and is an HTTP ERROR: 500
>> unable
>> to compile class for JSP, RequestURI=/help/index.jsp (and says powered by
>> Jetty, etc.)
>>
>> When I examine the plugins in the exported product, Tomcat is still
>> present,
>> which is disturbing since it is not checked off as a required plugin in
>> my
>> run configuration, and I wonder if this is part of my problem.
>>
>> Interestingly, if I select dynamic help, the entire system works inside
>> that
>> window, with full access to all content, etc. Just does not work when I
>> select "Help Contents" and an external browser is invoked.
>>
>> The documentation about Help continues to indicate the need to add the
>> larger number of plugin dependencies and I am working off the paper from
>> September by Goldthorpe and Archer.
>>
>> Thanks in advance for any help you might be able to provide.
>>
>> - Mike
>>
Re: Problems with RCP Help in 3.3 [message #586097 is a reply to message #469650] Mon, 01 October 2007 16:47 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Nice to see that someone is reading our article.

If the help view is working but not the browser then this indicates that
the help server is starting OK but there seems to be a problem loading
the jsps which form the webapp. The help view does not use any jsps.

I can think of a couple of possibilities, one is the jasper compiler is
not being included in your RCP, the other is that the jsp file is not
found.

When you start Help/Contents do you see multiple frames in the browser
or just one frame with the message about being unable to compile index.jsp?

Are you able to perform a Help/Search and find results when you perform
a search?

Are there any errors written to the log?

As for the tomcat plugin if you remove it from the list of plugins in
your product configuration I would not expect it to get pulled in as a
dependency of any other plugin. I'm not sure why you are seeing this.
Re: Problems with RCP Help in 3.3 [message #586114 is a reply to message #469650] Mon, 01 October 2007 18:11 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

I use a subset of the help system plug-ins to make a standalone help
system running on Windows XP. I know that my situation is not strictly
an RCP situation, but maybe you can use this to compare.

The subset of plug-ins I find that is needed to run the standalone help
system on Windows XP is:
org.eclipse.core.runtime.compatibility.registry
org.eclipse.equinox.launcher.win32.win32.x86
com.ibm.icu
javax.servlet.jsp
javax.servlet
org.apache.commons.el
org.apache.commons.logging
org.apache.jasper
org.apache.lucene.analysis
org.apache.lucene
org.eclipse.core.contenttype
org.eclipse.core.expressions
org.eclipse.core.jobs
org.eclipse.core.runtime.compatibility.auth
org.eclipse.core.runtime
org.eclipse.equinox.app
org.eclipse.equinox.common
org.eclipse.equinox.http.jetty
org.eclipse.equinox.http.registry
org.eclipse.equinox.http.servlet
org.eclipse.equinox.jsp.jasper.registry
org.eclipse.equinox.jsp.jasper
org.eclipse.equinox.launcher
org.eclipse.equinox.preferences
org.eclipse.equinox.registry
org.eclipse.help.base
org.eclipse.help.webapp
org.eclipse.help
org.eclipse.osgi.services
org.eclipse.osgi
org.eclipse.update.configurator
org.mortbay.jetty

I have some older version doc plug-ins, so I keep the
runtime.compatibility plug-in to handle those.

--Lee Anne
(for email, remove the "nospam_" portion)


J Michael Dean wrote:
> Migrated to 3.3 and my RCP help system continues to work on OSX platform but
> breaks on Win32 with an error involving index.jsp. I noted the previous
> thread about this, and my old help plugin requested Tomcat, etc. so I
> changed this to only depend on org.eclipse.help.webapp and
> org.eclipse.help.ui and I have my run configuration check for optional
> dependencies. However, my error persists, and is an HTTP ERROR: 500 unable
> to compile class for JSP, RequestURI=/help/index.jsp (and says powered by
> Jetty, etc.)
>
> When I examine the plugins in the exported product, Tomcat is still present,
> which is disturbing since it is not checked off as a required plugin in my
> run configuration, and I wonder if this is part of my problem.
>
> Interestingly, if I select dynamic help, the entire system works inside that
> window, with full access to all content, etc. Just does not work when I
> select "Help Contents" and an external browser is invoked.
>
> The documentation about Help continues to indicate the need to add the
> larger number of plugin dependencies and I am working off the paper from
> September by Goldthorpe and Archer.
>
> Thanks in advance for any help you might be able to provide.
>
> - Mike
>
Re: Problems with RCP Help in 3.3 [message #611078 is a reply to message #469651] Mon, 31 March 2008 10:43 Go to previous message
Eclipse UserFriend
Originally posted by: hiteshn.mail.gmail.com

Hello,

Even I face the same problem as mentioned by Michael. Following is the list
of answers to Chris's qeustions:

When you start Help/Contents do you see multiple frames in the browser
or just one frame with the message about being unable to compile index.jsp?

I can see only one frame which says "HTTP ERROR: 500
Class org.apache.jasper.servlet.JspServlet does not implement the requested
interface javax.servlet.ServletRequestURI=/help/index.jspPowered by
Jetty://"> Are you able to perform a Help/Search and find results when you
perform
> a search?

Yes, it works well while performing a search, the problem comes only when I
click Help contents under Help menu

> Are there any errors written to the log?

It is as follows:

Mar 31, 2008 4:10:48 PM org.mortbay.jetty.servlet.ServletHandler handle

WARNING: Error for /help/index.jsp

java.lang.IncompatibleClassChangeError: Class
org.apache.jasper.servlet.JspServlet does not implement the requested
interface javax.servlet.Servlet

at org.eclipse.equinox.jsp.jasper.JspServlet.init(JspServlet.ja va:81)

at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.initializeDelegate(ServletManager.java:195)

at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:179)

at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)

at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:75)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:288)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)

at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

at org.mortbay.http.HttpServer.service(HttpServer.java:909)

at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)

at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)

at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)

at org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)

at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)

Please help me in solving this problem.

Thanks,
Hitesh...
"Chris Goldthorpe" <cgold@us.ibm.com> wrote in message
news:fdr8au$c6l$1@build.eclipse.org...
> Nice to see that someone is reading our article.
>
> If the help view is working but not the browser then this indicates that
> the help server is starting OK but there seems to be a problem loading
> the jsps which form the webapp. The help view does not use any jsps.
>
> I can think of a couple of possibilities, one is the jasper compiler is
> not being included in your RCP, the other is that the jsp file is not
> found.
>
> When you start Help/Contents do you see multiple frames in the browser or
> just one frame with the message about being unable to compile index.jsp?
>
> Are you able to perform a Help/Search and find results when you perform a
> search?
>
> Are there any errors written to the log?
>
> As for the tomcat plugin if you remove it from the list of plugins in your
> product configuration I would not expect it to get pulled in as a
> dependency of any other plugin. I'm not sure why you are seeing this.
Re: Problems with RCP Help in 3.3 [message #611999 is a reply to message #469652] Fri, 18 April 2008 06:47 Go to previous message
Eclipse UserFriend
Originally posted by: hiteshn.mail.gmail.com

I used the same set of plug-ins but still couldnt find any luck. I face the
same problem even now :(

Thanks in advance for the help.

~ Hitesh

"Lee Anne" <nospam_kowalskilee@gmail.com> wrote in message
news:fdrd7d$9la$1@build.eclipse.org...
>I use a subset of the help system plug-ins to make a standalone help system
>running on Windows XP. I know that my situation is not strictly an RCP
>situation, but maybe you can use this to compare.
>
> The subset of plug-ins I find that is needed to run the standalone help
> system on Windows XP is:
> org.eclipse.core.runtime.compatibility.registry
> org.eclipse.equinox.launcher.win32.win32.x86
> com.ibm.icu
> javax.servlet.jsp
> javax.servlet
> org.apache.commons.el
> org.apache.commons.logging
> org.apache.jasper
> org.apache.lucene.analysis
> org.apache.lucene
> org.eclipse.core.contenttype
> org.eclipse.core.expressions
> org.eclipse.core.jobs
> org.eclipse.core.runtime.compatibility.auth
> org.eclipse.core.runtime
> org.eclipse.equinox.app
> org.eclipse.equinox.common
> org.eclipse.equinox.http.jetty
> org.eclipse.equinox.http.registry
> org.eclipse.equinox.http.servlet
> org.eclipse.equinox.jsp.jasper.registry
> org.eclipse.equinox.jsp.jasper
> org.eclipse.equinox.launcher
> org.eclipse.equinox.preferences
> org.eclipse.equinox.registry
> org.eclipse.help.base
> org.eclipse.help.webapp
> org.eclipse.help
> org.eclipse.osgi.services
> org.eclipse.osgi
> org.eclipse.update.configurator
> org.mortbay.jetty
>
> I have some older version doc plug-ins, so I keep the
> runtime.compatibility plug-in to handle those.
>
> --Lee Anne
> (for email, remove the "nospam_" portion)
>
>
> J Michael Dean wrote:
>> Migrated to 3.3 and my RCP help system continues to work on OSX platform
>> but
>> breaks on Win32 with an error involving index.jsp. I noted the previous
>> thread about this, and my old help plugin requested Tomcat, etc. so I
>> changed this to only depend on org.eclipse.help.webapp and
>> org.eclipse.help.ui and I have my run configuration check for optional
>> dependencies. However, my error persists, and is an HTTP ERROR: 500
>> unable
>> to compile class for JSP, RequestURI=/help/index.jsp (and says powered by
>> Jetty, etc.)
>>
>> When I examine the plugins in the exported product, Tomcat is still
>> present,
>> which is disturbing since it is not checked off as a required plugin in
>> my
>> run configuration, and I wonder if this is part of my problem.
>>
>> Interestingly, if I select dynamic help, the entire system works inside
>> that
>> window, with full access to all content, etc. Just does not work when I
>> select "Help Contents" and an external browser is invoked.
>>
>> The documentation about Help continues to indicate the need to add the
>> larger number of plugin dependencies and I am working off the paper from
>> September by Goldthorpe and Archer.
>>
>> Thanks in advance for any help you might be able to provide.
>>
>> - Mike
>>
Previous Topic:How do I use bold text in cheat sheet item or subitem elements
Next Topic:Minimal Standalone Help error
Goto Forum:
  


Current Time: Wed Apr 24 21:18:40 GMT 2024

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

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

Back to the top