This discussion is archived
5 Replies Latest reply: Apr 30, 2011 10:13 AM by 854860 RSS

11g instanceconfig configuration tags

739288 Newbie
Currently Being Moderated
hello,

does anyone have a list of available configuration tags for instanceconfig.xml in 11g? in 10g i used a solution which depends on updateble session variable through GO URL.
(answers request is called with a URL parameter which sets the session variable within the request)

following tags were added in the 10g instanceconfig back then:

<Auth>
<UserIdPassword enabled="true">
<ParamList>
<Param name="NQ_SESSION.MEASURE" source="url" nameInSource="MEASURE"/>
</ParamList>
</UserIdPassword>
</Auth>

i'm looking for an equivalent in 11g (and preferably a list of all possible configuration tags, found them for 10g long time ago)

thanks,
steven

Edited by: user11206168 on Nov 20, 2010 9:15 AM
  • 1. Re: 11g instanceconfig configuration tags
    Kranthi.K Guru
    Currently Being Moderated
    Hi,

    You can add any tags in instanceconfig.ini files as per your requirement as in 10g it follows in 11g.
    Go to this path and change the instanceconfig file /<MW_HOME>/instances/instance1/config/OracleBIPresentationServicesComponent/coreapplication_obips1\instanceconfig.ini

    i would say apply the same tag you applied in 11g and start the services and check out and play around with it.

    Hope it helps you.Follow these etiquetes/rules http://forums.oracle.com/forums/ann.jspa?annID=939

    By,
    KK
  • 2. Re: 11g instanceconfig configuration tags
    739288 Newbie
    Currently Being Moderated
    hi,

    thanks for your answer.
    i copied the <auth> tag to a seperate file, literally instanceconfig.ini, enclosed it within the <webconfig> and <serverinstance> tags assuming you meant as a seperate file because adding the <auth> tag with its contents to the instanceconfig.xml results in errors starting the presentation service. I think <auth> is now <authentication> in the 11g instanceconfig for example.

    When i called the answers request with the GO url including the url setting parameter for session variable, the same dataset is being built every time (the session variable keeps its default value).
    i think the instanceconfig.ini file is omitted in general? the configuration of the session variable itself is no problem since i can change its value with the SQL prefix option in answers advanced tab..

    so still looking for a solution. is there any documentation on migrating instanceconfig to 11g?

    steven

    Edited by: user11206168 on Nov 24, 2010 4:16 AM
  • 3. Re: 11g instanceconfig configuration tags
    Kranthi.K Guru
    Currently Being Moderated
    Hi,

    Still dint research to that extent on what your saying,But will this blog help you check out
    http://shivabizint.wordpress.com/2010/11/04/tip-1export-bi-catalog-captions-from-command-line-in-obiee-11g/

    There is no such documentation migrating Config files from 10g to 11g.

    By,
    KK
  • 4. Re: 11g instanceconfig configuration tags
    712652 Newbie
    Currently Being Moderated
    Hi,

    I am not sure if this is the answer to your question. I was doing a POC where I needed to pass session variables through Go urls. I faced the same issue you mentioned above (Presentation services not coming up after modifying the instanceconfig.xml file).

    Below are the steps that I followed to get this to work. Am not sure , if this is the right way to do it or if there is any other issues that occurs if we do it using the method mentioned below.

    1) Go to authenticationschemas.xml file located at C:\<MW_HOME>\Oracle_BI1\bifoundation\web\display (there is 11gdocumentation about making changes to this file when integrating with some other application)
    2) Located the comment <!-- Group for HTTP POST login --> in this file
    3) Located the <AuthenticationSchemaGroup> under this comment

    4) There would be 3 xml tags as mentioned below. These are values that we usually pass as params in Go urls. Assumed that since we add the new session variable names in <Auth> tag in 10g, this might have translated to "type=auth" in 11g.

    <RequestVariable source="url" type="auth" nameInSource="NQUser" biVariableName="UID" options="trim" />
    <RequestVariable source="url" type="auth" nameInSource="NQPassword" biVariableName="PWD" options="secure"/>
    <RequestVariable source="url" type="proxyUserAuth" nameInSource="RUNAS" biVariableName="NQ_SESSION.RUNAS" />



    5) Add the new entries along with the above entries : Save the file

         <RequestVariable source="url" type="auth" nameInSource="SETVAR" biVariableName="NQ_SESSION.TEST_VAR"/>
         <RequestVariable source="url" type="auth" nameInSource="SETUSER" biVariableName="NQ_SESSION.TEST_USER"/>
    <RequestVariable source="url" type="auth" nameInSource="SETCOMP" biVariableName="NQ_SESSION.TEST_COMPANY"/>


    6) Restart the services. (I restared all my servers ..just to make sure ).

    7 ) Used the Go url in the format given below

    8)http://<Machinename>:<port>/analytics/saw.dll?Go&NQUser=<OBIEEUSER>c&NQPassword=<OBIEEPASSWORD>&Path=<REPORTPATH>&SETVAR=yYYY&SETUSER=ZZZZZZ&SETCOMP=xxxxxxxx

    Again, I have no idea if this how its supposed to be done, It just worked out when I was doing some trial and error.

    Hope it helps!!!

    Thanks
    sx
  • 5. Re: 11g instanceconfig configuration tags
    854860 Newbie
    Currently Being Moderated
    I am sorry but I followed this to the letter and it did not work in 11.1.1.3. Any other ideas?

    BTW - are you sure you didn't initialize the session variables with defaults that were the same as the values you were testing from the GoURL?

    Edited by: paul.oprea on 30-Apr-2011 10:12

Legend

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