This discussion is archived
1 Reply Latest reply: Dec 26, 2012 10:41 PM by Arunkumar Ramamoorthy RSS

Integrating OHW RC with ADF application 11.1.2.1.0

943099 Newbie
Currently Being Moderated
Hi,

I have created OHW Rc application for my project which is deployed as a standalone server. In the consuming application I have created a Help project where I copy the helpsets. This consuming consist of multiple projects. The main project is different than the help project. adf-setting is at application level (.adf --> META_INF) where I have made entry for ohwconfigURL as below,

<help-provider>
<help-provider-class>oracle.help.web.rich.helpProvider.OHWHelpProvider</help-provider-class>
<property>
<property-name>ohwConfigFileURL</property-name>
<value>/helpsets/ohwconfig.xml</value>
</property>
<property>
<property-name>baseURI</property-name>
<value>http://localhost:7101/ohw-rc-thin/help/</value>
</property>
</help-provider>


But when I run my consuming application, I get below error,
[1160:1988:1224/203625:ERROR:layout.cc(160)] NOT IMPLEMENTED
<OHWHelpProvider> <getHelpTopic> critical error in OHW configuration
oracle.help.web.config.parser.ConfigParseException: error finding configuration file at:
     at oracle.help.web.config.parser.OHWParser._openConnection(Unknown Source)
     at oracle.help.web.config.parser.OHWParser.getGlobalConfiguration(Unknown Source)
     at oracle.help.web.rich.helpProvider.OHWHelpProvider.getHelpTopic(Unknown Source)
     at oracle.adfinternal.view.faces.application.HelpProviderImpl.getHelpTopic(HelpProviderImpl.java:100)
     at oracle.adf.view.rich.render.RichRenderer.renderHelpIcon(RichRenderer.java:429)
     at oracle.adfinternal.view.faces.renderkit.rich.PanelWindowRenderer.encodeAll(PanelWindowRenderer.java:415)
     at oracle.adfinternal.view.faces.renderkit.rich.DialogRenderer.encodeAll(DialogRenderer.java:143)
     ......
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<OHWHelpProvider> <getHelpTopic> unable to create global configuration
Source breakpoint: HelpProviderImpl.java:100


After debugging a while, I found that if I copy the helpsets under my main project public_html, it works fine. But if I copy the helpsets in a Help project and put it as a dependency in mainProject as jar, it gives me error as above.
If I change the path for ohwConfigFileURL in adf-settings as below, I get some Parser saying "<HelpXmlPullParser init could not resolve entity named =hp.3...50771.50771.1.51801.1.1.0.0.0.0.0.0..0.0.les%3B..0.0...1c.1._YTQRnuvEK8&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.1355534169,d.cGE&fp=caa195858c661cb6&bpcl=40096503&biw=1600&bih=799......

expecting helpconfiguration. Finding html",


Is there anything wrong I am doing? Is it mandatory to copy helpsets in the application-root -> public_html. Can I achieve it by copying it in a separate projCect and add its dependency on the main project of consuming application? an some one please help me? Its little urgent.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points