Issue of OBIEE Mapviewer integration

Hi guys!

I joined MapViewer map with OBI EE. Everything works fine, but there is also an annoying thing. Card only works if the report has two columns... If I add a column more it suddenly crashes... I don't know much about javascript, but there are 2 columns in the file jsp hard...

Here's the jsp file
<%@ page language="java" session="true" isThreadSafe="true" contentType="text/html; charset=UTF-8" %>

<%@ page import="javax.xml.parsers.*"%>
<%@ page import="java.net.*"%>
<%@ page import="java.io.*"%>
<%@ page import="org.w3c.dom.*"%>

<%
//set the character encoding to UTF-8 prior to accessing
//data in the request
request.setCharacterEncoding("UTF-8");
%>

<%
    // RETRIEVE THE QUERY STRING PARAMETERS

    String userName = request.getParameter("uid");
    String userPassword = request.getParameter("password");
    String thesid = request.getParameter("sid");
    String nq_id = request.getParameter("nqid");

    if (userName == null) {
         userName = "Administrator";
    }
    if (userPassword == null) {
         userPassword = "Administrator";
    }

       Document domDoc = null;
       
       String fieldName = null;     

       String urlString = "http://" + request.getRemoteHost() + ":9704/analytics/saw.dll?Go&searchid=" + thesid + "&format=xml&NQId=" + nq_id;
       
       if (thesid != null) {

          DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
          DocumentBuilder db = dbf.newDocumentBuilder();
          
          URL url = new URL(urlString);
       
          URLConnection URLconnection = url.openConnection();
          HttpURLConnection httpConnection = (HttpURLConnection)URLconnection;
           
          int responseCode = httpConnection.getResponseCode();

          if ( responseCode == HttpURLConnection.HTTP_OK) {
                InputStream in = httpConnection.getInputStream();
                System.out.println("thesid= " + thesid);
                System.out.println("nq_id=" + nq_id);
                System.out.println("server host=" + request.getRemoteHost());
                System.out.println("server addr=" + request.getRemoteAddr());
          domDoc = db.parse(in);
             } else {
              System.out.println( "HTTP connection response != HTTP_OK" );
             }

        out.println("<nsdp_xml>");
        out.println("<table>");

        //Iterate through metadata object and create the ndsp_xml header
        NodeList rowDef = domDoc.getElementsByTagName("element");
        
        out.println("<tr>");
        out.println("<th>Column 1</th><th>Column 2</th>");
        out.println("</tr>");
        
        //Iterate through rows & items and create the ndsp_xml body
        NodeList rows = domDoc.getElementsByTagName("R");
                
          if (rows != null) {
               for (int i = 0; i < rows.getLength(); i++) {
                    out.println("<tr>");
                    
                    Node row = rows.item(i);
                    if (row == null || row.getNodeType() == Node.TEXT_NODE) {
                         continue;
                    }
                    NodeList items = row.getChildNodes();
                    if (items == null) {
                         continue;
                    }
                    
                    for (int y = 0; y < 5; y++) {
                         Node item = items.item(y);
                         if (item == null || item.getChildNodes() == null)
                              continue;
                         if (item.getChildNodes() == null
                                   || item.getChildNodes().item(0) == null
                                   || item.getNodeType() == Node.TEXT_NODE)
                              continue;
                              
                         out.println("<td>" + item.getChildNodes().item(0).getNodeValue() + "</td>");

                    }
                    out.println("</tr>");
               }
          } else {
               out.println("No rows.");
          }
        
     out.println("</table>");
     out.println("</nsdp_xml>");

     }
%>
This jsp file created from this:
<RS>
−
<xsd:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset">
−
<xsd:complexType name="R">
−
<xsd:sequence>
<xsd:element name="C0" type="xsd:string" minOccurs="1" maxOccurs="1" saw-sql:type="varchar" saw-sql:displayFormula=""Customers"."Cust State Province"" saw-sql:aggregationRule="none" saw-sql:aggregationType="nonAgg" saw-sql:tableHeading="Customers" saw-sql:columnHeading="Cust State Province"/>
<xsd:element name="C1" type="xsd:double" minOccurs="0" maxOccurs="1" saw-sql:type="double" saw-sql:displayFormula=""Sales Facts"."Unit Cost" / 10" saw-sql:aggregationRule="complex" saw-sql:aggregationType="agg" saw-sql:tableHeading="Sales Facts" saw-sql:columnHeading="Unit Cost"/>
<xsd:element name="C2" type="xsd:double" minOccurs="0" maxOccurs="1" saw-sql:type="double" saw-sql:displayFormula=""Sales Facts"."Amount Sold"" saw-sql:aggregationRule="sum" saw-sql:aggregationType="agg" saw-sql:tableHeading="Sales Facts" saw-sql:columnHeading="Amount Sold"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
−
<R>
<C0>Gdansk</C0>
<C1>54.976</C1>
<C2>638.81</C2>
</R>
−
<R>
<C0>Katowice</C0>
<C1>151.19</C1>
<C2>1801.02</C2>
</R>
−
<R>
<C0>Szczecin</C0>
<C1>124.251</C1>
<C2>1451.73</C2>
</R>
−
<R>
<C0>Wroclaw</C0>
<C1>327.581</C1>
<C2>4251.68</C2>
</R>
</RS>
who:

Column 1 column 2
Gdansk 54.976 638.81
Katowice 151,19 1801.02
124.251 Szczecin 1451.73
Wroclaw 327.581 4251.68

I have seen that in the tutorials that people have more than two columns... but in the annex, there are exactly the same jsp script? So hot I wonder it is possible?

Help... :))

With respect,

PsmakR

Simply because in a dashboard, you can have several answers.

In response to the integration of mapviewer, you need two columns
and you can create another answer (three columns you want) that you place next to the map.

In the dashboard display only static text of the card and to cache others views.

See you soon
Nico

Tags: Business Intelligence

Similar Questions

  • Query view physics issued by Obiee 11 g

    Hello

    I need to view the physical query issued by Obiee 11 g when I try and run a report. I tried the journal view to manage my session (Administration), but I get a message "no logs found. I also tried to search for the file NQQuery.log which doesn't seem to exist of Obiee 11 g. Can someone tell me how I can view physical query issued in Obiee 11 g.

    Thank you

    You can find the log in nqquery.log under \instance1\diagnostics\logs\OracleBIServerComponent\coreapplication_obis1 folder

  • The question of integration OBIEE &amp; MapViewer

    Hi all

    A few days I tried to integrate OBIEE with mapviewer by some different method. After a lot of configuration process, like you created new schema on db, imported data space sample inside and has defined a new source of data, in mapviewer administration console, I have a main issue at this time.

    I just tested whether mapviewer was executed, and he was seen ok in the url, http://host_name:9704 / mapviewer

    So, how can I embed this map on page obiee analytical?

    When I tried to import map layers/images in OBIEE 11 g Analytics / administration/management map data page, I get an error like this "cannot communicate with Oracle FMW Server mapviewer.

    I hope someone could help me.

    Thank you

    Hello

    1. with IE, it sometimes gives this kind of question, please use latest Mozilla.

    Try first with step 1 only.

    2. If in Mozilla, it also gives the same message - you need some instanceconfig.xml entries.

    Under item Marketing add this

    /MapViewer

    600

    Please go back to that one has solved your problem and your points please.

    Kind regards

    Krish

  • Slow serious performance issues and causing VDR integrity checks

    Hello

    I'm pretty experienced with VMware and VDR.  My unit VDR version is 1.2.0.1131.  I am backup on a Windows Storage Server (R2 2003) who has two 500 GB partitions that are shared using the default value in Windows (CIFS) sharing mechanism.  VDR, I have two destinations that simply access the network shares (two partitions of 500 GB on the storage server).

    Run the backup and restore is good.  However, integrity checks complete not only take a long time (up to 24 hours) but cause the storage server to be so callous that other tasks like data restores, must wait until the integrity checks complete.

    The storage server uses the SATA drives and so I hope that the simple answer to this is not just update more quickly when you run disk technology.

    Research on similar issues, it seems that I have some options to try.

    1. change the size of the IrpStackSize value on the storage server.  http://communities.VMware.com/thread/213924?start=0 & tstart = 0

    2. change the datarecovery.ini file.  http://h20000.www2.HP.com/bizsupport/TechSupport/document.jsp?lang=en & CC = US & TaskID = 110 & prodSeriesId = 420496 & prodTypeId = 18964 & objectid = c01918186

    3. use NFS instead of CIFS.  http://communities.VMware.com/message/1769144#1769144

    4. turn to level the unit VDR version?

    Once, since I'm fairly knew to this I'd appreciate some further guidance and expert advice.

    Thanks for your time

    dbristow wrote:

    So, do you think it is worth to configure NFS on my server windows storage server or I'm leaving better your purchase of another storage solution?

    I can't answer your question. Personally, I would like to make the storage server on the Windows network file server. A work. that it is really good. I would look for another storage device. I don't know the rest of your infrastructure. If you have a SAN I would look for something to compliment it. Replication comes to mind. If you do not have a SAN there are many NAS devices. Choose a budget amount and start searching. You can also use a server that matches your business listing and fill it with the readers. You can install a standard linux distribution and enable the native NFS server. A configuration to a single line is all it takes. You can add management Open-e, Starwind, FreeNAS software.

  • OBIEE Mapviewer 11.1.1.7.1 cannot change the data source

    Hi all

    I am trying to configure mapviewer on our environment and after

    by clicking on configuration

    Add the DB details

    Save & Restart is updated the file xml but not displayed on the data source tab.

    But where as the other details of DB, I am able to add without problem, then if I click on change by selecting the data source to add/edit the details required to DB I get following error.

    Source of data editing is not yet supported. However, you can delete and re-create it with the new settings.

    and on the Management tab is not showing me any option to add the new source of data manually.

    someone has encountered this problem before. TIA

    Maybe the connection details are wrong, you see something in the Map Viewer logs files?

    under FMW_HOME/Oracle_BI1/bifoundation/jee/mapviewer.ear/web.war/WEB-INF/log/mapviewer.log

  • Not able to connect with OBIEE 11g integrating short

    Hi all

    I try to connect OBIEE DPR (Repository) using short Integrator3.0.

    All credentials are correct, OBIEE 11 g is also in place.

    It shows the error:

    java.net.ConnectException: unable to connect to port 7001 machine localhost

    How reslove it.

    Please, give me suggestion.

    Thank you

    Prashant

    Try to use port 9703.

  • the issue of google map integration

    Hello

    I managed to create a map google map api actionscript 3 and the swf file works fine.

    I need it integrate into a flash as2 project that works if I use

    loadMovieNum ("googleMap.swf", 0);

    but I want to load into a clip (called loader) and I tried the following which does not work.

    loadMovie ("googleMap.swf", "this.loader");

    any ideas?

    Thank you

    Tina

    Impossible to load an as3 swf into an as2 swf and expect any actionscript to work.

  • OBIEE 11 g (11.1.1.7.1) mapview - no fill color

    Hello

    I need some help here:

    We have a project that requires that we display data on a plane on obiee 11 g. After creation of spatial metadata about the database and have created themes on the map and created a source of data, in MapViewer, and imported all these themes into obiee (Administration > manage map data > import layers and reference cards).

    The challenge that we have is, there is no fill color on the display card or any form of presentation data even you there is data on the table view. The map view is empty, none of the themes display data as expected.

    Your help would be appreciated, thanks.

    Hello

    We found the solution from another blog that was created earlier:

    OBIEE - MapView does not appear the BI data layer

    Thank you

  • Cannot create integration service

    Hi friends,

    Try installing informatica 9.1 with the 7.9.6.4 BIAPPS.

    As part of it while trying to create the service integration once after that the repository service has been created, im getting the error while allowing it as below
    Could not execute action....
    
    The service Is could not be enabled due to the following error:
    
    SF_34004 - Service initialization failed.
    I'm not sure why I get the above error.

    I already have configured informatica 9.1 with BIAPPS 7.9.6.3, but @ that point I have strength find the error in the creation of the service of integration.

    Kindly help me with the issue of the above integration service.

    Thanks in advance.

    Kind regards
    Saro

    Hi Benoit,.

    Thanks for the reply. We changed the mode also exclusive to normal, but so too the strength of the error resolved unless and until what I recorded my repository security services user and he gave the privilege of domain service and repository.

    And now all of a sudden the IS created and activated. I'm not sure the reason behind this Setup with BIAPPS 7.9.6.4

    But while I have configured with BIAPPS 7.9.6.3 I force create any user in the repository under the inorder of security to the favor of integration for Up...

    Still not sure why we need to create the user rep in the security for the EAST to work inorder.

    Now my RS and the IS is in place.

    Kind regards
    Saro

  • OBIEE 11.1.1.6 SSO with OAM 11.1.1.5: problem of attribute OID 11.1.1.6

    Hello world!

    I configured an OAM (webgate) + DIO + OBIEE + OHS system.
    The OBIEE is protected via OHS(weblogic module) and webgate. It works very well.
    The CAO authenticates OID (default user identity store).
    The * "User research Base" * is the same (* "cn = Users, dc is mydomain, dc = com" *) in the store of identity and authentication provider OID of OBIEE too.
    SSO is enabled in OBIEE and suppliers are:
    OID (provider that performs authentication LDAP 1.0) JUST
    REQUIRED OAM (Oracle Access Manager identity Asserter 1.0) provider
    DefaultAuthenticator (WebLogic Authentication Provider 1.0) SUFFICIENT
    DefaultIdentityAsserter

    IF the * "User name attribute" * is * '' cn '' * in-store OAM of identity of the users and the provider of the OID of the OBIEE * "user name attribute" * is * "cn" * (by default) also, everything works fine.

    But I have to use * "orclSAMAccountName" * instead of * "cn" * (OAM and OID provider). And in this case, I have the problem.
    The OID of the OBIEE provider are:
    All users filter: (& (orclSAMAccountName = *)(objectclass=person))
    The user of the name filter: (&(orclSAMAccountName=%u)(objectclass=person)))
    Username attribute: orclSAMAccountName

    I did a test user:
    CN = test
    SN = test_sn
    orclsamaccountname = test_sama
    UID = test_uid
    krbprincipalname = test_krb
    I can authenticate with test_sama OAM, but OBIEE say: * "" you are not logged here: Oracle BI Server. "*"
    The bi log shows that:
    + By default (self-adjusting)' > < BISystemUser > <>< 00093dFuR ^ HFW7PMye7i6G00052S000Tt7 > < 1345642607333 > < BEA-000000 > < javax.security.auth.login.FailedLoginException: [Security: 090304] authentication failed: User test javax.security.auth.login.LoginException: identity [Security: 090300] Assertion failure: test user does not exist +.
    + oracle.security.jps.internal.api.jaas.AssertionException: javax.security.auth.login.FailedLoginException: [Security: 090304] authentication failed: User test javax.security.auth.login.LoginException: [Security: 090300] identity Assertion failure: test user does not exist.

    Why does search OBIEE the * '' cn '' * and why does not use the * "orclsamaccountname?"

    Any idea?

    Best regards, Jani

    Hello Joseph,.

    This is a known issue in OBIEE 11.1.1.6.0, please see: OBIEE 11.1.1.6 Agent failed with error code: IHVF6OM7:OPR4ONWY:U9IM8TAC [nQSError: 13039] the imposter does not exist in the BI [1446877.1 ID] Security Service

    We have configured OBIEE 11.1.1.6 on Linux and use Single Sign On (SSO) with authentication Native for Windows (Ondaaah).

    Configured authenticator AD, select sAMAccountName instead of CN for the attribute of the user. SSO in MS license. When you try to access the OBIEE presentation services we met the below error.

    «You are not logged here: Oracle BI Server.»

    When to check the logfile biserver1 found: failure of the Assertion of identity [Security: 090300]: user OracleSystemUser does not exist

    After you apply the hotfix 13553428 on top of 11.1.1.6.0 OBIEE we connected in OBIEE presentation services.

    It works very well with OBIEE, 11.1.1.5.0 and 11.1.1.6.1

    OBIEE fixed in 11.1.1.6.1. Apply Patch 13742915.

    If you want to stay in OBIEE 11.1.1.6.0. Apply Patch 13553428.

    Let me know if this solves the problem of Asserter.

    Pls mark so useful or response.

    Thank you
    SVS-

  • P BI with OBIEE

    Hello

    With the help of obiee 11.1.1.5
    Can anyone give me information on the P with OBIEE BI integration, I would like to improve my formatting that is lacking in OBIEE.
    Any doc who gives the steps are useful.


    Thank you

    Follow the tutorial provided by oracle Corp. in link below. also added other links.

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/bi/BIEE/r1013/bipub/bip_biee/bip_biee.htm

    http://St-curriculum.Oracle.com/OBE/FMW/bi/BIP/bip11g/gettingstarted/gettingstarted.htm#T6

    http://download.Oracle.com/docs/CD/E14571_01/bi.1111/e13881/TOC.htm

    https://bidevata.WordPress.com/2011/11/21/bi-Publisher-11g/

    Published by: Jay on March 16, 2012 09:00

  • Currency sign the answer OBIEE and download for excel

    Hello

    When I put the currency symbol on an OBIEE answer and if I press "Download to Excel" on outcomes, the exported table is downloaded perfectly but if I try to perform and calculation on this ground I get an error message and I get out the currency sign for more of this. For example, if I try to make the sum of the column of numbers with the symbol € in excel, it will not work.

    Is there a way to get around this please? Sorry I could not find this application prebiously issue in OBIEE forum

    Concerning
    Hilary

    Published by: 811311 on June 29, 2011 05:21

    Hi hilary,

    I think I just need to put the symbol in the header and out lines resulting.

    You are going in the right direction, make sure that header if symbol end users would understand that it denotes this currency.

    See you soon,.
    KK

  • OBIEE &amp; R12

    Hello

    If OBIEE is integrated with the Oracle Applications all default RPD comes with it? For stand-alone, we create the RPD from scratch. How the SPR comes with OBIEE and R12. I heard that an integrated RPD comes with it but am not sure. It also differs from standalone OBIEE. We install OBIEE on a server and connect to the database has from there to work on the administration tool. Is it the same with OBIEE integrtaed with R12 too? Please advice. Thanks in advance.

    Hi user,
    Sorry if I made u confuse

    what I'm saying, it's

    During the installation of the obiee apps it willl ask independent bcz biapps products as I mentioned above and vanilla RPD we do customization on top of that (in this case if you need)

    For example, apps + obiee (10.1.3.4...) standalone products

    If you see the link rittmanmead for installation in step 1, that he will ask for standalone player installed to get all the products bi apps install

    Thank you
    Saichand.v

  • Oracle card generator tool

    Hello all

    I am trying to import a map in our front-end OBIEE.

    During the validation of the connection with the tool's passes and is marked "connection is valid.

    When the initial themes etc. load I get the following error.

    ORA-00942: table or view does not exist.

    When I try this exact same method on one of our other databases is works perfectly.

    I'm pretty sure that this is related to the configuration of database where this configuration of database do not allow external connections or something of the sort?

    Can someone provide me with more information if you have.

    Concerning

    Benoit

    MDSYS is not enough... you need to map the data also to be in a separate schema... Take a look at http://www.askjohnobiee.com/2012/09/how-to-mapviewer-integration-with-obiee.html

  • Configuration of Google maps to OBIEE11g

    I have configured to use Google maps in OBIEE 11 g, but I'm getting following error message,

    [MVGlobalVariables.getMapCacheConfig] MAPVIEWER-05523: cannot process the response from the server MapViewer. (GOOGLEMAP. GOOGLEMAP :)

    Can someone help me find a mistake.

    Thanks in advance

    Hello

    See the threads below.

    OBIEE 11 g Mapviewer error

    Re: Mapviewer Integration and OBIEE 11G

    Maybe help you.

    Thank you
    Satya

Maybe you are looking for