Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem with RCP help
Problem with RCP help [message #462295] Thu, 25 January 2007 21:45 Go to next message
Eclipse UserFriend
Originally posted by: dpierre.fnfr.com

I tried to integrate eclipse help into an RCP application. I created a
separate plugin for the help and I packaged the plugin with the RCP app.
I added the required plugins to the feature.xml like tomcat, webapp etc.
(7 in total).
When I launch the application within my workspace the HTML help files
show up fine. However, when I build the application and run it
separately (where the plugins are all jars), I get an HTTP 404 file not
found when I try to access the help.

Any Ideas

thx
Re: Problem with RCP help [message #462298 is a reply to message #462295] Fri, 26 January 2007 00:22 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Anything in the workspace/.metadata/.log file?

And when you say 'all jars', you're not Jar-ing up the tomcat server are you? IIRC the help webapp doesn't work as a Jar'd resource. If you're Jar'ing that, I'd expect you to see .log messages saying the help server doesn't start ... which would give you a network failure when connecting to the server.

Incidentally, this is because the tomcat server uses File() to obtain stuff like configuration files etc. I believe that if Tomcat were changed to use getResource() etc. then it would work as a webapp. There's also a proposal to use Jetty instead of Tomcat for the help server; that might suffer from the same problem or it might help this; in any case, you might want to Cc: yourself to 'jetty' related bugs at https://bugs.eclipse.org

Alex.
Re: Problem with RCP help [message #462314 is a reply to message #462295] Fri, 26 January 2007 15:20 Go to previous messageGo to next message
Arne is currently offline ArneFriend
Messages: 4
Registered: July 2009
Junior Member
I had exactly the same problem today. It cost me a couple of hours to solve it. I had to check the 'Unpack the plug-in archive after the installation' option of both the tomcat and webapp plug-in in your feature.xml. That's all..
Re: Problem with RCP help [message #462320 is a reply to message #462298] Fri, 26 January 2007 17:48 Go to previous message
Eclipse UserFriend
Originally posted by: dpierre.fnfr.com

Alex Blewitt wrote:
> Anything in the workspace/.metadata/.log file?
>
> And when you say 'all jars', you're not Jar-ing up the tomcat server are you? IIRC the help webapp doesn't work as a Jar'd resource. If you're Jar'ing that, I'd expect you to see .log messages saying the help server doesn't start ... which would give you a network failure when connecting to the server.
>
> Incidentally, this is because the tomcat server uses File() to obtain stuff like configuration files etc. I believe that if Tomcat were changed to use getResource() etc. then it would work as a webapp. There's also a proposal to use Jetty instead of Tomcat for the help server; that might suffer from the same problem or it might help this; in any case, you might want to Cc: yourself to 'jetty' related bugs at https://bugs.eclipse.org
>
> Alex.

Thanks for the help. Arne figured out the problem for me. I just needed
to also unpack the help.webapp plugin along with the tomcat. Now it works

thx
Previous Topic:Need help with product configuration
Next Topic:image question
Goto Forum:
  


Current Time: Mon Sep 09 11:55:25 GMT 2024

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

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

Back to the top