Eclipse Infocenter Help as Web App

For all the effort that appears to have gone into allowing the Eclipse Help “Infocenter” to run as a deployed web application, the documentation is not great, and more importantly – why isn’t there a download thats “ready to go”?  This is something that’s bothered me for sometime now.

For the impatient, you can skip the rest of this, and just download a WAR from my Google Docs account at Just expand the WAR and add your help plugin(s) to the WEB-INF/plugins/ directory.  Make sure that your plugins to not depend on anything other than the Eclipse Help bundles and you should be fine.  I’ve noticed while preparing this, that a number of help plugins/bundles actually declare the same dependencies as the plugin they document, thus making running standalone impossible as the OGSi container will refuse to activate them.  Hopefully someone will take over hosting this WAR for me, it would be great if made it available for download as part of their normal release schedule, but that’s asking for a lot.

Anyway, in case its useful to others, or I need to reference this in the future, here’s what I had to do to get this WAR file running.

First, I google’d the issue; I found a smallish number of blogs already out there, and the offical documentation (e.g.  Warning: Many of the blogs are for an older version of the runtime, and will instruct you to place files under WEB-INF/eclipse, this is incorrect and will result in the web-app failing to start.  The instructions in the Eclipse help are correct.

From the instructions:

  1. This is correct enough, although you don’t really have to use a temporary directory, I just extracted the plugin JAR directly to my local development install of Tomcat to facilitate testing, e.g. to %TOMCAT_HOME%/webapps/help
  2. Note that you’ll need Eclipse Plugin Development Kit for this.  I also ran into a problem with using my install as my target platform, some issue with the JUnit addon for PDE, so I had to define a platform and exclude the JUnit plugin, not a big deal, but an extra step.
  3. Note that this step assumes you extracted the “temporary” directory referenced at the start as “webapps/help”
  4. Again, not that if you copy help plugins which declare extra, usually unneeded, dependencies, the help system will start, but will exclude those help plugins.  You can edit the WEB-INF/web.xml to add the -console option so that you can access the OSGi console and get some diagnostic information on why the plugins aren’t started (it isn’t logged to the Tomcat log files).
  5. Downloads of the ServletBridge.  I haven’t experimented, but I placed both files into my webapps/help/WEB-INF/plugin, and then also copied the org.eclipse.equinox.servletbridge to my WEB-INF/lib directory.  This seemed to work fine.
  6. Note that previous versions of the instructions tell you to “extact the servletbridge.jar” form the plugin jar, this is no longer correct.
  7. No other variations/extra information should be needed.

Comments and addition information are welcome.  I hope this helps others, and maybe someone can eventually get the Standalone Infocenter WAR added as a standard part of the Eclipse release builds.

Print Friendly
This entry was posted in Technology
Bookmark the permalink.
Post a comment or leave a trackback: Trackback URL.


  1. Posted March 3, 2011 at 9:59 am | Permalink

    I’m building an eclipse infocenter help application and your WAR file has helped quite a bit! Thanks for the post. Next, I’m trying to use the customization features to extend the help app as described in the eclispe documentation ->
    However, I’m having issues getting the plugin_configuration.xml instructions to be invoked. Have you tried that? Do you have an eclipse project with examples of that?

  2. Keith Arnett
    Posted May 13, 2011 at 3:59 pm | Permalink

    @ Don Adkins: That’s a good question, I’d like to know, too. I have set up a standard Infocenter with customizations (overrides for home_page.html, banner.jpg, etc.) and all customization worked as expected.

    I successfully created a web archive folder and deployed it the Tomcat 5.5.25. The URL http://localhost:8080/warfileName/index.jsp reveals the infocenter UI as expected — but with no customization.

    I’ve scoured the internet for clues and tried every config permutation I can think of, but I cannot get it to pick up the plugin_customization.ini file. If anyone out there has any advice, it would be most welcome.

  3. Keith Arnett
    Posted May 13, 2011 at 5:19 pm | Permalink

    Well, Eureka. I finally figured it out. The config.ini file in your web archive (e.g. warFilename\WEB-INF\configuration\config.ini) is, apparently, completely ignored. The config.ini file you want to work with (in Tomcat, anyway) is:

    I built the Infocenter web archive following the instructions in the Eclipse (Helios) help and it worked straightaway, except for the customization issue. After I finally figured out which config.ini file to use, I set eclipse.product=pluginName.helpProduct. Everything fell into place then.

    I was finally tipped off by examining the .log file in installDIR\\work\Catalina\localhost\warFileName\eclipse\workspace\.metadata\.log

    It was reporting “Product org.eclipse.productname could not be found.”, indicating that the default value in some config.ini file was being used.

    This second location is referred to in the note at the end of the Eclipse Help instructions, but if you don’t read carefully (like me) you’ll end up editing the wrong file.

One Trackback

  1. [...] This post was mentioned on Twitter by Ryan's blogroll, eLearning Learning. eLearning Learning said: Eclipse Infocenter Help as Web App [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">