ORA-20011: Approximate NDV failed: ORA-31000: Resource Error in Oracle 11g

Hi Friends,
I am using Oracle 11.2.0.1 on linux (x64) and i am getting the following messages in Alert Log / Trace Log.
Please let me know the fix.
Alert Log:
GATHER_STATS_JOB encountered errors. Check the trace file.
Errors in file /u01/app/oracle/diag/rdbms/oraht01/oraht01/trace/oraht01_j001_30852.trc:
ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
Trace File entries:
----- Guard Frame Metadata Dump -----
----- Java Stack -----
ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
*** 2013-01-21 22:00:36.397
GATHER_STATS_JOB: GATHER_TABLE_STATS('"XDB"','"XDB$ACL"','""', ...)
ORA-20011: Approximate NDV failed: ORA-31000: Resource '' is not an XDB schema document
ORA-06512: at "XDB.XDB$ACL_PKG_INT", line 18
Regards,
DB

Hi Friends,
Thanks for the info but the referred Thread and the Metalink Notes : 1290722.1 or 1305127.1 doesn't help me.
Trace File :
*** 2013-01-21 22:00:29.760
*** SESSION ID:(28.36753) 2013-01-21 22:00:29.760
*** CLIENT ID:() 2013-01-21 22:00:29.760
*** SERVICE NAME:(SYS$USERS) 2013-01-21 22:00:29.760
*** MODULE NAME:(DBMS_SCHEDULER) 2013-01-21 22:00:29.760
*** ACTION NAME:(ORA$AT_OS_OPT_SY_1144) 2013-01-21 22:00:29.760
SQL> SELECT JOB_NAME,STATUS,ADDITIONAL_INFO FROM DBA_SCHEDULER_JOB_RUN_DETAILS WHERE JOB_NAME = 'ORA$AT_OS_OPT_SY_1144';
JOB_NAME
STATUS
ADDITIONAL_INFO
ORA$AT_OS_OPT_SY_1144
SUCCEEDED
The job show completed but i want to avoid this issue in the Alert.
Regards,
DB

Similar Messages

  • ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTAB

    Hello All,
    I am using Oracle 11.2.0.3
    in my alert logs I found the below errors:
    ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    KUP-11024: This external table can only be accessed from within a Data Pump job.to resolve that i did the below steps:
    SELECT owner_name, job_name, operation, job_mode,
    state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2; the result was that there is two running jobs and the attached_session flag was equal to 1, something like the below:
    OWNER_NAME JOB_NAME            OPERATION JOB_MODE  STATE       ATTACHED
    SCOTT      SYS_IMPORT_TABLE_05      IMPORT TABLE RUNNING        1
    SCOTT      SYS_IMPORT_TABLE_01 IMPORT TABLE     RUNNING        1 so i stopped these 2 jobs using the below statements:
    SET serveroutput on
    SET lines 100
    DECLARE
       h1 NUMBER;
    BEGIN
       h1 := DBMS_DATAPUMP.ATTACH('SYS_IMPORT_TABLE_05','SCOTT');
       DBMS_DATAPUMP.STOP_JOB (h1);
    END;
    SET serveroutput on
    SET lines 100
    DECLARE
       h1 NUMBER;
    BEGIN
       h1 := DBMS_DATAPUMP.ATTACH('SYS_IMPORT_TABLE_01','SCOTT');
       DBMS_DATAPUMP.STOP_JOB (h1);
    END;
    /now the result become like below as stop pending in the state column:
    OWNER_NAME JOB_NAME            OPERATION JOB_MODE  STATE       ATTACHED
    SCOTT      SYS_IMPORT_TABLE_05      IMPORT TABLE STOP PENDING 1
    SCOTT      SYS_IMPORT_TABLE_01 IMPORT TABLE     STOP PENDING 1 for that I did more research and i dropped two temporary external tables after I got their names using the below query:
    select OWNER,OBJECT_NAME,OBJECT_TYPE, status,
    to_char(CREATED,'dd-mon-yyyy hh24:mi:ss') created
    ,to_char(LAST_DDL_TIME , 'dd-mon-yyyy hh24:mi:ss') last_ddl_time
    from dba_objects
    where object_name like 'ET$%'
    /but nothing changed in the output of the below query, the state stayed STOP PENDING
    SELECT owner_name, job_name, operation, job_mode,
    state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2; for that I used stop job but with the immediate flag as 1
    DBMS_DATAPUMP.STOP_JOB (h1,1); now the result of the query is NOT RUNNING in the state column:
    OWNER_NAME JOB_NAME            OPERATION JOB_MODE  STATE       ATTACHED
    SCOTT      SYS_IMPORT_TABLE_05      IMPORT TABLE     NOT RUNNING   0
    SCOTT      SYS_IMPORT_TABLE_01      IMPORT TABLE     NOT RUNNING   0 and I discovered that one of my import jobs that I did not realize that it was running, failed due to a fatal error, it is the one related to the import of one table.
    My question:
    Now the below query should return zero records no ?
    How i can clear the result ? and does it affect any future import jobs for the same table?
    SELECT owner_name, job_name, operation, job_mode,
    state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2;

    hi just drop all tables that return be the query below i face some issue after 1 months
    SQL> select owner, TABLE_NAME, DEFAULT_DIRECTORY_NAME, ACCESS_TYPE
    from dba_external_tables
    this error appear due to this table must be cleanup auto when the datadump complete the job ,but it's not dropped as well so when gather statistics this error appear,
    so this drop table .

  • ORA-20011: Approximate NDV failed:

    Following errors written to the Alert log file. can anybody tell u what is the reason & how we can resolve
    ORA-20011: Approximate NDV failed:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    Thanks in advance..

    Hi all,
    Finally we got the solution.
    we faced the issue only after DB migration from 10g to 11.2.
    after migration ..some oracle external files, ext tables and oracle directory entries belongs to old DB was also migrated to new DB.
    Whenever we are analyzing the schema it tried to access those false objects, which where not actually present in new DB..
    Due to this oracle written the error message to alert log file....
    Solution:
    Try to check all the db directories are valid, or any external table entries are there in db with out actual flat files. if yes remove the entries from db
    using
    drop directory dir_name
    drop table .. statements....
    or try to create the needed dir or files with the same name...
    Thanks
    @ble

  • RA-20011: Approximate NDV failed..ORA-06564: object WRR_LPD23678 does not e

    Hi All,
    Please find below ora error
    ORA-20011: Approximate NDV failed..ORA-06564: object WRR_LPD23678 does not exist...
    I got it from the alert log
    Please let me know ...How to fix this issue...
    Thanks
    Pavan L

    An error is for instance hit in dbms_stats.gather_table_stats for an
         external table without its directory (external tables are excluded
         when gathering statistics at database/schema level).>
    OWNER TABLE_NAME DEFAULT_DIRECTORY_NAME
    SYS xxxxxxxxxxxxxxxxxxxxx WRR_LPD23678BTW, what is your DB version? if it is already 11g the note mentioned as it is fixed in next version.
    Or you can raise an SR too.

  • ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing

    Hi,
    I am trying to update an already existing Sales Order through PO Change Inbound 860. When i am performing changes in the line quantity and scheduled ship date with operation code as "Update" then it is successfully updating the Order and also we are able to generate the POAck for the updated sales order lines. But when i am rejecting one of the PO change lines by checking rejected flag, then order is getting imported successfully(I mean sales order is getting updated successfully) but during the POAck Generation i.e. 865 its raising "*ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00103: Warning: document structure does not match DTD Error at line 1*" at XML Gateway. we are using XML Gateway to process the orders, can somebody help me to get rid of this issue. Thanks in advance.
    Thanks,
    Sunil Chauhan

    Hi Kishan
    Thanks for the reply.
    Because this is an outbound transaction so i can not provide you the XML file as we are facing issue to generate the same. Also we are using oracle seeded PO outbound Ack map.
    In addition i can provide you the DTD file.
    <!-- ==================================================== -->
    <!ENTITY % RESOURCES SYSTEM "oagis_resources.dtd">
    %RESOURCES;
    <!-- ==================================================== -->
    <!ELEMENT ACKNOWLEDGE_PO_008 (CNTROLAREA, DATAAREA+)>
    <!ATTLIST VERB
         value CDATA #FIXED "ACKNOWLEDGE"
    >
    <!ATTLIST NOUN
         value CDATA #FIXED "PO"
    >
    <!ATTLIST REVISION
         value CDATA #FIXED "008"
    >
    <!ELEMENT DATAAREA (ACKNOWLEDGE_PO)
    >
    <!ELEMENT ACKNOWLEDGE_PO (POORDERHDR, POORDERLIN*)
    >
    <!ELEMENT POORDERHDR ((%DATETIME.DOCUMENT;)?, (%OPERAMT.EXTENDED.T;)?, POID, POTYPE, ACKREQUEST?, CONTRACTB?, CONTRACTS?, DESCRIPTN?, NOTES*, OPRAMTAUTH?, PORELEASE?, TAXWHEXMPT?, USERAREA?, ACKHEADER, ATTCHREF*, CHARGE*, PARTNER*, POTERM*)
    >
    <!ELEMENT ACKHEADER (SENDER, (%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, ACKCODE, DESCRIPTN?, NOTES*, SALESORDID?, USERAREA?)
    >
    <!ELEMENT POTERM (DESCRIPTN?, TERMID?, ((DAYOFMONTH, PROXMONTH) | DAYSNUM), ((%OPERAMT.EXTENDED.T;) | (%QUANTITY.PERCENT;)), USERAREA?)
    >
    <!ELEMENT POORDERLIN ((%QUANTITY.ORDERED;), (%DATETIME.NEEDDELV;)?, (%OPERAMT.UNIT.T;)?, POLINENUM, DRAWING?, HAZRDMATL?, ITEMRV?, ITEMRVX?, NOTES*, PACKING?, POLNSTATUS?, TAXWHEXMPT?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?, ACKLINE*, ATTCHREF*, CHARGE*, DISTRIBUTN*, PARTNER*, POTERM*, POSUBLINE*, POLINESCHD*)
    >
    <!ELEMENT ACKLINE ((%DATETIME.PROMDELV;)?, (%DATETIME.PROMSHIP;)?, (%QUANTITY.ORDERED;)?, ACKCODE, NOTES*, SALESORDID?, USERAREA?)
    >
    <!ELEMENT POSUBLINE ((%QUANTITY.ITEM;), DRAWING?, ITEMRV?, ITEMRVX?, PSBLINENUM?, ((DESCRIPTN, ITEM?, ITEMX?, UPC?) | (ITEM, ITEMX?, UPC?) | (ITEMX, UPC?) | (UPC)), USERAREA?)>
    <!ELEMENT POLINESCHD ((%DATETIME.NEEDDELV;), (%QUANTITY.ORDERED;), DESCRIPTN?, PSCLINENUM?, USERAREA?)
    >
    Thanks,S
    --Sunil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ORA-29273: HTTP request failed ORA-12535: TNS:operation timed out

    SQL*Plus: Release 11.2.0.3.0
    Solaris 10 SPARC
    Hi,
    I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
    Help is greatly appreciated. Thanks.
    DECLARE
       p_mid_tier    VARCHAR2 (500);
       responsestr   VARCHAR2 (500);
    BEGIN
       SELECT *****
         INTO p_mid_tier
         FROM *****
        WHERE profile_type = '*****';
       UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets');
       UTL_HTTP.set_transfer_timeout (6000);
       UTL_HTTP.set_response_error_check (TRUE);
       responsestr :=
          UTL_HTTP.request (
             UTL_URL.ESCAPE (p_mid_tier || '*****'));
       DBMS_OUTPUT.put_line (responsestr);
    END;
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1722
    ORA-12535: TNS:operation timed out
    ORA-06512: at line 15

    1001371 wrote:
    SQL*Plus: Release 11.2.0.3.0
    Solaris 10 SPARC
    Hi,
    I get the following error when trying to make an HTTP request. Below is the snippet of code I run. I get the error after exactly 60 seconds(default timeout?). I searched through the forums and found many similar errors but nothing that helped me resolve this issue. The problem does not exist in the rest of our environments, only our test environment.
    Help is greatly appreciated. Thanks.
    DECLARE 
       p_mid_tier    VARCHAR2 (500); 
       responsestr   VARCHAR2 (500); 
    BEGIN 
       SELECT ***** 
         INTO p_mid_tier 
         FROM ***** 
        WHERE profile_type = '*****'; 
       UTL_HTTP.set_wallet ('file://$ORACLE_HOME/network/admin/wallets'); 
       UTL_HTTP.set_transfer_timeout (6000); 
       UTL_HTTP.set_response_error_check (TRUE); 
       responsestr := 
          UTL_HTTP.request ( 
             UTL_URL.ESCAPE (p_mid_tier || '*****')); 
       DBMS_OUTPUT.put_line (responsestr); 
    END; 
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1722
    ORA-12535: TNS:operation timed out
    ORA-06512: at line 15
    the most frequent cause for TIMEOUT is a FireWall on or between client & server.
    when was last time this worked without error?
    what changed since then?

  • ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing L

    Hi There,
    I am trying to load XML data [Given Below] into a table using "Load XML Data" option.
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <ID>13</ID>
    <TYPE_SEQ>8</TYPE_SEQ>
    <TYPE>B749</TYPE>
    <TYPE_DESC>B758</_TYPE_DESC>
    <EFFECTIVE_FROM>2099-01-01</EFFECTIVE_FROM>
    <EFFECTIVE_TO>2099-01-01</EFFECTIVE_TO>
    <CREATED_BY>958344</CREATED_BY>
    <CREATED_ON>2099-01-01</CREATED_ON>
    <UPDATED_BY>172283</UPDATED_BY>
    <UPDATED_ON>2099-01-01</UPDATED_ON>
    </ROW>
    </ROWSET>
    It throws the following error.
    ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00222: error received from SAX callback function
    Can any one advice the solution please.
    -Sudheer.

    Hi Sudheer,
    This is caused by the date format you are using. Probably it is not matching with your NLS settings. Check your NLS settings, what the date format is, and use that in the XML.
    Check it with this code:
    SELECT XMLELEMENT("date", sysdate) FROM dual;Make sure, you have your NLS_DATE settings in the same format.
    Check it with:
    SELECT * FROM v$nls_parameters WHERE parameter = 'NLS_DATE_FORMAT'And then make sure it is the same by setting for example:
      ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD';Greetings,
    Rutger

  • ORA-12541: TNS:no listener, (error, in oracle 11g for window 7, 64 bit)

    ORA-12541: TNS:no listener, error, in oracle 11g for window 7, 64 bit
    While connecting as localhost is pretty well.
    but command: sqlplus username@'192.168.52.178:1521/orcl' on the same machine is producing above mentioned error on oracle 11g for window 7, 64 bit.

    user11225434 wrote:
    Thax sir for your kind concern of my problem. Answers of your quaries regarding my question as follows
    lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 05-AUG-2013 09:37
    :21
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                05-AUG-2013 09:31:09
    Uptime                    0 days 0 hr. 6 min. 22 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\eee\product\11.2.0\dbhome_5\network\admin\liste
    ner.ora
    Listener Log File         c:\app\eee\diag\tnslsnr\eee-THINK\listener\alert\log.x
    ml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.52.170)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orclxe" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    Service "orclxeXDB" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    # listener.ora Network Configuration File: C:\app\eee\product\11.2.0\dbhome_5\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\eee\product\11.2.0\dbhome_5)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\eee\product\11.2.0\dbhome_5\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.52.170)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\eee
    3. My ip is static 192.168.52.170 and window 7 prof. is there.
    4. Sir i have tested the remote connection with firewall configuration is off.
    Hopefully this info is useful.
    but command: sqlplus username@'192.168.52.178:1521/orcl'
    NOTE the difference in IP#s above; 192.168.52.170 vs. 192.168.52.178

  • Live Preview - failed to load resource error

    Peter-
    I was having problems with the Live preview and tried your debugging method.
    I received the following in Chrome:
    Failed to load resource: http://127.0.0.1:9222/json
    Is there a security setting I need to change?
    Thanks!
    Josh

    Josh -- What OS are you on?
    Thanks!
    - Peter

  • Failed to create resource - Error in Sun cluster 3.2

    Hi All,
    I have a 2 node cluster in place. When i trying to create a resource, i am getting following error.
    Can anybody tell me why i am getting this. I have Sun Cluster 3.2 on Solaris 10.
    I have created zpool called testpool.
    clrs create -g test-rg -t SUNW.HAStoragePlus -p Zpools=testpool hasp-testpool-res
    clrs: sun011:test011z - : no error
    clrs: (C189917) VALIDATE on resource hasp-testpool-res, resource group test-rg, exited with non-zero exit status.
    clrs: (C720144) Validation of resource hasp-testpool-res in resource group test-rg on node sun011:test011z failed.
    clrs: (C891200) Failed to create resource "hasp-testpool-res".
    Regards
    Kumar

    Thorsten,
    testpool created in one of the cluster nodes and is accessible from both the nodes in the cluster. But if it is imported in one node and will not be access from other node. If other node want to get access we need to export and import testpool in other node.
    Storage LUNs allocated to testpool are accessible from all the nodes in the cluster and able import and export testpool from all the nodes in the cluster.
    Regards
    Kumar

  • "Failed to load resource" error

    Hello,
    Does anyone give me help?
    Some of my deployed applications became unable to run  at all.
    The error message in Chrome development tool's console is "Failed to load resource: the server responded with a status of 404 (Not Found)"
    Before last week, these applications were worked fine. But from last week (I am noy sure when), they do not work.
    So, I tryed to make easy application like helloworld servlet.  it works correctly on local server.
    Then I tried to upload my hanatrial.ondemand.com server, and run. But it does not work with the error like above.
    Additional info: 
    I restarted this application.  Application state on JAVA application dashboard in HCP consol, became "Could not read status of application benefits: Internal Server Error (500)".
    Does anyone have any idea for checking the reason ?
    Thanks and BR,
    Masashi

    Hi all,
    Now it works fine. I am not sure what's coused for this issue.
    Yesterday, I tried to execute these applications which did not work with "resource error".
    But now, I tried again.  Then  they worked well.
    What I did , is just delete Data source bindings. and then dployed and run again.
    I am not sure this is caused the issue.  Because same actions were tried  by myself on last week. But at that time, nothing has been changed.
    Anyway, I am gonig to run them for Demo purpose.
    Thanks and BR,
    Masashi

  • Java Mail throws Connect failed error in Oracle 11g Enterprise  Edition

    Hi,
    I am using Oracle 11g Enterprise edition.I have a java class which is used for reading outlook 2010 inbox and download attachments from mails .For Connecting to OutLook from oracle i am using "POP3S" protocol in my java class. Which is working fine until my database is oracle-11g standard edition. Last week we are upgraded our database from oracle 11g standard edition to oracle 11g enterprise edition after that i can't connect to mail server through my java class which throws an error as follows.
    DEBUG: setDebug: JavaMail version 1.4.4
    DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]
    DEBUG POP3: mail.pop3s.rsetbeforequit: false
    DEBUG POP3: mail.pop3s.disabletop: false
    DEBUG POP3: mail.pop3s.forgettopheaders: false
    DEBUG POP3: mail.pop3s.cachewriteto: false
    DEBUG POP3: mail.pop3s.filecache.enable: false
    DEBUG POP3: mail.pop3s.keepmessagecontent: false
    DEBUG POP3: mail.pop3s.starttls.enable: true
    DEBUG POP3: mail.pop3s.starttls.required: false
    DEBUG POP3: mail.pop3s.apop.enable: false
    DEBUG POP3: mail.pop3s.disablecapa: false
    DEBUG POP3: connecting to host "194.42.133.180", port 110, isSSL true
    javax.mail.MessagingException: Connect failed;
    nested exception is:
         javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:210)
         at javax.mail.Service.connect(Service.java:295)
         at javax.mail.Service.connect(Service.java:176)
         at GetNoonReport.Connect2Mailserver(GetNoonReport:338)
         at GetNoonReport.ReadMail(GetNoonReport:103)
    Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501)
         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
         at com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:507)
         at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)
         at com.sun.mail.pop3.Protocol.<init>(Protocol.java:107)
         at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:261)
         at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:206)
         ... 4 more
    Is Oracle Enterprise Edition supports "POP3S" protocol?, Or Enterprise edition needs any additional configuration for establishing outlook connection with "pop3s" ?.
    Any help is appreciated
    Regards ,
    Nisanth

    907833 wrote:
    Hi,
    I am using Oracle 11g Enterprise edition.I have a java class which is used for reading outlook 2010 inbox and download attachments from mails .For Connecting to OutLook from oracle i am using "POP3S" protocol in my java class. Which is working fine until my database is oracle-11g standard edition. Last week we are upgraded our database from oracle 11g standard edition to oracle 11g enterprise edition after that i can't connect to mail server through my java class which throws an error as follows.
    I suspect root cause is with Java not Oracle.
    Oracle RDBMS does NOT speak any "protocol" except SQL natively.

  • Postscript report fail - REP-3000: Internal error starting Oracle toolkit

    Hi,
    I am receiving the error REP-3000: Internal error starting Oracle Toolkit when I am running a conc. program with postscript as output. I changed Active Users program and tested it. It failed.
    Metalink says DISPLAY issue. I ran the concurrent program - "Prints environment variable values" giving DISPLAY as variable. I received a value. like <hostname>:0.0
    What could be the issue?
    Release - 11.5.10.2
    OS -Linux
    Apache, Forms on 1 Node, Concurrent Manager on the second one.
    Database - 10g R2 on Unix.
    Thanks
    Cherrish Vaidiyan
    Edited by: Cherrish on Aug 19, 2010 5:01 PM

    Hi Hussein,
    Please find the complete concurrent program log:
    Application Object Library: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    FNDSCURS module: Active Users
    Current system time is 19-AUG-2010 15:34:33
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.WE8ISO8859P1
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    Report Builder: Release 6.0.8.28.0 - Production on Thu Aug 19 15:34:33 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 73686471.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 19-AUG-2010 15:34:46
    I will check the old forums too.
    Thanks

  • ORA-28546: connection initialization failed, probable Net8 admin error

    hello all!
    so i'm using Heterogeneous services to connect to an SQL server DB from a Oracle DB. When i try with both the SQL server and Oracle DB on the same PC, everything works fine but when i try to access the SQL Server DB from another PC across a network i get the above error. Is the setup different when using a network?
    Thnx.

    Please see the following if it helps:
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm

  • Ora-01722 invalid number error in oracle 11g working fine in 9i

    Problem : I am getting ora-01722 invalid number i below mention code.Some times the procedure runs successfully but sometimes it gives error for the same parameters.The code runs fine in 9i Database.Help needed ASAP.
    CODE :
    PROCEDURE Get_HQ_for_Manager(p_person_id IN NUMBER
    ,p_maximum_level IN NUMBER
    ,io_cursor OUT dynamic_cursor) IS
    v_session_id NUMBER;
    BEGIN
    /* Create the Employee hierarchy */
    v_session_id := AMHR_GENIE_APIS.GET_SESSION_ID(p_person_id);
    OPEN io_cursor FOR
    SELECT decode(t.org_information3, 402, 'India - DVCI HR HQ', ou.NAME) HQ_Name,
    t1.org_information2 HQ_Email
    FROM hr.hr_organization_information t,
    hr_all_organization_units ou,
    hr_organization_information t1,
    (SELECT *
    FROM AMDOCS.AMHR_EMP_HIERARCHY_TMP B
    WHERE B.MNG_PERSON_ID = P_PERSON_ID
    AND B.SESSION_ID = V_SESSION_ID
    AND b.hier_level <= p_maximum_level) hier,
    per_all_people_f p_emp,
    hr_locations_all l
    WHERE t.organization_id = 342
    AND t.org_information_context = 'AMHR_COUNTRY_BY_HQ'
    AND t.org_information2 + 0 = ou.organization_id
    AND t.org_information1 = l.country
    AND t.org_information2 = t1.organization_id
    AND t1.org_information_context = 'AMHR_HQ_EMAIL_LIST'
    AND t1.org_information1 = 'HQ'
    AND p_emp.person_id = hier.person_id
    AND trunc(SYSDATE) + 0 BETWEEN p_emp.effective_start_date AND
    p_emp.effective_end_date
    AND p_emp.business_group_id <> 0
    AND (hier.ASSIGNMENT_TYPE = 'C' OR hier.ASSIGNMENT_TYPE = 'E')
    AND hier.location_id = l.location_id(+)
    AND hier.person_id <> p_person_id
    UNION
    SELECT 'India - ABSI HR HQ' HQ_Name, '[email protected]' HQ_Email
    FROM hr.hr_organization_information t,
    hr_all_organization_units ou,
    (SELECT *
    FROM amdocs.AMHR_EMP_HIERARCHY_TMP a
    WHERE a.mng_person_id = p_person_id
    AND a.session_id = v_session_id
    AND a.hier_level <= p_maximum_level) hier,
    per_all_people_f p_emp,
    hr_locations_all l
    WHERE t.organization_id = 342
    AND t.org_information_context = 'AMHR_COUNTRY_BY_HQ'
    AND t.org_information2 = ou.organization_id
    AND t.org_information1 = l.country
    AND p_emp.person_id = hier.person_id
    AND trunc(SYSDATE) + 0 BETWEEN p_emp.effective_start_date AND
    p_emp.effective_end_date
    AND p_emp.business_group_id <> 0
    AND (hier.ASSIGNMENT_TYPE = 'C' OR hier.ASSIGNMENT_TYPE = 'E')
    AND hier.location_id = l.location_id(+)
    AND t.org_information3 = 402
    AND hier.person_id <> p_person_id;
    END Get_HQ_for_Manager;

    Hi There,
    I'm having trouble seeing anything spatial in your procedure. Since this forum is for "Discussions related to Oracle Spatial, Locator, GeoRaster, Topology, Network Data Model, GeoCoder, Router, Spatial Web Services and 3D Data Model. Recommended reading: Pro Oracle Spatial" you might have better luck asking your question on one of the other forums:
    http://forums.oracle.com/forums/category.jspa?categoryID=18
    A line number for the error would help too.
    Best of luck,
    Matt

Maybe you are looking for