PostgreSQL sql in odi

Hello
I try to use postgresssql in ODI
but when I try to test the connection its shows error:

Failed connection
Detail:

java.lang.RuntimeException: java.lang.IllegalArgumentException: could not load driver JDBC [org.postgresql.Driver] class
at oracle.odi.core.datasource.provider.AbstractDataSourceProvider.configure(AbstractDataSourceProvider.java:106)
to oracle.odi.core.DataSourceManager$ LoginTimeoutDataSourceProviderProxy.configure (DataSourceManager.java:302)
at oracle.odi.core.DataSourceManager.createAndConfigureDataSourceProvider(DataSourceManager.java:228)
to oracle.odi.core.DataSourceManager.access$ 0 (DataSourceManager.java:202)
to oracle.odi.core.DataSourceManager$ 1.create(DataSourceManager.java:76)
at org.springframework.util.CachingMapDecorator.get(CachingMapDecorator.java:152)

I know I want to download and put the jar base SQL file I download it, but where I want to keep this jar file

What is your operating system? If it is xp go down this path

C:\Documents and Settings\\Application Data\odi\oracledi\userlib

Chantal
http://dwteam.in

Tags: Business Intelligence

Similar Questions

  • Is is possible to the PL/SQL call ODI scenario

    Hi all

    Can we call PL/SQL procedures in ODI, I would like to know if you can call the ODI in PL/SQL scenarios.  If so, can someone explain to me how this is possible.

    Thanks in advance

    Your plan will look like - it's the infinite loop as long as certain conditions (CHECK at the END)

    This package you must start manually.

    Then you can start scenarios insertion of records in the table (which controls OdiWaitForData)

    Each insert starts the script in OdiStartScen

    You can pass the name of the scenario by REFRESH VARIABLE (GET the SETTINGS in this example)

  • Using sql in ODI 11 G OLAP queries

    Good day, everyone!

    I have a problem. I did interface in ODI (tecnology - TERADATA) and used the OLAP inside functions. For example

    COALESCE (((tc.data - min (tc. DATA) OVER (PARTITION BY tc.session_id(("ORDER BY years.year_id LINES BETWEEN 1 EARLIER AND EARLIER 1)) / 12), tc.data)

    But ODI generates the SQL query using Group: so I got the error message

    SQLState: HY000

    ErrorCode: 3504

    Query 1 1, lines read: 132, elapsed time (in seconds) - Total: 1 844, SQL query: 1 844, exit building: 0

    Error: [database Teradata] [TeraJDBC 13.10.00.01] Selected [error 3504] [SQLState HY000] nonaggregate values must be part of the associated group.

    SQLState: HY000

    ErrorCode: 3504

    Why it does not include OLAP (ON PARTITION BY) functions? Is it possible to implement the ODI to understand

    Hi CPR1,.

    You can use a little work using the

    (((tc.data-min(tc.DATA) OVER (PARTITION BY tc.session_id ORDER BY  years.year_id   ROWS BETWEEN 1 PRECEDING AND 1 PRECEDING  ))/12),tc.data)
    

    In the first pass, the parser will not see as an aggregate function, so it won't add the group by clause.

    Source: http://sonra.io/odi-and-analytic-functions-again/

    Kind regards

    JeromeFr

  • Expression SQL in ODI

    I have the following interface in oracle data integrator

    http://i44.Tinypic.com/2mrsmxt.PNG

    # Run it before you insert the following expression

    ------------------------------------------------

    In the map, I insert the following SQL expression to get the average when the quantity is 0

    ----------------------------------------------------

    AVG)

    WHEN TEST BOX. QUN = 0 THEN

    (SELECT THE TEST. QUN OF TEST

    WHERE TEST1. PRUDU = TEST. PRUDU

    AND TEST1. FLOW = TEST. UNIT

    AND TEST1. UNIT = TEST. UNIT

    AND to_char (TEST.) DATEDDD, "LUN") = to_char (TEST1. DATEDDD, "LUN")

    AND TEST1. DATEDDD! = TEST. DATEDDD

    TEST GROUP. QUN

    )

    ANOTHER TEST. QUN

    END)

    --------------------------------------------------------------

    When I check this expression in ODI...

    # sql expression is correct for this ROW

    --------------------------------------------------------------

    When I run the interface I get this error

    Caused by: java.sql.SQLSyntaxErrorException: ORA-00937: not a function of simple-group

    ----------------------------------------------------------------

    any idea?

    I understand this...

    the problem was the mapping in the field of the staging...

    I changed the source... and it works!

  • How to set options to generate as Postgresql SQL Analytics

    Q: I need to know how to set options in web analytics or the driver BI so that web analytics will be limited to the Postgresql type commands.

    Environment: Web analytical running in Windows Exporer. Driver of BI of Oracle running on Windows XP. Tunneling via PuTTY on our own server non-Oracle database.

    I heard that somewhere in Oracle BI there is the possibility to activate and disable several features SQL so that Oracle users can capture their SQL generating tools (such as web analytics) to match other DB standards.

    Can someone tell me if this is true? If Yes, where can I access these options?

    Hello

    I'm sorry if I could not you, but I understand that you would like to BI Server to build queries depending on the your DB traits.

    If this is the case, you can then follow the steps below

    1. open .rpd

    2. navigate to the physical layer

    3. among the different databases, choose the one you want to resolve.

    4. right click, choose Properties-> features.

    5. here, you can see a number of features of DB that you could try to turn it OFF / ON.

    6. you can also perform a DBMS for "query" that will interview your DB.

    Hope this is what you are looking for.

    Thank you
    Diakité

  • Problem with SQL Loader ODI

    Hello

    I have problems using SQL Loader with ODI. I am filling an oracle table with data from a txt file. Initially, I had used 'File to SQL' LKM, but due to the size of the file (700 MB) source, I decided to use 'file to Oracle (SQLLDR)' LKM.
    The error that appears in myFile.txt.log is: "SQL * Loader-101: invalid argument for the name of user and password.

    I think the problem might be in the definition of the database server (physical JavaBeans in topology), because I left empty Host, user and password.

    What is the problem? What host and user should I use? With "File to SQL" works fine living that white, but takes too much time.

    Thanks in advance

    Note the last * @*. He expects a connection string after him.

    So, goto Oracle server topology, specify Instance/Dblink (server) as the SID of the oracle database you want to connect.

  • Running the scenario of ODI number of command line only (for the linux files) - file not found

    Hi Experts,

    We load data from .txt files in Linux server into a table.
    Scenario runs perfectly when running Windows ODI GUI (on linux agent.we have two agents who perform one is windows and Linux).

    When we try to run it from the command line using startscen.bat getting following error.

    ODI-1227: SrcSet0 (load) task fails on the source FILES FILE_SERVER connections.

    Caused by: java.sql.SQLException: ODI-40438: file not found: /loadfiles/Test/xyz.txt

    By this mistake if we conclude that this file may not exist... But it works well to GUI.

    Infact we have given 777 permissions to file.

    Ideas please share...

    Concerning

    PrakashV

    Hi all

    It works very well by adding the URL of the AGENT in a syntax such as startsen

    StartScen.bat FILE_TO_ORACLE 001 GLOBAL-NAME = OracleDIAgent3-AGENT_URL =http://10.64.165.73:20912 / oraclediagent

  • Mapping of 12 ODI is a failure loading the table to the table in oracle DB

    Hi Experts,

    I'm starting to ODI, attempts to load data from the Table to the Table in Oracle DB. Source table and target table are in the same PB in different schema

    I created my own work, also agent and master repository.

    Started with the agent, and I could see the status as Planner started for referential work * on Agent OracleDIAgent1.

    Created the agent in topology and successfully tested.

    Created data and connections physical schema of the source and target servers, Test connection is successful.

    Created the context and logical schema defined for the source and the target.

    Mapped to the corresponding physical schema context.

    Diagram logical and physical mapping is accomplished in the context.

    Created for source and target models, able to view the data in the source model.

    Created a simple map and put in source and target component context.

    LKM selected as LKM SQL for SQL

    Select IKM as IKM Oracle Insert.GLOBAL

    After execution, the mapping is a failure with the error below

    Drop table work - LKM SQL for SQL

    ODI-1222: start failure on agent edge internal: logical schema * is not found in the main repository.

    Create the table work - LKM SQL for SQL

    ODI-1222: start failure on agent edge internal: logical schema * is not found in the main repository.

    ODI-1222: start failure on agent edge internal: logical schema * is not found in the main repository.

    at oracle.odi.runtime.agent.execution.AbstractSessionTask.getSrcDataServer(AbstractSessionTask.java:1646)

    at oracle.odi.runtime.agent.execution.interpreter.SessionTaskCodeInterpreter.codeInterpretation(SessionTaskCodeInterpreter.java:132)

    at oracle.odi.runtime.agent.execution.interpreter.SessionTaskCodeInterpreter.codeInterpretation(SessionTaskCodeInterpreter.java:80)

    at oracle.odi.runtime.agent.execution.SessionTask.createTaskLog(SessionTask.java:324)

    at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:821)

    to oracle.odi.runtime.agent.execution.SessionExecutor$ SerialTrain.runTasks (SessionExecutor.java:2024)

    at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:562)

    to oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$ 1.doAction(TaskExecutorAgentRequestProcessor.java:718)

    to oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$ 1.doAction(TaskExecutorAgentRequestProcessor.java:611)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203)

    at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor.doProcessStartAgentTask(TaskExecutorAgentRequestProcessor.java:800)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 1400 (StartSessRequestProcessor.java:74)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:702)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:180)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:108)

    at java.lang.Thread.run(Thread.java:722)

    Please help me with the problem above,

    Thanks in advance.

    Kind regards

    Srikanth

    Hi Srikanth,

    It is usually better to create a separate scheme for the scheme of work, but you can keep the data and schema of work even. Also in your error log, the error should now be to the right of the IKM? No LKM. Try changing the logical schema name and see if it works.

    Thank you

    Ajay

  • ODI 12 c - connection to LDAP server failed

    Hi guys,.

    I have a successful installation connection to the LDAP server problem.

    Here are the attributes:

    Definition tab:
    Name: LDAP_TEST
    (Database server): void

    User: cn = 777, DC = ss, DC = EU, DC = East, DC = gen
    Password: empty

    JDBC tab:
    JDBC driver: com.sunopsis.ldap.jdbc.driver.SnpsLdapDriver
    JDBC URL: jdbc:snps:ldap2? ldap_url = ldap://ss.eu.is.gen:389 / & ldap_password=PP@RRLL1234ldap_basedn=DC=ss, DC = EU, DC = East, DC is gen

    Whenever the error is:

    java.sql.SQLException: ODI-40526: NamingException took place saying: [LDAP: error code 49-80090308: LdapErr: IDDM-0C0903A9, comment: AcceptSecurityContext error, 52nd data, v1db1]
    and this name remaining: null


    I know that the error means invalid credentinals but I don't know how to fix it.

    For sure the user and the password are valid, also they have privileges to read/write on the entire base DN.

    I him have not tested with encrypted password yet but I think it should work this way.


    My ideas, please help!

    Thank you very much.

    Hello

    The error has been corrected in describing the hierarchy of the user (for example, cn = 777, OU = Acc, UO = Priv, DC = ss, DC = EU, DC = East, DC = gen) and application of a patch.

    Kind regards.

  • File not found error when you use agent ODI.

    Hello

    I am trying to load data using the csv file and get the following error.

    ODI-1227: SrcSet0 (load) task fails on the source FILES LOCAL connections.

    Caused by: java.sql.SQLException: ODI-40438: file not found:

    I am going through the oracle blog and discover this ODI agent and the source file must be in the same server. But I can't place t of the file to the server of the odi where the agent is running. Can anyone know how to solve this problem.

    ODI configuration:

    ODI 11.1.1.7

    ODI Linux server

    ODI Client Windows 7.

    Thank you

    P

    Hi Paul.P,

    If you select an agent for execution of your, this agent should have access to all sources of data (DB, files,...) used in your integration project.

    You can map a network drive on the server where the agent is running and move files. Or you can get it from the original location via FTP or sFTP, for example. But your server must be able to manage this file at some point, if you want to use.

    If there is no way you can have the files on this server, you must take the opposite approach and install a new agent, where the files are located.

    More information: http://www.ateam-oracle.com/understanding-where-to-install-the-odi-standalone-agent/

    Kind regards

    JeromeFr

  • ODI - how to export data of "elimination" HFM?

    Hello

    I'm trying to export some data from HFM in SQL, using ODI table. It seems that ODI export data from the 'currency of the entity' as a default. Is it possible to export the value of "elimination" instead?

    If so, how can I do it?

    It is not the case. Only data can be exported with ODI. Elimination is regarded as aggregated data, and for this reason cannot be exported. Only level 0 data can be exported.

  • Connect to open the ldap server using ODI

    Hello

    I need to use openldap as dataserver in ODI. But I'm not sure how to provide the connection string valid. My test ldap server:
    -Host: 172.18.0.106
    -port: 389
    -base dn: dc = example, dc = com

    And (optionally), root (simple authentication) access:
    -Bind dn: cn = jimbob, dc = example, dc = com
    -password: pass

    So I'm trying to start with anonymous access (read-only), it's my connection string:

    JDBC:SNPs:LDAP? ldap_url = ldap://localhost:389 / & ldap_basedn = "dc = example, dc = com"

    Unfortunately, this works now:
    java.sql.SQLException: ODI-40528: a com.sunopsis.ldap.connection.SnpsLdapDriverPropertyException occurred, saying: ODI-40546: a user has failed

    Why he asked me to the user? ODI documentation says, this user/pass are not mandatory.

    What are the access channels for anonymous access and root (or any other user) correct connection in my case? The two methods works with apache directory studio.

    You can define ldap_auth = none for the anonymous user.

    Username/password is required otherwise. Please refer to http://docs.oracle.com/cd/E21764_01/integrate.1111/e12644/appendix_ldap_driver.htm#CHDHCABH

    Thanks,

  • How to get the variable substitution essbase in ODI

    Hi all
    I have a problem that I need to get the variable substitution of Essbase /EAS to work on a SQL in ODI.
    How can I do in ODI?
    Thank you all for...

    Thomas

    Hello

    If you read my blog:-http://john-goodwin.blogspot.com/2009/11/odi-series-planning-11113-enhancements.html
    In the post, there is a section on the recovery of the essbase substitution variables and their use in ODI.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • ODI Configuration concern with regard to the JOHNGOODWIN Blog (ODI Series 4)

    Hi John,.

    II get this error when I import Module knowledge (after that I started with the Designer and created PROJECTS; ODI Series 4 - enter the Designer)

    "Error importing XML.

    java.sql.BatchUpdateException: com.microsoft.sqlserver.jdbc.SQLServerException: sp_cursoropen/sp_cursorprepare: the statement parameter can only be a single

    SELECT or a single stored procedure.

    OK-Detail.


    java.sql.BatchUpdateException: com.microsoft.sqlserver.jdbc.SQLServerException: sp_cursoropen/sp_cursorprepare: the statement parameter can only be a single

    SELECT or a single stored procedure.
    at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeBatch (unknown Source)
    at com.sunopsis.sql.SnpsQuery.executeBatch (SnpsQuery.java)
    at com.sunopsis.dwg.dbobj.SnpTxt.setString (SnpTxt.java)
    at com.sunopsis.dwg.dbobj.SnpTxt.insertActionForDuplication (SnpTxt.java)
    at com.sunopsis.dwg.DwgObject.insertForDuplication (DwgObject.java)
    at com.sunopsis.dwg.DwgObject.insertForDuplication (DwgObject.java)
    at com.sunopsis.dwg.i.a (i.java)
    at com.sunopsis.dwg.i.a (i.java)
    at com.sunopsis.dwg.i.a (i.java)
    at com.sunopsis.dwg.i.a (i.java)
    at com.sunopsis.dwg.DwgObject.a (DwgObject.java)
    at com.sunopsis.dwg.DwgObject.doImport (DwgObject.java)
    at com.sunopsis.dwg.DwgObject.importFromXml (DwgObject.java)
    at com.sunopsis.graphical.l.ow.e (ow.java)
    at com.sunopsis.graphical.l.ld.b (ld.java)
    at com.sunopsis.graphical.tools.utils.swingworker.v.call (v.java)
    at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
    at com.sunopsis.graphical.tools.utils.swingworker.l.run (l.java)
    to edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:665)
    to edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:690)
    at java.lang.Thread.run (unknown Source)


    OPERATING SYSTEM: 2000 AS; SQL-2000; ODI VeR: 10.1.3.5


    Concerning
    N Kumar

    Hello

    You can import knowledge modules?
    I have never seen the error before, but a quick search reveals:-http://support.microsoft.com/kb/917054

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Name of dynamic resource for Excel/csv files

    Hi all

    Playback of a source (as well as csv) excel file, I tried passing the name of the resource via a variable that is defined to contain the name of the file (update). However, the performance, the file name with a character '-' extra without be specified in the interface variable text to deal with the load step.

    The error that says:

    ODI-1227: SrcSet0 (load) task fails on the source of the FILE connection < ConnNameHere >.

    Caused by: java.sql.SQLException: ODI-40438: file not found: C:\DirectoryNameHere\ /OTD.

    This is expected behavior where one needs to escape special characters?

    I checked that the extra / is not present in the value of the variable or the directory for the physical schema.

    TIA.

    Hello

    In my view, ODI generates the character ' / ' by default and I don't think we have any special treatment to escape this character.

    Based on the error message, it looks like you gave "C:\DirectoryNameHere\" in the directory in the physical schema. Lets say "SourceFiles" is your name of directory where all you produce will land and you want ODI to choose that path there, then directory will be "C:\DirectoryNameHere".  When you run the task, ODI generates path like this: "C:\DirectoryNameHere/OTD.csv."

    Kind regards

    KK

Maybe you are looking for