Adding a data source XML in Obiee 11 g on Linux

Hi guys, I need your help.

I create a new database in the physical layer as XML.

On the connection pool (named xml_source), I'll put the path to the XML file, inside the datasourse name, with this format: / u01/app/xmltest /.

My test XML file is the following: xml_test.xml, so in the information in the table, I'll put the name of the XML like this: xml_test (without the xml extension)

The issue is when I am issuing the SQL, the displayed error message says:
Query Failed: [nQSError: 64023] cannot access the /u01/app/xmltest\xml_test.xml: no such file or directory

As you can read in the error message there is a "-" just before the xml file. So Linux is not a '-' but a ' / ', why obiee puts a bad path? How can I 'know' obiee that there is a Linux environment not a Windows?

Thank you in advance.

Sorry for my mistake, but I found a named XML in the physical Table Properties tab. I put the full URL to the file and now I am able to issue sql to her queries. Thank you!

Tags: Business Intelligence

Similar Questions

  • Graphic design of data sourcing XML from a database

    Hi all

    I try to display a histogram with Source such as an XML that is generated from a database using PHP. Some how I get errors... Is it possible to do that... He... If so how should it be done.

    This table exists in MYSQL

    CREATE TABLE "project1". "bubble_graph")
    Varchar (45) 'Product' NOT NULL default ",
    int (10) 'delivery' unsigned zerofill NOT NULL,.
    int (10) unsigned zerofill NOT NULL ' delay'
    ) ENGINE = InnoDB DEFAULT CHARSET = latin1;


    INSERT INTO bubble_graph VALUES ('IteamA', 20, 2);
    INSERT INTO bubble_graph VALUES ('IteamB', 20, 8);
    INSERT INTO bubble_graph VALUES ('IteamC', 20, 1);
    INSERT INTO bubble_graph VALUES ('IteamD', 20, 6);
    INSERT INTO bubble_graph VALUES ('IteamE', 20, 15);
    INSERT INTO bubble_graph VALUES ('IteamF', 20, 3);
    --------------------------------------PHP----------------code
    <? PHP
    Define ("DATABASE_SERVER", "localhost: 3306 ');
    Define ('DATABASE_USERNAME', 'root');
    Define ("DATABASE_PASSWORD", "yyyyyyy");
    Define ('database_name', 'Project1');

    connect to the database
    $mysql = mysql_connect (' localhost: 3306 ', 'root', 'yyyyyy');

    @mysql_select_db (DATABASE_NAME);

    Returns a list of all users
    $Query = ' select Product, round (delivery) as delivery, round (delay) in the time of bubble_graph ";
    $Result = mysql_query ($Query);

    $Return = "< root >."

    While ($User = mysql_fetch_object ($Result))
    {
    $Return. = "< Data > ';
    $Return. = "< data". " Product =------"". " $User-> product. » \ "> » ;
    $Return. = '< product >. $User-> product. "< / product > ';
    $Return. = "< delivery >." $User-> delivery. "< / delivery > ';
    $Return. "< delay > =. $User-> delay. "< / delay > ';
    $Return. = "< / data > ';

    }
    $Return. = "< / root >;
    mysql_free_result ($Result);
    print ($Return)
    ? >
    ++++++++++++++++++++++++++++++Flex code+++++++++++

    < mx:ColumnChart id = "table" dataProvider = "{results}" showDataTips = "true" width = "513" height = "286" type = "grouped" x = "0" y = "31" >
    < mx:horizontalAxis >
    < mx:CategoryAxis dataProvider = "{results}" categoryField = "Product" / >
    < / mx:horizontalAxis >

    < mx:series >
    < mx:Array >
    < mx:ColumnSeries yField = 'period' name = 'time' / >
    < mx:ColumnSeries yField = 'delivery' name = 'delivery' / >
    < / mx:Array >
    < / mx:series >
    < / mx:ColumnChart >


    Consider this, your code is far away. Your idea is fundamentally correct, but take a look at one, I built. This actauly return xml from a database published on a page and access to the page & data using the correct data aggregate query string values. Look closley the code using im to organize the results.


    http://www.Adobe.com/2006/mxml"layout ="absolute"backgroundGradientColors ="[#ffffff, #ffffff]"currentState ="stSalesByDate">


    Import the required namespaces
    Import mx.controls.Alert;
    import mx.validators.DateValidator

    var ResolveUrl:String = "";

    Initialization function manages the init program
    private function init (): void {}

    ResolveUrl = Application.application.parameters.ResolveUrl;

    }

    Valid entries and fires http service
    private function buildReports (): void {}

    var retVal:Boolean = isValidDates (dateStart.text, dateEnd.text);

    If (retVal == true) {}

    wService.send ();
    currentState = "stSalesResults";

    } else {}

    Alert.Show ("Please enter dates valid.', 'Invalid Date', Alert.OK");

    }

    }

    Manages the State switch Events for new reports
    private function newReport (): void {}

    currentState = "stSalesByDate";

    }

    Date comparison function handles to ensure deadlines are valid
    private void isValidDates(strStart:String,_strEnd:String):Boolean {}

    var blnIsValid:Boolean = false;

    If (strStart.length == 0 | strEnd.length == 0) {}

    blnIsValid = false;

    } else {}

    blnIsValid = true;

    }

    return blnIsValid

    }

    ]]>































    This code is called e4x he treats xml as a native object, search :)

  • How to connect to the administration by using JDBC as data source tool in OBIEE

    Hello

    Can someone explain to me how to connect to using JDBC administration tools? Any reference document would help. I have found no documentation for this.

    Grateful for the help.

    Thank you.

    Use the BI Publisher. OLIVIER only uses ODBC, no JDBC.

  • Problems connecting to JDBC data source

    We have recently upgraded to JDeveloper 11 g to 10g and flies our applications (primarily the Struts). They are compiled fine, and I am able to create data sources and successfully test the connection to open the data source through the window of Application resources. The problem comes when I try to connect through the application. In Java code, I use a DataSource object to get the connection of InitialContext.lookup ("jdbc/sun_DS1") where the JNDI name is in parentheses. We used to define this connection in JDev 10 g via the file data - sources.xml and it worked very well. Now with 11g and defines the connection to the application, I don't know if I'm missing a step between the creation of the data source and run the application.

    The error I get is: javax.naming.NameNotFoundException: while trying to search for "jdbc.sun_DS1" did not find subcontext "jdbc." Solved "; rest the name "jdbc/sun_DS1.
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)

    I spent a lot of time reading Oracle help docs and Googling the problem without success.

    Help, please.

    Once you run your application on the WLS console launch (http://localhost:7101/console) and look to see if JDev created a data source for you in WLS.)
    You may need to add it manually.

  • 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

  • Integration of data from external sources (xml, webservice)

    is it possible to supply the content of DPS to an XML (or other data source)?

    You cannot directly import XML or other data sources in DPS, however, there are many options for the style of the content into the system. Assuming that you are talking about DPS 2015, all what you need to do is to convert your data to HTML format, then use packaging article HTML tool to generate a .article to the HTML file. This can be a manual or automated process. For example, there are plugins for Wordpress that automate this workflow to make Wordpress posts and ingest them in 2015 of DPS.

    Neil

  • Select data source in physical in OBIEE 11 G mode when you use sql server

    Hello

    I did my physical review against a SQL Server 2008 R2 server. The list looks up to 2005. I select 2005 in this case? According to the guidelines of the image: http://i.imgur.com/3H7MO.png

    See you soon.

    I use OBIEE 11 G Windows 32-bit.

    Hello

    Yes it is possible. You can select such as ODBC or SQL 2005 basic can also
    I hope that your version less than obiee11.1.1.5.0, version 11.1.1.1.6.0 and above has updated SQL 2008 in the data source selection list.

    refer,
    http://imgur.com/JSYoL

    Thank you
    Deva

  • OBIEE BP1 64-Bit 11.1.1.6.2 - define the MS Access Data Source

    Hello
    On our 11.1.1.6.2 facility OBIEE BP1 64-bit I would like to define a ms access db as a data source. We had that in OBIEE 10 G too, but this was a 32-bit - Source ODBC.

    It seems that OBIEE 11 G accepts only the 64-bit ODBC sources. But for 64-ODBC aren't there existing ms access drivers.

    Everyone facing the same problem and found a solution for this?

    Concerning

    Hello

    You AccessDatabaseEngine_x64.exe download and install then able to find, you can Excel data source in the 64-bit version. (we have also faced this issues a few years back and test with windows server 2008) works very well.

    You can download at the bottom of link
    http://www.Microsoft.com/en-US/Download/details.aspx?ID=13255

    Thank you
    Deva

  • BI Publisher for OBIEE data sources

    I know that BI Publisher can be part of an OBIEE Dashboard using a query OBIEE answers as the source data for the BI Publisher report. My question is if a BI Publisher report can have one data source other than an OBIEE answers such as a custom SQL query and still be part of an OBIEE dashboard? If possible, no matter what version of OBIEE and BI Publisher is used?

    Thanks for information of nay you can provide on this subject.

    Barry

    Hello

    data source other than a request for responses OBI can be included in a dashboard OBIEE.
    Using the dashboard objects, we can call the BIpublisher report in the dashboard.

    Thank you
    Ananth

  • Do not connect to a data source in obiee 11g

    Hi friends,

    I can't able to import metadata into a new repository in OBIEE 11 g...

    It does not connect to the data source to import meta data

    It throws error as the failure of the connection...

    I also restarted services and also checked for odbc connectivity that's showing the connection is
    success...

    Also, I entered the details in Notepad TNS...

    Here are the following details

    TEST =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 172.16.1.110)
    (PORT = 1522)
    )
    (CONNECT_DATA =
    (SID = TEST)
    )
    )

    The data source name that gave me is ORCLBI for my reference...

    So why not connect not not at the data source... Help me friends for the importation of tables to my deposit as soon as it is connected to the data source...

    Thank you
    Harry...

    Hello
    Through Vincent response in this... Can help you... Re: unable to connect to the database of the OBIEE 11g improved SPR

    Kind regards
    Srikanth

  • Adding security to SQL 2000 data sources

    Adding security to SQL 2000 data sources

    I made ColdFusion programming for more than 5 years and now I hired an assistant for myself. So far, I have no warranty on my data sources, but now I need to add user rights for these so if my assistant made a mistake, nothing would happen to the tables. Currently I have about 3 sources of data. I did some research on creating users under Microsoft SQL 2000 and I have created a user account under SQL, but given that my data sources are connected via the account, this user always have full powers on all the tables. Maybe it is more than a simple creation of a user account under SQL and allows read only access to the tables under the permissions tab. Or maybe I need to create new sources of data with different configurations, or perhaps use ColdFusion Sandbox!

    This is where I am confused right now and don't know what would be the way to protect my assistant from damaging my paintings!

    I'll explain my situation with an example here:

    Let's say Mike is a project manager / database administrator and it is the only one in the network, which must have full access to all sources of data/tables. Juta is the programmer who has access to all tables except the Update/Insert access read-only on the tables of 1 or 2.

    I would appreciate if someone can help me understand what I need to do to get there.

    Thank you

    Mike R

    I assume you are using RDS for Dreamweaver to connect with your ColdFusion server, etc, but ColdFusion doesn't RDS to connect to the database, just for you to be able to 'talk' to CF with Dreamweaver, right? We have RDS enabled in our development environment so that we can use CF Studio (Yes, I know, an antique), but the same thing applies to Homesite or DW, I guess. We have no active RDS on our production server see If I happen to use CF Studio to change templates on the production system, I can not run (or look at databases, etc) and would need to use Explorer to run the model and Enterprise Manager (or SQL Plus, etc) to 'look' to the database. However, you shouldn't really get used to change production CF models without testing in development anyway, so it should really not a problem, unless you do not have instances of database development, etc., which could be a problem with the security of the database. Take shortcuts by not having does not separate and production environments development can bite you.

    Phil

  • ColdFusion Administration: Adding Data Sources of error

    * Connection verification failed for data source: online_store
    [] java.sql.SQLException: Communication during the handshake failed. Y at - it a server running on localhost: 3306?
    The root cause was that: java.sql.SQLException: Communication during the handshake failed. Y at - it a server running on localhost: 3306?

    This is the message I get when I try to add a mysql database using the coldfusion administration page. Never, I get this error when I add an access database.

    Where could I go wrong?

    Could someone help or suggest something?

    > when it says to enter the jdbc url, I entered in the following:
    > JDBC: / / [localhost]: [3306] / [online_store]

    Leave out the brackets.

    > do we extract the jar file itself which 3 files open and
    > paste in the destination folder?

    NO.

    > do we extract the main zip to a folder of the same name and
    > Copy and paste the jar file in the destination folder

    Yes. But, before that, stop Coldfusion and remove all type JAR files mysql-connector - java-* currently in the directory cf_root/WEB-INF/lib directory. Otherwise you are going to install two drivers.

    > for driver class: com.mysql.jdbc.5.0.4
    No. I think that should be: com.mysql.jdbc.Driver. Here are more tips on how to configure MySQL5.x. The same themes were held in this recent on CFMX and MySQL5 thread.

  • Problem adding data source

    Hello

    I am trying to create a new data source in coldfusion 8, its a derby embedded database, (although I'm really not bothered what type of data I use, I just want to be able to connect for bending) I followed this tutorial but I still get this error... Connection verification failed for data source: SearchDB
    org.apache.derby.impl.jdbc.EmbedSQLException: could not create the 'C:\ColdFusion8\db\SearchProject' database, see the following exception for more details.
    The root cause was that: java.sql.SQLException: unable to create the 'C:\ColdFusion8\db\SearchProject' database, see the following exception for more details.


    If someone could send me in the right direction for this, would be great.

    What about James

    Open the ColdFusion administrator, and then click Data Sources.

    In the name of the Data Source of the box type myDerbyDB

    In the drop-down list driver select Apache Derby Embedded

    Click Add

    About Data Services & > Datasources > Apache Derby Embedded CF page
    Data Source name must be still myDerbyDB

    In the file Data box type myDerbyDB

    Check the Create Database

    Click on submit.

    You should now have the database and then you should be able to run the code
    on this page.

    --
    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC
    http://www.fordwebs.com

    "thomo007" wrote in message
    News:flh94j$JFQ$1@forums. Macromedia.com...
    > Hi there,
    >
    > I am trying to create a new data source in coldfusion 8, its built-in
    > derby
    > database, (although I'm really not bothered what type of data I
    > help, I
    (> just want it to be able to connect for bending) but I followed
    > http://fusecf.blogspot.com/2007/08/coldfusion-8-and-derby-db-create-and.html
    > tutorial, but I always get this error... Checking connection failed
    > for
    > data source: SearchDB
    > org.apache.derby.impl.jdbc.EmbedSQLException: cannot create the database
    > "C:\ColdFusion8\db\SearchProject", see the following exception for more details.
    > The root cause was that: java.sql.SQLException: unable to create the database
    > "C:\ColdFusion8\db\SearchProject", see the following exception for more details.
    >
    > If someone could send me in the right direction for this,
    > great.
    >
    > James cordially
    >

  • Adding data sources on the Windows Vista-based computer

    I have ColdFusion on my local workstation and I'm looking to add a data source by using the administrator Web site. It worked perfectly on my previous XP machine, but it does not work on my new Windows Vista machine. The data source is a Microsoft Access database stored locally on the c:\ drive. After clicking on the "send" button, the site administrator returns this error message:

    Cannot update the NT registry.
    DRIVERPATH variable is not defined.

    Any ideas? Thank you!

    TorreyBrown wrote:
    > I have ColdFusion on my local workstation and I try to add a
    > by using the data source administrator Web site. It worked perfectly on my
    > previous XP machine, but it does not work on my new Windows Vista machine.

    Windows Vista is not supported with CF 7. You have three options:
    -Try the CF 8 'Scorpio' beta from http://labs.adobe.com/
    -use a database that works with the driver of JDBC Type 4 over TCP/IP
    -use a supported operating system

    Jochem

    --
    Jochem van Dieten
    Adobe Community Expert for ColdFusion

  • Add a data source to cfm 11/Tomcat

    It is possible to add a to the tomcat container jdbc data source runs an instance of CF 11?  If so, is any documentation on how to do it?

    Thanks in advance...

    Ok. To answer your original question, yes it is possible to add a jdbc data source to the container tomcat running in ColdFusion. I will illustrate this by adding a PostgreSQL JDBC data source. Be aware that the following is experimental and, as far as I know, not documented elsewhere. Take notes that will help you, if necessary, to cancel the procedure and return the system to its original state.

    The steps are:

    1) download and install the latest version of PostgreSQL for your operating system database management system; make sure it is running. Write down the password you give to the server.

    (2) download the driver JDBC41 of PostgreSQL, version 9.3 - 1102. It is the version that corresponds to Java 1.7 and 1.8, the versions of Java Virtual Machine from ColdFusion 11. The download is a JAR file. Copy it to the Tomcat lib directory located at {CF_HOME_DIRECTORY} \runtime\lib\.

    3) you now add the driver details for the Tomcat configuration files, {CF_HOME_DIRECTORY}\runtime\conf\context.xml and {CF_HOME_DIRECTORY}\runtime\conf\web.xml. }} Make a backup of these files before continuing.

    Open the context.xml file in a text editor and add the following element just before the last end tag:

    Type = "javax. Sql.DataSource' driverClassName = "org.postgresql.Driver"

    URL = "" jdbc:postgresql://127.0.0.1:5432 / booktown ' "

    username = "cf_user" password = "cf_password" maxActive = "20" maxIdle = "10" maxWait = "-1" / >

    Open the web.xml file in the text editor and add the following element just before the last end tag:

    example of postgreSQL data source

    JDBC/postgres

    javax.sql.DataSource

    Container

    (4) the resource XML element points to the URL of the database of the booktown. I will now add this database and user for the PostgreSQL server.

    Download booktown.sql. Use it to install the database of the booktown on the command line by running a PostgreSQL command as

    psql-f /path/to/booktown.sql - U postgres template1

    If it works without a hitch, then the booktown database will be installed. The user is initially the default superuser "postgres". Use it to connect on the command line:

    psql - U postgres

    It will ask you to enter the password, the one you threw down earlier. The command line begins with the command prompt:

    Postgres = #.

    Now, create another user, cf_user, also on the command line, corresponding to the resource XML element:

    Postgres is # CREATE ROLE cf_user PASSWORD "cf_password" SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN;.

    (5) you have now completed setup. Restart ColdFusion.

    To test, save the following code in a CFM file and run it.

    username = "cf_user";

    password = "cf_password";

    classObj = CreateObject ("java", "java.lang.Class");

    classObj.forName ("org.postgresql.Driver");

    driverManager = CreateObject ("java", "java.sql.DriverManager");

    connectionURL = "" jdbc:postgresql://127.0.0.1:5432 / booktown '; "

    Conn = driverManager.GetConnection (connectionURL, username, Password);

    myQuery = "" SELECT * FROM books ";"

    preparedStatement = conn.prepareStatement (myQuery);

    RS = PreparedStatement.executeQuery()) ();

    While (RS. Next {}

    WriteOutput (RS. "GetString ("title") &"
    ");

    }

    RS. Close();

    Conn.Close ();

    To cancel the procedure above, first stop ColdFusion. Then remove the jar from Tomcat lib direct and restore the context.xml and web.xml to their original state. You can also uninstall the PostgreSQL database management system.

Maybe you are looking for

  • Hey, Siri - Russian

    Hello I think that translation of "Hi, Siri ' in Russian, very strange and uncomfortable to use. Course translation sounds like "Hello, Siri." That is to say that I have say hello whenever I try to ask something. I think that good translation will be

  • Home page is hijacked

    Mozilla Firefox is my best browser. I love surfing on Firefox, but since a few days I have a problem with it. When I opened my firefox, I'm automatically redirected to http://search.sidecubes.com/?st=pr & q = , but my home page is set to google. I do

  • Scale invariant filters

    Is there a way to search for patterns in an image independently a difference of scale between the model and the image under inspection?

  • How can I get Adobe Photoshop to be my default program for windows 7

    I can't get Adobe Photoshop to be my default program that Photoshop will not import my card

  • Physical channel selected does not support the type of output required by virtual channel

    I use a box USB-6251.  Inside of MAX, I can set the device to Dev1 / ao1 sine wave generation and if he have output a sine wave.  When I use DAQmx DAQmxCreateAOFuncGenChan function I get error: selected physical channel does not support the type of o