1 Reply Latest reply: Jul 30, 2009 4:11 PM by 843810 RSS

    "Virtual Host/WebGroup Not Found" and "Could not parse" help set

    843810
      Hi! I'm new to using JavaHelp. I'm using WebSphere 5.1 server, and was looking to use the server based help with our web app. I recently downloaded version 2.0 and got the server-based help example working in a WebSphere project. I then "reorganized" the sample so that I could have almost everything in one folder. It took longer than I anticipated to fix all the broken paths - but it finally worked.

      I then moved the "help" folder I created in the other project over to our web app (adding the necessary jar and taglib) but I'm now getting errors. Our web app uses both Struts, Spring and Acegi security - whereas the project I built it in doesn't. The sample has a "welcome" page with links for two different help presentations, but when I try to access this (by adding a link to the initial page of our app) I'm getting the following error:
      Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /helpSets/helpSet0/helpSet0.hs has not been defined
      [7/29/09 8:35:06:774 EDT] 55e91adc WebGroup      E SRVE0026E: [Servlet Error]-[Could not parse
      Got an IOException (http://localhost:9080/helpSets/helpSet0/helpSet0.hs)
      Parsing failed for null
      Got an IOException (http://localhost:9080/LFVHelp/helpSets/helpSet0/helpSet0.hs)
      Parsing failed for null
      Got an IOException (http://localhost:9080/LFVHelp/helpSets/helpSet0/helpSet0.hs)
      Parsing failed for null
      Got an IOException (http://localhost:9080/helpSets/helpSet0/helpSet0.hs)
      Parsing failed for null]: java.lang.RuntimeException: Could not parse
      Got an IOException (http://localhost:9080/helpSets/helpSet0/helpSet0.hs)
      Parsing failed for null
      Got an IOException (http://localhost:9080/LFVHelp/helpSets/helpSet0/helpSet0.hs)
      Parsing failed for null
      Got an IOException (http://localhost:9080/LFVHelp/helpSets/helpSet0/helpSet0.hs)
      Parsing failed for null
      Got an IOException (http://localhost:9080/helpSets/helpSet0/helpSet0.hs)
      Parsing failed for null
      Here's how I placed the "help" folder in our app:
      WebContent
      |__Help
                |__HelpSets
                         |__helpSet1
                                    |_Pages (content)
                                    |_helpSet1.hs
                                    |_(index, map, TOC)
                         |__helpSet2
                                   |_ (same as above)
                |_test page.jsp
      Here's what's in the jsp I'm trying to display (this is really just modified from the sample server-based help app):
      <%@ taglib uri="/WEB-INF/jhlib.tld" prefix="jh" %>
      <jh:validate helpBroker="<%= helpBroker %>" helpSetName="helpSets/helpSet0/helpSet0.hs"/>
      <jh:validate merge="<%= true %>" helpSetName="helpSets/helpSet1/helpSet1.hs" helpBroker="<%= helpBroker %>" />
      <jh:validate merge="<%= true %>" helpSetName="helpSets/helpSet2/helpSet2.hs" helpBroker="<%= helpBroker %>" />
      If I comment out the
      <jh:validate  > tags, the page displays fine.
      . At first I thought this was an issue with the paths to the Help sets, but I've tried all sorts of things that "should" work, and nothing does. I pretty much have the same thing in the other project I made this in, so it seems like it's something specific to the configuration of this app.

      Does this have to do with "webgroup not found"? What could be causing this? I'm pretty sure it's not the help files themselves, because this is works perfectly in another app. I'm pretty sure it's not the paths to the helpsets. Would it have anything to do with Acegi security, or the file extension ".hs"?

      Any help is very much appreciated!

      --- Francis

      Edited by: FranPar on Jul 29, 2009 6:07 AM