Tnsping is works but get the error ORA-12514

Hello

I configured a RAC environment.

tnsping is functional and able to ping scan ip as well but is the ORA-12514 error connecting.

Thank you

Rahul Joshi

You must register your services with SCAN listeners, probably with

ALTER system set remote_listener ='rac - scan.sigmasys .net: 1521';

Tags: Database

Similar Questions

  • The screen record works, but get the error dialog box

    Running Windows 7 Home Premium 64-bit.

    I set my screen saver to run a show of my own folder of Photos. Worked well. Then, I moved my photos on an external hard drive. Reset my screen saver so that it points to the new location of the files.

    Now, the screen saver is used as intended (straight length of time, the images are brewing, etc..) BUT I also have a dialog box that is displayed at the top as follows: the title bar of the dialog box is: Photo Screensaver.scr No. Disk.
    The message in the dialog box is: there is no disc in the drive. Insert a disk in drive \Device\Harddisk1\DR1

    Here is a link to a picture of the dialog box if that helps.

    How can I remove this dialog of gaffe?

    Thanks for your help!

    Hi livelife0124,

    You can get this error message when you have a player that is removable, configured as drive C letter or when there is actually no removable disk that is not true in your case.

    To resolve this problem, you can change the assignment of drive letter for the removable drive to one letter other than C.

    Go to the link below to change the drive letter of a drive in Windows 7.

    http://Windows.Microsoft.com/en-us/Windows7/change-add-or-remove-a-drive-letter

    Hope this information helps

    Varun j: MICROSOFT SUPPORT
    Visit our Microsoft answers feedback Forum
    http://social.answers.Microsoft.com/forums/en-us/answersfeedback/threads/ and tell us what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Suddenly get the error ORA - 12514 Oracle 11 GR 2

    I installed Oracle 11 g r2 very well, has 2 databases (se3 and mydb, both have db_domain .orcl i.e. mydb.orcl and se3.orcl) running on this subject very well until yesterday. but all of a sudden im getting ORA-12514 error (TNS:listener don't know of service requested in connect descriptor)...

    My tnsnames.ora file:

    tnsnames.ora # Network Configuration file: G:\oracledb\product\11.2.0\dbhome_1\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    LISTENER_MYDB =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    MYDB =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = mydb.orcl)

    )

    )

    SE3 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = se3.orcl)

    )

    )

    LISTENER_SE3 =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    and my listener.ora file is as follows:

    listener.ora # Network Configuration file: G:\oracledb\product\11.2.0\dbhome_1\network\admin\listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = G:\oracledb

    * I have two data bases facing up and running (confirmed by the administration Assistant), the listener is in place... capable of performing "tnsping mydb/se3" im... I am not able to connect to them through sqlplus/sql developer... The result of "lsnrctl service" is the following:

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))

    AMT-12541: TNS:no listener

    AMT-12560: TNS:protocol adapter error

    AMT-00511: no listener

    32-bit Windows error: 2: no such file or directory

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    The command completed successfully

    PLEASE HELP ME FRIENDS! I HAVE A PROJECT IN EARLY OCTOBER

    Hello

    Instead:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    )

    have the following items in your listener file

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    (SID_DESC =

    (SID_NAME = mydb)

    (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)

    )

    (SID_DESC =

    (SID_NAME = se3)

    (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = localhost)(PORT = 1521))

    )

    )

    In addition, do not have 'localhost' in your listener.ora file, provide IP address real or the hostanme. NEVER, YOU should have

    localhost.

    Reboot and try listener.

    Thank you &

    Better subject.

  • I want to add a printer, but get the error message "print spooler service does not work."

    I can't print from my computer.  This has happened with no other visible defects on the computer or the printer.

    When I use the printer in case of problem, and hit the 'add printer' link, I get the error message "print spooler service is not."

    "I did a search on"print spooler"but got no result

    Duane

    Often, but not always, the symptoms you describe are caused by a corrupt print job stuck in the queue or a damaged printer driver.  However before you clean things up, on general principles, that you can download, install, update and run full scans with each of these two free programs:

    AntiMailware MalwareBytes
    SUPERAntiSpyware

    Do not operate the two scans simultaneously.  Each will take a long time, so start it and then go do something else for a while.

    Cleaning of printers

    NOTE: If after completing step has the print spooler is not always running after you launched the command "net start spooler", you will not be able to follow all the steps in "First Article".  Instead, go to the other link and download and get and use the utility 'cleanspl' such as described here.

    If the suggestions below do not resolve your problem, after back and don't forget to include the following information:

    • The version of Windows you have, including service pack (start > run > winver > OK)
    • The brand and model of printer you have (includes the manufacturer, model and model number, as in HP Deskjet 6800)
    • How the printer is connected to the computer (parallel, USB, network, wireless, etc.).
    • It happened just before this symptom started
    • What application antivirus you have and if your subscription is up to date and has been maintained continuously
    • The full text of the error messages related to printing, without paraphrasing


    A. Clean on print jobs pending

    • Open a command prompt window (start > run > cmd > OK)
    • Type the following in the black command prompt window, and then press ENTER after each line

    net stop spooler
    del/q '% windir%\system32\spool\PRINTERS\*.* '.
    net start spooler
    output

    B. clean the old printer drivers and install the latest drivers by using the directions in One Article.  If you have (or had) a Lexmark printer, follow the instructions on the following site before installing the new drivers, as explained in its first Article: http://members.shaw.ca/bsanders/CleanPrinterDrivers.htm

  • Gets the error ORA-01779 after I added the column

    Hi, I'm a total newbie in APEX but collaborated with ordinary development Oracle (tables, views, packages, triggers, etc) for a number of years.

    I ve been assigned in order to respect an existing application to APEX. One task is to add a column to a single character named 'ACTIVE' to a database table and also present on a current project list page. The value can be 'Y' or 'n'. In the view which is the source of data for the project page ad 'Y' turned into 'Yes' and 'n' turned into 'no '. So far so good, everything works well.

    There is another page on which it is possible to create new or modify existing projects. This page uses a view as a source of data. On this page, I added a group of radiobutton that contains two options: 'Yes' and 'no '. When I select to edit a project in the project list page the second page is loaded and the correct option, 'yes' or 'No', is marked on the page. This group of radiobutton works exactly like a couple of other groups of radiobutton also represented with a single character column in the database. So far so good!

    However, when I try to save the project file by clicking on "Apply Changes" I get this error:

    ORA-20001: DML error: p_rowid = 50, ID = p_alt_rowid, p_rowid2 =, p_alt_rowid2 is. ORA-01779: cannot modify a column that is mapped to a table not preserved key

    What is the problem here? The new 'ACTIVE' column is added to the view, when I run the view I Don t get all records in duplicate, the underlying table has a column id as the primary key.

    Since I Don t know that APEX is under the hood it s hard tp what's wrong. Anyone knows the solution to this problem?

    / Magnus

    Hello Magnus,

    Is there an INSTEAD OF trigger defined on the view? Have you added the new column ACTIVE there too?

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Get the error ORA-01422 in stored procedure

    ORA-01422: exact fetch returns more than number of lines
    This page explains the error:
    http://www.techonthenet.com/Oracle/errors/ora01422.php

    This is my procedure:
    In the clause select is causing the error. I understand the nature of the error, but the strange thing is that when I run the sql code, remove the "in."
    part of my test settings, I just receive a single line. Always when I execute my procedure with the same settings I get the error. What could be wrong?

    create or replace
    PROCEDURE COUNTER_GETACTIVE
    (
    METERPOINTID IN MeterPointCounters.MeterPointId%Type,
    METERPOINTCOUNTERNR IN METERPOINTCOUNTERS. Type of METERPOINTCOUNTERNR %,
    p_cursor on REFCURSOR_PKG.counter_cursor
    )
    IS
    l_counterNr CounterBridgeTable.CounterNr%type;
    l_meterId CounterBridgeTable.MeterId%type;
    BEGIN
    Select counternr, meterid in l_counterNr, l_meterId from CounterBridgeTable where meterpointid = METERPOINTID and meterpointcounternr = METERPOINTCOUNTERNR and datetom is null;

    Open p_cursor for select * from counters where counternr = l_counterNr and meterId = l_meterId;

    END COUNTER_GETACTIVE;

    You actually run this query

    select counternr, meterid from CounterBridgeTable where meterpointid = METERPOINTID and meterpointcounternr = METERPOINTCOUNTERNR and datetom is null;
    

    param name is identical to the column, he's ignoring your param and pretty much do a self-join

    Try this:

    create or replace
    PROCEDURE COUNTER_GETACTIVE
    (
    p_METERPOINTID IN MeterPointCounters.MeterPointId%Type,
    p_METERPOINTCOUNTERNR IN METERPOINTCOUNTERS.METERPOINTCOUNTERNR%type,
    p_cursor out REFCURSOR_PKG.counter_cursor
    )
    IS
    l_counterNr CounterBridgeTable.CounterNr%type;
    l_meterId CounterBridgeTable.MeterId%type;
    BEGIN
    select counternr, meterid into l_counterNr, l_meterId from CounterBridgeTable where meterpointid = p_METERPOINTID and meterpointcounternr = p_METERPOINTCOUNTERNR and datetom is null;
    
    open p_cursor for select * from counters where counternr = l_counterNr and meterId = l_meterId;
    
    END COUNTER_GETACTIVE;
    

    Published by: tanging on June 8, 2010 10:37

  • Adobe creative cloud installation does not work. Get the error code 207. All solutions?

    I recently got the cloud creative adobe and so far I'm not impressed with her. The adobe installer will not download the creative application of cloud. It keeps freezing for a minute and gives me this error message.adobeerror207.png

    And if you tell me that if I am on a managed network and I need to be wired connection to make it work, I am. I use a wired connection and my internet works perfectly. And I also tried disabling my firewall, antivirus software, basically everything what is perhaps perform the server. Still does not work... I tried everything and nothing works.

    Got it to work, it seems that it is bitdefender, my anti virus program sends me questions. However, I disable the antivirus program trying to get the installer to work and I still get the error. So I just straight up to uninstall bitdefender on my pc and it seems to work perfectly. Hope this helps anyone who has the same problem I did.

    See you soon!

  • Get the error ora-02021

    I'm trying to truncate a table but oracle throws the error ORA-02021: DDL operations are not allowed on a remote database.

    02021, 00000, "DDL operations are not allowed on a remote database"
    * Cause: An attempt was made to use a DDL operation on a remote database.
    For example, "CREATE TABLE tablename@remotedbname... ».
    * Action: To change the remote database structure, you must connect to the
    remote database with the appropriate privileges.


    I'm pretty sure you have the appropriate privileges.

    You can even call a procedure:
    dbms_utility.exec_ddl_statement@DB_LINK exec ('your stmt');

  • Get the error: ORA-01460: letter dead or unreasonable conversion requested

    Hello

    I created a Page in Oracle APEX, I have a textarea element Page. I created a Page process on the "submit" button to insert text box data in the CLOB column in a table. If the data in the text box is less than 4,000 characters, it works fine, but if the data exceeds 4000 I get the below error:

    "Error during the processing of validation.

    "ORA-01460: letter dead or unreasonable conversion requested".

    Here's my process of Page:

    declare

    CLOB v_notes;

    Start

    v_notes: = wwv_flow_utilities.clob_to_varchar2(:P1_NOTES);

    INSERT INTO ENQ_DETAILS (ENQUIRY_TYPE,STOCKS,NOTES,CREATED_BY)

    VALUES (1,: P1_RESPONSE_ACTION, v_notes,: APP_USER);

    end;

    Can someone help me please?

    Chaitali salvation,

    Check this plugin: Enkitec CLOB support

    Kind regards

    Jitendra

  • Need to activate windows 7, but get the error 0xC004C020 code

    I need to reinstall the OS system, but when I did I get a pop up window that says unexpected error code 0xC004C020 the key code is pass many times, it can be activated. I never had this problem before, but it's only one of the problems that happens with this problem. The others are with Media Center, you try to use Netflix will not play instance movies keep getting script error 50 line, oh I only have half of gimp too when I install it. No one knows what to do with it.

    See this article, it seems you need to do a phone activation:

    http://support.Microsoft.com/kb/938450

    After graduating from active Windows, you can work on the following problem.

  • Get the error ORA-39146 while trying to import data from 10 g to 12 c

    Hi all


    im getting below error while trying to import data from 10 g to 12 c


    ORA-39146: schema 'B_SITES' does not exist
    import in WE8MSWIN1252 and AL16UTF16 NCHAR character set
    export in the UTF8 character set and AL16UTF16 NCHAR character set
    ATTENTION: the possible loss of data to character set conversions


    can someone help how do we change to WE8MSWIN1252 UTF8 character set...

    Hello

    "ORA-39146: there is no schema 'B_SITES'.

    ORA-39146: schema 'string' does not exist

    Cause: The specified schema was referenced as the source of a REMAP_SCHEMA parameter, but did not exist in the dump file (for

    Action: Specify the correct name of the schema to be remapped.

    Anand

  • Sending a message using UTL_SMTP, get the error ORA-29278: SMTP temporary error

    Hi all

    I try to send mail from oracle plsql. for that I use the below mode operative but unfortunately not able to move forward.
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    procedure is
    CREATE OR REPLACE PROCEDURE send_mail (p_to        IN VARCHAR2,
                                           p_from      IN VARCHAR2,
                                           p_message   IN VARCHAR2)
    AS
      l_mail_conn   UTL_SMTP.connection;
      l_reply utl_smtp.reply;
      l_smtp_host VARCHAR2(50) := 'smtp.gmail.com:25';
      l_smtp_port NUMBER := 25;  
    BEGIN
      l_mail_conn := UTL_SMTP.open_connection(l_smtp_host, l_smtp_port);
      utl_smtp.EHLO(l_mail_conn, l_smtp_host);
      utl_smtp.command(l_mail_conn, 'AUTH LOGIN');
      utl_smtp.command(l_mail_conn, utl_raw.cast_to_varchar2(utl_encode.base64_encode(utl_raw.cast_to_raw('[email protected]'))));
      utl_smtp.command(l_mail_conn, utl_raw.cast_to_varchar2(utl_encode.base64_encode(utl_raw.cast_to_raw('mypwd'))));
      l_reply :=UTL_SMTP.mail(l_mail_conn, p_from);
      dbms_output.put_line( l_reply.code || ' ' || l_reply.text );
      UTL_SMTP.rcpt(l_mail_conn, p_to);
      UTL_SMTP.write_data(l_mail_conn, p_message || UTL_TCP.crlf || UTL_TCP.crlf);
      UTL_SMTP.quit(l_mail_conn);
    END;
    /
    call you as follows
    declare
     conn        utl_smtp.connection;
     smtp_domain VARCHAR2(256) := null;
     BEGIN
     utl_smtp.command(conn,'STARTTLS');
     utl_smtp.helo(conn, smtp_domain);
       send_mail(p_to        => '[email protected]',
                 p_from      => '[email protected]',
                 p_message   => 'can i get message.');
     END;
     /
    and the error
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 97
    ORA-06512: at "SYS.UTL_SMTP", line 159
    ORA-06512: at line 5
    I checked in Control Panel that IIS is installed and also SMTP is configured.
    I am able to ping HOST SMTP thro' TELNET

    and I changed the parameter, SMTP_OUT_SERVER, as
    ALTER SYSTEM SET SMTP_OUT_SERVER= 'smtp.gmail.com:25' scope = both
    I don't get no idea. is this due to use the GMAIL Server?

    Oracle 10 g and Windows version is XP - SP3

    Thanks for any help

    Concerning
    Knockaert

    When I googled for "Gmail PL/SQL" I find a lot of things, including the articles of blog with code examples. How about you?

  • get the error ORA-04088

    Hello

    I created a trigger to trigger the error if a trial off to enter data in a column that is attached to a number sequence.
    This trigger works, but with errors, these errors become after trying to insert values into the table.

    The errors are:

    Insert into test2 values(24,'horse','hyderabad',30); - 30 here is worth attempting to enter the column use
    Error report:
    SQL error: ORA-20101: insertion of the value to enter the not allowed... It will take the auto-numbering
    ORA-06512: at "SCOTT. TRI_UNQID', line 11
    ORA-04088: error during execution of trigger ' SCOTT. TRI_UNQID'


    My trigger is
    create or replace
    trigger tri_unqid
    before insert on test2 
    for each row
    declare
    v_number number(2);
    ins_exp exception;
    begin
    if :new.regid is not null  then
    raise ins_exp;
    else 
    select unqid.nextval into v_number from dual;
    :new.regid:=v_number;
    end if;
    exception
    when ins_exp then
    raise_application_error(-20101,'inserting the regid value not allowed.. it will take auto number');
    end tri_unqid;
    Output:
    It's the execution and throw my exception and other... I am not able to solve...
    and another point is if it is inserted successfully with errors, then it's values are inserted into the table at the front not the end of the records... How is it going...

    can any body explain

    Thank you
    Baba

    Published by: BluShadow on April 11, 2013 10:26
    fixed {noformat}
    {noformat} tags.  The "code" in the tag is enclose in "{" and "}", not "<" and ">"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    It's the execution and throw my exception and other... I am not able to solve...

    This is because there is no problem.

    Check your error message

    
    SQL Error: ORA-20101: inserting the regid value not allowed.. it will take auto number
    ORA-06512: at "SCOTT.TRI_UNQID";, line 11
    ORA-04088: error during execution of trigger 'SCOTT.TRI_UNQID' 
    

    Read from the bottom up. Oracle means

    1. a SCOTT trigger. TRI_UNQID caused an error
    2. the error occurred on line number 11
    3. the error message is ' insertion of the value to enter the not allowed... " It will take auto number.

    Why oracle has to say what trigger or procedure caused the error? Because there might be several trigger or procedure that may generate the same error if a user just need to know what is causing the error. And a line number is always helpful for debugging.

    So everything is good here. There is no problem to solve.

    and another point is if it is inserted successfully with errors, then it's values are inserted into the table at the front not the end of the records... How is it going...

    In a HEAP organized table this is SO forward or back (order of the lines is not relevant). If you want to display the records in an orderly manner use the ORDER BY Clause in the SELECT statement.

    So all is good here as well.

  • The simple geometry Gets the error ORA-29532 on all calls SDO_GEOM

    Hi all

    I have a single point in a table in such a way that the query:
    select SDO_GEOM.VALIDATE_GEOMETRY(geomObj, 0.05) from testvalid;
    /* Returns */
    SDO_GEOM.VALIDATE_GEOMETRY(GEOMOBJ,0.05)
    'TRUE'
    However the query:
    select SDO_GEOM.VALIDATE_GEOMETRY_with_context(geomObj, 0.05) from testvalid;
    Receives the following error message:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.NumberFormatException: empty String
    ORA-06512: at "MDSYS.SDO_3GL", line 658
    ORA-06512: at "MDSYS.SDO_GEOM", line 519
    ORA-06512: at "MDSYS.SDO_GEOM", line 558
    ORA-06512: at line 1
    The data itself are a unique SDO_POINT_TYPE:
    select GEOMOBJ from testvalid;
    /* Returns: */
    GEOMOBJ
    '(3001, , (174.092329032787, 129.420551704918, -71.2857142857142), , )'
    I think the problem is something to do with the accuracy of the stored X, Y and Z values in point because if I'm running the following:
    update TESTVALID set GEOMOBJ.sdo_point.x = cast(GEOMOBJ.sdo_point.x as number(8,3));
    select SDO_GEOM.VALIDATE_GEOMETRY_with_context(geomObj, 0.05) from testvalid;
    /* Returns: */
    SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(GEOMOBJ,0.05)
    'TRUE'
    Similarly, running a direct comparison of an object made in the textual representation of the point fly works fine:
    select SDO_GEOM.VALIDATE_GEOMETRY_with_context("MDSYS"."SDO_GEOMETRY"(3001,NULL, "MDSYS"."SDO_POINT_TYPE"(174.092329032787,129.420551704918,-71.2857142857142),NULL,NULL), 0.005) from dual;
    /* Returns */
    SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT("MDSYS"."SDO_GEOMETRY"(3001,NULL,"MDSYS"."SDO_POINT_TYPE"(174.092329032787,129.420551704918,-71.2857142857142),NULL,NULL),0.005)
    'TRUE'
    Note that I only noticed this problem after upgrade to v11 v11 R2. In addition, the same error ORA-29532 happens when executing calls SDO_GEOM. [x] function such as SDO_GEOM. DISTANCE(). The problem is not limited to the geometries of type SDO_POINT_TYPE, but the problem only happens on some geometry entries in my database. It is reproducible in that the same geometry will continue to fail and the only solution I found is to try to round up its precision in x, y or z. I don't know how to round the precision for the types of SDO_POINT_TYPE easily, so one of my problems is that I find myself with a any dispersion of other geometries that I can query is no longer in space.

    The data itself was inserted from MATLAB (which connects using drivers of ODBC Oracle Java v11) which converts my details in Java.Math.BigDecimal and binds to a prepared statement oracle.
    It is possible that I consider that the insertion is made from different computers, some of which are 64-bit computers. Maybe somehow these machines are pumping in too large of a precision coordinates for the geometry of the oracle?

    Any help would be great I am quite lost here.
    If the precision is indeed the problem, anyone know how can I cut these surplus values after the decimal point for all types of geometry?


    Thank you
    Sven.

    It is only related to the version of the server.
    So once the database is 11.2, that corruption won't happen.

  • Get the error ORA-31204: DBMS_LDAP: PL/SQL - Session of LDAP invalid.

    I get error report error: ORA-31204: DBMS_LDAP: PL/SQL - Session of LDAP invalid. When you attempt to select a view in the APEX. The view is the source of the region for a regional report.

    The view contains data from active directory that has been built using the DBMS_LDAP package.

    PLEASE SEE BELOW FOR THE CODE USED IN THE CONSTRUCTION OF THE VIEW;

    VIEW to CREATE or REPLACE v_capa_security AS
    (select attribute_name, attribute_value)
    table (ldapquery (sys_context ('CAPA_ACCESS', 'domain') |'. com',))
    '389',
    sys_context ('CAPA_ACCESS', 'username') | » @'|| sys_context ('CAPA_ACCESS', 'domain') |'. com',.
    sys_context ('CAPA_ACCESS', 'password'),
    "DC is psdev, DC = com",
    "sAMAccountName =' | ' sys_context ('CAPA_ACCESS', 'username'),
    (("memberof, business, mail, sAMAccountName"))
    );

    (The below function retrieves data from a LDAP directory)

    CREATE OR REPLACE FUNCTION LDAPQuery)
    p_host IN VARCHAR2,
    p_port IN VARCHAR2,
    p_user IN VARCHAR2,
    p_password IN VARCHAR2,
    p_dn_base IN VARCHAR2,
    p_filter IN VARCHAR2,
    p_attributes IN VARCHAR2)
    Tbl_ty_ldap_query RETURN PIPELINED IS


    v_result tbl_ty_ldap_query: = tbl_ty_ldap_query)
    ty_ldap_query (NULL,
    NULL,
    NULL));


    retval PLS_INTEGER;
    v_session DBMS_LDAP. SESSION;
    v_attrs DBMS_LDAP.string_collection;
    v_message DBMS_LDAP. MESSAGE;
    v_entry DBMS_LDAP. MESSAGE;
    v_dn VARCHAR2 (256);
    v_attr_name VARCHAR2 (256);
    v_ber_elmt DBMS_LDAP.ber_element;
    v_vals DBMS_LDAP. STRING_COLLECTION;
    b_first BOOLEAN: = TRUE;
    v_dn_identifier VARCHAR2 (200);
    v_attributes apex_application_global.vc_arr2;

    BEGIN
    retval: = - 1;
    DBMS_LDAP.use_exception: = TRUE;
    v_session: = DBMS_LDAP.init (p_host, p_port);
    retval: = DBMS_LDAP.simple_bind_s (v_session,
    p_user,
    p_password);

    v_attributes: = apex_util.string_to_table (p_attributes, ',');
    because me in (v_attributes.first)... loop (v_attributes.last)
    v_attrs (i): = v_attributes (i);
    end loop;

    value: =.
    DBMS_LDAP. SEARCH_S (v_session,
    p_dn_base,
    DBMS_LDAP. SCOPE_SUBTREE,
    p_filter,
    v_attrs,
    0,
    v_message
    );
    retval: = DBMS_LDAP. COUNT_ENTRIES (v_session, v_message);
    v_entry: = DBMS_LDAP. FIRST_ENTRY (v_session, v_message);
    WHILE v_entry IS NOT NULL LOOP
    v_attr_name: = DBMS_LDAP. FIRST_ATTRIBUTE (v_session,
    v_entry,
    v_ber_elmt);

    WHILE v_attr_name IS NOT NULL LOOP
    v_vals: = DBMS_LDAP. GET_VALUES (v_session,
    v_entry,
    v_attr_name);

    IF v_vals.count > 0 THEN
    BECAUSE me IN v_vals. FIRST... v_vals. LAST LOOP
    v_dn_identifier: = DBMS_LDAP. GET_DN (v_session,
    v_entry);
    line of conduct (ty_ldap_query (v_dn_identifier,
    v_attr_name,
    v_vals (i)));
    END LOOP;
    END IF;
    v_attr_name: =.
    DBMS_LDAP. NEXT_ATTRIBUTE (v_session,
    v_entry,
    v_ber_elmt);
    END LOOP;
    v_entry: = DBMS_LDAP. NEXT_ENTRY (v_session,
    v_entry);

    END LOOP;
    retval: = DBMS_LDAP.unbind_s (v_session);
    RETURN;

    END LDAPQuery;



    I then use the following pl/sql code piece to fill the frame and the view;

    Start
    pkg_capa_security.pr_set_context (< username > < password >, < domain >).
    end;


    If I run the code through TOAD or SQLPLUS it works very well (I am able to select the view without getting errors)

    Is the error due to the LDAPQuery as a function of Pipelined?

    Any help/suggestions welcome.

    Thanks in advance

    If you set a process of loading page on preparing for the session of database to view your page. If you need it for the session of data used for the application that manages the POST (presentation) of your page you must set an after - submit processes. An easier way to do both is to code once in the VPD (under Security) attribute for the application.

    Scott

Maybe you are looking for