Using Oracle ODBC Gateway connecting to a remote Oracle database

Oracle 11gR2
RHEL 6.4
Has anyone use the Oracle ODBC Gateway to connect to another Oracle database?  Any issues with that configuration?  Where do I get the ODBC drivers for Linux?
(I know, "why not use a dblink?" -- well that would be against company security policies)

Hi,
   From the Oracle point of view we support using DG4ODBC for Oracle to Oracle connections. However, we have not actually tested it as DG4ODBC is primarily designed for access to non-Oracle databases.
How DG4ODBC will work between Oracle databases depends on the ODBC driver and what that supports. You will need an ODBC Oracle driver which you can get from various suppliers including Oracle but also vendors such as DataDirect, Easysoft etc. You could try a Google search.
You say you do not want to use database links but that is how DG4ODBC is used, You cannot do -
sqlplus user/password@dg4odbc_oracle
Once Dg4ODBC is setup and configured as in this note - if you are using Linux 64-bit -
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
then in the Oracle database you create a database link and select from tables in the other Oracle database -
select * from table@dg4odbc_db_link ;
Regards,
Mike

Similar Messages

  • Oracle raise ORA-03113 when connect to a remote oracle server using toad

    Hi there,
    when i use the tool toad connect to a remote oracle server which located in a different city,
    when i submit a query in toad,
    if the query returns many rows of data, it will raise the error ORA-03113:end-of-file on communication channel,
    however if the query returns only a few rows, i won't raise such error,
    however, when i use sqlplus connect to that remote server, it won't raise such error,
    what's the reason is, can any one tell me how to tackle this problem if using the tool toad. thanks/

    hi my oracle vsersion is:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    my oracle server is 2 nodes rac server,
    and i've tried two different kind version of toad v9.6 and v10.5, and both have the same problem
    once i query a table, if the result returned more than 30 rows, then it will raise that error, if query returns less than 30 rows, it's ok.
    i assume it is a problem concern with network, but i don't know why no such error raise when using sqlplus ?

  • Oracle ODBC Gateway log file location

    Oracle ODBC 11g
    Linux RHEL 6.4
    Oracle DB 11gR2
    =============
    is there a default log file for the Oracle ODBC Gateway (dg4odbc) process?  if so, where would that be? if no default log file exists, can/how is one created?

    DG4ODBC puts its log file to $ORACLE_HOME/hs/log - but tracing needs to be enabled first by setting HS_FDS_TRACE_LEVEL to ON, DEBUG or 255.
    - Klaus

  • How to connect to a Remote Oracle Database

    Hi Friends,
    The error I encountered while connecting to a remote database is ���DataSource name is too long
    String url="jdbc:odbc://abc:1523/test";
    con = DriverManager.getConnection(url,"xyz","xyz1");
    Here Remote Host-name = abc
    Port = 1523
    DataSource Name=test
    User-name = xyz
    Password =xyz1
    The DataSource is created Using Oracle ODBC driver on Windows 2000
    With following details
    DataSource name=test
    Service name = xyz (Database Name)
    User-id=xyz (User name)
    Thanks in advance
    Hamsa

    As suggested you should use a oracle jdbc driver type 2 (JDBC OCI Driver) or 4 (JDBC Thin Driver).
    Because the thin driver is written entirely in Java, is platform-independent. It does not require any
    additional Oracle software on the client side. It can be used for Oracle JDBC applets or applications.
    The OCI driver is targeted for client-server Java applications. It requires an Oracle client installation, so it is Oracle platform-specific and it is not suitable for applets.
    To connect to a database using those drivers here you have two examples of establishing a connection:
    For OCI driver:
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@<dbName>","user","password");
    For thin driver:
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@<host>:<port>:<dbName>", "user", "password");
    And make sure that the classes12.zip file is included in your CLASSPATH.

  • How to consume XML Gateway WS from a remote Oracle DB (10g)?

    Hi,
    I'm currently looking into consuming EBS web services, particularly the XML Gateway service from a remote database. For ease of use, I'm also using an Oracle 10g database.
    It seems there are several ways to skin a cat though. Hope you can help.
    1) Is it possible to use UTL_HTTP for this? If yes, can you please explain in detail as I have been trying to do this the past few days without success. Note, I was able to consume other web service examples, though. What url & SOAP action should I use?
    2) I built a proxy client stub using JDeveloper and deployed it to the DB. However my plsql procedure doesn't execute the java class. Any thoughts?
    Thanks,
    Charina

    Hi Charina,
    Regarding option 1), the url for the service endpoint and the value for the SOAPaction HTTP heaader are advertized in the WSDL for your service.
    The value of the utl is provided by the 'location' attribute for the soap:address element within a port.
    The value for the SOAPaction header is provided by the 'soapAction' attribute for the soap:operation element within a wsdl:binding/wsdl:operation element.
    You can have multiple ports and bindings advertized in a single WSDL. If this is the case for you, you need to make sure that the operation you are tryin to invoke is from the SOAP binding; the one with the transport attribute set to "http://schemas.xmlsoap.org/soap/http".
    Here is a WSDL snippet for illustration purposes:
      <binding name="CalculatePricePort" type="tns:CalculatePricePort">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
                      style="document"></soap:binding>
        <operation name="CalculatePrice">
          <soap:operation soapAction="document/http://siebel.com/OrderManagement/Quote/PSP:CalculatePrice"></soap:operation>
          <input>
            <soap:body use="literal"></soap:body>
          </input>
          <output>
            <soap:body use="literal"></soap:body>
          </output>
        </operation>
      </binding>
      <service name="CalculatePriceWS">
        <port binding="tns:CalculatePricePort" name="CalculatePricePort">
          <soap:address location="http://130.35.90.150/eai_enu/start.swe?SWEExtSource=SecureWebService&amp;SWEExtCmd=Execute&amp;UserName=XXXX&amp;Password=XXXX"></soap:address>
        </port>
      </service>Note that I took an example where both attributes are not using common format.
    To try to get this working faster, you may want to try to use an existing JAVA (or .Net) client and compare the working payload with what is generated by the UTL_HTTP package. It's usually faster to work of a working sample that to double guess why it's not working.
    Hope it helps,
    -Eric

  • Issue with creating oracle ODBC DSN connection

    Hi all,
    We have BO X! 3.1. We have created some webi reports. Our universe connection is created using following method.
    = Created a DSN connection for oracle 10g database
    = created Bo connection object by selecting Generic ODBC connection
    = in the service name we have given DSN name and tested successfully.
    we have created reports universe under Windows environment.
    = Now we deployed Biar file of the same on SOLARIS server.
    We have created odbc connection in odbc.ini  on solaris.
    we have used path "/../boxir3/bobje/odbc.ini"
    We have used "/BOXIR3/bobje/enterprise120/solaris_sparc/odbc/lib/libsqora.so.10.1" driver
    But when we test connection after deployment connection fails. giving error
    " A database error occured. The database error text is:. (WIS 10901)"
    Can anybody suggest me right method to create ODBC connection for oracle 10g on SOLARIS.
    Thanks in advance.
    Saurabh

    Hi Saurabh,
    You said your odb.ini is at the location "/../boxir3/bobje/odbc.ini". Verify if environment variable ODBCINI is pointing to this location. For this do a echo $ODBCINI. This should return the path of your odbc.ini file. If this command returns empty, that means this variable is not set. In this case you will have to set your ODBCINI using the below command.
    If you are using bash shell
    export ODBCINI=/../boxir3/bobje/odbc.ini.
    if this does not work try
    set ODBCINI=/../boxir3/bobje/odbc.ini
    Thanks
    -Anup-

  • Oracle ODBC Driver Connect window appears frequently

    prashant wrote:
    hi
    I am running an application wriiten in vc++.I have installed the
    application at the remote client end
    succesfully.Initaily set the DSN for Oracle (10g exe) .When I start
    using application I get "oracle ODBC Driver Window" after regular
    intervals.
    why this window is appearing frequently when i set the DSN initally and
    tested succesfully.
    pls help!!!

    Oracle doesn't produce such a beast. Microsoft provides a lot of important ODBC infrastructure on Windows that driver writers rely on which isn't available on Linux.
    There are third parties that have developed ODBC drivers for Oracle on Linux. There's an open source project at <http://www.unixodbc.com> that you might be able to use. Companies like Merant may also provide drivers.
    Justin

  • Could not connect  to a remote  Oracle db

    Hello ,
    I would to connect with Sqlplus ( Installed Oracle version 9i Release 1 (9.0.1.1.1) for Windows) from my external machine , runnig with Windows XP as OS , to a remote Oracle 10g db installed on a virtual machine running with Ubuntu as OS .
    The same senario should be working in the other direction ( from Ubuntu ( Virtual machine ) to Windows XP ( external machine ) .
    The DBlinks between the two dbs were well created at both sides.
    At Windows side ( external machine ) the tnsnames is already updated .
    At Ubuntu side and in order to allow listener accept remote connections, the following command was executed :
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    At Ubuntu side there is no tnsnames file to update .
    I try to connect from both sides to the remote linked db but no result was obtained and the same error occured :
    - From external machine side :
    SQL> select * from Client1@XE;
    select * from Client1@XE
    ERROR at line 1:
    ORA-12154 : TNS: could not resolve the connect identifier specified
    - From virtual machine side :
    SQL> select * from Client4@ING3;
    select * from Client1@XE
    ERROR at line 1:
    ORA-12154 : TNS: could not resolve the connect identifier specified
    I'm not sure , but the reason could be the missing settings that have to be filled in the missing tnsnames file at Ubuntu Side .
    Could you please tell how and where to add the missing tnsnames file at Ubuntu side?
    Thank you
    khaled

    Try replacing
    jdbc:oracle:thin:@SFOServer:1521/DevDB
    with
    jdbc:oracle:thin:@SFOServer:1521:DevDB

  • BB Torch - bluetooth tethering for laptop internet use: "Error 720: A connection to the remote computer could not be establishe​d

    Trying to set up Blackberry Torch for laptop tethering...bluetooth. I have connection/drivers/etc. but keep getting error message: "Error 720: A connection to the remote computer could not be established. You might need to change the network settings for this connection." Where and what do I chancge setting to so this will work?
     I have synched my phone and laptop wirelessly across other internet connection....just cant get this above to work. Anybody know how to fix this? Thanks!

    Hi,
    Since it worked previously, a quick solution is to run System Restore and get back to the previous status when the issue didn’t occur.
    If system restore doesn’t help, please also try the following:
    1.    Check if you can establish the VPN via other connections except the connection through the UMTS card.
    2.    Reset the PPTP and L2TP WAN miniport with running the following commands one by one in an elevated command prompt:
    Netcfg -u MS_L2TP
    Netcfg -u MS_PPTP
    Netcfg -l %windir%\inf\netrast.inf -c p -i MS_PPTP
    Netcfg -l %windir%\inf\netrast.inf -c p -i MS_L2TP
    Then reboot the computer and see how it works.
    Meanwhile, I would like to share the following with you for your reference:
    Troubleshooting common VPN related errors
    Hope this helps. Thanks.
    Nicholas Li - MSFT

  • How to use more than one connection pool to 2 different databases ??? (Weblogic 5.1)

    Hello,
    In my application, I must use two different databases to retrieve
    informations...
    My application use EJB so I created two pool of connection named pool1 and
    pool2...
    But when I yet used the pool1 to connect to first database and I try to use
    the pool2 (to connect to the second database), an SQLException occurs :
    "java.sql.SQLException: Connection has already been created in this tx
    context for pool named <first pool's name>. Illegal attempt to create
    connection from another pool: <second pool's name>"
    I have found the answer in www.bea.com
    http://e-docs.bea.com/wls/docs61/faq/JTA.html#738373
    Anybody can help me and give me the more easy,quickly and the more efficient
    way to use two database with two different connection pool..
    Thanks..
    Dephi

    Hi
    You need to configure TxDataSource with XA connection pool.
    More information can be found here:
    http://e-docs.bea.com/wls/docs61/jta/thirdpartytx.html
    Regards,
    Slava Imeshev
    [email protected]
    "Philippe Da Cunha" <pdacunha@@webraska.com> wrote in message
    news:3bfcd6ee$[email protected]..
    Hello,
    In my application, I must use two different databases to retrieve
    informations...
    My application use EJB so I created two pool of connection named pool1 and
    pool2...
    But when I yet used the pool1 to connect to first database and I try touse
    the pool2 (to connect to the second database), an SQLException occurs :
    "java.sql.SQLException: Connection has already been created in this tx
    context for pool named <first pool's name>. Illegal attempt to create
    connection from another pool: <second pool's name>"
    I have found the answer in www.bea.com
    http://e-docs.bea.com/wls/docs61/faq/JTA.html#738373
    Anybody can help me and give me the more easy,quickly and the moreefficient
    way to use two database with two different connection pool..
    Thanks..
    Dephi

  • Oracle ODBC Gateway SELECT from Sybase fails on large column

    OS: CentOS 5.8 64-bit
    DB: Oracle XE 11gR1 64-bit
    Gateway: Oracle Gateway for ODBC 64-bit
    Database and gateway reside on same Linux Server.
    Connecting to remote Sybase SQL Anywhere 10 server on WindowsXP.
    Using SQL Anywhere 11 odbc driver and unixODBC driver manager on Linux server.
    isql tool connects without any problems.
    One LISTENER, service for db and gateway on same port.
    ===================================
    Via SQL*Plus, the following error occurs....
    SQL> select * from mytable@dblink;
    select * from mytable@dblink
    ORA-02070: database dblink does not support outer joins in this context
    Gateway does not like the 'large' column which is varchar(3270) in length. Also it is the only
    column in the table that is a varchar.
    Take that column out and SELECT works fine.
    Here is the initdblink.ora file:
    # 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=dblink
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    HS_FDS_TRACE_LEVEL=255
    HS_LANGUAGE=american_america.we8iso8859p1
    HS_NLS_NCHAR=UTF-8
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    Please advise....
    Edited by: user601798 on Oct 17, 2012 7:09 AM
    Edited by: user601798 on Oct 17, 2012 7:09 AM
    Edited by: user601798 on Oct 17, 2012 7:13 AM

    Here is the trace file:
    Oracle Corporation --- THURSDAY OCT 18 2012 14:55:34.259
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- THURSDAY OCT 18 2012 14:55:34.259
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    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 "UCS2"
    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 32 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 "dblink"
    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:dblink
    Exiting hgogprd, rc=0
    hostmstr: 2056122368: HOA After hoagprd
    hostmstr: 2056122368: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2012/10/18-14:55:39
    Exiting hgolofn, rc=0 at 2012/10/18-14:55:39
    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 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2012/10/18-14:55:40
    hostmstr: 2056122368: HOA After hoainit
    hostmstr: 2056122368: HOA Before hoalgon
    Entered hgolgon at 2012/10/18-14:55:40
    reco:0, name:dba, tflag:0
    Entered hgosuec at 2012/10/18-14:55:41
    Exiting hgosuec, rc=0 at 2012/10/18-14:55:41
    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 dba as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2012/10/18-14:55:42
    HS_FDS_CONNECT_INFO = "dblink"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2012/10/18-14:55:43
    dsn:dblink, name:dba
    optn:
    Entered hgocip at 2012/10/18-14:55:43
    dsn:dblink
    Exiting hgocip, rc=0 at 2012/10/18-14:55:43
    ##>Connect Parameters (len=25)<##
    ## DSN=dblink;
    #! UID=dba;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2012/10/18-14:55:44
    Entered hgolosf at 2012/10/18-14:55:44
    ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFFFF 0x03FF 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0xFE00 0x3F5F
    Exiting hgolosf, rc=0 at 2012/10/18-14:55:46
    DriverName:DBODBC10.DLL, DriverVer:10.00.0001
    DBMS Name:SQL Anywhere, DBMS Version:10.00.0001
    Exiting hgocont, rc=0 at 2012/10/18-14:55:47
    SQLGetInfo returns N for SQL_CATALOG_NAME
    Exiting hgolgon, rc=0 at 2012/10/18-14:55:48
    hostmstr: 2027339776: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 2027339776: RPC Before Upload Caps
    hostmstr: 2027339776: HOA Before hoaulcp
    Entered hgoulcp at 2012/10/18-14:55:48
    Entered hgowlst at 2012/10/18-14:55:48
    Exiting hgowlst, rc=0 at 2012/10/18-14:55:49
    SQLGetInfo returns 0x1f for SQL_OWNER_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 128 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 128 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 128 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    3 instance capabilities will be uploaded
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 0
    Exiting hgoulcp, rc=0 at 2012/10/18-14:56:05
    hostmstr: 2026291200: HOA After hoaulcp
    hostmstr: 2026291200: RPC After Upload Caps
    hostmstr: 2026291200: RPC Before Upload DDTR
    hostmstr: 2026291200: HOA Before hoauldt
    Entered hgouldt at 2012/10/18-14:56:06
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2012/10/18-14:56:06
    hostmstr: 2026291200: HOA After hoauldt
    hostmstr: 2026291200: RPC After Upload DDTR
    hostmstr: 2026291200: RPC Before Begin Trans
    hostmstr: 2026291200: HOA Before hoabegn
    Entered hgobegn at 2012/10/18-14:56:06
    tflag:0 , initial:1
    hoi:0x12f094, ttid (len 27) is ...
    00: 44415441 5748442E 65623465 33343931 [DATAWHD.eb4e3491]
    10: 2E322E36 322E3839 363837 [.2.62.89687]
    tbid (len 24) is ...
    00: 44415441 5748445B 322E3632 2E383936 [DATAWHD[2.62.896]
    10: 38375D5B 312E345D [87][1.4]]
    Exiting hgobegn, rc=0 at 2012/10/18-14:56:08
    hostmstr: 2026291200: HOA After hoabegn
    hostmstr: 2026291200: RPC After Begin Trans
    hostmstr: 2026291200: RPC Before Describe Table
    hostmstr: 2026291200: HOA Before hoadtab
    Entered hgodtab at 2012/10/18-14:56:08
    count:1
    table: RSCCC.SR_SPEC_PGM_SPEC_ED
    Allocate hoada[0] @ 025B799C
    Entered hgopcda at 2012/10/18-14:56:12
    Column:1(SCH_YR): dtype:12 (VARCHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:13
    Entered hgopcda at 2012/10/18-14:56:13
    Column:2(CAMPUS_ID): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:13
    Entered hgopcda at 2012/10/18-14:56:14
    Column:3(STU_ID): dtype:12 (VARCHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:14
    Entered hgopcda at 2012/10/18-14:56:14
    Column:4(DT_ENTRY_STU): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:14
    Entered hgopcda at 2012/10/18-14:56:15
    Column:5(PRI_HANDI_IND): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:15
    Entered hgopcda at 2012/10/18-14:56:15
    Column:6(INSTRUCT_SET_CD): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:16
    Entered hgopcda at 2012/10/18-14:56:16
    Column:7(SPEECH_THRPY_IND): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:16
    Entered hgopcda at 2012/10/18-14:56:17
    Column:8(DT_WD): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:17
    Entered hgopcda at 2012/10/18-14:56:17
    Column:9(DT_ENTRY_STU_RECIP): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:18
    Entered hgopcda at 2012/10/18-14:56:18
    Column:10(WD_RSN_CD): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:18
    Entered hgopcda at 2012/10/18-14:56:19
    Column:11(VOC_HRS_ELIG): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:19
    Entered hgopcda at 2012/10/18-14:56:19
    Column:12(REG_DAY_SCH_PGM_DEAF): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:19
    The hoada for table RSCCC.SR_SPEC_PGM_SPEC_ED follows...
    hgodtab, line 904: Printing hoada @ 025B799C
    MAX:12, ACTUAL:12, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 4 4 0/ 0 0 0 200 SCH_YR
    12 VARCHAR N 3 3 0/ 0 0 0 200 CAMPUS_ID
    12 VARCHAR N 6 6 0/ 0 0 0 200 STU_ID
    12 VARCHAR N 8 8 0/ 0 0 0 200 DT_ENTRY_STU
    12 VARCHAR N 2 2 0/ 0 0 0 200 PRI_HANDI_IND
    12 VARCHAR N 2 2 0/ 0 0 0 200 INSTRUCT_SET_CD
    12 VARCHAR N 1 1 0/ 0 0 0 200 SPEECH_THRPY_IND
    12 VARCHAR N 8 8 0/ 0 0 0 200 DT_WD
    12 VARCHAR N 8 8 0/ 0 0 0 200 DT_ENTRY_STU_RECIP
    12 VARCHAR N 2 2 0/ 0 0 0 200 WD_RSN_CD
    12 VARCHAR N 1 1 0/ 0 0 0 200 VOC_HRS_ELIG
    12 VARCHAR N 1 1 0/ 0 0 0 200 REG_DAY_SCH_PGM_DEAF
    Exiting hgodtab, rc=0 at 2012/10/18-14:56:22
    hostmstr: 2026291200: HOA After hoadtab
    hostmstr: 2026291200: HOA Before hoadafr
    Entered hgodafr, cursor id 0 at 2012/10/18-14:56:23
    Free hoada @ 025B799C
    Exiting hgodafr, rc=0 at 2012/10/18-14:56:23
    hostmstr: 2026291200: HOA After hoadafr
    hostmstr: 2026291200: RPC After Describe Table
    hostmstr: 2026291200: RPC Before Describe Table
    hostmstr: 2026291200: HOA Before hoadtab
    Entered hgodtab at 2012/10/18-14:56:23
    count:1
    table: RSCCC.SR_DISCPLN
    Allocate hoada[0] @ 025B799C
    Entered hgopcda at 2012/10/18-14:56:27
    Column:1(SCH_YR): dtype:12 (VARCHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:28
    Entered hgopcda at 2012/10/18-14:56:28
    Column:2(STU_ID): dtype:12 (VARCHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:28
    Entered hgopcda at 2012/10/18-14:56:29
    Column:3(OFENS_STAMP): dtype:12 (VARCHAR), prc/scl:27/0, nullbl:0, octet:27, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:29
    Entered hgopcda at 2012/10/18-14:56:29
    Column:4(OFENS_TIME): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:29
    Entered hgopcda at 2012/10/18-14:56:30
    Column:5(CAMPUS_ID): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:30
    Entered hgopcda at 2012/10/18-14:56:30
    Column:6(DT_OFENS): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:30
    Entered hgopcda at 2012/10/18-14:56:31
    Column:7(MODIFIER): dtype:12 (VARCHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:31
    Entered hgopcda at 2012/10/18-14:56:31
    Column:8(OFENS_SEMCYC): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:32
    Entered hgopcda at 2012/10/18-14:56:32
    Column:9(REP_BY): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:32
    Entered hgopcda at 2012/10/18-14:56:33
    Column:10(REP_BY_NAME_F): dtype:12 (VARCHAR), prc/scl:17/0, nullbl:0, octet:17, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:33
    Entered hgopcda at 2012/10/18-14:56:33
    Column:11(REP_BY_NAME_L): dtype:12 (VARCHAR), prc/scl:25/0, nullbl:0, octet:25, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:33
    Entered hgopcda at 2012/10/18-14:56:34
    Column:12(INC_LOC): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:34
    Entered hgopcda at 2012/10/18-14:56:35
    Column:13(COURSE): dtype:12 (VARCHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:35
    Entered hgopcda at 2012/10/18-14:56:35
    Column:14(SECTION): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:35
    Entered hgopcda at 2012/10/18-14:56:36
    Column:15(CRS_TITLE): dtype:12 (VARCHAR), prc/scl:15/0, nullbl:0, octet:15, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:36
    Entered hgopcda at 2012/10/18-14:56:36
    Column:16(PERIOD): dtype:12 (VARCHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:36
    Entered hgopcda at 2012/10/18-14:56:37
    Column:17(INSTR): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:37
    Entered hgopcda at 2012/10/18-14:56:37
    Column:18(PARENT_CONTACT): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:37
    Entered hgopcda at 2012/10/18-14:56:38
    Column:19(CONTACT_DT): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:38
    Entered hgopcda at 2012/10/18-14:56:38
    Column:20(CONF_REQUESTED): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:38
    Entered hgopcda at 2012/10/18-14:56:39
    Column:21(CONF_DATE): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:39
    Entered hgopcda at 2012/10/18-14:56:39
    Column:22(INFORMAL_HEARING): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:39
    Entered hgopcda at 2012/10/18-14:56:40
    Column:23(APPEAL_EXP): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:40
    Entered hgopcda at 2012/10/18-14:56:40
    Column:24(WITNESS): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:41
    Entered hgopcda at 2012/10/18-14:56:41
    Column:25(DISCPLN_COMM): dtype:12 (VARCHAR), prc/scl:3270/0, nullbl:0, octet:3270, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:41
    Entered hgopcda at 2012/10/18-14:56:42
    Column:26(ADMIN_BY): dtype:12 (VARCHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:42
    Entered hgopcda at 2012/10/18-14:56:42
    Column:27(ADMIN_BY_NAME_F): dtype:12 (VARCHAR), prc/scl:17/0, nullbl:0, octet:17, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:42
    Entered hgopcda at 2012/10/18-14:56:43
    Column:28(ADMIN_BY_NAME_L): dtype:12 (VARCHAR), prc/scl:25/0, nullbl:0, octet:25, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:43
    Entered hgopcda at 2012/10/18-14:56:43
    Column:29(REPORTED_BY_DESC): dtype:12 (VARCHAR), prc/scl:60/0, nullbl:0, octet:60, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:43
    Entered hgopcda at 2012/10/18-14:56:44
    Column:30(INCIDENT_NUM): dtype:12 (VARCHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:44
    Entered hgopcda at 2012/10/18-14:56:44
    Column:31(REPORT_PD): dtype:12 (VARCHAR), prc/scl:1/0, nullbl:0, octet:1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/10/18-14:56:45
    The hoada for table RSCCC.SR_DISCPLN follows...
    hgodtab, line 904: Printing hoada @ 025B799C
    MAX:31, ACTUAL:31, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 4 4 0/ 0 0 0 200 SCH_YR
    12 VARCHAR N 6 6 0/ 0 0 0 200 STU_ID
    12 VARCHAR N 27 27 0/ 0 0 0 200 OFENS_STAMP
    12 VARCHAR N 8 8 0/ 0 0 0 200 OFENS_TIME
    12 VARCHAR N 3 3 0/ 0 0 0 200 CAMPUS_ID
    12 VARCHAR N 8 8 0/ 0 0 0 200 DT_OFENS
    12 VARCHAR N 10 10 0/ 0 0 0 200 MODIFIER
    12 VARCHAR N 2 2 0/ 0 0 0 200 OFENS_SEMCYC
    12 VARCHAR N 3 3 0/ 0 0 0 200 REP_BY
    12 VARCHAR N 17 17 0/ 0 0 0 200 REP_BY_NAME_F
    12 VARCHAR N 25 25 0/ 0 0 0 200 REP_BY_NAME_L
    12 VARCHAR N 3 3 0/ 0 0 0 200 INC_LOC
    12 VARCHAR N 4 4 0/ 0 0 0 200 COURSE
    12 VARCHAR N 2 2 0/ 0 0 0 200 SECTION
    12 VARCHAR N 15 15 0/ 0 0 0 200 CRS_TITLE
    12 VARCHAR N 2 2 0/ 0 0 0 200 PERIOD
    12 VARCHAR N 3 3 0/ 0 0 0 200 INSTR
    12 VARCHAR N 1 1 0/ 0 0 0 200 PARENT_CONTACT
    12 VARCHAR N 8 8 0/ 0 0 0 200 CONTACT_DT
    12 VARCHAR N 1 1 0/ 0 0 0 200 CONF_REQUESTED
    12 VARCHAR N 8 8 0/ 0 0 0 200 CONF_DATE
    12 VARCHAR N 1 1 0/ 0 0 0 200 INFORMAL_HEARING
    12 VARCHAR N 1 1 0/ 0 0 0 200 APPEAL_EXP
    12 VARCHAR N 1 1 0/ 0 0 0 200 WITNESS
    12 VARCHAR N 3270 3270 0/ 0 0 0 200 DISCPLN_COMM
    12 VARCHAR N 3 3 0/ 0 0 0 200 ADMIN_BY
    12 VARCHAR N 17 17 0/ 0 0 0 200 ADMIN_BY_NAME_F
    12 VARCHAR N 25 25 0/ 0 0 0 200 ADMIN_BY_NAME_L
    12 VARCHAR N 60 60 0/ 0 0 0 200 REPORTED_BY_DESC
    12 VARCHAR N 6 6 0/ 0 0 0 200 INCIDENT_NUM
    12 VARCHAR N 1 1 0/ 0 0 0 200 REPORT_PD
    Exiting hgodtab, rc=0 at 2012/10/18-14:56:50
    hostmstr: 2026291200: HOA After hoadtab
    hostmstr: 2026291200: HOA Before hoadafr
    Entered hgodafr, cursor id 0 at 2012/10/18-14:56:50
    Free hoada @ 025B799C
    Exiting hgodafr, rc=0 at 2012/10/18-14:56:50
    hostmstr: 2026291200: HOA After hoadafr
    hostmstr: 2026291200: RPC After Describe Table
    hostmstr: 2026291200: RPC Before Rollback Trans
    hostmstr: 2026291200: HOA Before hoaroll
    Entered hgoroll at 2012/10/18-14:56:51
    tflag:1 , cmt(0):
    hoi:0x12f098, ttid (len 27) is ...
    00: 44415441 5748442E 65623465 33343931 [DATAWHD.eb4e3491]
    10: 2E322E36 322E3839 363837 [.2.62.89687]
    tbid (len 24) is ...
    00: 44415441 5748445B 322E3632 2E383936 [DATAWHD[2.62.896]
    10: 38375D5B 312E345D [87][1.4]]
    Entered hgocpctx at 2012/10/18-14:56:52
    Exiting hgocpctx, rc=0 at 2012/10/18-14:56:52
    Exiting hgoroll, rc=0 at 2012/10/18-14:56:52
    hostmstr: 2026291200: HOA After hoaroll
    hostmstr: 2026291200: RPC After Rollback Trans
    Please advise and thanks..

  • Can I use FormsCentral forms to connect to an MS Access Database

    Hi
    Does anyone know if it is possible to link a form from FormsCentral account to an MS Access database?
    Thanks.
    Anna

    Not directly. You can export the response data (as XLS, CSV) and import it into a database.

  • Connecting To Remote Oracle Server

    Hi All,
    I'm new to Oracle and have been given the task of migrating photographs stored as BLOBs in Oracle to Fedora Commons.
    At the moment I'm having problems using SQL-PLUS to connect to the remote database.
    So far this is what I've done:
    1 .Downloaded:
    instantclient-basiclite-win32-11.1.0.7.0.zip
    instantclient-sqlplus-win32-11.1.0.7.0.zip
    2. Extracted the above to C:\Program Files\Oracle Instant Client
    3. Added C:\Program Files\Oracle Instant Client to the start of my PATH variable
    4. Created a tnsnames.ora file in the above directory with the following contents:
    RDF = (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.209.2.40)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    5. Added a new environment variable called TNS_ADMIN and set it to C:\Program Files\Oracle Instant Client
    I then checked the setup by opening cmd and running sqlplus [username]/[password]@rdf which results in this error:-
    SP2-1503 Unable to initialize Oracle call interface
    SP2-0152 ORACLE may not be functioning properly.
    I have Googled this and most suggestions point to setting the ORACLE_HOME variable. However, I want to connect to a remote Oracle database so I don't see why this causes the problem and also even if I had to set that variable what would I set it to?
    Any help is appreciated,
    Keith
    PS:
    I followed this tutorial (it is 2 years old however): http://www.bernzilla.com/item.php?id=784

    is your tns listener up?
    goto command prompt
    type
    lsnrctl
    in the listener control utility type
    status
    and it copy paste the data here

  • ORA-12514 error: Instant Client 11 connect to remote Oracle 8i

    I encountered a problem that I have spent hours fixing that. Here is the problem:
    I am trying to connect to a remote Oracle 8i server using Oracle 11 instant client: here is my connection string in PHP:
    *$conn = oci_connect('db_user', 'db_pass', "db_ip/db_service");*
    db_ip is the ip of the server, such as "12.34.56.78". db_service is the service of server, such as "test".
    The error shown is "*ORA-12514:* TNS:listener does not currently know of service requested in connect descriptor"
    I could use the same client to connect to another oracle 10g server. The php code is same, only change the db_user or db_pass or db_ip. db_service is not provided.
    I dont use tnsnames.ora for either oracle *10g s*erver or oracle 8i server. I just use the simple IP of server. Does this matter?
    Server using: Windows Server 2008 R2
    PHP: php 5.2.17
    Oracle Instant Client: 11_2
    Any ideas will be appreciated.
    Best, Sam

    Pl do not post duplicates - PHP 5.2.17 and Oracle 8i

  • Unable to load database connector - using JRC w/report connecting to Oracle

    A simple Java program was created to test a Crystal Report using JRC. The Java program is a thick-client Swing desktop application (modified from an example of crxi_r2_migrating_rdc_to_jrc.pdf). The program failed to execute the report with the following error:
    Unable to load database connector u2018com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
    It might be something simple to correct the problem, but I am not able to find related answers in the documentation and from the forum.
    CR version is XI R2. The Java program was compiled and run using jdk1.4.2_13. Oracle is 10.2.
    Do I have to use JDBC? or the CR Oracle driver will do? What needs to be setup? If I use JDBC, what do I need to setup (I tried to following the links in the forums or other documentation, but most of the links to http://support.businessobjects.com/.... are broken - i.e. re-route to the SAP support page but not directly linked to the articles)
    When the report JRCTestReport.rpt was saved with the option "Save Data With Report", it works fine. So the problem is only with Oracle database driver, the other jars are fine.
    In the report JRCTestReport.rpt the database properties are:
           DatabaseDLL             crdb_oralce.dll
           Password
           Server                        myTestDB
           Trusted_Connection    False
           User ID                      MyUser
    The crdb_oracle.dll is located at:
    C:\Program Files\Business Objects\Common\3.5\bin
    Files are stored in the following tree structure:
    <Testing Folder>
         JRCTest.java
         JRCTest.class
         WEB-INF
                   lib
                        All required JRC jars and CRConfig.xml
         Reports
                   JRCTestReport.rpt
    Java source code JRCTest.java
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    public class JRCTest
         private static void createAndShowGUI()
              try
                   //Make sure we have nice window decorations.
                   JFrame.setDefaultLookAndFeelDecorated(false);
                   //Create and set up the window.
                   JFrame frame = new JFrame("JRCTest");
                   frame.setTitle("JRCTest");
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                                      System.out.println("ReportViewerBean.init");
                   viewer.init(new String[0], null, null, null);
                                      System.out.println("new ReportClientDocument");
                   ReportClientDocument rpt = new ReportClientDocument();
                                      try
                                              System.out.println("Openning Report...");
                                              rpt.open("JRCTestReport.rpt", 0);
                                      catch (Exception ex)
                                              System.out.println("Failed to open report");
                                              System.out.println(ex.toString());
                                              return;
                                      try
                                              System.out.println("logon...");
                                              rpt.getDatabaseController().logon("myUser", "myPass");
                                      catch (Exception ex)
                                              System.out.println("Failed to logon");
                                              System.out.println(ex.toString());
                                              return;
                                      System.out.println("ReportClientDocument.getReportSource");
                   IReportSource rptSource = rpt.getReportSource();
                   viewer.setReportSource(rptSource);
                                                    System.out.println("viewer.setReportSource");
                   frame.getContentPane().add
                        (viewer, BorderLayout.CENTER);
                   frame.setSize(700, 500);
                   frame.setVisible(true);
                   viewer.start();
              catch (Exception exception)
                   System.out.println(exception.toString());
         public static void main(String[] args)
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        createAndShowGUI();
    Execution result:
    C:\tmp\CrystalJavaTest>java -classpath .;./WEB-INF/lib;./WEB-INF/lib/ReportViewe
    r.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concu
    rrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WE
    B-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/
    lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/Cry
    stalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalR
    eportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WE
    B-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;
    ./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.j
    ar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis
    .jar JRCTest
    Starting
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    logon...
    ReportClientDocument.getReportSource
    viewer.setReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.
    crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwRepo
    rtSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unkno
    wn Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unkno
    wn Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage
    (Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource
    .getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReport
    Source.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driv
    erImpl.DriverLoader'.

    After I switched the report to use JDBC, I am still getting the same error.
    Machine has multiple jdk, oracle 10g, Oracle11g client installed though. So I need to set my path to use the jdk from Crystal Report and Oracle 10g.
    The program was compiled and ran with the following path and CLASSPATH:
    set path="C:\Program Files\Business Objects\j2sdk1.4.2_08\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin\client";c:\oracle\ora102\bin
    set CLASSPATH=.;./WEB-INF/lib;./WEB-INF/lib/ReportViewer.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concurrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WEB-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/CrystalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalReportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WEB-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.jar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis.jar;C:/oracle/ora102/jdbc/lib/ojdbc14.jar
    I modified my java testing program to display more info:
    Modified program:
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    import com.crystaldecisions.sdk.occa.report.data.*;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    public class JRCTest2
       private static void createAndShowGUI()
          try
             System.out.println("Starting");
             //Make sure we have nice window decorations.
             JFrame.setDefaultLookAndFeelDecorated(false);
             //Create and set up the window.
             JFrame frame = new JFrame("JRCTest2");
             frame.setTitle("Testing 1, 2, 3");
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             System.out.println("new ReportViewerBean");
             ReportViewerBean viewer = new ReportViewerBean();
             System.out.println("ReportViewerBean.init");
             viewer.init(new String[0], null, null, null);
             System.out.println("new ReportClientDocument");
             ReportClientDocument rpt = new ReportClientDocument();
             try
                 System.out.println("Openning Report...");
                 rpt.open("JRCTestReport.rpt", 0);
             catch (Exception ex)
                System.out.println("Failed to open report");
                System.out.println(ex.toString());
                return;
             try
                // try logon here to see if any exceptions
                rpt.getDatabaseController().logon("myUser", "myPass");
             catch (Exception ex)
                System.out.println("Failed to logon");
                System.out.println(ex.toString());
                return;
             IDatabase idb = rpt.getDatabaseController().getDatabase();
             Tables dtb = idb.getTables();
             IConnectionInfo conInfo = dtb.getTable(0).getConnectionInfo();
             PropertyBag attrs = conInfo.getAttributes();
             conInfo.setPassword("myPass");
             conInfo.setUserName("myUser");
             IStrings s = attrs.getPropertyIDs();
             for (int i=0; i < s.size(); i++)
                System.out.println(s.getString(i));
                System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             conInfo.setAttributes(attrs);
             attrs = conInfo.getAttributes();
             s = attrs.getPropertyIDs();
             // Print property again after setting attributes
             for (int i=0; i < s.size(); i++)
               System.out.println(s.getString(i));
               System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             System.out.println("ReportClientDocument.getReportSource");
             IReportSource rptSource = rpt.getReportSource();
             viewer.setReportSource(rptSource);
             frame.getContentPane().add
         (viewer, BorderLayout.CENTER);
             frame.setSize(700, 500);
             frame.setVisible(true);
             viewer.start();
          catch (Exception exception)
             System.out.println(exception.toString());
       public static void main(String[] args)
          System.out.println("main");
          javax.swing.SwingUtilities.invokeLater(new Runnable()
             public void run()
                createAndShowGUI();
    Running result:
    C:\tmp\CrystalJavaTest>java JRCTest2
    main
    Starting
    new ReportViewerBean
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    ReportClientDocument.getReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
    Also got similar error when the path and classpath was switched to Oracle 11g.
    Is there a way to tell which file that it failed to load?
    Thanks
    Kin

Maybe you are looking for

  • Multiple monitor UI bugs in CC 2014/Mavericks

    I have two new bugs that I'm seeing since the 2014 update.  I'm running 10.9.4, and use two monitors, one for my images, and another for all of my palettes (less, of course, my beloved custom panel created in the now deprecated Configurator). When I

  • Problem on start up!!

    hi, i am a apple user, i have iphone 4S and i have restored my iphone. But the SIM is not supporting and i cant start up. What will i do??? Help me!!

  • R12 tables

    Hi , we are upgrading the 11.5.10.2 to R12.1.3 . I was found some of the tables got obsolete in 11i and changed those in R12. and i want know join condition between following tables. note: i want know join condtions between these below tables. select

  • I want to cancel the extended iCloud space I just purchased?

    I recently purchased extended iCloud space, but I have found it will not do what I want to.  I want to cancel the purchase and obtain a refund.

  • How to set End User Permission to an iView?

    Hi experts, can someone tell me how I can set End User Permission to enabled to an iView?