Connect to InterBase

Hello.
I wonder if smbd can hint with examples how to work with InterBase databases in java: connect, prossed SQL queries so on...?
Thanks

Your question is too broad. What exactly don't you understand? Where to get the JDBC driver? SQL in general? JDBC in particular? Interbase-specific questions?
Start by getting an Interbase JDBC driver.
Once you have that make a connection and start sending SQL commands. Look at the JDBC tutorial under "Tutorials" at the left. - MOD

Similar Messages

  • JDBC-ODBC bridge

    Hello,
    I'm using JDK1.5 and have a working connection to MySQL using JDBC. I now need to connect to Interbase database using ODBC and that's where I'm completely lost.
    Could somebody please tell me if I have to download a JDBC-ODBC bridge or if it's already in the package? Can JDBC-ODBC communicate with InterBase?
    Please help.
    Thank you,
    Victor.

    Uf you want the password stored in the ODBC DSN, you'll need to go through the back door. This isn't something Oracle makes easy because it has horrible security implications-- the password will be stroed in the registry in plain text.
    If you add a key "Password" with the value of your password to the registry where your DSN is, the ODBC driver will use that value to connect to the database. I don't recall the exact heirarchchy riht now, but a registry search for the name of your DSN ought to find it pretty quickly. As always, playing with your registry isn't recommended and may cause problems if you don't do it correctly.
    Justin

  • Oca 6.0.5.29.0

    Hi,
    I want to connect to Interbase server 6.0 in forms and sql*plus. But I have a problem.
    ORA-00022: invalid session id; access denied
    SQL> select cust_id, cust_address from customer;
    SQL*Plus internal error state 2090, context 108:0:0
    Unsafe to proceed
    How can I do it ?
    Thanks in advance
    Francesco

    Patch no. 5
    for upgrading the oca version from 6.0.5.29.0 to 6.0.5.35.0.

  • Problem loading interclient Driver

    Hello,
    I have a problem with connection to interbase using jdbc :
    I try to do like this :
    try{
    class.forname("interbase.interclient.Driver");
    }catch (ClassNotFoundException e){System.out.println(e.getMessage());}
    but allways the compilator show error message...
    I Know I have installed InterClient on my windows machine and the CLASSPATH cotain the path of the "interclient.jar"...
    also I tested the command : "java interbase.interclient.utils.CommDiag" and it show me the following message :
    InterClient Release: 2.0.1 Test Build, Client/Server Edition
    InterClient compatible JRE versions: 1.2
    InterClient compatible IB versions: 5, 6
    InterClient driver name: interbase.interclient.Driver
    InterClient JDBC protocol: jdbc:interbase:
    InterClient JDBC protocol version: 20001
    InterClient expiration date: no expiration date
    Testing database URL jdbc:interbase:///.
    ***** Error or Exception Occurred *****
    java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method: _$372 signature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to find unitialized object on stack
    ***** Installation problem detected! *****
    I hope that anyone can help me :-(
    thanks

    try{
    class.forname("interbase.interclient.Driver");
    }catch (ClassNotFoundException
    e){System.out.println(e.getMessage());}Is this piece of code exactly the way you have written? The I think you have a problem of case-sensitivity. Your code should be:
    try { Class.forName("interbase.interclient.Driver");
    } catch(ClassNotFoundException e) {e.getMessage(); }Check this!
    ***Annie***

  • Character translation from app to db

    Hi people,
    how do i input data (containing german chars. like "����") into a db created using character set ISO_8859_1 in a java app.?
    I get this message:
    interbase.interclient.SQLException: [interclient][interbase] arithmetic exceptio
    n, numeric overflow, or string truncation
    Cannot transliterate character between character sets
    I can query the db and get data in the correct order according to German collation.
    I�ve also tried connecting using the properties option:
    Properties props = new Properties();
    props.setProperty( "user", USER );
    props.setProperty( "password", PASSWORD );
    props.setProperty( "charSet", "_8859_1" );
    oSQLConn = DriverManager.getConnection( getDBURL(), props );
    But get an error message:
    login failed:[interclient] Unsupported feature: Driver does not support specified character encoding
    Any ideas??
    I've tried setting the locale to GERMANY - but to no avail.
    Cheers,
    Mark

    First of all, in order to use German characters in
    your db you have to put a corresponding charset for
    connection to Interbase.
    props.put("charSet", "I don't know which one it is");That doesn�t work - interclient 2.5 does not support this yet!!!
    I get following error message:
    "login failed:[interclient] Unsupported feature: Driver does not support
    specified character encoding ......."
    Then I don't get how you use ISO_8859_1 in your
    application (which is English). Again it should be
    your German charset.That�s the Latin 1 charset which includes german special chars (amongst others).
    Thanks for any help.
    Mark

  • JBDC Interbase connection problem

    Hi, it seems as though i have a problem connecting to an Interbase 6 dbs, using JDK 2 1.3, InterClient is installed. I want to connect without using the JDBC-ODBC bridge.
    The code: (commented out code doesn't work)
    public void makeConnection(){
    try {
    //Class.forName("interbase.interclient.Driver");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch (java.lang.ClassNotFoundException e) {
    System.out.println("Error:WRONG DRIVER " + e);
    try{
    //String url = "jdbc:interbase://localhost/c:/temp/user.gdb";
    String url = "jdbc:odbc:user";
    conn = DriverManager.getConnection(url,"sysdba","masterkey");
    stmt = conn.createStatement();
    catch (SQLException e){
    System.out.println("Error: DATABASE NOT FOUND; line 29; dbConnection.java; " + e);
    The error:
    Error:WRONG DRIVER java.lang.ClassNotFoundException: interbase.interclient.Driver
    Error: DATABASE NOT FOUND; line 29; dbConnection.java; java.sql.SQLException: No suitable driver
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at database.dbConnection.displayRecord(dbConnection.java:54)
    at database.Employee.fncDisplay(Employee.java:107)
    at database.Employee.access$300(Employee.java:5)
    at database.Employee$3.mouseClicked(Employee.java:62)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)
    at java.awt.Component.processMouseEvent(Component.java:3718)
    at java.awt.Component.processEvent(Component.java:3544)
    at java.awt.Container.processEvent(Container.java:1164)
    at java.awt.Component.dispatchEventImpl(Component.java:2593)
    at java.awt.Container.dispatchEventImpl(Container.java:1213)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2230)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    at java.awt.Container.dispatchEventImpl(Container.java:1200)
    at java.awt.Window.dispatchEventImpl(Window.java:926)
    at java.awt.Component.dispatchEvent(Component.java:2497)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    please help

    try this:
    import com.borland.dx.dataset.*;
    import com.borland.dx.sql.dataset.*;
    import java.sql.Statement;
    import java.sql.*;
    public void test(){
    static Database database1 = new Database();
    Statement statement;
    ResultSet resultSet1;
    interbase.interclient.Driver driver = new interbase.interclient.Driver();
    database1.setConnection(new com.borland.dx.sql.dataset.ConnectionDescriptor("jdbc:interbase://127.0.0.1/C:/tmsdemo/WEBWARD.GDB", "SYSDBA", "masterkey", false));
    query = "SELECT * FROM TABLE";
    Statement statement = database1.createStatement();
    resultSet1 = statement.executeQuery(query);
    while (resultSet1.next()){
    resultSet1.getString("column");
    }

  • Php curl connection & mysql connection from netbeans (jdbc) problem

    I set up a LAMP stack on my laptop for development of TYPO3 a cms. Everything is cushty but two issues remain where I'm at my wits end.
    In netbeans I cannot connect to the mysql database using the jdbc driver and specifying the localhost. My php application can using the same credentials.
    I realized that I cannot connect to the mysql from the command line either if I use the loopback dress.
    this works: mysql -u root -p -h localhost   
    this doesn't: mysql -u  root -p -h 127.0.0.1                                                                     
    > ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111) 
    In my php application I have the problem that I cannot fetch a file via curl and fopen. I have tried both and curl/allow_fopen are enabled in the php.ini but no luck.
    since both problems are permission related it's only the /etc/hosts.allow which comes to mind which could cause a problem but I already allowed everything the hosts.allow
    # /etc/hosts.allow                                                                                         
    rpcbind: 192.168.1.0/255.255.255.0                                                                                                             
    mysqld: ALL : allow                                                                                                                           
    ALL: 127.0.0.1 : allow                                                                                                                         
    httpd: ALL : allow                                                                                                                             
    ALL : ALL : allow
    #/etc/hosts
    127.0.0.1               localhost       localhost.localdomain   lt-tom-arch                                                                   
    Any idea what I'm missing? What can I use to debug the issue further
    #php.ini
    [PHP]
    engine = On
    short_open_tag = Off
    asp_tags = Off
    precision = 14
    y2k_compliance = On
    output_buffering = 4096
    zlib.output_compression = Off
    implicit_flush = Off
    unserialize_callback_func =
    serialize_precision = 100
    allow_call_time_pass_reference = Off
    safe_mode = Off
    safe_mode_gid = Off
    safe_mode_include_dir =
    safe_mode_exec_dir =
    safe_mode_allowed_env_vars = PHP_
    safe_mode_protected_env_vars = LD_LIBRARY_PATH
    error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
    disable_functions =
    disable_classes =
    expose_php = On
    max_execution_time = 300
    max_input_time = 60
    memory_limit = 128M
    error_reporting = E_ALL & ~E_DEPRECATED
    display_errors = Off
    display_startup_errors = Off
    log_errors = On
    log_errors_max_len = 1024
    ignore_repeated_errors = Off
    ignore_repeated_source = Off
    report_memleaks = On
    track_errors = Off
    html_errors = Off
    error_log = /var/log/php.log
    variables_order = "GPCS"
    request_order = "GP"
    register_globals = Off
    register_long_arrays = Off
    register_argc_argv = Off
    auto_globals_jit = On
    post_max_size = 8M
    magic_quotes_gpc = Off
    magic_quotes_runtime = Off
    magic_quotes_sybase = Off
    auto_prepend_file =
    auto_append_file =
    default_mimetype = "text/html"
    include_path = ".:/usr/share/pear"
    doc_root =
    user_dir =
    extension_dir = "/usr/lib/php/modules/"
    enable_dl = Off
    file_uploads = On
    upload_max_filesize = 12M
    max_file_uploads = 20
    allow_url_fopen = On
    allow_url_include = On
    default_socket_timeout = 60
    extension=gettext.so
    extension=json.so
    extension=mcrypt.so
    extension=curl.so
    extension=gd.so
    extension=mysql.so
    extension=openssl.so
    [Date]
    date.timezone = America/Montreal
    [filter]
    [iconv]
    [intl]
    [sqlite]
    [sqlite3]
    [Pcre]
    [Pdo]
    [Pdo_mysql]
    pdo_mysql.cache_size = 2000
    pdo_mysql.default_socket=
    [Phar]
    [Syslog]
    define_syslog_variables = Off
    [mail function]
    SMTP = localhost
    smtp_port = 25
    mail.add_x_header = On
    [SQL]
    sql.safe_mode = Off
    [ODBC]
    odbc.allow_persistent = On
    odbc.check_persistent = On
    odbc.max_persistent = -1
    odbc.max_links = -1
    odbc.defaultlrl = 4096
    odbc.defaultbinmode = 1
    [Interbase]
    ibase.allow_persistent = 1
    ibase.max_persistent = -1
    ibase.max_links = -1
    ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ibase.dateformat = "%Y-%m-%d"
    ibase.timeformat = "%H:%M:%S"
    [MySQL]
    mysql.allow_local_infile = On
    mysql.allow_persistent = On
    mysql.cache_size = 2000
    mysql.max_persistent = -1
    mysql.max_links = -1
    mysql.default_port =
    mysql.default_socket =
    mysql.default_host =
    mysql.default_user =
    mysql.default_password =
    mysql.connect_timeout = 60
    mysql.trace_mode = Off
    [MySQLi]
    mysqli.max_persistent = -1
    mysqli.allow_persistent = On
    mysqli.max_links = -1
    mysqli.cache_size = 2000
    mysqli.default_port = 3306
    mysqli.default_socket =
    mysqli.default_host =
    mysqli.default_user =
    mysqli.default_pw =
    mysqli.reconnect = Off
    [mysqlnd]
    mysqlnd.collect_statistics = On
    mysqlnd.collect_memory_statistics = Off
    [Session]
    session.save_handler = files
    session.use_cookies = 1
    session.use_only_cookies = 1
    session.name = PHPSESSID
    session.auto_start = 0
    session.cookie_lifetime = 0
    session.cookie_path = /
    session.cookie_domain =
    session.cookie_httponly =
    session.serialize_handler = php
    session.gc_probability = 1
    session.gc_divisor = 1000
    session.gc_maxlifetime = 1440
    session.bug_compat_42 = Off
    session.bug_compat_warn = Off
    session.referer_check =
    session.entropy_length = 0
    session.entropy_file =
    session.cache_limiter = nocache
    session.cache_expire = 180
    session.use_trans_sid = 0
    session.hash_function = 0
    session.hash_bits_per_character = 5
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    [MSSQL]
    mssql.allow_persistent = On
    mssql.max_persistent = -1
    mssql.max_links = -1
    mssql.min_error_severity = 10
    mssql.min_message_severity = 10
    mssql.compatability_mode = Off
    mssql.secure_connection = Off
    [Assertion]
    [COM]
    [mbstring]
    [gd]
    [exif]
    [Tidy]
    tidy.clean_output = Off
    [soap]
    soap.wsdl_cache_enabled=1
    soap.wsdl_cache_dir="/tmp"
    soap.wsdl_cache_ttl=86400
    soap.wsdl_cache_limit = 5
    [sysvshm]
    [ldap]
    ldap.max_links = -1
    [mcrypt]
    [dba]
    #my.cnf
    [client]
    port = 3306
    socket = /var/run/mysqld/mysqld.sock
    [mysqld]
    port = 3306
    socket = /var/run/mysqld/mysqld.sock
    datadir = /var/lib/mysql
    skip-external-locking
    key_buffer = 16M
    max_allowed_packet = 1M
    table_cache = 64
    sort_buffer_size = 512K
    net_buffer_length = 16K
    myisam_sort_buffer_size = 8M
    skip-networking
    server-id = 1
    [mysqldump]
    quick
    max_allowed_packet = 16M
    [mysql]
    [isamchk]
    key_buffer = 20M
    sort_buffer_size = 20M
    read_buffer = 2M
    write_buffer = 2M
    [myisamchk]
    key_buffer = 20M
    sort_buffer_size = 20M
    read_buffer = 2M
    write_buffer = 2M
    [mysqlhotcopy]
    interactive-timeout

    Regarding Curl/fopen I'm one step further. PHP cannot resolve hostnames and can connect only if an IP is specified. I resolved the domain I needed manually in the hosts file and it works. it appears it cannot use the systems DNS or the system doesn't allow it to use DNS. I have other ubuntu servers in the network who can resolve just fine.
    any idea what could be causing this?
    Could it have something to do with my nsswitch.conf? Should there be another dns somewhere?
    # Begin /etc/nsswitch.conf
    passwd: files
    group: files
    shadow: files
    publickey: files
    hosts: files dns
    networks: files
    protocols: files
    services: files
    ethers: files
    rpc: files
    netgroup: files
    # End /etc/nsswitch.conf

  • DG4ODBC on Linux-64 to Firebird connection fail (on Linux-32 ok!)

    Hi.
    I have a 2 servers on Ubuntu 9.04 with Oracle11r2 with save configuration. One of them with 32, and other with 64 bit architecture. For connection to firebird I use IBPhoenix ODBC driver - implementation for 32 and 64 bit. From Linux32 everything ok, but from 64 I got error ORA-28511: connection HS Agent lost. First few queries were almost succesful (error something about charcterset conversion), but now only ORA-28511:( Connection by unixODBC isql to DSN-source is OK.
    ########### odbc.inst
    [Firebird]
    Driver=/usr/lib/libOdbcFb.so
    Setup=/usr/lib/libOdbcFb.so
    Threading=1
    FileUsage=1
    CPTimeout=
    CPReuse=
    ########### odbc.ini
    [clientPR]
    Driver=Firebird
    Dbname=10.1.216.3:clientPR
    User=SYSDBA
    ########## listener.ora
    # listener.ora Network Configuration File: /oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = cruorsrv.ccru)(PORT = 1521))
    ADR_BASE_LISTENER = /oracle
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=dg4sybs)
    (ORACLE_HOME=/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=dg4sybs)
    (SID_DESC=
    (SID_NAME=pr)
    (ORACLE_HOME=/oracle/product/11.2.0/dbhome_1)
    (PROGRAM=dg4odbc)
    ############# tnsnames
    # tnsnames.ora Network Configuration File: /oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cruorsrv.ccru)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.cru)
    dg4sybs =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))
    (CONNECT_DATA=(SID=dg4sybs))
    (HS=OK)
    PR=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))
    (CONNECT_DATA=(SID=PR))
    (HS=OK)
    ###### initpr.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = clientPR
    HS_FDS_SHAREABLE_NAME=/usr/lib/libiodbc.so.2
    HS_FDS_TRACE_LEVEL=DEBUG
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    set ODBCINSTINI=/etc/odbcinst.ini
    set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/odbc:/usr/lib:$ORACLE_HOME/lib
    ######### TRACEFILE
    Oracle Corporation --- FRIDAY MAR 26 2010 12:18:47.971
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- FRIDAY MAR 26 2010 12:18:47.971
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "pr"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:pr
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=171
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=171
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2010/03/26-12:18:47
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libiodbc.so.2"
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142e980
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214261e0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214227b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141d2f0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214144b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140f220
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21427de0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21415920
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21416ed0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142de90
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141e400
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21416830
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142db00
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21421870
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214162b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21425660
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21414e40
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21414a90
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214257b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142dce0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214298e0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21429520
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140ba80
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214123c0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21425400
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214140b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x214157b0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140b240
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142b820
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142aec0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142a140
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141ad50
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141bb70
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2141fda0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142d930
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140ddf0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21423a90
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140a9a0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140a2e0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x21409bc0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142bfa0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142d410
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2142a9a0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140d0f0
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Entered hgolofns at 2010/03/26-12:18:47
    symbol_peflctx=0x2140c980
    hoaerr:0
    Exiting hgolofns at 2010/03/26-12:18:47
    Exiting hgolofn, rc=0 at 2010/03/26-12:18:47
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2010/03/26-12:18:47
    Entered hgolgon at 2010/03/26-12:18:47
    reco:0, name:SYSDBA, tflag:0
    Entered hgosuec at 2010/03/26-12:18:47
    Exiting hgosuec, rc=0 at 2010/03/26-12:18:47
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using SYSDBA as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/03/26-12:18:47
    HS_FDS_CONNECT_INFO = "clientPR"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/03/26-12:18:47
    dsn:clientPR, name:SYSDBA
    optn:
    Entered hgocip at 2010/03/26-12:18:47
    dsn:clientPR
    Exiting hgocip, rc=0 at 2010/03/26-12:18:47
    Exiting hgogenconstr, rc=0 at 2010/03/26-12:18:47
    Entered hgolosf at 2010/03/26-12:18:48
    Exiting hgolosf, rc=0 at 2010/03/26-12:18:48
    DriverName:Odb, DriverVer:02.00
    DBMS Name:Fire, DBMS Version:06.03.17910 WI-V Firebird 2.1
    Exiting hgocont, rc=0 at 2010/03/26-12:18:48
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 0 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2010/03/26-12:18:48
    Entered hgoulcp at 2010/03/26-12:18:48
    Entered hgowlst at 2010/03/26-12:18:48
    Exiting hgowlst, rc=0 at 2010/03/26-12:18:48
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:2, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 31 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 31 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    Any ideas?
    Thanks!

    After correction listener.ora and restarting changed nothing:(
    ##################### ODBC TRACE on "select * from dual@pr"
    ** iODBC Trace file
    ** Trace started on Fri Mar 26 13:53:38 2010
    ** Driver Manager: 03.52.0607.1008
    [000000.000129]
    dg4odbcpr 7F410A1D76F0 ENTER SQLAllocHandle
              SQLSMALLINT 1 (SQL_HANDLE_ENV)
              SQLHANDLE 0x0 (SQL_NULL_HANDLE)
              SQLHANDLE * 0x21d3038
    [000000.000187]
    dg4odbcpr 7F410A1D76F0 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 1 (SQL_HANDLE_ENV)
              SQLHANDLE 0x0 (SQL_NULL_HANDLE)
              SQLHANDLE * 0x21d3038 (0x21d0a50)
    [000000.000251]
    dg4odbcpr 7F410A1D76F0 ENTER SQLSetEnvAttr
              SQLHENV 0x21d0a50
              SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
              SQLPOINTER 0x3
              SQLINTEGER * 4294967290 (SQL_IS_INTEGER)
    [000000.000320]
    dg4odbcpr 7F410A1D76F0 EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
              SQLHENV 0x21d0a50
              SQLINTEGER 200 (SQL_ATTR_ODBC_VERSION)
              SQLPOINTER 0x3
              SQLINTEGER * 4294967290 (SQL_IS_INTEGER)
    [000000.000808]
    dg4odbcpr 7F410A1D76F0 ENTER SQLAllocHandle
              SQLSMALLINT 2 (SQL_HANDLE_DBC)
              SQLHANDLE 0x21d0a50
              SQLHANDLE * 0x21d3040
    [000000.000862]
    dg4odbcpr 7F410A1D76F0 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 2 (SQL_HANDLE_DBC)
              SQLHANDLE 0x21d0a50
              SQLHANDLE * 0x21d3040 (0x21ced40)
    [000000.000919]
    dg4odbcpr 7F410A1D76F0 ENTER SQLSetConnectAttr
              SQLHDBC 0x21ced40
              SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
              SQLPOINTER 0x0
              SQLINTEGER * 4294967291 (SQL_IS_UINTEGER)
    [000000.001002]
    dg4odbcpr 7F410A1D76F0 EXIT SQLSetConnectAttr with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLINTEGER 102 (SQL_ATTR_AUTOCOMMIT)
              SQLPOINTER 0x0
              SQLINTEGER * 4294967291 (SQL_IS_UINTEGER)
    [000000.001527]
    dg4odbcpr 7F410A1D76F0 ENTER SQLDriverConnect
              SQLHDBC 0x21ced40
              SQLPOINTER 0x0
              SQLCHAR * 0x21e6aa0
                        | DSN=clientPR;UID=SYSDBA;PWD=********* |
              SQLSMALLINT 37
              SQLCHAR * 0x21e75d8
              SQLSMALLINT 1024
              SQLSMALLINT * 0x7fff6f2f2c50
              SQLUSMALLINT 0 (SQL_DRIVER_NOPROMPT)
    [000000.283588]
    dg4odbcpr 7F410A1D76F0 EXIT SQLDriverConnect with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLPOINTER 0x0
              SQLCHAR * 0x21e6aa0
              SQLSMALLINT 37
              SQLCHAR * 0x21e75d8
                        | DSN=clientPR;Driver=Firebird/InterBase(r |
                        | ) driver;Dbname=10.1.216.3:clientPR;PWD= |
                        | *************** |
              SQLSMALLINT 1024
              SQLSMALLINT * 0x7fff6f2f2c50 (95)
              SQLUSMALLINT 0 (SQL_DRIVER_NOPROMPT)
    [000000.283840]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetFunctions
              SQLHDBC 0x21ced40
              SQLUSMALLINT 999 (SQL_API_ODBC3_ALL_FUNCTIONS)
    [000000.283908]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetFunctions with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 999 (SQL_API_ODBC3_ALL_FUNCTIONS)
              SQLUSMALLINT * 0x21d2db8
                        | SQL_API_SQLALLOCCONNECT |
                        | SQL_API_SQLALLOCENV |
                        | SQL_API_SQLALLOCSTMT |
                        | SQL_API_SQLBINDCOL |
                        | SQL_API_SQLCANCEL |
                        | SQL_API_SQLCOLATTRIBUTE |
                        | SQL_API_SQLCONNECT |
                        | SQL_API_SQLDESCRIBECOL |
                        | SQL_API_SQLDISCONNECT |
                        | SQL_API_SQLERROR |
                        | SQL_API_SQLEXECDIRECT |
                        | SQL_API_SQLEXECUTE |
                        | SQL_API_SQLFETCH |
                        | SQL_API_SQLFREECONNECT |
                        | SQL_API_SQLFREEENV |
                        | SQL_API_SQLFREESTMT |
                        | SQL_API_SQLGETCURSORNAME |
                        | SQL_API_SQLNUMRESULTCOLS |
                        | SQL_API_SQLPREPARE |
                        | SQL_API_SQLROWCOUNT |
                        | SQL_API_SQLSETCURSORNAME |
                        | SQL_API_SQLSETPARAM |
                        | SQL_API_SQLTRANSACT |
                        | SQL_API_SQLBULKOPERATIONS |
                        | SQL_API_SQLCOLUMNS |
                        | SQL_API_SQLDRIVERCONNECT |
                        | SQL_API_SQLGETCONNECTOPTION |
                        | SQL_API_SQLGETDATA |
                        | SQL_API_SQLGETFUNCTIONS |
                        | SQL_API_SQLGETINFO |
                        | SQL_API_SQLGETTYPEINFO |
                        | SQL_API_SQLPARAMDATA |
                        | SQL_API_SQLPUTDATA |
                        | SQL_API_SQLSETCONNECTOPTION |
                        | SQL_API_SQLSPECIALCOLUMNS |
                        | SQL_API_SQLSTATISTICS |
                        | SQL_API_SQLTABLES |
                        | SQL_API_SQLBROWSECONNECT |
                        | SQL_API_SQLCOLUMNPRIVILEGES |
                        | SQL_API_SQLDATASOURCES |
                        | SQL_API_SQLDESCRIBEPARAM |
                        | SQL_API_SQLEXTENDEDFETCH |
                        | SQL_API_SQLFOREIGNKEYS |
                        | SQL_API_SQLMORERESULTS |
                        | SQL_API_SQLNATIVESQL |
                        | SQL_API_SQLNUMPARAMS |
                        | SQL_API_SQLPRIMARYKEYS |
                        | SQL_API_SQLPROCEDURECOLUMNS |
                        | SQL_API_SQLPROCEDURES |
                        | SQL_API_SQLSETPOS |
                        | SQL_API_SQLSETSCROLLOPTIONS |
                        | SQL_API_SQLTABLEPRIVILEGES |
                        | SQL_API_SQLDRIVERS |
                        | SQL_API_SQLBINDPARAMETER |
    [000000.284594]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 6 (SQL_DRIVER_NAME)
              SQLPOINTER 0x7fff6f2f2950
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54
    [000000.284676]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 6 (SQL_DRIVER_NAME)
              SQLPOINTER 0x7fff6f2f2950
                        | Odb |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54 (3)
    [000000.284759]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 7 (SQL_DRIVER_VER)
              SQLPOINTER 0x7fff6f2f2950
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54
    [000000.284827]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 7 (SQL_DRIVER_VER)
              SQLPOINTER 0x7fff6f2f2950
                        | 02.00 |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54 (5)
    [000000.284916]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 17 (SQL_DBMS_NAME)
              SQLPOINTER 0x7fff6f2f2950
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54
    [000000.284985]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 17 (SQL_DBMS_NAME)
              SQLPOINTER 0x7fff6f2f2950
                        | Fire |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54 (4)
    [000000.285063]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 18 (SQL_DBMS_VER)
              SQLPOINTER 0x7fff6f2f2950
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54
    [000000.285131]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 18 (SQL_DBMS_VER)
              SQLPOINTER 0x7fff6f2f2950
                        | 06.03.17910 WI-V Firebird 2.1 |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2c54 (29)
    [000000.285264]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 10003 (SQL_CATALOG_NAME)
              SQLPOINTER 0x7fff6f2f2cb0
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2f40
    [000000.285338]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 10003 (SQL_CATALOG_NAME)
              SQLPOINTER 0x7fff6f2f2cb0
                        | Y |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f2f40 (1)
    [000000.285455]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 34 (SQL_MAX_CATALOG_NAME_LEN)
              SQLPOINTER 0x7fff6f2f2f3c
              SQLSMALLINT 2
              SQLSMALLINT * 0x0
    [000000.285521]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 34 (SQL_MAX_CATALOG_NAME_LEN)
              SQLPOINTER 0x7fff6f2f2f3c (0)
              SQLSMALLINT 2
              SQLSMALLINT * 0x0
    [000000.285609]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetConnectAttr
              SQLHDBC 0x21ced40
              SQLINTEGER 109 (SQL_ATTR_CURRENT_CATALOG)
              SQLPOINTER 0x21ed0b0
              SQLINTEGER * 4096
              SQLINTEGER * 0x21d3128
    [000000.285688]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetConnectAttr with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLINTEGER 109 (SQL_ATTR_CURRENT_CATALOG)
              SQLPOINTER 0x21ed0b0
              SQLINTEGER * 4096
              SQLINTEGER * 0x21d3128 (19)
    [000000.287915]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 91 (SQL_SCHEMA_USAGE)
              SQLPOINTER 0x7fff6f2f3024
              SQLSMALLINT 4
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.288012]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 91 (SQL_SCHEMA_USAGE)
              SQLPOINTER 0x7fff6f2f3024 (0x0)
                        | SQL_SU_UNKNOWN |
              SQLSMALLINT 4
              SQLSMALLINT * 0x7fff6f2f3038 (4)
    [000000.288118]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 46 (SQL_TXN_CAPABLE)
              SQLPOINTER 0x21d369c
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3040
    [000000.288196]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 46 (SQL_TXN_CAPABLE)
              SQLPOINTER 0x21d369c (2)
                        | SQL_TC_ALL |
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3040 (2)
    [000000.288285]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 72 (SQL_TXN_ISOLATION_OPTION)
              SQLPOINTER 0x21d36a0
              SQLSMALLINT 4
              SQLSMALLINT * 0x7fff6f2f3040
    [000000.288362]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 72 (SQL_TXN_ISOLATION_OPTION)
              SQLPOINTER 0x21d36a0 (0xF)
                        | SQL_TXN_READ_UNCOMMITTED |
                        | SQL_TXN_READ_COMMITTED |
                        | SQL_TXN_REPEATABLE_READ |
                        | SQL_TXN_SERIALIZABLE |
              SQLSMALLINT 4
              SQLSMALLINT * 0x7fff6f2f3040 (4)
    [000000.288487]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 32 (SQL_MAX_SCHEMA_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.288564]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 32 (SQL_MAX_SCHEMA_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c (0)
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038 (2)
    [000000.288654]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 35 (SQL_MAX_TABLE_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.288729]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 35 (SQL_MAX_TABLE_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c (31)
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038 (2)
    [000000.288846]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 33 (SQL_MAX_PROCEDURE_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.288924]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 33 (SQL_MAX_PROCEDURE_NAME_LEN)
              SQLPOINTER 0x7fff6f2f303c (31)
              SQLSMALLINT 2
              SQLSMALLINT * 0x7fff6f2f3038 (2)
    [000000.289031]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 29 (SQL_IDENTIFIER_QUOTE_CHAR)
              SQLPOINTER 0x7fff6f2f2d70
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.289133]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 29 (SQL_IDENTIFIER_QUOTE_CHAR)
              SQLPOINTER 0x7fff6f2f2d70
                        | " |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f3038 (1)
    [000000.289243]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetInfo
              SQLHDBC 0x21ced40
              SQLUSMALLINT 87 (SQL_COLUMN_ALIAS)
              SQLPOINTER 0x7fff6f2f2d70
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f3038
    [000000.289326]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetInfo with return code 0 (SQL_SUCCESS)
              SQLHDBC 0x21ced40
              SQLUSMALLINT 87 (SQL_COLUMN_ALIAS)
              SQLPOINTER 0x7fff6f2f2d70
                        | Y |
              SQLSMALLINT 512
              SQLSMALLINT * 0x7fff6f2f3038 (1)
    [000000.289439]
    dg4odbcpr 7F410A1D76F0 ENTER SQLAllocHandle
              SQLSMALLINT 3 (SQL_HANDLE_STMT)
              SQLHANDLE 0x21ced40
              SQLHANDLE * 0x21d3050
    [000000.289564]
    dg4odbcpr 7F410A1D76F0 EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 3 (SQL_HANDLE_STMT)
              SQLHANDLE 0x21ced40
              SQLHANDLE * 0x21d3050 (0x21ee140)
    [000000.289624]
    dg4odbcpr 7F410A1D76F0 ENTER SQLBindCol
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 1
              SQLSMALLINT 1 (SQL_C_CHAR)
              SQLPOINTER 0x7fff6f2f2ce0
              SQLLEN 120
              SQLLEN * 0x7fff6f2f2fc8
    [000000.289725]
    dg4odbcpr 7F410A1D76F0 EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 1
              SQLSMALLINT 1 (SQL_C_CHAR)
              SQLPOINTER 0x7fff6f2f2ce0
              SQLLEN 120
              SQLLEN * 0x7fff6f2f2fc8 (0)
    [000000.289812]
    dg4odbcpr 7F410A1D76F0 ENTER SQLBindCol
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 3
              SQLSMALLINT -16 (SQL_C_SLONG)
              SQLPOINTER 0x7fff6f2f3020
              SQLLEN 0
              SQLLEN * 0x7fff6f2f2fb8
    [000000.289897]
    dg4odbcpr 7F410A1D76F0 EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 3
              SQLSMALLINT -16 (SQL_C_SLONG)
              SQLPOINTER 0x7fff6f2f3020
              SQLLEN 0
              SQLLEN * 0x7fff6f2f2fb8 (0)
    [000000.289982]
    dg4odbcpr 7F410A1D76F0 ENTER SQLBindCol
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 10
              SQLSMALLINT -15 (SQL_C_SSHORT)
              SQLPOINTER 0x7fff6f2f3034
              SQLLEN 0
              SQLLEN * 0x7fff6f2f2fc0
    [000000.290067]
    dg4odbcpr 7F410A1D76F0 EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
              SQLHSTMT 0x21ee140
              SQLUSMALLINT 10
              SQLSMALLINT -15 (SQL_C_SSHORT)
              SQLPOINTER 0x7fff6f2f3034
              SQLLEN 0
              SQLLEN * 0x7fff6f2f2fc0 (0)
    [000000.290179]
    dg4odbcpr 7F410A1D76F0 ENTER SQLGetTypeInfo
              SQLHSTMT 0x21ee140
              SQLSMALLINT 12 (SQL_VARCHAR)
    [000000.290353]
    dg4odbcpr 7F410A1D76F0 EXIT SQLGetTypeInfo with return code 0 (SQL_SUCCESS)
              SQLHSTMT 0x21ee140
              SQLSMALLINT 12 (SQL_VARCHAR)
    [000000.290406]
    dg4odbcpr 7F410A1D76F0 ENTER SQLFetch
              SQLHSTMT 0x21ee140

  • Reg. Getting Tables name from interbase

    Hi,
    I like to get interbase database table name using a query from JDBC program .I am connecting interbase through interclient driver.
    Regrads,
    Vikki

    Once you have a Connection to the database, use its getMetaData() method to get a DatabaseMetaData object, which can give you that information.

  • JDBC connection for SQL Server 2000

    How to connect SQL Server 2000 from java?
    If i can get any sites where i can get examples also fine.
    Thanks in advance
    Praveen.

    Developer's Daily  Java Education 
      front page | java | perl | unix | DevDirectory 
      Front Page
    Java
    Education
    Pure Java
       Articles
    JDBC 101: How to connect to an SQL database with JDBC
    Introduction
    If you're interested in connecting your Java applets and applications to standard SQL databases like Oracle, Informix, Sybase, and others, JDBC is your ticket to paradise.  The combination of Java's JDBC and standard SQL makes a simple and powerful database solution. JDBC makes the simple things easy -- without making the complex tasks too difficult either.
    In this first article in our series, we'll show you step-by-step how to establish a connection from your Java programs to an SQL database using JDBC. In the process we'll show you how to connect to two different databases -- Mini SQL (mSQL), and Interbase -- just so you can see how the code changes when you switch from one database to another.
    Obtaining the JDBC driver
    Before you start working with JDBC, you'll need a copy of the Java JDK. If you don't have it already, you can get the JDK for free at Sun's Java web site, or it will also be included with many IDE's that you can purchase, such as JBuilder or Visual Cafe.
    Once you have the JDK, the next thing you need to do is to get the correct JDBC driver for your database. In most cases the JDBC driver will be provided by your database vendor. For instance, if you purchase the Interbase database, the driver will be provided with the software, or you can obtain the most recent version at http://www.interbase.com/.
    (An exception to this rule is Mini SQL, or mSQL. Because it's a very low-cost database, the JDBC driver has actually been developed by a separate group of people, led by George Reese at imaginary.com. You can download the mSQL JDBC driver from the imaginary.com web site.)
    Once you have the correct JDBC driver for your database, install it according to the instructions that came with it. Installation instructions will vary somewhat for each vendor.
    Establishing a connection is a two-step process
    Once you have the correct JDBC driver installed, establishing a connection from your Java programs to your SQL database is pretty easy.
    Regardless of whether you're trying to connect to Oracle, Sybase, Informix, mSQL, or Interbase (or any other JDBC data source), establishing a connection to an SQL database with Java JDBC is a simple two-step process:
    Load the JDBC driver.
    Establish the connection.
    We'll show you two examples just so you can see how easy it is, and how little the code changes when you migrate from one database server to another.
    A Mini SQL Example
    Listing 1 provides the full source code required to establish a connection to a mSQL database on a server named "www.myserver.com".
      //  Establish a connection to a mSQL database using JDBC. 
    import java.sql.*; 
    class JdbcTest1 { 
        public static void main (String[] args) { 
            try { 
                // Step 1: Load the JDBC driver. 
                Class.forName("com.imaginary.sql.msql.MsqlDriver"); 
                // Step 2: Establish the connection to the database. 
                String url = "jdbc:msql://www.myserver.com:1114/contact_mgr"; 
                Connection conn = DriverManager.getConnection(url,"user1","password");  
            } catch (Exception e) { 
                System.err.println("Got an exception! "); 
                System.err.println(e.getMessage()); 
      Listing 1: This source code example shows the two steps required to establish a connection to a Mini SQL (mSQL) database using JDBC. 
    An Interbase Example
    Listing 2 provides the full source code required to establish a connection to an Interbase database. In this example, we're connecting to a local Interbase server (i.e., the server is running on the same PC that we're running the Java code on).
      //  Establish a connection to an Interbase database using JDBC. 
    import java.sql.*; 
    class JdbcTest1 { 
        public static void main (String[] args) { 
            try { 
                // Step 1: Load the JDBC driver. 
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); 
                // Step 2: Establish the connection to the database. 
                String url = "jdbc:odbc:contact_mgr"; 
                Connection conn = DriverManager.getConnection(url,"user1","password");  
            } catch (Exception e) { 
                System.err.println("Got an exception! "); 
                System.err.println(e.getMessage()); 
      Listing 2: This source code example shows the two steps required to establish a connection to an Interbase database using JDBC. 
    What's the difference?
    The difference between the two source code listings is very small, so we highlighted them in a dark blue color. The only difference between connecting to the two databases is:
    The name of the JDBC driver.
    The URL used to connect to the database.
    Everything else in the two source code listings -- except for the comment at the top -- is identical. Here's a slightly more detailed discussion of the two differences:
    1. The JDBC Driver
    The name of the JDBC driver will be supplied to you by your database vendor. As you can see in the class.forName() statements, these names will vary. In the first case we're using the mSQL-JDBC driver. In the second case we're using the JDBC-ODBC Bridge driver supplied with the Interbase server.
    2. The URL
    The syntax of the DriverManager.getConnection() method is:
    DriverManager.getConnection(String url, String username, String password);
    The username and password are the normal names you use to log into your database. The URL you use will again vary with the database you use. In both examples shown, we're establishing a connection to a database named contact_mgr. (We'll use this database for all of our examples in this series of JDBC articles.)
    If you stick with standard SQL commands, it can be very easy to switch from one database server to another. In fact, I've heard from several developers who are using mSQL to prototype their software (because it's so inexpensive), and then switching to another commercial vendor when it's time to take their product "live".
    Conclusion
    Establishing a connection to an SQL database with Java JDBC is a simple, two-step process. The process is nearly identical for all SQL databases, and the only real differences are (a) the driver name, and (b) the URL used to connect to the database. Your database vendor will provide this information in their documentation.
    Resources mentioned in this article
    Here are a few links to resources we mentioned in this article:
    Interbase
    The Mini SQL (mSQL) database
    The mSQL-JDBC driver at imaginary.com
      [an error occurred while processing this directive]
     

  • Deploying cmp bean on jboss3.2.5 with interbase

    Hi
    I am new to ejb.i tried to run a test application that delpy a cmp entity bean - i created an interbase db
    and stayted it on +created the relevant table.
    I add the interBase-ds.xml file(that i placed in the folder JBoss 3.2.5\server\default\deploy):
    <?xml version="1.0" encoding="UTF-8"?>
    <datasources>
    <local-tx-datasource>
    <jndi-name>InterBaseDS</jndi-name>
    <connection-url>jdbc:interbase://localhost/D:/liat/InterBase/examples/database/MAESTRODB.GDB</connection-url>
    <driver-class>interbase.interclient.Driver</driver-class>
    <user-name>Sysdba</user-name>
    <password>masterkey</password>
    </local-tx-datasource>
    </datasources>
    In the jbosscmp-jdbc file I have these parameters:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE jbosscmp-jdbc PUBLIC
    "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN"
    "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd">
    <jbosscmp-jdbc>
    <defaults>
    <datasource>java:/InterBaseDS</datasource>
    <datasource-mapping>InterBase</datasource-mapping>
    <create-table>false</create-table>
    <remove-table>false</remove-table>
    <pk-constraint>true</pk-constraint>
    <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
    </defaults>
    </jbosscmp-jdbc>
    That the exception i got when i ried to deploy the bean:
    13:25:42,065 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
    org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to
    ster driver for: interbase.interclient.Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: interbase.intercl
    .Driver))
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:168)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:504
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:214)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:444)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:312)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)
    Caused by: org.jboss.resource.JBossResourceException: Failed to register driver for: interbase.interclient.Driver; - nested throwable: (java.lang.
    sNotFoundException: No ClassLoaders found for: interbase.interclient.Driver)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:291)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:157)
    ... 132 more
    Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: interbase.interclient.Driver
    at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:185)
    at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:178)
    at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:132)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:77)
    at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:78)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:77)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:273)
    ... 133 more
    What is missing in my deployment?
    I also want to know how can i set jboss deploymnet folder so it wont be the default folder.

    Do you copy the interbase driver (called interclient.jar) into the lib folder of your server configuration???
    JBOSS_HOME/server/default/lib
    JaimeS

  • JSP and Interbase

    I am trying to connect to an Interbase database using JSP. When I run the JSP I get an internal error. Can anyone help me with this, please?
    Here is the error stack:
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: (class: interbase/interclient/ErrorKey, method: _$372 signature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to find unitialized object on stack
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
    at org.apache.jsp.test$jsp._jspService(test$jsp.java:108)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:484)
    root cause
    java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method: _$372 signature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to find unitialized object on stack
    at interbase.interclient.SQLException.(SQLException.java:83)
    at interbase.interclient.UnavailableInterBaseServerException.(UnavailableInterBaseServerException.java:85)
    at interbase.interclient.RecvMessage.createSQLException(RecvMessage.java:641)
    at interbase.interclient.RecvMessage.makeSQLException(RecvMessage.java:593)
    at interbase.interclient.RecvMessage.get_EXCEPTIONS(RecvMessage.java:554)
    at interbase.interclient.Connection._$126173(Connection.java:391)
    at interbase.interclient.Connection._$45044(Connection.java:331)
    at interbase.interclient.Connection.(Connection.java:285)
    at interbase.interclient.Driver.connect(Driver.java:204)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at org.apache.jsp.test$jsp._jspService(test$jsp.java:73)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
    at java.lang.Thread.run(Thread.java:484)

    I found a version of interclient.jar that has been recompiled under JDK1.3 so I can use it with interclient2.0. at www.kpi.com.au/interbase/home.jsp . I have tried using this but I still have the following error:
    interbase.interclient.UnavailableInterBaseServerException: [interclient][interbase] unavailable database See API reference for exception interbase.interclient.UnavailableInterBaseServerException

  • InterBase to Oracle conversion?

    How to unpack Interbase to Oracle conversion tool (.z) files. I tried with gzip but I got a massage: Not a gzip file. This file is small, about 27K. That is strange.

    Hello Tom,
    Thanks for the response. I had given DOC as the extension
    and the I am able to open the word document. Just that I
    was quite surprised by the contents
    IBASE_TAR.doc looks like as shown below in MS Word 97 with
    lots of strange characters in between(which I cannot
    paste here - dont know why...(:- )
    intspsol_tar.doc was even more wilder. I could not read
    anything from it.
    Am I doing something wrong? How do I use both these word
    files to convert my interbase to oracle? Does it need to
    undergo some processing to use it??
    Pls help
    Thanks
    Donny
    IBASE_TAR.doc starts here
    ./convkit/ 775 535 1750 0 6325121327 5707 ./convkit/interbase/ 775 535 1750 0 6325121322 7656 ./convkit/interbase/data/ 775 535 1750 0 6324432272 10577 ./convkit/interbase/data/stripper 666 535 1750 757 6324432272 12452 cat $1 \
    |grep -v connect \
    |sed '/^$/d' \
    |grep -v "set term" \
    |grep -v "commit work" \
    |grep -v "\^" \
    |sed 's/ *|/|/g' \
    |sed 's/<null>//g' \
    |sed 's/| */|/g' \
    |grep "|" \
    jm.txt \cat jm.txt|nawk -F'|' 'BEGIN{} \
    do { \
    if (substr($1,1,1)== "=") \
    break;\
    else \
    printf ("%s",$0); \
    printf ("\n"); \
    }while(getline > 0); \
    printf("\n"); \
    ' > jm2.txt
    cat jm2.txt| grep -v ' '|sed '/^$/d'
    ./convkit/interbase/data/select.sh 666 535 1750 1002 6324432272 12472 cat tbl_col.dat|nawk -F'|' 'BEGIN{} \
    x = 0; \
    printf ("select ") > x; \
    x = $1; \
    col = $2; \
    printf ("%s,\"|\"", col ) > x; \
    getline; \
    do {  \
    y = $1; \
    if (y > x){  \
    printf (" from |%s|;\n", x) > x; \
    close(x); \
    printf("select ") > y; \
    if (y==x) \
         printf (",") > x; \
    x = $1; \
    col = $2; \
    printf ("%s,\"|\"", col ) > x; \
    }while(getline > 0 ); \
    printf (" from |%s|;\n", y) > y; \
    This is just the first page......
    and it goes on like this for another 331 pages...

  • Connection Problem with Interbase6. HELP PLEASE

    hi every one
    i am having a problem to connect with Interbase6. I am enclosing code & errors. it manage to get the driver but does not connect. I have found that this exception means that jdk is not consistant or their is security problem. But i have tried this code with jdk1.3 and jdk1.22 but having same error. I am not using JBuilder or any other Borland's product. If it is not possible to connect then how to use ODBC to connect to the Interbase.
    Code ***********
    public class InterbaseTest{
         public static void main (String args[]){
    String databaseURL = "jdbc:interbase://localhost/c:/Akram/databases/INTERBASETEST.gdb";
    String user = "SYSDBA";
    String password = "masterkey";
         try {
         Class.forName ("interbase.interclient.Driver");
         System.out.println("Driver class found");
         }catch (java.lang.ClassNotFoundException e) {
         System.out.println ("InterClient not found in class path");
         System.out.println (e.getMessage ());
         return;
         try {
              System.out.println("making connection");
              java.sql.Connection c = java.sql.DriverManager.getConnection (databaseURL, user, password);
              System.out.println ("Connection established.");
         }catch (java.sql.SQLException e) {
              System.out.println ("Unable to establish a connection through the driver manager.");
              System.out.println("Exception test2: "+e.getMessage());
              return;
         }catch (Exception e){
              System.out.println("Exception123: "+e.getMessage());
    ************************************* Exceptions I get follows**************************************
    making connection
    java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method: <clinit> signature: ()V) Expecting to find object/array on stack
         at interbase.interclient.JDBCNet._$125439(JDBCNet.java:92)
         at interbase.interclient.JDBCNet.<init>(JDBCNet.java:74)
         at interbase.interclient.Connection._$45044(Connection.java:317)
         at interbase.interclient.Connection.<init>(Connection.java:285)
         at interbase.interclient.Driver.connect(Driver.java:204)
         at java.sql.DriverManager.getConnection(DriverManager.java:450)
         at java.sql.DriverManager.getConnection(DriverManager.java:130)
         at InterbaseTest.main(InterbaseTest.java:21)
    Exception in thread "main" Exit code: 1
    There were errors

    Interbase Connection Problem solved
    There was a bug int the InterclientClient.jar File I have downloaded file from the following site.
    http://www.kpi.com.au/interbase/index.jsp
    copy this new Interclient.jar file into the directory depends upone the individuals path.
    C:\Program Files\InterBase Corp\InterClient.

  • Oracle Database Connection using JSP

    I am attempting to create a simple web app using Oracle 9i and JSP. I am trying to create a connection to my database and do not seem to be having much luck. I have worked with ASP and can find my way around fairly well in that environment, however, JSP seems to be not as closely related as I initially thought. Can anyone point me to a good site that can give a beginner the basics on using this technology. I have been to several sites off of Oracle and Sun, but I seem to be more confused after reading them. With JSP, can I code as I would in ASP i.e JavaScript, etc? I have downloaded and installed the JDBC drivers from Oracle's website, but I receive errors when trying to establish a connection. If there is a site that can explain from the ground up how to set up a connection, I would be very greatful!

    Hi,
    This example uses Interbase, but hopefully you will find it useful anyway -
    http://www.kpi.com.au/interbase/connect.jsp
    Cheers,
    Lars

Maybe you are looking for

  • New iPad Air can't connect to iTunes; device "times out"; no error code given

    my iMac (8 months old) is running 10.8.5 with latest version of iTunes.  When I try to connect my new iPaid Air with a cable, iTunes open, after a few seconds, a windows appears saying "iTunes cannot connect to the device named Peggy's iPad because d

  • Setup Problems with New AirPort Extreme and Dell Desktop XP with ethernet

    I have a Dell desktop computer at home with a cisco cable modem connected to Comcast. I am trying to setup a new wireless network using new AirPort extreme so that new iPad can use wireless. Connections seem to work but when running the AirPort Utili

  • Made quicktime movie on my iMac, emailed to daughter: audio, no video

    I have a brand new imac and made this short movie with isight camera and compressed it for email. Sent it to my daughter. She says she has quicktime on her windows machine. Don't know what version. She said it played sound, no picture. So I sent the

  • 10.4.7 nearly killed my Mini, Now What?

    After auto-update to 10.4.7 on a standard Mini Core Solo, 512MB, I experienced major problems. Disappearance of all desktop folders and Finder not responding, Dashboard not working, most applications not accessible, drag and drop unresponsive, etc. T

  • Problems with the Form Editor and beans.

    Hi All! I created some visual beans, added it to the palette, and made use of it using the form editor. But somehow, I decided to move the bean to another package. Now, the problem is when I try to build my project, the forms referencing that moved b