A problem on generic connectivity

Hi,
I'm new here.
I use Oracle 8.1.7 database and SQL Server 2005.
From the Oracle side, I make SQLs and throw them to the SQL server side using generic connectivity.
In most cases it works fine but when I try to throw a rather heavy one that I expect will return 50,000 or 60,000 rows, trace files for generic connectivity contain the same error message that read:
Remote HO Agent received unexpected RPC disconnect
status 1003: ncrorpi_recv_procid, called from horg.c
but I get no Orcale errors such as ORA-03113.
In the worst case when I get this message several times a day, the Oracle instance goes down.
I suppose this might have something to do with network problems but since this system is already available for my customer, I would like to avoid this error if I can before I pinpoint what makes this error.
If anyone could suggest something helpful I would be greatly appreciated, thanks in advance.

The code whic I used is as follows...
import java.sql.*;
class Emp
public static void main (String args [])
throws SQLException, ClassNotFoundException
Class.forName ("oracle.jdbc.driver.OracleDriver");
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:orcl", "scott", "tiger");
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
while (rset.next ())
System.out.println (rset.getString (1));
I am using jdk1.2
and the driver classes are classes12_01.zip.
I have set the same in the classpath.
The error is ...
Exception in thread main java.sql.SQLException: IO Exception : Network Adapter could not establish the connection.
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
oracle.jdbc.driver.OracleConnection.(init)(OracleConnection.java:210)
at Oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Emp.main(Emp.java, Compiled code)
null

Similar Messages

  • Generic connectivity to Sybase and outer join problem

    I have a need to query records from a Sybase database running on Linux
    (32-bit) and am using Oracle 10.2.0.3 with generic connectivity (no
    specific heterogeneous service/transparent gateway for Sybase on Linux, that I see). We have installed
    an ODBC driver on the Oracle server and can query the Sybase database
    without difficulty except for outer joins.
    I have tried using both the Oracle syntax and the ANSI syntax. Both
    return results that are consistent with using an inner join. The ANSI
    query, run directly against the Sybase database returns the correct
    data (of course, removing the database link syntax).
    I was looking into the possibility of using dbms_hs_passthrough, but
    it does not appear to be part of the generic connectivity.
    Is there a better/right way of doing this? Aren't outer joins supported?
    Thanks,
    Vince

    As a followup, I did get dbms_hs_passthrough working and am able to get the correct data back. However, I would like to leave this as a backup.
    Aren't outer joins supported in the generic connectivity?
    Vince

  • Generic connectivity to SQL server: what kind of performance can I expect?

    I have set up a generic connection to a SQL server 2k db, with Oracle on another win 2k box. Both databases are in their "out of the box" configuration, so no particular tuning has been done: but the generic connectivity shows awful performance. In fact I have tried various kind of queries, and all of them show abysmal performance. A query with an "insert - select" that transferred 80K lines executed for one hour, with an average transfer rate of 1KB per second!
    I don't think this is the kind of performance I can expect from this tool, is it? Is there anyway particular I can do in order to tune the dblink over the generic connectivity?

    I don't think this is the kind of performance I can
    expect from this tool, is it? Is there anyway
    particular I can do in order to tune the dblink over
    the generic connectivity?Nevermind: apparently there are network communication problems between the two machines. Trying to execute the same tests on two co-located dbs shows performances of about 700ms in order to transfer 70000 3-column lines from a sql server db to oracle with a "insert into ... select * from" query.

  • HS generic connection to ingres

    Hi, I'm having a small problem with setting up a connection from oracle to ingres.
    Oracle: 9.2.0.1
    Ingres: AdvantageIngres 2.6
    OS: Win2K for both
    Error Msg:
    select * from "airline"@HSG
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][S1000] [9013]General error in nvITrans_BeginT - rc = -1. Please refer to the log file for details.
    ORA-02063: preceding 2 lines from HSG
    Trace file:
    Oracle Corporation --- WEDNESDAY SEP 24 2003 15:56:38.797
    Heterogeneous Agent Release
    9.2.0.1.0
    (0) hoagprd (2): ; Entered.
    (0) (0): ; [Generic Connectivity Using ODBC] version: 3.3.00.00.0030
    (0) (0): ; Class version: 117
    (0) hoagprd (2): ; Exited with retcode = 0.
    (0) hoainit (3): ; Entered.
    (0) (0): ; connect string is: defTdpName=HSG;SYNTAX=(ORACLE8_HOA,
    (0) BASED_ON=ORACLE8, IDENTIFIER_QUOTE_CHAR="",
    (0) CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj>
    <binding>
    <datasources>
    (0) <datasource name='HSG' type='ODBC' connect='HSG'>
    (0) <driverProperties/></datasource></datasources><environment>
    <misc
    (0) year2000Policy='-1' consumerApi='1' sessionBehavior='4'/><queryProcessor
    (0) parserDepth='2000' noInsertParameterization='true' noThreadedReadAhead='true'
    (0) noCommandReuse='true'/><debug
    (0) generalTrace='true'/></environment></binding></navobj>
    (0) ORACLE GENERIC GATEWAY Log File Started at 24-Sep-03 15:56:39
    (0) hoainit (3): ; Exited with retcode = 0.
    (0) hoalgon (7): ; Entered. name = lochard.
    (0) Created new ODBC connection (16585544)
    (0) DATABASE.C (475): ; [G000] Failed to notify driver of changed property
    (0) ISOLATION_LEVEL for TDP HSG
    (0) hoalgon (7): ; Exited with retcode = 0.
    (0) hoaulcp (4): ; Entered.
    (0) hoaulcp (4): ; Exited with retcode = 0.
    (0) hoauldt (5): ; Entered.
    (0) hoauldt (5): ; Exited with retcode = 0.
    (0) hoabegn (9): ; Entered. formatID = 306206, hoagttln = 25, hoagttid =
    (0) OIDOEM.2443a62f.10.10.193, hoagtbln = 10, hoagtbid =
    , tflag = 0, initial = 1
    (0) errors.h (1129): ; [CA][Ingres ODBC Driver]Invalid argument value (SQL State:
    (0) S1009; SQL Code: 0)
    (0) DRV_TransBegin: [CA][Ingres ODBC Driver]Invalid argument value (SQL State:
    (0) S1009; SQL Code: 0)
    (0)
    (0) nvRETURN (p:\src\NAV_TM.C 141): -1
    (0) nvRETURN (p:\src\UTIL\GETERROR.C 59): -1231
    (0) apiutil.c (913): ; [S1000] [9013]General error in nvITrans_BeginT - rc = -1.
    (0) Please refer to the log file for details.
    Looks like its actually connecting ok, as it includes the message "Created new ODBC connection (16585544)"
    The ODBC driver is from CA (ingres) v3.5
    - not sure that this fully supports all the requirements specified in the doc, and its not very well documented.
    - the latest version available from their website is 2.8 which has some docs to say what it supports:
    "The Ingres ODBC driver is a 2.x ODBC driver that supports all core and level 1 functions plus the following level 2 functions:
    SQLExtendedFetch (through Microsoft Cursor Library only)
    SQLForeignKeys
    SQLMoreResults
    SQLNumParam
    SQLPrimaryKeys
    SQLProcedureColumns
    SQLProcedures
    SQLSetPos (through Microsoft Cursor Library only)"
    In order to test the configuration, I also copied the entries in the tnsnames and listener files, created a separate DSN, and set up a connection to an Access database - and this works fine, so I don't believe it is a configuration problem.
    Is there anyone out there who has tried to connect to ingres, and is there an issue with the ingres ODBC driver.
    Any help appreciated.
    Leo

    I'm using the Ingres 2.80.00.64 driver on NT successfully with hsodbc delivered with V92 Oracle database release.
    About the provided trace file... Normally you should have a look at the odbc driver AND the hsodbc log file to see the real cause.
    But according t the file you provided:
    This error is normal: [G000]
    The S1009 needs more clarification and thus an ODBC driver trace would help as well.

  • Could not find symbol 'SQLAllocConnect' for generic connectivity

    Hi,
    I am using Oracle 10gR2 64-bit on Linux 64-bit. I am trying to connect to an MSSQL box on Windows. I know that hsodbc is officially not supported on 64-bit OS.
    My connection using freetds works as well from unixODBC (verified by tsql, isql). The problem is in the next layer up - hsodbc. I copied it from a 32-bit Linux box as it was 0 bytes on 64-bit box.
    Here is what I have in initSQLGUY.ora -
    HS_FDS_CONNECT_INFO = sqltest
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_TRACE_FILE_NAME = freetds.trc
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/usr/local/etc/odbc.ini
    set LD_LIBRARY_PATH=/usr/local/lib:/opt/oracle/product/10.2/lib32
    where sqltest is the name of my dsn. My listener.ora has -
    (SID_DESC =
    (SID_NAME = SQLGUY)
    (ORACLE_HOME = /opt/oracle/product/10.2)
    (PROGRAM = hsodbc)
    (ENVS=LD_LIBRARY_PATH=/usr/local/lib:/opt/oracle/product/10.2/lib32)
    My tnsnames.ora has -
    sqlguyid=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mydomain.com)(PORT=1521))
    (CONNECT_DATA= (SID=SQLGUY))
    (HS=OK)
    with this configuration, tnsping works -
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mydomain.com)(PORT=1521)) (CONNECT_DATA= (SID=SQLGUY)) (HS=OK))
    OK (0 msec)
    However my db link fails with -
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]DRV_InitTdp: DB_ODBC_INTERFACE (718): ; [C077]
    Could not find symbol 'SQLAllocConnect' in dynamic library
    DB_ODBC_INTERFACE (722): ; [C079] Failed to load dynamic library
    '/usr/local/lib/libodbc.so'
    ORA-02063: preceding 3 lines from SQLGUYLNK
    I am sure that others have gotten this to work in the past. I must be missing something trivial. Can anyone please point out what I need to do to get this working?
    Thanks

    You didn't explicite mention it, but I assume you are using a 32bit ODBC driver?
    The SQLAllocConnect function is built into the ODBC driver manager which is refered in your case as: /usr/local/lib/libodbc.so
    - check out this library exists and has sufficient permissins to be loaded by the Oracle user
    - check out this library is 32 bit
    - check out this library contains the SQLAllocConnect symbol

  • Form Error: form based on a Generic connectivity view

    A view was based on a select from a table in a Syabase database (accessed in Oracle using Generic Connectivity).
    When I built a block in a Form based on that view, I faced the following error:
    ORA-02070: database SYB does not support ROWID in this context.
    Also, the same error appeared in the reports accessing the same view.
    Can anyone give me a clue to solve this problem plz?
    Thanks in advance.

    I later knew that the issue can be addressed by setting the parameter Key Mode to nonupdatable.

  • Generic Connectivity from Oracle 10gR2 to SQL Server using ODBC

    Hi,
    I have setup an ODBC generic connection from an Oracle 10.2 database (on Win 2000) to a SQL Server database (on a different Windows machine). When I query a column which is of LONG data type (TEXT on SQL Server) my session just hangs, no data or errors are returned, trace file just ends showing the SQL statement I entered, but no errors.
    If I query other columns with CHAR, DATE, NUMBER datatypes the rows are returned successfully. As far as I can see from the documentation, the TEXT data type in SQL Server should map to SQL_LONGVARCHAR in ODBC, then that should map to LONG in Oracle, so I wouldnt have thought it was an incompatible data mapping issue.
    I hear that LONG is being replaced/deprecated in Oracle, but is it now not supported by the HS ODBC program provided with 10g Rel 2? Has anyone else had a similar problem and found a workaround? Any help is much appreciated.
    Kieren.

    Hi,
    HSODBC is not supported on Windows x64. So that's why you get the error ORA-28545
    What you can do is to install DG4ODBC 11g on a 32bit machine.
    DG4ODBC can be installed separately from the Oracle Server, for example on the SQL SERVER if you can.
    But it is supported only in 32 bit too.
    You can download from this website:
    http://www.oracle.com/technology/software/products/database/oracle11g/111060_win32soft.html
    ==>Oracle Database Gateways 11g Release 1 (11.1.0.6.0) for Microsoft Windows (32-bit)
    The last option would be to create a virtual machine on your X64 machine with a Windows 32bit and DG4ODBC 11g.
    Please let me know if you have any question.
    Regards,
    Mireille

  • Problem with JCo Connection Pool

    Hi,
    I have a problem with using an RFC Model in my WebApplication. So sometimes the access to the function block works, and sometimes it doesn't work. Now I know, that there is a problem with the connection pool. Look at this message:
    com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool WD_X24_MODELDATA_DEST_CPIC_REKTO_DE_useDefinedUser is exhausted. The current pool size limit (max connections) is 10 connections.
    So it looks like a problem with closing the JCo Connections after using. Do know where the problem is? Because I'm using many other function blocks with no problems.

    Hello,
    You need to increase the pool size via Visual Administrator.
    Server 0 -> Services -> JCO RFC Connections.
    Change the pool size from there. I believe a restart is in order.
    Regards,
    Jan

  • Problems with ipod connection.

    Problems with ipod connection.
    I have problems to connect my ipod to computer windows 7.
    When I connect I get the following error:
    "We encountered an ipod, but could not be identified correctly. Disconnect and reconnect the ipod and try again."
    And it recognizes the ipod when trying to go play music or videos make me the following error:
    "Error while trying to copy on disk. The device is not connected."
    I've uninstalled all apple applications and re-installing, as I formatted the ipod and continues to set the same error.
    What else can I do?

    Hello,
    While your symptoms don't exactly match the descriotion, this article may be usefull in discovering if there is a setting on your computer that is causing this to happen.
    iPod not recognized in 'My Computer' and in iTunes for Windows
    http://support.apple.com/kb/ts1369
    -Griff W.

  • Every time I try and update my iphone 4 to ios 7.1 in iTunes 11.1.5 it says "connection reset" even when there is no problem with my connection

    I have an iPhone 4. I use iTunes 11.1.5 on my Mac. I am trying to update to ios 7.1 through iTunes, but every time I do that, I get a "connection reset" error, even when I know there has been no problem with my connection.
    The exact error message is as follows:
    "There was a problem downloading the software for the iPhone "Anne's iPhone". The network connection was reset.
    Make sure your network settings are correct and your network connection is active, or try again later."
    I have checked several times. There is no problem with the connection, and I have tried to download the software several times today.
    Any help you can give me would be appreciated.

    Just managed to successfully download the update, having retried five or six times. I did unplug my phone while the download was taking place (had asked iTunes to download only, not to update) -- suspect this had no bearing on it whatsoever, and that persistence is the only way here.

  • How to do a Generic Connectivity (ODBC) ?

    Hello,
    Generic Connectivity provide Oracle Database to connect another
    database via ODBC. In my case, it is Oracle 8.1.6 which connects
    to Sybase Enterprise 11 on Win NT. The Module "Generic
    Connection" is installed. I view it by the Oracle Universal
    Installer and I have configured the Windows ODBC Manager to
    connect to Sybase.
    This is what I've done step by step:
    1. C:\Oracle\Ora81\hs\Admin\iniths_syb.ora
    HS_FDS_CONNECT_INFO = SPS_NACIONAL
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = hs_syb.log
    2. C:\Oracle\Ora81\Network\Admin\Listener.ora
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nacional)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = oracle)
    (ORACLE_HOME = c:\Oracle\Ora81)
    (SID_NAME = oracle)
    (SID_DESC =
    (SID_NAME = hs_syb)
    (ORACLE_HOME = c:\Oracle\Ora81)
    (PROGRAM = hs_syb)
    I reload the listener by the following command :
    lsnrctl
    stop
    start
    3. C:\Oracle\Ora81\Network\Admin\Tnsname.ora
    ORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oracle)
    hs_syb =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = host)(PORT = 1521))
    (CONNECT_DATA =
    (SID=hs_syb)
    (HS = OK)
    I test the tnsname at the prompt command line :
    tnsping hs_syb
    (It's OK)
    4. Database Link
    CREATE PUBLIC DATABASE LINK syb
    USING 'hs_syb';
    5. Test database link
    select * from emp@syb;
    And Errors occur :
    ORA-28509: unable to establish a connection to non-Oracle system
    ORA-02063: preceding line from SYB
    6. I read again the documentation
    http://technet.oracle.com/doc/oracle8i_816/server.816/a76960/hs_g
    enco.htm
    and I found some tables to be feed with data by the HS_ADMIN
    packtage :
    This is what I have added :
    EXEC DBMS_HS.CREATE_FDS_CLASS ('hs_syb','Uses ODBC Driver')
    EXEC DBMS_HS.CREATE_FDS_INST ('hs_syb','hs_syb','SYC Sybase
    System 10/11')
    EXEC DBMS_HS.CREATE_INST_INIT
    ('hs_syb','hs_syb','HS_DB_NAME','SYBDATA','F')
    (Drop procedure :
    EXEC DBMS_HS.DROP_INST_INIT
    ('hs_syb','hs_syb','HS_FDS_CONNECT_INFO')
    EXEC DBMS_HS.DROP_FDS_INST ('hs_syb','hs_syb')
    EXEC DBMS_HS.DROP_FDS_CLASS ('hs_syb');
    I test one more time the connection,
    And I have the same error message as step 5.
    7. I put in the initialization file (initoracle.ora) the
    parameter
    Hs_Autoregister = true (It is true by default and it doesn't
    change errors. Is it another parameters for HS ?)
    In fact, I don't really understand the notion of "AGENT" for HS
    (Heterogeneous Services) in Oracle. Is it something to enable or
    is it automatic because the iniths_syb.ora file is in the path
    ORACLE_HOME\hs\admin ???
    What is it missing for the Generic Connectivity ? Any
    suggestion ? Say me what is the wrong step in this process or
    what I have forgotten.
    Thank you in advance.
    Jobar Team

    Hello
    You're right, step two needs to set (PROGRAM = hsodbc). I understand this when I saw hsodbc.exe in the path ORACLE_HOME\Bin (and at prompt I try agtctl.exe but without sucess, an utility for Heterogeneous Services).
    Now when I test the connection I can hear Oracle running something.
    This is what I've done step by step (following my previous message)I test with Sybase Entreprise and Sybase Anywhere :
    8. C:\Oracle\Ora81\Database\initoracle.ora
    I set a parameter in init file and I reload Oracle database :
    global_names = false
    OR in SQL+
    alter session set global_names=false;
    WITH SYBASE ENTREPRISE
    9. C:\Oracle\Ora81\hs\Admin\iniths_syb.ora
    At the beginning my iniths_syb.ora file was wrong then I correct parameters by viewing errors in C:\Oracle\Ora81\hs\trace :
    #Using a dsn file generate by the Windows ODBC Manager
    HS_FDS_CONNECT_INFO="FILEDSN=C:\sybase.dsn"
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = C:\hs_syb.log
    set SYBASE=C:\\Sybase\\ASE
    Contents of sybase.dsn
    [ODBC]
    DRIVER=Sybase System 11
    UID=USERNAME
    SRVR=SVRNAME
    DB=master
    10. Test Database link
    CREATE PUBLIC DATABASE LINK syb
    CONNECT TO USERNAME IDENTIFIED BY SECRET
    USING 'hs_syb';
    select * from anytable@syb;
    ORA-00942: table or view does not exist
    [Transparent gateway for ODBC]393330(0,0,1[[]])
    ORA-02063: preceding 2 lines from SYB
    I try to set parameters in iniths_syb.ora without success :
    HS_DB_DOMAIN=SVRNAME
    HS_DB_NAME=master
    HS_FDS_DEFAULT_OWNER=USERNAME
    WITH SYBASE ANYWHERE
    11. C:\Oracle\Ora81\hs\Admin\iniths_any.ora
    #Using a dsn file generate by the Windows ODBC Manager
    HS_FDS_CONNECT_INFO="FILEDSN=C:\anywhere.dsn"
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = C:\hs_any.log
    Contents of anywhere.dsn
    [ODBC]
    DRIVER=Adaptive Server Anywhere 6.0
    UID=USERNAME
    Integrated=No
    AutoStop=Yes
    EngineName=SERVICE
    12. Test Database link
    CREATE PUBLIC DATABASE LINK anywhere
    CONNECT TO USERNAME IDENTIFIED BY SECRET
    USING 'hs_any';
    select * from anytable@anywhere;
    In SYBASE ANYWHERE I've got this data
    select * from anytable
    go
    dateini col1 col2
    2002-02-01 00:00:00.0000 1.5000 1.4000
    In ORACLE I've got
    SQL> select * from anytable@anywhere;
    dateini col1 col2
    01/02/02 1 1
    There isn't the decimal.
    The reason doesn't like to be 1.4 or 1,4 because in Anywhere and in Oracle It is the same insert "insert into anytable values ('02/02/01', 1.5, 1.4)".
    13. Now I try a select of one column
    select col1 from anytable@anywhere;
    this error occur :
    ORA-00904 invalid column name
    I am sure that this column exist ! "select * from anytable@anywhere;" and "select count(*) from anytable@anywhere;" are OK.
    14. And this doesn't work anymore :
    insert into bx_surcharge@anywhere values ('01/02/02',1,2);
    ORA-02047: cannot join the distributed transaction in progress
    15. Step 6 and 7 doesn't mean to be necessary ? And Where are used parameters of the "ODBC Connectivity Requirements" in the documentation. http://technet.oracle.com/doc/oracle8i_816/server.816/a76960/hs_genco.htm (And How to use Datatype Mapping ?)
    So How to successful a ODBC connection (Maybe I forget some parameters) ? For me, using a connection with ODBC is generic and have to work fine with any type of datasource, isn't it ?
    Have you got any idea to deal ? Thanks a lot.
    Jobar Team

  • Problem in establishing connection with mysql 5.0

    Hi,
    I am using JCAPS 5.1. I tried to insert data to mysql database table.
    But i got following error
    java.sql.SQLException: Error in allocating a connection. Cause:
    Physical Connection doesn't exist.
    My intention is to read file in which data are comma seperated and to
    populate those values to a mysql 5.0 database table.
    Sample DATA in file [test.txt]
    111,gg,23,MFG
    112,hh,24,MFG
    113,ii,25,RETAIL
    114,jj,26,IT
    Database table: employee
    eno,ename,eage,edept
    While creating JDBC OTD there is no problem in establishing connection with database. But after deploying i got above error.
    I have used Mysql 5.0 Connector/J JDBC driver. Added JDBC driver jar files to following directories as required.
    1) C:\JavaCAPS51\logicalhost\is\lib
    2)C:\JavaCAPS51\logicalhost\is\domains\test\lib
    Steps i have followed as per JDBC-ODBC -eway user guide doc.
    1) Created USerDefined OTD and added necessary fields
    2) Created JDBC OTD.
    3) Created JAVA collaboration and do business process for inserting
    4) Mapped all components by creating in Connectivity MAp
    5) created necessary external systems in envrionment explorer.[JDBC External System and File External System]
    6)Created Deployment profile
    5) Deployed it.
    After deploying it gives error as
    java.sql.SQLException: Error in allocating a connection. Cause: Physical Connection doesn't exist
    Please let me know the solution for problem.
    Message was edited by:
    VenkateshSampoornam

    In the environment definition,
    -> External Application JDBC
    -> Properties
    -> Outbound JDBC Connection
    You have the database URL in the "DriverProperties" field
    Valid URL would be : jdbc:mysql://localhost:3306/caps
    !! The doc says that this field is optional !! Seems to be an error in the doc:
    Hope this helps
    Seb

  • Problems maintaining network connectivity in hotels

    I have a problem maintaining internet connectivity when I use hotel WiFi services where you have to "login" first via the web browser. I don't have a problem with the WiFi per se and I have no problems with initial connectivity -- I can login and browse the Web without problems. But if my MacBook goes to sleep, I can't browse, get email, etc when it wakes up.
    I don't have this problem at home - only when I travel to places where I have to first "login". This has been happening consistently since I got the MacBook 10 months ago and at various hotel chains around the country. Also when I have another laptop with me ( Windows ) I don't see this problem. Sometimes on the Windows machine I have to "login" again after it wakes up but I never have this opportunity on my MacBook -- the browser just hangs there, "loading" indefinitely.
    The only way I've found to fix this is to reboot my MacBook. I've tried Googling for a solution or even anybody else who has this problem and I've turned up nothing! I am really the only person having this problem?!? LOL...

    Unfortunately this is a fact of life with these types of hotel systems. Live with it or set your Mac to "Computer never sleep" when you are traveling and that occurs.

  • Problem with client connect to server

    Hello
    I'm having problems trying to connect a Windows NT client to an Oracle 8.1.5.0.2 server running on
    Redhat linux 6.1
    I've setup the listener, which seems to allow a sqlplus client running on the server to connect to the
    database through the listener.
    <snip>
    $ sqlplus scott/tiger@8idb
    SQL*Plus: Release 8.1.5.0.0 - Production on Mon Apr 10 16:44:57 2000
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Release 8.1.5.0.2 - Production
    With the Java option
    PL/SQL Release 8.1.5.0.0 - Production
    SQL>
    </snip>
    Listener.log
    <snip>
    10-APR-00 16:44:57 *
    (CONNECT_DATA=(SERVICE_NAME=8idb)(CID=(PROGRAM=)(HOST=dbserver)(USER=oracle))) *
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.10)(PORT=2816)) * establish * 8idb * 0
    <snip>
    But when I try to test the connection from the NT client using "Net8 Easy Config"
    <snip>
    Initializing first test to use userid: scott, password: tiger
    Attempting to connect using userid: scott
    The test did not succeed.
    ORA-12571: TNS:packet writer failure
    There may be an error in the fields entered,
    or the server may not be ready for a connection.
    </snip>
    Even though I have the following entry in the listener.log.
    <snip>
    10-APR-00 16:58:37* (CONNECT_DATA=(SERVICE_NAME=8idb)(CID=(PROGRAM=C:\Program
    Files\Oracle\jre\1.1.7\bin\jrew.exe)(HOST=NTclient)(USER=NTuser))) *
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.20)(PORT=2465)) * establish * 8idb * 0
    </snip>
    Though sqlnet.log is logging the follow
    <snip>
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
    TNS for Linux: Version 8.1.5.0.0 - Production
    Oracle Bequeath NT Protocol Adapter for Linux: Version 8.1.5.0.0 - Production
    TCP/IP NT Protocol Adapter for Linux: Version 8.1.5.0.0 - Production
    Time: 10-APR-00 16:58:37
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    </snip>
    The listener.ora is as follows
    <snip>
    listener=
    (description=
    (address_list=
    (address=(protocol=tcp)(host=10.0.0.10)(port=1521))
    sid_list_listener=(sid_list=
    (sid_desc=
    (global_dbname=8idb)
    (sid_name=8idb)
    (oracle_home=/home/oracle/product/8.1.5)
    </snip>
    Clients Tnsnames.ora file
    <snip>
    # Generated by Oracle Net8 Assistant
    8IDB=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(HOST = 10.0.0.10))
    (CONNECT_DATA =
    (SERVICE_NAME = 8idb)
    </snip>
    Any Help would be greatly appreciated
    Thanks
    Regards
    Tom
    null

    Hi Hasan,
    Firstly, please make sure that the software is compatible with the Windows Server 2012. Have you updated this software to the latest version?
    Secondly, please check if the software is listening on the proper port. To verify this, please use the command below:
    netstat -an
    Also, please disable the firewall and try again.
    Best regards.
    Steven Lee
    TechNet Community Support

  • I get an error message when trying to install software update 4.2.8 "problem downloading, network connection timed out. Check network connections.

    I get an error message when trying to install software update 4.2.8
    "problem downloading, network connection timed out. Check network connections."
    Anyone one else had this problem?

    Brian-KK Sabah wrote:
    I too get the same message but I the software had downloaded 100% but about half way through "processing file" the error message (.3259) Check network connections. How do I fix this?
    See Here for your Error Message -3259
    http://support.apple.com/kb/ts2799

Maybe you are looking for