Problem with RCP help [message #462295] |
Thu, 25 January 2007 21:45 |
Eclipse User |
|
|
|
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 #462320 is a reply to message #462298] |
Fri, 26 January 2007 17:48 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03762 seconds