Oracle connectivity

Hello

facing the issue when connecting with sys: -.

SQL > conn sys as sysdba
Enter the password:
Connect to an instance is idle.
SQL > select name from V$ DATABASE;
Select name from V$ DATABASE
*
ERROR on line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session IDs: serial number 0: 0

I have the export ORACLE_HOME, PATH and SID.

THK

VIANA says:
Now I start, invite it: -.

SQL > startup
ORACLE instance started.

Total System Global Area 2059018240 bytes
Bytes of size 1314408 fixed
1023410584 variable size bytes
1023410176 of database buffers bytes
Redo buffers 10883072 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode

Your database actually started (mounted) by another instance. Set your ORACLE_SID variable correctly and continue

export ORACLE_SID=(in windows set ORACLE_SID=)
sqlplus "/as sysdba"
shutdown immediate;
startup;

Tags: Database

Similar Questions

  • detect Oracle Connection Manager sessions in the database?

    Hello

    I wonder if it is possible to tell if the user connected to the database through the Oracle Connection Manager proxy or directly.

    Thank you!

    1444209 wrote:

    Hello

    I wonder if it is possible to tell if the user connected to the database through the Oracle Connection Manager proxy or directly.

    Thank you!

    No, no way to detect

  • Clarification regarding the understanding of the ORACLE CONNECT BY PRIOR Clause

    Dear all,

    I'm trying to understand the ORACLE CONNECT BY CLAUSE, and I wrote a query to check my understanding.


    I wrote the below two queries.

    Select the level, lpad ('* ', 2 * (level - 1),'* '). t_ename Ename, empno, sys_connect_by_path(ename,'/') enames, Bishop of PEM
    -where empno = empno
    Start by empno = 7654
    -start with mgr is null
    Connect by prior empno = mgr;

    LEVEL T_ENAME ENAMES EMPNO, MGR
    ---------- -------------------- -------------------------------------------------- ---------- ----------
    1 MARTIN 7654 7698 /MARTIN

    Explanation: Start by EMPNO = 7654 here means, the root node is 7654. Connect BY PRIOR EMPNO = average MGR-> for the empno = 7654 are all the people under him. IE. Mgr with 7654.

    Select the level, lpad ('* ', 2 * (level - 1),'* '). t_ename Ename, empno, sys_connect_by_path(ename,'/') enames, Bishop of PEM
    -where empno = empno
    Start by empno = 7698
    -start with mgr is null
    Connect by prior empno = mgr

    LEVEL T_ENAME ENAMES EMPNO, MGR
    --------- -------------------- -------------------------------------------------- ---------- ----------
    1 BLAKE 7698 7839 /BLAKE
    2 * ALLEN/BLAKE/ALLEN 7499 7698
    2 * 7521 7698 WARD/BLAKE/WARD
    2 * MARTIN/BLAKE/MARTIN 7654 7698
    2 * TURNER, BLAKE/7844 7698 TURNER
    2 * JAMES BLAKE/JAMES 7900 7698

    Explanation: Start by EMPNO = 7698 here means, the root node is 7698. Connect BY PRIOR EMPNO = average MGR-> for the empno = 7698 are all the people under him. IE. Mgr with 7698.


    I UNDERSTAND TO CONNECT BY PRIOR IS CORRECT?

    Please correct me if I'm wrong.

    Thank you
    MK.

    Yes, you're right

    Kind regards
    Sayan M.

  • Access 2007 and Oracle connections

    Where can I find information on the Oracle connection. I'm on Vista and Access 2007.
    The Oracle db is on a remote server that I VPN in.

    Thank you

    You can visit the FAQ of the ODBC from here
    http://www.Oracle.com/technology/tech/Windows/ODBC/index.html

    It is possible that the ODBC for Oracle driver is not installed by default. Download and install the driver from this link.

  • How can I make the ERP Oracle connection same powers as company IDs?

    Hello

    I have to run business with Oracle ERP authentication authentication.

    We have the same credentials for our company interrnal (Gmail and Helpdesk, Jira) Portal, but we have different credentials (username and password) for ERP, as these two password are kept in two separate systems.

    Please suggest me how can I do ERP Oracle qualifications from the society Gmail (AD) identification information so that if we change the passowrd of gmail, then with the same password society we should be able to connect to oracle ERP.

    We are unable to perform such a LDAP authentication through recommonded EBS with SSO and OID integration solution. As for the SSO and the OID, we will require OAM, who is the licensed version. We are 8000 + employees and it will be a huge cost to society. So we dropped this idea.

    Our idea is the following:

    We will define a password hardcoded to the LES for all users to identify the user is a valid user for Oracle EBS.

    When click on Login , happen internal authentication LDAP that identify this same password hardcoded as a password valid internally and then the user is able to see the Oracle ERP homescreen.

    Please suggest me how can I do the LDAP using the OPS (JDeveloper 10.1.3.3.0) authentication.

    Is it possible to do this?

    Assume that POC, we have 2 fields username and password, and properly integrate into our company AD, this means that if I put my AD company credentials, it should allow me to login in there.

    Please suggest how can I do this? is there an API for it? Also suggest me another possible solution for ERP Oracle credentials identical to that of AD.

    Kind regards

    Monika

    Hi Monika,

    First to write all your calls of dbms_ldap in the procedure a pl/sql. Do not call dbms_ldap api functions separately in java.

    Didn't test it, but it should work.

    1 Wrrite a pl/sql package. You can also add create api user.

    create or replace package apps.xxanil_pkg as
    
        function authenticate(p_dn in varchar2, p_password in varchar2 ) return varchar2;
    
        function password_operation ( username varchar2, newpassword varchar2 ) return varchar2;
    
    end;                      
    
    /
    
    create or replace package body apps.xxanil_pkg as
    
        function authenticate(p_dn in varchar2, p_password in varchar2 ) return varchar2 is
            l_ldap_port   number        := 389; --ldap port
            l_ldap_host   varchar2(100) := '';
            l_out         varchar2(1);
    
            l_retval      pls_integer;
            l_retval2     pls_integer;
            l_session     dbms_ldap.session; 
    
            l_string      varchar2(256);
    
            my_attrs     dbms_ldap.string_collection;
            my_message   dbms_ldap.message;
            my_dn        varchar2(256);
            my_entry     dbms_ldap.message;
            x_retval     pls_integer;
            x_dn         varchar2(256);
    
            ldap_base     varchar2(256):= '';
            l_admin_dn    varchar2(256):= '';
            l_admin_pass  varchar2(256):= '';
        begin
            if p_password is null then
                return 'N';
            end if;
    
            l_retval                    := -1;
            dbms_ldap.use_exception     := true;       
    
            begin
                l_session   := dbms_ldap.init( l_ldap_host , l_ldap_port );
                l_retval    := dbms_ldap.simple_bind_s( l_session, l_admin_dn, l_admin_pass );
                my_attrs(1) := 'distinguishedName';
                x_retval    := dbms_ldap.search_s( l_session, ldap_base,  dbms_ldap.scope_subtree, 'sAMAccountName='||p_dn ,my_attrs , 0, my_message);
                my_entry    := dbms_ldap.first_entry(l_session, my_message);
                my_dn       := DBMS_LDAP.get_dn( l_session, my_entry );
                l_retval2   := dbms_ldap.unbind_s( l_session );
                if my_dn is not null then
                   x_dn := my_dn;
                end if;
            exception when others then
                x_dn := null;
            end;      
    
            begin
                l_session       := dbms_ldap.init( l_ldap_host , l_ldap_port );
                l_retval        := dbms_ldap.simple_bind_s( l_session, x_dn, p_password );
                l_retval2       := dbms_ldap.unbind_s( l_session );
                l_out := 'Y';
            exception when others then
                l_retval2       := dbms_ldap.unbind_s( l_session );
                l_out := 'N';
            end;  
    
            if l_out = 'Y' then
                return 'Y';
            end if;            
    
            return 'N';
        exception when others then
            return 'N';
        end;
    
        function password_operation ( username varchar2, newpassword varchar2 ) return varchar2 is
            l_result                    boolean;
            l_out                       varchar2(1) :='N';
            l_user_exist                varchar2(1);
            l_user_password_correct     varchar2(1);
        begin
    
            select decode(count(*),0,'N','Y') into l_user_exist from fnd_user where user_name = username ;
    
            if l_user_exist = 'Y' then  -- user exists
    
                l_user_password_correct := fnd_web_sec.validate_login(username,newpassword);
                if l_user_password_correct = 'N' then  -- user exists but password is wrong. change the password
    
                    l_result := fnd_user_pkg.changepassword(username,  newpassword );
                    commit;
    
                    if l_result then
                        l_out := 'Y';
                    else
                        l_out := 'N';
                    end if;
    
                else -- user exists, password is correct, do nothing
                    l_out := 'N';
                end if;
    
            else -- user not exists. create user here
                null;
            end if;  
    
            return l_out;
        exception when others then
            l_out := 'E';
            return l_out;
        end;   
    
    end;                      
    

    2. decompile LoginCO.class and add after the code before "hashmap.put ("username", s1);". Launch OAExceptions if any statement that may be called by error occurs.

    OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
    OADBTransaction txn = am.getOADBTransaction();
    
    CallableStatement csLdap = null;
    String ldapResult =null;
    String sqlldap = "Begin :1 := APPS.xxanil_pkg.authenticate(:2, :3); End;";
    csLdap = txn.createCallableStatement(sqlldap, 1);
    try {
      csLdap.registerOutParameter(1, Types.VARCHAR);
      csLdap.setString(2, s1);
      csLdap.setString(3, s2);
      csLdap.execute();
      ldapResult = csLdap.getString(1);
    } catch (SQLException e) {
      //throw OAException here, cut the process
    } finally {
      try {
      if (cs != null)
      cs.close();
      } catch (SQLException e) {
      //throw OAException here, cut the process
      }
    }
    
    if("Y".equals(ldapResult)) {
      CallableStatement cs = null;
      String result =null;
      String sql = "Begin :1 := APPS.xxanil_pkg.password_operation(:2, :3); End;";
      cs = txn.createCallableStatement(sql, 1);
      try {
      cs.registerOutParameter(1, Types.VARCHAR);
      cs.setString(2, s1);
      cs.setString(3, s2);
      cs.execute();
      result = cs.getString(1);
      } catch (SQLException e) {
      //throw OAException here, cut the process
      } finally {
      try {
      if (cs != null)
      cs.close();
      } catch (SQLException e) {
      //throw OAException here, cut the process
      }
      }
    }
    

    Kind regards

    Anil

  • ORACLE connection manager

    Is the ORACLE in ORACLE DB 12 c connection manager SE available?

    No, only in ORACLE DB 12 c Enterprise Edition:

    https://docs.Oracle.com/database/121/DBLIC/editions.htm#DBLIC116

  • Oracle: Connect loop in the user data

    I understand when a loop can occur in Oracle. In principle that it is said if a recording is both parent to another node and at the same time he was a child to him, then it may go into a loop.

    But I can't get why my this particular query is running in a loop.

    SELECT Empno, Ename, Job FROM Emp START WITH Empno = 7839 CONNECT BY PRIOR Job='PRESIDENT'

    Can someone please explain to me how these data can result in a loop. I did a CONNECT_BY_ISCYCLE check and found that the closure of the case is KING (Chairman). But I still don't understand how can be possible, that the KING is the President and I do not see anything in which it becomes child and parent to any record in the table.

    Please explain to me, why is it a mistake and where is the loop?

    Thanks in advance.

    Maybe if I pull on the hierarchy of your query, you will see what he is doing...

    PRESIDENT OF KING 7839<-- start="">

    PRESIDENT OF KING 7839<-- prior="" job='PRESIDENT'>

    PRESIDENT OF KING 7839<-- prior="" job='PRESIDENT'>

    .. etc.

    .. etc.

    ANALYST SCOTT 7788<-- prior="" job='PRESIDENT'>

    7902 FORD ANALYST<-- prior="" job='PRESIDENT'>

    7369 SMITH CLERK<-- prior="" job='PRESIDENT'>

    7934 MILLER CLERK<-- prior="" job='PRESIDENT'>

    7900 JAMES CLERK<-- prior="" job='PRESIDENT'>

    CLERK OF 7876 ADAMS<-- prior="" job='PRESIDENT'>

    7566 JONES MANAGER<-- prior="" job='PRESIDENT'>

    MANAGER CLARK 7782<-- prior="" job='PRESIDENT'>

    BLAKE MANAGER 7698<-- prior="" job='PRESIDENT'>

    7499 ALLEN SALESMAN<-- prior="" job='PRESIDENT'>

    7521 WARD SALESMAN<-- prior="" job='PRESIDENT'>

    7654 MARTIN SALESMAN<-- prior="" job='PRESIDENT'>

    7844 TURNER SELLER<-- prior="" job='PRESIDENT'>

    ANALYST SCOTT 7788<-- prior="" job='PRESIDENT'>

    7902 FORD ANALYST<-- prior="" job='PRESIDENT'>

    7369 SMITH CLERK<-- prior="" job='PRESIDENT'>

    7934 MILLER CLERK<-- prior="" job='PRESIDENT'>

    7900 JAMES CLERK<-- prior="" job='PRESIDENT'>

    CLERK OF 7876 ADAMS<-- prior="" job='PRESIDENT'>

    7566 JONES MANAGER<-- prior="" job='PRESIDENT'>

    MANAGER CLARK 7782<-- prior="" job='PRESIDENT'>

    BLAKE MANAGER 7698<-- prior="" job='PRESIDENT'>

    7499 ALLEN SALESMAN<-- prior="" job='PRESIDENT'>

    7521 WARD SALESMAN<-- prior="" job='PRESIDENT'>

    7654 MARTIN SALESMAN<-- prior="" job='PRESIDENT'>

    7844 TURNER SELLER<-- prior="" job='PRESIDENT'>

    Thus, in the first level of the hierarchy is your record START you WITH.

    When all folders are examined, the test of the PREREQUISITE WORK examines the top level folder, determines that he was the PRESIDENT and therefore each record matches this condition.

    Then, each of these folders are evaluated to determine the child records.  At this second level, only KING's post of PRESIDENT, he is the one who would have no record of the child and this WORK PRECONDITION = PRESIDENT will be valid for all records under the 2 KING level.

    This model keeps occurring under each folder KING indefinitely.

  • Oracle connection error installing OBIEE 11 g

    Hello

    I am getting INST-08030 error: cannot connect to the DB with the current credentials.

    Then that easily able to connect to the schema through SQL Plus am.

    The connection string is localhost:1521:orcl

    and I ping localhost and checked on the service using tnsping and they are all successful.

    Can you please help here to understand what is the problem, is it to do anything with the Java connectivity or something?


    Also one thing now, I noticed is that when I try to connect to the instance of sql * plus it work very well, but whenever I try to connect enterprise manager from the linkhttps://localhost:1158 / em

    It is to launch an error connecting to the host as a user SYSTEM has failed. ERROR: Invalid username / password

    Do not know what is the error here and how I do it...

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

    C:\Users\Admin > tnsping orcl

    AMT Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on May 22, 2014 11:52:28

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:

    C:\app\Admin\product\11.2.0\dbhome_1\network\admin\sqlnet.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521)) (CO

    NNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))

    OK (0 msec)

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

    Thank you

    S

    Hi Bianca,.

    The format of the string above did not work, I found it in some blogs which was not correct.

    I found the problem, for some strange reason that localhost is replaced to 127.0.0.1 (from a few DNS settings?) as in the hosts, that entry has been commented on by a "#" so I do not know where he is picking up.

    After replacing the default localhost defining 127.0.0.1 it worked fine, infact I also disabled MS Lookup adapter from the network and settings and it worked.

    Van

    S

  • CSV to Oracle - (integration) fails on ORACLE connection target

    Hello

    I'm trying to load data from a csv file into Oracle db by ODI.

    Here are the steps I followed:

    1 created the physical schema FILE

    1 created the physical schema and an Oracle data server in the physical Architecture

    2 - creation and related to logical schemas

    3 created the corresponding data models and the shops

    wheat to display the contents of CSV data and target in ODI table.

    4 - creating the interface, add csv as source and oracle table as the target

    5 used "LKM File to SQL" and "IKM SQL append" (FLOW_CONTROL is false)

    When I run the interface, the session starts while I'm getting the wrror following in operator:

    ODI-1228: ARIBA_G1 (integration) task fails on ORACLE DEV_DW connection target.

    Caused by: java.sql.SQLException: SQL92 no token taken in charge at position: 116

    at oracle.jdbc.driver.OracleSql.handleODBC(OracleSql.java:1319)

    at oracle.jdbc.driver.OracleSql.parse(OracleSql.java:1190)

    at oracle.jdbc.driver.OracleSql.getSql(OracleSql.java:341)

    at oracle.jdbc.driver.OracleSql.getSqlBytes(OracleSql.java:649)

    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)

    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)

    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)

    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)

    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)

    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:338)

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

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:263)

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

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

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

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

    This is the section of Code:

    BeanShell script error: source file: online assessment: "if (odiRef.getUserExit("FLOW_CONTROL").equals("1")) {out.print ("\ninsert int... ": Typed variable declaration: error in calling the method: getDataSetMin() method not found in class 'com.sunopsis.dwg.snpreference.SnpReferenceInterne': line: 25: in file: online assessment:" if (odiRef.getUserExit("FLOW_CONTROL").equals("1")) {out.print ("\ninsert int... (": odiRef .getDataSetMin)
    Info OSB: insert new lines to the line: column 0: columnNo
    If (odiRef.getUserExit("FLOW_CONTROL").equals("1")) {out.print ("\ninsert into\t");
    out. Print (odiRef.GetTable ("L", "TARG_NAME", "A"));
    out. Print ("\n (\n\tclick");
    out. Print (odiRef.getColList ("", "[column] ',' \\n\\t ', ' ', '((INS and!")) (("(TRG) and REW) '));
    out. Print ("\n\tclick");
    out. Print (odiRef.getColList ("," "[column]", ', \\n\\t ', ' ', ' ((INS and TRG) and REW) '));
    out. Print ("\n") \nselect\t");
    out. Print (odiRef.getColList ("", "[column] ',' \\n\\t ', ' ', '((INS and!")) (("(TRG) and REW) '));
    out. Print ("\n\tclick");
    out. Print (odiRef.getColList (","[EXPRESSION]", ', \\n\\t ', ' ', ' ((INS and TRG) and REW) '));
    out. Print ("\nfrom\t");
    out. Print (odiRef.GetTable ("L", "INT_NAME", "A"));
    out. Print ("\n");
    } else {out.print ("\ninsert into\t");
    out. Print (odiRef.GetTable ("L", "TARG_NAME", "A"));
    out. Print ("\n (\n\tclick");
    out. Print (odiRef.getColList ("", "[column] ',' \\n\\t ', ' ', '((INS and!")) (("(TRG) and REW) '));
    out. Print ("\n\tclick");
    out. Print (odiRef.getColList ("," "[column]", ', \\n\\t ', ' ', ' ((INS and TRG) and REW) '));
    out. Print ("\n") \n\nselect\n ");
    out. Print (odiRef.getColList ("", "[column] ',' \\n\\t ', ' ', '((INS and!")) (("(TRG) and REW) '));
    out. Print ("\n");
    out. Print (odiRef.getColList (","[EXPRESSION]", ', \\n\\t ', ' ', ' ((INS and TRG) and REW) '));
    out. Print ("\nFROM (\t\n");
    for (int i = odiRef.getDataSetMin (); i < = odiRef.getDataSetMax (); i ++) {out.print ("\n");
    out. Print (odiRef.getDataSet (i, "Operator"));
    out. Print ("\nselect \t");
    out. Print (odiRef.getPop ("DISTINCT_ROWS"));
    out. Print ("\n\tclick");
    out. Print (odiRef.getColList (i,"", "[EXPRESSION] [column]", ', \\n\\t ', ' ', '((INS and!)) (("(TRG) and REW) '));
    out. Print ("\nfrom\t");
    out. Print (odiRef.getFrom (i));
    out. Print ("\nwhere\t");
    If (odiRef.getDataSet (i, "HAS_JRN").equals("1")) {out.print ("\n\tJRN_FLAG <>has ' \t");}
    } else {out.print("\t(1=1)\t");}
    } out.print ("\n");
    out. Print (odiRef.getJoin (i));
    out. Print ("\n");
    out. Print (odiRef.GetFilter (i));
    out. Print ("\n");
    out. Print (odiRef.getJrnFilter (i));
    out. Print ("\n");
    out. Print (odiRef.getGrpBy (i));
    out. Print ("\n");
    out. Print (odiRef.getHaving (i));
    out. Print ("\n");
    } out.print ("\n)"); "
    out. Print (odiRef.GetInfo ("DEST_TAB_ALIAS_WORD"));
    out. Print ("ODI_GET_FROM\n\n");
    } out.print ("\n");

    ORIGINAL TEXT *.
    < % if (odiRef.getUserExit("FLOW_CONTROL").equals("1")) {% >}
    Insert into < % = odiRef.getTable ("L", "TARG_NAME", "A") % >
    (
    < % = odiRef.getColList ("", "[column] ',' \n\tclick ', ' ', '((INS and!") ("(TRG) and REW)") % >
    < % = odiRef.getColList ("," "[column]", ', \n\tclick ', ' ', ' ((INS and TRG) and REW) ") % >
    )
    Select < % = odiRef.getColList ("", "[column] ',' \n\tclick ', ' ', '((INS and!") ("(TRG) and REW)") % >
    < % = odiRef.getColList (","[EXPRESSION]", ', \n\tclick ', ' ', ' ((INS and TRG) and REW)") % >
    < % = odiRef.getTable ("L", "INT_NAME", "A") % >
    < %} else {% >}
    Insert into < % = odiRef.getTable ("L", "TARG_NAME", "A") % >
    (
    < % = odiRef.getColList ("", "[column] ',' \n\tclick ', ' ', '((INS and!") ("(TRG) and REW)") % >
    < % = odiRef.getColList ("," "[column]", ', \n\tclick ', ' ', ' ((INS and TRG) and REW) ") % >
    )

    Select
    < % = odiRef.getColList ("", "[column] ',' \n\tclick ', ' ', '((INS and!") ("(TRG) and REW)") % >
    < % = odiRef.getColList (","[EXPRESSION]", ', \n\tclick ', ' ', ' ((INS and TRG) and REW)") % >
    DE)
    < % for (int i = odiRef.getDataSetMin (); i < = odiRef.getDataSetMax (); i ++) {% >}
    < %=odiRef.getDataSet (i, "Operator") % >
    Select < % = odiRef.getPop ("DISTINCT_ROWS") % >
    < %=odiRef.getColList (i,"", "[EXPRESSION] [column]", ', \n\tclick ', ' ', '((INS and!) ("(TRG) and REW)") % >
    < % = odiRef.getFrom (i) % >
    where < % if (odiRef.getDataSet (i, "HAS_JRN").equals("1")) {% >}
    JRN_FLAG <>would be "< other %} {% > (1 = 1) < %} % >}"
    < % = odiRef.getJoin (i) % >
    < % = odiRef.getFilter (i) % >
    < % = odiRef.getJrnFilter (i) % >
    < % = odiRef.getGrpBy (i) % >
    < % = odiRef.getHaving (i) % >
    < %} % >
    ) < % = OdiRef.getInfo ("DEST_TAB_ALIAS_WORD") % > ODI_GET_FROM

    < %} % >

    Any suggestions are appreciated.

    Mike

    Hi Sara,.

    No, no error or bad files.

    In fact, the data is moved correctly into the temporary table created by ODI, but not the final target table.

    I discovered the reason if the knowledge modules imported were of another ODI installation!

    I made sure to import the good KM and it worked.

    Thank you!

  • Oracle connection problem: cannot open the library

    Hello

    I'm using VS2010, Timesten 112241 and ODAC 1120320 on Windows 7. When I try to access database of TT using SQL Developer, for example, it works perfectly, but everything I try to access it from my application, he throws ORA-29158: could not open except for the library. I read a few threads on the forum about this problem, tried to copy the tnsnames.ora, sqlnet.ora and on the record of the new client after installing the ODP, set TNS_ADMIN to locations of files .ora, tns alias, the value, but nothing seems to work. Which library it refers? What Miss me?

    Here is the output of ttVersion:
    TimesTen release 11.2.2.4.1 (64 bit NT) (tt1122_64:53396) 2012-10 - 30 T 06: 32:14Z
    Forum admin: nikola.bajic
    Home Directory Forum: C:\TimesTen\TT1122~1\
    Accessible world
    Demon base directory: C:\TimesTen\TT1122~1\srv\info
    PL/SQL active.

    Here is the output of ttStatus:
    Daemon pid 1872 port 53396 instance tt1122_64
    TimesTen PID 1960 server started on port 53397
    C:\tt_temp\TT_ItemCache data store
    There is no connection to the data store
    Replication strategy: manual
    Agent caching policy: manual
    PL/SQL active.
    C:\users\nikola~1.baj\appdata\roaming\timesten\demoda~1\TT_tt1122_64 data store
    There is no connection to the data store
    Replication strategy: manual
    Agent caching policy: manual
    PL/SQL active.
    C:\users\nikola~1.baj\appdata\roaming\timesten\demoda~1\sampledb_112 data store

    There is no connection to the data store
    Replication strategy: manual
    Agent caching policy: manual
    PL/SQL active.
    Accessible by any group
    End of report

    Here the tnsnames.ora entry:
    tns_item_cache = (DESCRIPTION =
    (CONNECT_DATA =
    (SERVICE_NAME = TT_ItemCache)
    (Server = timesten_client)))

    Here's the code for the app:
    connStr = "user Id =;". Data Source = tns_item_cache;
    GetConnection (connStr);

    private OracleConnection GetConnection (String connStr)
    {
    Con OracleConnection = new OracleConnection (connStr);

    con. Open();
    return con;
    }

    Best regards
    Nikola

    Hello Nikola,

    Could you please put the code you are using, and the exact error you get. In addition, please check the env variables, as CLASSPATH, LD_LIBRARY_PATH and etc. here (java.sql.SQLException: problems with the native/lack of loading methods library )

    Also "verify that the entry in the tnsnames.ora file is associated with a DSN TimesTen or service_name in the simple connection string is set to a DSN TimesTen." (http://download.oracle.com/otn_hosted_doc/timesten/odpnet/readme.htm)

    Best regards
    Gena

  • Oracle connect error

    Hello
    Oracle version: 10g
    Linux Red Hat operating system

    When I try to connect to my DB I get: ORA-12154

    Below the tnsnames and Auditor
    --tnsnames.ora
    
    alias_oqlt =
        (DESCRIPTION =
            (ADDRESS = (PROTOCOL = TCP) (HOST = ora102) (PORT = 1522))
            (CONNECT_DATA =
                        (SERVICE_NAME = oqlt)
            )
        )
         
    --listener.ora
    
    alias_oqlt =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ora102)(PORT = 1522))
        )
      )
    
    SID_LIST_alias_oqlt =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = oqlt)
          (ORACLE_HOME = /u01/oracle/product/10.2.0)
        )
      )
    
    tnsping alias_oqlt
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = ora102) (PORT = 1522)) (CONNECT_DATA = (SERVICE_NAME = oqlt)))
    OK (0 msec)
    --


    If I change the port to 1521 1522, I can connect properly

    Do you have any idea?

    You must inform the default listener of the instance:

    alter system set local_listener='(address=(protocol=tcp)(host=ora102)(port=1522))';
    alter system register;
    
  • Oracle connection non-oracle

    I have unixodbc and freetds. Since isql I can connect to ms sql server. Oracle sqlplus, I get:

    SQL > SELECT * FROM 'Banks"@EIMS;
    SELECT * FROM 'Banks"@EIMS '.
    *
    ERROR on line 1:
    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    [unixODBC] [FreeTDS] [SQL Server] Unable to connect to data
    source [unixODBC] [SQL Server] Adaptive Server [FreeTDS] login
    has failed [unixODBC] [FreeTDS] [SQL Server] Server unexpected EOF
    ORA-02063: preceding 2 lines of EIMS

    Post the odbc.ini file that you use.
    This may look like the wrong version of the TDS protocol is used with Dg4ODBC and FreeTDS.

    Published by: kgronau on 27 Sep, 2012 12:47

    Add
    TDS_Version = 8.0
    QuotedId = YES

    to your odbc.ini

  • Oracle connection to MPE/IX using MINISOFT

    Hi all

    Hope someone can help with this hereditary problem.

    Old system: 32-bit Windows server 2003.
    Old DB: 10.2.0.2

    Current system: Windows Server 2008 R2 64-bit.
    EDIT: current DB: 10.2.0.5

    Needed to connect to Oracle 11 g / Windows Server 2008 R2 64-bit download HP3000 MPE/IX before data from the old system is stopped for good. Server Admin claimed it has installed MINISOFT 32-bit drivers and have created the system DSN.
    I believe that the old system connects via ODBC heterogeneous, because I found http://www.easysoft.com/applications/oracle/hsodbc.html and one of the steps shown the configuration in iniths*.ora. The old system has not been configured.

    Anyone who is familiar with these connections? I tried to follow http://www.easysoft.com/applications/oracle/hsodbc.html but fall into problems of connections.

    (1) more, I do not understand how it relates to MINISOFT - there is a whole folder of connections and schema files, specifying the table structures in XML file extensions. I can't find anything to www.minisoft.com

    (2) I get errors ORA-28545: error diagnosed by Net8 when connecting to an agent cannot retrieve the text of the NETWORK/NCR 65535 ORA-02063: preceding 2 lines of on the connection of database in EM test.

    Published by: apex_disco on October 31, 2011 07:03

    Hello
    Yes, the ODBC driver must also be 64-bit to work with the 64-bit DG4ODBC.

    Kind regards
    Mike

  • Oracle connection problem

    Hi all

    I'm on Windows7, oracle 10g AND I'm on the same server

    I am trying to connect to oracle via browser

    http://localhost:5560 / isqlplus

    A pop-up window will appear and ask for the user_name and password

    Scott/tiger < got connected >

    but
    When

    http://localhost:5560/isqlplus/dba

    Still the pop-up window comes up and ask the user_name and password

    sys
    ---
    any other sysdba

    its not matching

    Thank you

    Rajneesh says:
    Hi aman

    first of all, I didn't understand anything to the summary doc link
    Maybe because I'm beginner in oracle.
    I force uderstand where to configure them for isql * plus DBA access

    I'll suggest that you read a little more carefully this document because there is complete steps are given to set access s/n. scroll down a bit and you'd see these steps.

    I have uninstall the 10g and re - install the 11 g r2 that is compatible with my OS win7 64
    and now, the Business Manager works but I am unable to connect
    http://host_name:port_no / isqlplus
    Why?

    Because his abducted 11 g.

    Aman...

  • Crystal reports by DSN Oracle connection

    Hello

    When I create a DSN for Oracle and tested the connection was successful.
    When I access to Crystal reports, I get the following error.

    Logon failed
    Specified details IM003 driver could not be loaded due to the error 127 (Oracle in ora client10g_home1) system.
    Database vendor code: 160

    Can someone help me in this

    Concerning

    Welcome to the forum.

    If you have multiple versions of oracle installed, give the PATH as the last version comes first.

    Concerning

Maybe you are looking for

  • Satellite L750D - impossible to obtain an appropriate resolution

    Hello I bought my laptop L750D only today in Australia and I had to remove the window 7 that has been implemented on this computer first, and I've set up window 7 ultimate in Korean earlier. (because it's a little difficult for me using computer in E

  • How do to reset the password for Motorola e-mail account, so that I can connect to XBOX live account?

    Original title: I forgot my ' * address email is removed from the privacy * "passwd this is a parental link account to my son acccout. Can you please send me the link to reset passwd? Not able acept terms and condition while trying to connect to xbox

  • My Scanner does not work! Error: Make sure that the feature is open

    I have a copier, printer, fax, scanner printer HP all-in-one.  Everything works but the scanner.  The message says "make sure the feature is open.  Open HP printing software. Shares of select the scanner. Then select manage the Scan to computer.  How

  • Windows Media Player 11 disorder (sync music)

    Hello, having problems with my Media Player recognizing my Microsoft Zune when plugged into my usb port.I am running Vista Home Premium 64-bit with service pack 2.A year of my software Zune stopped working for me. Just says "Microsoft Zune has stoppe

  • HP deskjet 3522

    We bought this all-in-one printer in June. It works perfectly, when we put in place. About 3 weeks ago the screen stopped to show anything. The printer still prints of our laptops very well, but the screen is blank. I have done the troubleshooting ti