ORA-12592: TNS:bad packet While Executing Job

Hi,
I created a job to merge to tables from the same data store, I found that based on the volume is high then the job fails with the Error "ORA-12592:TNS:Bad Packet". Can anyone help me to sort this issue. Any Work around???

Try this Note 534729 - Oracle errors due to network problems or check the"  SQLNET.INBOUND_CONNECT_TIMEOUT = 120 " statement

Similar Messages

  • ORA-12592: TNS:bad packet

    Hi There,
    While executing a select * ..... operation on test environment on Oracle 10G im observing the following errors pretty frequently. could any one tell me what could be causing this issue. i have a sense that this has something related to database server rather from the application or the query that is being executed. any help of possible root cause would be appreciated very much.
    Caused by: java.sql.SQLException: ORA-12592: TNS:bad packet
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:861)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1259)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3550)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
    at org.enhydra.jdbc.core.CorePreparedStatement.execute(CorePreparedStatement.java:82)
    at com.rgb.core.server.persistence.spi.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:401)
    at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:222)
    at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:190)
    Regards,
    bala.

    Caused by: java.sql.SQLException: ORA-12592: TNS:bad packet
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)Do you mind sharing where these errors are coming from? What sort of application are you using?
    While executing a select * ..... operation on test environment on Oracle 10G
    im observing the following errors pretty frequently. could any one tell me
    what could be causing this issue. i have a sense that this has something related
    to database server rather from the application or the query that is being executed.
    any help of possible root cause would be appreciated very much.How certain are you that the problem is on the Database server side? Are there any other independent checks you have performed to confirm this?
    Regards,
    Phiri

  • Short dump while executing job SM:EXEC SERVICES for EWA alert generation

    Hello All,
    I'm getting short dump error while executing job SM:EXEC SERVICES for EWA alert generation.I'm using EHP1@SP22 of Sol Man.
    Please find the logs
    Error in the ABAP Application Program
    The current ABAP program "SAPLDSVAS_PROC" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "RDSVASCABAP_TRANS__________073
    " in include "RDSVASIABAP_TRANS__________073 " in
    line 1782:
    "Field "STATEMENT_SUMMARY001019" is unknown. It is neither in one of th"
    "e specified tables nor defined by a "DATA" statement. "DATA" statement"
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP "
    Error in the ABAP Application Program
    The current ABAP program "SAPLDSVAS_PROC" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    If anyone came across such kind of dump, please reply asap, due to this, i could not generate EWA report for R/3 system 6.04.
    Thanks,
    Anand.

    >
    Anand Tigadikar wrote:
    > Thx Paul, but i already did checked this note and its not solving my issue
    Dear Anand,
    Did you perform a complete service definition replacement for SDCC/SDCCN as described in the note?
    These are manual steps you need to perform on the system and are not code corrections.
    I would suggest you perform it, if you have not, and check the SDCCN logs to review the process ran cleanly.
    Note: Please make sure SDCC_OSS is functioning and a connection to SAP can be made before
    deleting the service definitions.
    If you have already replaced the service defintions on the Solution Manager system, then no point doing it again. However checking a note and applying it are not the same thing. So I am uncertain if you replaced the service definitions or not. The dump you are getting in SM:EXEC SERVICES suggests its due to a problem with the service definitons. The recommendation is to replace them according to the process described in SAP Note 727998. If you have not done so please do so.
    If you have successfully replaced the service definitions are you still getting the same dump, or has it possibly changed?
    Regards,
    Paul

  • ORA-23324: error ORA-12541: TNS:no listener, while creating deferror entry

    I need Help for the following error message while pushing the dererred transactions from the snapshot to Master in advanced replication.
    The Snapshot site has some deftran which supposed to propagate daily push.
    SQL>
    SQL> -- push existing transactions
    SQL> declare
    rc binary_integer;
    begin
    rc := dbms_defer_sys.push('XXXX.WORLD');
    dbms_output.put_line(to_char(rc));
    end;
    declare
    ERROR at line 1:
    ORA-23324: error ORA-12541: TNS:no listener, while creating deferror entry at
    "XXXX.WORLD" with error -12541
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1716
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1804
    ORA-06512: at line 4
    Thank you in advance.

    The Listener in SNAPSHOT server and the MASTER server - started
    I can do the same from different country of the other server with the same tnsname works.
    But only this perticular site have issues since Oct 27, 2011 onwards. The last successful replication from that snapshot site to master is on Oct 27, 2011.
    I can connect to the SNAPSHOT Site and from there i can connect to the master using any profile to the master.
    But only when i replicate from the snapshot site using the script then i am getting this 12541 no listener error
    Please help.
    Thank you,

  • ORA-12547 tns lost contact while creating 11gr2 database using dbca

    Hi All,
    I am installing oracle 11gr2 rac on centos 4. Grid infrastrucure and oracle home is successfully installed.
    When i try to create database using dbca during that time i am getting an error that PRCR-1079: Failed to start resource ora.racdb.db
    ORA-12547: TNS lost contact.
    when i check the database on node 1, Its running fine.
    However its giving me an error on the second node.
    on Node 1
    [oracle@rac1 dbs]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:31:55 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> select instance_name , host_name from v$instance;
    INSTANCE_NAME
    HOST_NAME
    racdb1
    rac1.oracle.com
    on node 2:
    [oracle@rac2 ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 28 19:33:05 2011
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-12547: TNS:lost contact
    Enter user-name:
    I tried to installed to many a time but no luck.
    Please help me on this.
    Your assistance in this regards is much appreciated.
    Thanks in advance.

    Do you have a support.oracle.com User Account?
    If yes search there for TNS-12547 and you will get a huge list of possible root causes.
    Just to name a few (which you can check - also compare with your first node):
    Permission oracle executable
    Kernel Parameter
    Environment variables
    etc.etc.
    Regards
    Sebastian

  • ORA-12541: TNS:no listener - when executing procedure

    Hi,
    I am getting the following error when execting a procedure within a package:
    =======================================================
    SQL> execute VRT_PIVOTAL_TEMP_INT.GET_NEW_PIVOTAL_ANON_TRANS
    BEGIN VRT_PIVOTAL_TEMP_INT.GET_NEW_PIVOTAL_ANON_TRANS; END;
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.DBMS_LOB", line 722
    ORA-06512: at "MPD.VRT_PIVOTAL_TEMP_INT", line 2579
    ORA-06512: at "MPD.VRT_PIVOTAL_TEMP_INT", line 2430
    ORA-12541: TNS:no listener
    ORA-06512: at line 1
    =======================================================
    But the listener is up and I can ping the host as well as tnsping the connect string. I am trying to execute it on the server itself.
    Please help.
    Prachi

    The problem comes into play when you try to select the actual LOB locator remotely, however straight INSERTs aren't a problem.
    SQL> desc test_clob1
    Name                                      Null?    Type
    A1                                                 NUMBER
    A2                                                 CLOB
    SQL> desc test_clob2@remotedb
    Name                                      Null?    Type
    A1                                                 NUMBER
    A2                                                 CLOB
    SQL> declare
      2     big_text varchar2(32767) := rpad('#',32767,'#');
      3  begin
      4       insert into test_clob1 values (1, big_text );
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> select a1, dbms_lob.getlength(a2) from test_clob1;
            A1 DBMS_LOB.GETLENGTH(A2)
             1                  32767
    SQL> select count(*) from test_clob2@remotedb;
      COUNT(*)
             0
    SQL> insert into test_clob2@remotedb
      2  select * from test_clob1;
    1 row created.
    SQL> select a1, dbms_lob.getlength(a2) from test_clob2@remotedb;
    select a1, dbms_lob.getlength(a2) from test_clob2@remotedb
    ERROR at line 1:
    ORA-22992: cannot use LOB locators selected from remote tables
    SQL> commit;
    Commit complete.However, if I do a COMMIT and then go to the remote database and do the same query, I get the following:
    SQL> select a1, dbms_lob.getlength(a2) from test_clob2;
            A1 DBMS_LOB.GETLENGTH(A2)
             1                  32767HTH

  • Global Enqueue Services Deadlock detected while executing job

    Hi Gurus,
    Need your help in analying below situation.
    I got a Global Enqueue Services Deadlock in our 2-node RAC stating deadlock detected due to auto execute of job. But when I checked job status its was executed successfully. Also, the trace files gives some session id , client id which I am not able to mapped to any particular instance. trace files output as below. What would be the approach for such situtation and how to find the relevant sql which caused such deadlocks.
    ENV - 11gR2 RAC 2-node with ASM
    Linux RHEL 6.2
    Trace File output
    Trace file /diag/app/ora11g/diag/rdbms/remcorp/REMCORP1/trace/REMCORP1_j001_25571.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Real Application Clusters and Automatic Storage Management options
    ORACLE_HOME = /u01/app/ora11g/product/11.2.0/db_1
    System name: Linux
    Node name: remedy-ebu-db1
    Release: 2.6.32-220.el6.x86_64
    Version: #1 SMP Wed Nov 9 08:03:13 EST 2011
    Machine: x86_64
    Instance name: REMCORP1
    Redo thread mounted by this instance: 1
    Oracle process number: 38
    Unix process pid: 25571, image: oracle@remedy-ebu-db1 (J001)
    *** 2013-05-17 02:00:34.174
    *** SESSION ID:(1785.23421) 2013-05-17 02:00:34.174
    *** CLIENT ID:() 2013-05-17 02:00:34.174
    *** SERVICE NAME:(SYS$USERS) 2013-05-17 02:00:34.174
    *** MODULE NAME:() 2013-05-17 02:00:34.174
    *** ACTION NAME:() 2013-05-17 02:00:34.174
    ORA-12012: error on auto execute of job 83
    ORA-00060: deadlock detected while waiting for resource
    ORA-06512: at "ARADMIN.CMS_CUSTOMER_DETAILS", line 3
    ORA-06512: at line 1
    Regards,
    Nikhil Mehta.

    Look at your alert.log, search for messages such as this:
    Wed Jun 16 15:05:58 2010
    Global Enqueue Services Deadlock detected. More info in fileSearch for the .trc file mentioned and opened it, it should have all the info you need.
    Even on the error you posted, you already have some very important information:
    ORA-06512: at "ARADMIN.CMS_CUSTOMER_DETAILS", line 3In short, you have another job, or a query that runs at the same time as your job which wants to do some DML on rows of that table and at the same time your Job wants to do some DML on another set of rows tha table the query has locked first.
    As in:
    a) Query/Job X Locks some rows of ARADMIN.CMS_CUSTOMER_DETAILS.
    b) Your job locks some rows of ARADMIN.CMS_CUSTOMER_DETAILS.
    c) Your job wants the lock on the rows that X has locked first.
    d) X wants the lock on the rows your job has locked first.
    e) Deadlock.
    So if I have something you want, and you have something I want, we are both "deadlocked" thus LMD comes in and kill one of us to resolve the impass. It's probably killing the X job/query and so that's why your job is still executing successfully.
    So you have two options:
    1) Identify the X Job/Query -- either stop it or change it's execution time
    2) Your job - either stop it or change it's execution time

  • Error while executing Job

    Hi All,
    I am facing an error while trying to run a job for IDOC data posting in to SAP ECC 6.0.
      XML source in data flow <Query> could not process the XML data .Notify Customer Support
    Anyone has got this scenario. Please suggest any inputs.
    Thanks
    Phaneendranadh K

    Hi,
    If  CI & DB are on different host this error normally occures.SAP return codes 236 means no connection to gateway, can you check it?
    Also check whether TCP/IP RFC connection SAPXPG_DBDEST_*  is working fine or not.If it is not working fine then please check whether you have mentioned below details
    Program              sapxpg
    Target Host          DB Host name
    Gateway Host    DB host/gateway host
    Gateway service sapgw##
    Also refer SAP Note  108777 - CCMS: Message 'SAPXPG failed for BRTOOLS' & Note 446172 - SXPG_COMMAND_EXECUTE (program_start_error) in DB13
    Hope this helps.
    Thanks,
    Sushil

  • Issues while executing Jobs - Rapid Mart Accounts Payable

    Hello,
    We are implementing A/c Payable  rapid marts at customer location.
    We installed dataservices and above it installed RM AP XI3.0.
    We successfully configured  source and target DS.
    When we validated the Jobs ,
    we faced the following error :
    [Query:SetLoadDateTime]
    Invalid mapping expression for column <SetLoadDateTime.EXCHANGE_TYPE_ID>. Additional information: <Cannot parse expression.
    Column <EXCHANGE_TYPE_ID> was not found in table <Effective_Date_1>. Please check the spelling of the referenced column and ensure such a column exists in the table.. (BODI-1112351)>. (BODI-1111081)
    [Query:SetLoadDateTime]
    Invalid mapping expression for column <SetLoadDateTime.FROM_CURRENCY_ID>. Additional information: <Cannot parse expression.
    Column <FROM_CURRENCY_ID> was not found in table <Effective_Date_1>. Please check the spelling of the referenced column and ensure such a column exists in the table.. (BODI-1112351)>. (BODI-1111081)
    [Query:SetLoadDateTime]
    Invalid mapping expression for column <SetLoadDateTime.TO_CURRENCY_ID>. Additional information: <Cannot parse expression.
    Column <TO_CURRENCY_ID> was not found in table <Effective_Date_1>. Please check the spelling of the referenced column and ensure such a column exists in the table.. (BODI-1112351)>. (BODI-1111081)
    and some more errors with same query SetLoadDateTime.
    We uploaded the file "fiscal_dates.dat"  in the SAP server "
    JUB02SAPJRD\BO_SHARE" ( which is used in DS setting )
    as mentioned in the Installation log.
    Would really appreciate any pointers wrt this issue.
    Thanks and regards,
    Vinay

    1. Can you check whether the System User ID with which Data Services try to fetch the auxillay files placed folder?
    2. How did you test the configurations? Have test run any job to test all the connectitivities required?

  • CASE not found while executing CASE statement on Submit Form

    Hi to all APEX users and developers.
    I have several APEX applications and they are all working well, but recently I got one strange exception when I try to submit page:
    Session: Fetch session header information
    ...metadata, fetch page info
    ...Validate item page affinity.
    ...Validate hidden_protected items.
    Add error onto error stack
    ...Error data:
    ......message: Error processing request.
    ......additional_info: ORA-06592: CASE not found while executing CASE statement
    ......display_location: ON_ERROR_PAGE
    ......is_internal_error: true
    ......apex_error_code: APEX.UNHANDLED_ERROR
    ......ora_sqlcode: -6592
    ......ora_sqlerrm: ORA-06592: CASE not found while executing CASE statement
    .....error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW", line 9273
    ......component.type: APEX_APPLICATION_AUTH
    ......component.id: 41350431648668800
    ......component.name: MNRFR
    ...Show Error on Error Page
    ......Performing rollback
    Processes - point: AFTER_ERROR_HEADER
    Processes - point: BEFORE_ERROR_FOOTER
    End Page Processinga
    Page has more than 120 items (most of them are hidden), so my first thought is that page has problem with posting so many items, but APEX error message doesn't hel me at all. Any help would be very appreciated :)
    Almir

    Hi Almir,
    actually it is the 100 page item limit. See (http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/limits.htm)
    I also had a look into the source code and the code at the position where the error gets raised only supports 100 page items.
    Can you have a look into the generated HTML code and look if you have a page items which is mapped to p_t101 or a higher number ?
    I will file a bug to show a better error message.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • 'ORA-12571: TNS:packet writer failure' error while calling procedure from VC++

    hi all,
    i am writing stored procedures and calling these from vc++. I have one stored procedure in that all
    in and out perameters are numeric. When i am calling these procedure i am able to get the values properly. But in another procedure one in perameter is varchar and one out perameter is varchar. When i am calling these procedure from vc++ the error i am getting is "ORA-12571: TNS:packet writer failure". I test my vc++ code on different computers but its giving the same errors. I think ora-12571 error is when i can't communicate with oracle. But other stored procedures(in and out perameters are numbers) and sql statements are running properly. Only these stored procedure which has in and out perameters as varchar is giving me the above said problem. My out perameter in this procedure strtax is of type varchar and the length 100. Is it the problem. Please suggest me how to over come this problem.
    thanks in advance,
    with regards
    vali.

    Hi
    We recently changed our load balancer to a new load balancer. we get this error only after the load balancer change.
    When the error occurs, I could see ORA-12571 error message only in the application error log. The listener.log has only the following message about TNS 12502. It does not have any message about ORA -12571.
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2202)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2203)) * establish * AppName * 0
    12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2204)) * establish * AppName * 0
    12-MAR-2010 12:24:09 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    Thanks
    Ashok

  • ORA-12571: TNS:packet writer failure while calling procedure from VC++

    hi all,
    i am writing stored procedures and calling these from vc++. I have one stored procedure in that all
    in and out perameters are numeric. When i am calling these procedure i am able to get the values properly. But in another procedure one in perameter is varchar and one out perameter is varchar. When i am calling these procedure from vc++ the error i am getting is "ORA-12571: TNS:packet writer failure". I test my vc++ code on different computers but its giving the same errors. I think ora-12571 error is when i can't communicate with oracle. But other stored procedures(in and out perameters are numbers) and sql statements are running properly. Only these stored procedure which has in and out perameters as varchar is giving me the above said problem. My out perameter in this procedure strtax is of type varchar and the length 100. Is it the problem. Please suggest me how to over come this problem.
    thanks in advance,
    with regards
    vali.

    hi,
    thanks for reply,
    I wanna let u know that this is my personal lappy & i have installed apps dump on it in Linux & connect it through VM player in Window environment. I have recently purchased a new Antivirus K7 & installed it on my Lappy. i wanna know does this impact your application or Dbase Bcoz the application is running fine after starting the services in linux.
    The only thing is that i am not able access the database through TOAD or SQL*Plus. the same error i am facing in both.
    So
    shud i uninstall the antivirus on this And this is the only solution to it ?
    If yes, then how do i fix it again when i'll reinstall it Bcoz i need Antivirus as well.
    kindly suggest.
    thanks
    D

  • "BAD packet signature 18245" :error while executing servlet

    i am running a servlet under jakarta-tomcat-4.1.24...the server is crashing giving the error "BAD packet signature 18245",unable to process header ..help me out plzz,,

    Hi, I have the same problem and yes I'm running mod_jk on apache. Anybody knows the solution?
    Our problem is that we have a load balancing solution for webservices (axis), using mod_jk, which works for lets say about 5 hours after that the services become unavailable (wsdl still reachanble by the browser, but unreachable/unusable form the applications using teh webservices).
    Sometimes the tomcat crashes and this Exception appears in its logs.
    Thanks for any help in advance.

  • Message: ORA-12570: TNS:packet reader failure

    Hi,
    when i execute the below program,getting "Message: ORA-12570: TNS:packet reader failure" error. java version is 1.3.1 and oracle
    version is :9.1.
    able to connect to database using sql plus with the same user-id and
    password.
    Any help in this regard is appreciated.
    Thanks
    Chat
    import java.sql.*;
    import java.io.*;
    import java.util.Date;
    class JdbcTest
      public static void main (String args [])
        System.out.println ("Loading Oracle driver");
        try
          Class.forName ("oracle.jdbc.OracleDriver");
         System.out.println ("Connecting to the local database");
        Connection conn =
          DriverManager.getConnection("jdbc:oracle:oci8:@orcl,scott,tiger");
        System.out.println("debug 1 ....\n");
        Statement stmt = conn.createStatement ();
        System.out.println("debug 2 ....\n");
        // Query the employee names
        ResultSet rset = stmt.executeQuery ("select ename from emp");
        while (rset.next ())
          // Print the name out
          System.out.println (rset.getString (1));
      } catch (ClassNotFoundException cnfe){
          System.out.println ("Could not load the driver");
          cnfe.printStackTrace ();
      } catch (SQLException sqle) {
              System.out.println( "State  : " + sqle.getSQLState()  ) ;
               System.out.println( "Message: " + sqle.getMessage()   ) ;
               System.out.println( "Error  : " + sqle.getErrorCode() ) ;
      } catch (Exception e) {
          System.out.println ("Could not load the driver");
          e.printStackTrace ();
    C:\mjava>java JdbcTest
    Loading Oracle driver
    Connecting to the local database
    State  : 66000
    Message: ORA-12570: TNS:packet reader failure
    Error  : 12570
    C:\mjava>

    Hi Chat,
    You are using the oci8 driver and you may or may not be aware that oci8 is a type 3 driver that requires that the Oracle client be installed on the computer that is running the Java program. It also requires that you setup Oracle networking correctly, usually by putting an entry into your Oracle tnsnames.ora file.
    If there is no reason in particular that you are using the oci8 driver, then you should use the thin driver instead. The thin driver is a type 4 driver and does not require the Oracle client to be installed, and does not require configuration of Oracle networking. You do have to download the Oracle JDBC drivers from the Oracle website to the computer you are going to run your program on, and then place the oracle .jar files that contain the driver into the programs CLASSPATH. This can be done by setting an environment variable or by passing it to java.exe as a command line parameter. The url for the thin driver looks something like this, but you should check the Oracle doc for specifics or search this forum for more examples:
    jdbc:oracle:thin:@myserver:1521:mydatabaseWhen using a type 3 driver you should verify that you have Oracle networking properly configured for the computer that will be running your Java program by either connecting to the database using SQL/Plus or 'ping' the database using Oracle's tnsping utility. Make sure you check for valid connectivity before trying to run your Java program.

  • From Time to Time error while executing RMAN Job

    Hi everybody,
    i have a strange problem. From time to time i recieve following error when executing a Job from Grid Control (Enterprise Manager).
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04004: Fehler aus Recovery-Katalog-Datenbank: ORA-12170: TNS: Connect Timeout aufgetreten
    After that error the Job uses the Control File of the Database so the job runs. The strange thing for me is, that sometimes the jobs runs without problems and sometimes it gaves the error shown above.
    For clarifying. Grid Control runs on a Unix (Sun Solaris) Machine and the target Database runs on a Windows Server in a DMZ. I tried to find out what the problem is but neither on the windows server nor on the firewall side there are any problems.
    So can anybody help me finding out what the problem is?
    Any help would be appreciated.
    Greetings

    Hi sunny,
    i have tried the tnsping several times. There is no problem with this. The tnsping works without problems and in an appropriate time.
    When i issue the command on our unix machine it shows the following:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = srvxyz)(PORT = 1521))) (CONNECT_DATA = (SID = db1) (SERVICE_NAME = db1)))
    OK (10 msec)
    And when issue it on the Windows Server the follwoing output is shown:
    TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 26-APR-2011 10:35:45
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Parameterdateien benutzt:
    O:\ORACLE\product\10.2.0\network\admin\sqlnet.ora
    Adapter TNSNAMES zur Auflösung des Alias benutzt
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = SRVXYZ)(Port = 1521))) (CONNECT_DATA = (SID = db1)))
    OK (0 ms)
    So any other ideas??

Maybe you are looking for

  • Report a bug in xf86-video-ati 1:7.2.0-1?

    Hello, After an upgrade on August 15 2013, I had to deal with two annoying issues: 1. Libreoffice calc would take a very long time to fully display a spreadsheet with multiple sheets, both when opening the file, and when switching between sheets. 2.

  • PDF/X-4:2008 in Adobe CS5.5+??

    Hi everyone, I'm part of a german medium-sized company and we're about to bring in PDF/X-4 as our new standard in prepress. But our digital-print section is just able to process PDF v. 1.3 / 1.4 (Acrobat 4 / 5) flawlessly. So – my problem is, that in

  • Background and pull down menu

    I am a new user of i-tunes. Installed the software, upon opening I have no background, just text is written to my desktop. Pull down menus do not disappear. Frustrated.

  • JDBC & setQueryTimeout - or is there another way to set query timeout?

    I am trying to set query timeout for TimesTen using jdbc library. But it seems like TimesTen jdbc library does not support setQueryTimeOut. Is there a way to set it without having to set it statically in the DNS? I tried to set the SqlQueryTimeout in

  • RSETESTD program to purge IDoc entries won't delete certain IDoc records

    Hello experts, I am in the mist of purging the IDoc entries in my system by using RSETESTD (WE11) program to delete the IDoc entries. As far as I know, this program will delete the IDoc entries regardless of the status. While doing the testing, I fin