Bug in OHW config.xml file

Hi Team,
I am using a master helpset file that refers to multiple <subhelpset>s.
This works fine in OracleHelp for Java, but is broken when I display the same files in Oracle Help for the Web.
In my owhConfig.xml file, I point to the master helpset file:
+ the combined TOC shows up fine.
+ the combined Index shows up fine.
But none of the links work because the *MAP.xml files are not being read correctly.
Why are the TOC.xml files and the INDEX.xml files detected and read into memory, but the *MAP.xml files are not? The only way to fix it is to list every single help set (that is already specified in my master helpset) a second time in the ohwConfig.xml file.
Can this bug be fixed?
Thanks for the help with this,
Wendy Studinski

Hi Wendy,
I suspect the MAP files are being read correctly (OHJ and OHW use the same code to process a helpset). What I suspect is going on is that you need to specify some contentLocations in your ohw-config.xml file.
For security reasons, we require that you explicitly list contentLocations in your ohw-config.xml file. We automatically assume that the directory that contains a helpset file listed in ohw-config.xml is a valid content location, but we don't extend this to subhelpsets (if they are in a different directory than the master helpset then the contentLocation needs to be explicitly defined).
If there is a link to a file outside of list of contentLocations that OHW knows about, then OHW will not serve up that file, which in most cases appears like a broken link.
You can read about contentLocations in the Oracle Help Guide. If I guessed wrong, and it is not a contentLocation issue then just let us know and we'll take it from there....

Similar Messages

  • Bug in faces-config.xml parser?

    According to the spec, the FactoryFinder is supposed to call the one-arg constructor taking the Abstract factory. For instance, I have this factory class:
    public class ExtendedLifecycleFactory extends LifecycleFactory {
      public ExtendedLifecycleFactory(LifecycleFactory base) {
        // this is supposed to be called by the FactoryFinder
      public ExtendedLifecycleFactory() {
        // this is not
    }And I have the following definition in my faces-config.xml:
    <faces-config>
      <factory>
        <lifecycle-factory>com.foo.ExtendedLifecycleFactory</lifecycle-factory>
      </factory>
    </faces-config>For some reason, my one-arg constructor isn't being called.
    According to the FactoryFinder source, it appears that it maintains an internal list of all of the factories of a given type passed to it via the setFactory() method. Then, it starts at the last entry in the list (which should be the default implementation) and iterates through to the first one passing the previous implementation to each one in the iteration. Here is pseudo-code:
    Factory prev = list.get(list.size() - 1);
    for (int i = list.size() - 2; i >= 0; i--) {
      prev = callOneArgFirstAndNoArgSecond(list.get(i), prev);
    return prev;When I debugged the FactoryFinder, it appears that the parser for the faces-config.xml file never calls FactoryFinder.setFactory() with the default implementation. It seems that this is a bug since the JSF 1.0 spec lists this as the last step in finding a factory for the faces application.
    Am I correct in this assumption?
    I'm hoping Craig will answer this one as I've thoroughly done my homework! :-)

    Hello,
    Yes, you are correct, this was a problem with the 1.0 RI and has been corrected.
    This fix will be made available with the next release.

  • ASC 2.0 ant - does not load compiler constants from config.xml files

    Constants added to the mxmlc task with a config xml file do not work.
    Below, the CONFIG::debug and CONFIG::release constants will compile, but the one defined in the config-common.xml file (CONFIG::pi) does not.
    Portion of an ant macro:
    <mxmlc
    file="@{source.dir}/@{source.file}"
    output="@{output.dir}/@{project.name}.@{output.extension}"
    debug="@{debug}"
    target-player="@{target-player}"
    accessible="@{accessible}"
    use-network="@{use-network}"
    swf-version="@{swf.version}"
    inline="@{inline}"
    default-frame-rate="@{frameRate}"
    >
    <default-size width="@{width}" height="@{height}" />
    <source-path path-element="@{source.dir}" />
    <define name="CONFIG::debug" value="@{debug}"/>
    <define name="CONFIG::release" value="!CONFIG::debug"/>
    <load-config filename="config-common.xml" />
    <load-config filename="config-as-beta.xml" />
    <load-config filename="@{load-config}" />
    <arguments />
    </mxmlc>
    contents of config-common.xml:
    <flex-config>
    <compiler>
    <define append="true">
    <name>CONFIG::pi</name>
    <value>3.1415926535897932384626433832795</value>
    </define>
    </compiler>
    </flex-config>
    Compiling a ".as" file with something something like "trace(CONFIG::pi);" will result in "Error: Can not resolve config constant: 'pi'" with the ant macro.
    Using the Flash Builder 4.7 compiler with "Addition compiler arguments" set to "-define+=CONFIG::debug,true -define+=CONFIG::release,false -load-config+=config-common.xml -inline" does not produce the error. 

    I'm not sure I added the bug to the right place anymore.  It's been added to bugbase.adobe.com under AIR 3.4, but  I'm not sure if that covers the actionscript compiler 2 or not because I found another bug tracker at bugs.adobe.com.  The actual bug is here: https://bugbase.adobe.com/index.cfm?event=bug&id=3339017
    Does anyone know where to post bugs for the actionscript compiler 2.0?

  • Can i make more than one faces-config.xml file ?

    Can i make more than one faces-config.xml file under one project or application, if yes than how it will link.

    Just that you know,
    In the second week of july I was taking the Jdeveloper/Jheadstart course at Oracle Netherlands. During that course we were asked to split the faces-config. After splitting it, we were not able to find the navigation rules that were defined in the first faces-config in the web.xml. The Jdeveloper IDE was confused........
    However, we were able to use the navigation rules (type in manualy) and that worked in the application.
    I talked about it with Steven Davelaar and he thought it might be a bug. I don't know if it's reported, and I don't know if it's fixed.
    So, if you get confused.... it works, but Jdeveloper might have some problems with it.
    Luc Bors

  • "Error at Open" sturts-config.xml File

    Hi,
    I have totally “using JDG and the JAG” convert an oracle designer modules “that uses the CDM Rule frame” using the JHeadstart 10g under JDeveloper 10g.
    The generation was successful and there was no errors the runtime of the generated application.
    After that I have opened the struts-config.xml file, I hade an error messages showing that the all pages could not be found and all the Actions has “!NLS Error” message.
    I have looked over these “could not be found” pages and I didn’t find any of them in the hard disk “they have not been generated at all”.
    How can I open the struts-config.xml file and update it?
    Thanks

    Ibrahim,
    From the JHeadstart 9.0.5 installation guide:
    We have to disable the Struts Page Flow Diagram of JDeveloper 10 g, because it is currently unable to handle the kind of struts-config files that are created by JHeadstart (bug 3607211). See Suppressing the Struts Page Flow Diagram on OTN (http://www.oracle.com/technology/products/jdev/tips/mills/struts_diagram.html) for information how to do that.
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • How to specify the webLogic server startup script to use different config.xml  file ??

    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

    I guess you're using Weblogic 6.1 with WLCS 3.5. I think you're supposed to work with one config.xml for the same domain, and not have a different config.xml.
    To start up different applications or EJBs, use the "target" property to control which applications to start up for the particular instance.
    YY

  • Trying to dynamically load CSS for project at compile time via config XML file to select CSS file.

    I'm using the same code base to compile different versions of a project. Each project has different base fonts. I've created multiple css files that use the same style names. The idea being that in the code I reference the style names, then the loaded CSS determines which font (and size, color, etc) is used for each style name.
    The CSS files are compiling to SWFs, and those SWFs are referenced in config.xml files. Before compiling, I select the config file to use.
    I am loading the CSS SWF files via the StyleManager in the Application.mxml, like so:
      styleManager.loadStyleDeclarations( _contentData.elements( 'cssPath' ).@path )
    The path traces out correctly as:
    assets_embed/styles/project2.swf
    For some reasone I must include an fx:Style line in the Application.mxml file or no fonts are recognized. Example:
      <fx:Style source="assets_embed/styles/project1.css"/>
    If I reference the css for project one (as done above) then most, but not all, styles work. Some styles reference the fonts from the project 1 css, others properly use fonts from project 2 swf. If I point to the CSS for the project I'm compiling in the <fx:Style > tag then all fonts work, but that defeats the goal of using XML rather than code to identify the styles.
    So, why do I need the fx:Style line if the css is being loaded via StyleManager?
    Why is there "cross talk" between style definitions?
    Is there a better way to select styles at compile time?

    I read this quickly so I might have missed a detail.  I think your describing an issue with recent Flex releases that is described in the fine print somewhere.  If you don't have any fonts embedded in the main app and are only bringing in fonts embedded in CSS SWFs, you have to force-link the EmbeddedFontRegistry by adding something like this to the main app's script block.
    import mx.core.EmbeddedFontRegistry; EmbeddedFontRegistry;
    (Yes, "EmbeddedFontRegistry" is in there twice, once to define the fully qualified name, the other to create a class dependency to force the linking).

  • Issue with faces-config.xml file

    Hi,
    I'm working on a project which needs more no. of JSF Pages and JSF Navigations,
    But when i trying to creat pages more than 25 pages,the process becoming too slow,does this
    effects the Application performance?Can any one suggest me why it happens and what are the
    limitations for creating the JSF pages.
    Does their any alternative to solve this Issue,I'm thing to create more faces-config.xml files as the
    Jsf pages increases,does this solves?
    Please suggest me.
    Thank you,
    Bandaru,

    Hi Bandaru,
    Are you trying to use the visual diagram option of faces-config? Coz i encountered difficulties when using it with many pages (more than 40) and the faces-config.oxd_faces was no longer able to support the diagram. "Solution" was to use only the overview and the sources of the faces-config. I don't know exactly but my problems were caused by the faces-config.oxd_faces and i don't think it affects performances for the application.
    For information, that was on a Jdev 10.1.3.0.4
    Regards,
    Tif

  • Reference faces-config.xml file from java code.

    I would like to reference the navigation rules I have set up in my faces-config.xml file from inside my source code.
    For example:
    Navigation Rule:
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>pricingEngine</from-outcome>
    <to-view-id>/faces/template/t_pricing_engine.jsf</to-view-id>
    <redirect/>
    </navigation-case>
    </navigation-rule>
    I would like do some sort of lookup by 'pricingEngine' and get '/faces/template/t_pricing_engine.jsf' back.
    Any ideas?

    I would like to reference the navigation rules I have set up in my faces-config.xml file from inside my source code.
    For example:
    Navigation Rule:
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>pricingEngine</from-outcome>
    <to-view-id>/faces/template/t_pricing_engine.jsf</to-view-id>
    <redirect/>
    </navigation-case>
    </navigation-rule>
    I would like do some sort of lookup by 'pricingEngine' and get '/faces/template/t_pricing_engine.jsf' back.
    Any ideas?

  • Jabber-config.xml file, settings do not apply

    hi
    as i have a very simple setup i never used a jabber-config.xml file but as i have some display name issues and i thought it would be good to set some other settings as well i created a file but for some reason the settings do not seem to stick (do not show picture, docked window top right, presence server type
    in internet explorer and notepad the file looks fine but when i paste it in here there seem to be line breaks.
    below is my file
    <?xml version="1.0" encoding="utf-8"?>
    <config version="1.0">
    <Presence>
       <PresenceServerType>CUP</PresenceServerType>
    </Presence>
    <Directory>
       <DirectoryServerType>EDI</DirectoryServerType>
       <ConnectionType>0</ConnectionType>
       <PrimaryServerName>uk-dc2.domain.com</PrimaryServerName>
       <ServerPort1>3268</ServerPort1>
       <SecondaryServerName>uk-dc1.domain.com</SecondaryServerName>
       <ServerPort2>3268</ServerPort2>
       <UseWindowsCredentials>1</UseWindowsCredentials>
       <UseSSL>0</UseSSL>
       <UseSecureConnection>0</UseSecureConnection>
       <CommonName>cn</CommonName>
       <DisplayName>displayName</DisplayName>
       <FirstName>givenName</FirstName>
       <LastName>sn</LastName>
       <EmailAddress>mail</EmailAddress>
       <SipUri>msRTCSIP-PrimaryUserAddress</SipUri>
       <PhotoSource>thumbnailPhoto</PhotoSource>
       <BusinessPhone>telephoneNumber</BusinessPhone>
       <MobilePhone>mobile</MobilePhone>
       <HomePhone>homePhone</HomePhone>
       <OtherPhone>otherTelephone</OtherPhone>
       <Title>title</Title>
       <CompanyName>company</CompanyName>
       <UserAccountName>sAMAccountName</UserAccountName>
       <DomainName>userPrincipalName</DomainName>
       <Location>co</Location>
       <Nickname>Nickname</Nickname>
       <PostalCode>postalCode</PostalCode>
       <City>l</City>
       <State>st</State>
       <StreetAddress>streetAddress</StreetAddress>
       <BaseFilter>(&amp;(objectCategory=person))</BaseFilter>
       <PredictiveSearchFilter>anr=</PredictiveSearchFilter>
       <DisableSecondaryNumberLookups>0</DisableSecondaryNumberLookups>
       <SearchTimeout>5</SearchTimeout>
       <UseWildcards>1</UseWildcards>
       <MinimumCharacterQuery>3</MinimumCharacterQuery>
       <SearchBase1>ou=domain Users,dc=domain,dc=com</SearchBase1>
       <PhotoUriSubstitutionEnabled>false</PhotoUriSubstitutionEnabled>
       <UseSIPURIToResolveContacts>false</UseSIPURIToResolveContacts>
    </Directory>
    <Policies>
       <Screen_Capture_Enabled>true</Screen_Capture_Enabled>
       <File_Transfer_Enabled>true</File_Transfer_Enabled>
       <EnableVideo>false</EnableVideo>
       <InitialPhoneSelection>deskphone</InitialPhoneSelection>
       <UserDefinedRemoteDestinations>false</UserDefinedRemoteDestinations>
       <enableLocalAddressBookSearch>true</enableLocalAddressBookSearch>
       <EnableAccessoriesManager>false</EnableAccessoriesManager>
       <ForceFontSmoothing>true</ForceFontSmoothing>
    </Policies>
    <Options>
       <Set_Status_Away_On_Inactive>true</Set_Status_Away_On_Inactive>
       <Set_Status_Inactive_Timeout>15</Set_Status_Inactive_Timeout>
       <Set_Status_Away_On_Lock_OS>true</Set_Status_Away_On_Lock_OS>
       <StartCallWithVideo>false</StartCallWithVideo>
       <Start_Client_On_Start_OS>true</Start_Client_On_Start_OS>
       <AllowUserCustomTabs>false</AllowUserCustomTabs>
       <ShowContactPictures>false</ShowContactPictures>
       <ShowOfflineContacts>true</ShowOfflineContacts>
       <DockedWindowVisible>true</DockedWindowVisible>
       <DockedWindowPosition>TopRight</DockedWindowPosition>
    </Options>
    </config>

    when a user logs in for the first time and then exits jabber and logsin again the contact pictures are now no longer showing so those setttings seems to stick on the 2nd login
    but not the docked window setting for instance

  • Error message in adf-faces-config.xml file in myEclipse

    hello,
    i'm trying to customize appearance of my JSF/ADF Faces app (which worked fine until now), and tried to insert a adf-faces-config.xml file in my WEB-INF directory, this is it (copied from a tutorial) :
    <?xml version="1.0"?>
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <!-- Enable debug output -->
    <debug-output>true</debug-output>
    <!-- Pick accessibility options based on a per-user managed bean -->
    <accessibility-mode>#{user.accessibilityMode}</accessibility-mode>
    <!-- A silly use of EL: English users get one appearance, -->
    <!-- others get another -->
    <skin-family>
    #{view.locale.language=='en' ? 'minimal' : 'oracle'}
    </skin-family>
    </adf-faces-config>
    after saving the file (in myEclipse) i get the following error message on the second line :
    cvc-elt.1 : Cannot find the declaration of element 'adf-faces-config'
    what does that mean and what should i do ?
    thx...

    hello,
    i'm trying to customize appearance of my JSF/ADF
    Faces app (which worked fine until now), and tried to
    insert a adf-faces-config.xml file in my WEB-INF
    directory, this is it (copied from a tutorial) :
    <?xml version="1.0"?>
    <adf-faces-config
    xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <!-- Enable debug output -->
    <debug-output>true</debug-output>
    <!-- Pick accessibility options based on a per-user
    managed bean -->
    <accessibility-mode>#{user.accessibilityMode}</accessi
    bility-mode>
    <!-- A silly use of EL: English users get one
    appearance, -->
    <!-- others get another -->
    <skin-family>
    #{view.locale.language=='en' ? 'minimal' : 'oracle'}
    </skin-family>
    </adf-faces-config>
    after saving the file (in myEclipse) i get the
    following error message on the second line :
    cvc-elt.1 : Cannot find the declaration of element
    'adf-faces-config'
    what does that mean and what should i do ?
    thx...Hello again,
    i'm still stuck with this, could somebody PLEASE give me a hint ?
    thx,
    dom.

  • Where can I find the config.xml file for my Edge project?

    Or is that a nonsensical question?
    Basically, I am producing a very simple iPad app using Edge and PhoneGap Build. It's all good to go apart from the orientation - I want to be able to lock it to portrait. On researching, it appears that I need to specify the web build/app as portrait in the config.xml file - so where would I find this?
    Thanks!

    I am not familiar with the phonegap process but I suspect the file you should be attempting to modify is called manifest.xml.
    Example, see someone else's solution posted here. jQuery Mobile lock orientation - Stack Overflow
    hth
    Darrell

  • No route to host:connect -- error in the struts-config.xml file

    hi all,
    acutally am doing a struts application in that i have written everything properly
    but getting this kinda no route to host:connect error
    my struts-config.xml file is like this...
    <struts-config>
    <form-beans>
    <form-bean name="myForm" type="MyForm">
    </form-beans>
    <action-mappings>
    <action path="/action"
                   name="myForm"
                   type="MyAction"
                   scope="request"
                   validate="true" >
                   <forward name="success" path="/success.jsp" />
                   <forward name="failure" path="/failure.jsp" />
         </action>
    </action-mappings>
    </struts-config>
    sikandar 

    Hi Lee,
    I am working on Oracle ADF 10.1.2 and getting the same problem. The lines in my struts-config.xml are as below:
    <action path="/unitsView" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsViewAction" name="DataForm" parameter="/unitsView.uix" unknown="false">
    <set-property property="modelReference" value="unitsViewUIModel"/>
    <forward name="unitsEditLink" path="/unitsEdit.do"/>
    </action>
    <action path="/unitsView" className="oracle.adf.controller.struts.actions.DataActionMapping" type="view.UnitsViewAction" name="DataForm" parameter="/unitsView.uix" unknown="false">
    <set-property property="modelReference" value="unitsViewUIModel"/>
    <forward name="unitsCreateLink" path="/unitsCreate.do"/>
    </action>
    I have two lines with [action path="/unitsView"]. The reason why is that I want the user to go to the form create screen for the create button and form edit screen for the edit button. If this does not work, it seems to mean that only a single screen can be used for create/edit functions. However, the ADF editor diagram looks perfectly to point to create.uix and edit.uix respectively.
    Please shed some light.
    Thanks,
    Regards,
    Michael

  • More than one struts-config.xml files in one project

    Hi all
    Can we have more than one struts-config.xml files in one project developed using struts.
    If so what is purpose and how to do this.
    Anybody please explain on this topic.
    Thanks
    Parvathy

    Hi all
    Can we have more than one struts-config.xml files in
    one project developed using struts.
    yes it is possible
    If so what is purpose and how to do this.
    it is use for odular application so developer won't share a single configureation file.. as you know struts-config.xml is defined on the web.xml
    like this:
    <servlet>
    <servlet-name>mybank</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet
    </servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>config/module1</param-name>
    <param-value>
    /WEB-INF/struts-module1-config.xml
    </param-value>
    </init-param>
    </servlet>

  • The Managed Bean in the faces-config.xml File

    I am still very new to JSF. I am confused about the managed bean.
    For example, I have a button in my web page. A click on this button invokes an action; say, ListAction.java.
    In this ListAction class, I instantiate a business delegate; say, ListPersonnel.java and call a method in this business delegate to return an ArrayList: personnel. Of course, this business delegate goes through facade, DAO, etc. to populate the ArrayList. This ArrayList is a collecation of a JavaBean called PersonnelBean that gets and sets a number of personnel information; such as ssn, name, etc.
    Upon this ArrayList is successfully populated and received by the ListAction class, I am going to display a web page with a table. In JSF, it is <h:dataTable ...>.
    My questions are regarding the managed bean in the faces-config.xml file.
    1. Which one is my <managed-bean-class>? packageName.ListAction? or packageName.PersonnelBean? or something else?
    2. What should be my <managed-bean-name>? I guess that I can give a name I like. Is it right? What about xyz?
    3. Then, how do I specify the "value" attribute of my <h:dataTable ...> tag when I display a web page to show the data table? Is it correct to specify value="#{xyz.personnel}"? What is the correct specification if it is wrong?
    4. I guess that I can give any name to the "var" attribute in the <h:dataTable ...> tag. Is it right?

    1. Which one is my <managed-bean-class>?
    packageName.ListAction? or
    packageName.PersonnelBean? or something else?ListAction
    2. What should be my <managed-bean-name>? I guess
    that I can give a name I like. Is it right? What
    about xyz?Anything you like. xyz is OK.
    3. Then, how do I specify the "value" attribute of my
    <h:dataTable ...> tag when I display a web page to
    show the data table? Is it correct to specify
    value="#{xyz.personnel}"? What is the correct
    specification if it is wrong?xyz.personnel is OK assuming that ListAction class has a public
    method getPersonnel() which returns the ArrayList of PersonnellBeans.
    4. I guess that I can give any name to the "var"
    attribute in the <h:dataTable ...> tag. Is it right?Yes, you can give any name you like.

Maybe you are looking for

  • How to change the text in the legend of a graph programmat​ically in labview

    I have many graphs in one plot and want to show the legend the name of the graph (i.e. the filename). How do I change the text in the legend programmatically?

  • New ALV field is not displaying

    Hi I have added the currency field in the existing ALV report. The final internal table having the currency field and it has value. Curreny field is not displaying in output. Pls help Below is my ALV code for currency. PERFORM FILL_FIELDCAT USING 'WA

  • Any way to find unused ports in Prime LMS 4.2.3 ?

    Hi all, We have just installed Prime LMS 4.2.3 (about a week ago), and it is pretty much working as expected, except for one thing - I cannot get any data back from the reclaim ports report. I have tried both the Ports Up and Ports Down options, and

  • Problem with transferring garageband track from iPad2 to macbook

    Hello, I have a problem with transferring track from Garage band 2.0 on iPad2 to a new macbook pro (oct2013). I saved a track on macbook via iTunes but when i`m trying to open it on Garageband it shows an error. I have updated all soft recently. So i

  • Solaris 10 ip address of outgoing packets on logical interfaces

    Hi there. I have a Sun here with Solaris 10 and one physical interface e0 and one logical interface on it e0:1. e0 has address 1.2.3.4 e0:1 has address 1.2.3.5 gateway is 1.2.3.254 To every ip address I bind a sendmail deamon. For incoming connection