Connecting Developer to Sybase

I have been trying to use forms developer with Sybase ASE 12.0
How can can i connect forms developer to Sybase Database on AIX

Check out oca_info.pdf which is lets you know what you have to
do.
regards
Grant Ronald
Forms Product Management

Similar Messages

  • How to connect to a Sybase server

    Hi
    Not being a Java developer, I am having problems connecting to a Sybase 12.x server. I'm not sure if I'm missing anything, or entered an invalid connection detail whilst entering the required data from within the "New Connection" wizard. I am using Jconnect 5.5 and the error message produced is: "Connection to Sybase failed. com.sybase.jdbc2.jdbc.Sybdriver"
    I'm hoping that someone out there can assist.
    I have made the following entries into the wizard; Database Manager = Sybase 12.x; JDBC Driver = Other; JDBC driver class = com.sybase.jdbc2.jdbc.Sybdriver; Class Location = C:\jConnect-5_5\classes\jconn2.jar; Connection URL = jdbc:sybase:Tds:192.168.3.20:7000
    Do I have to add any additional JAR files to the project to make this work?
    Kind Regards - Grant

    <p> </p><p>Hi Grant, here are my setting that work for me.  I&#39;m using the latest Sybase jconnect JDBC drivers and an older Sybase server.  The original jar name was "jconn3.jar".</p><p> Database: localhost</p><p>JDBC driver class: com.sybase.jdbc3.jdbc.SybDriver</p><p>Class Location: D:\java\jars\sybase-jconnect-6.05.jar</p><p>Connection URL: jdbc:sybase:Tds:localhost:2638</p><p> </p><p>Hope that helps,</p><p>Cameron </p>

  • ODBC Gateway on Linux error - connects ok with Sybase SQL Anywhere

    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 dual@dblink;
    select * from dual@dblink
    ERROR at line 1:
    ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from dblink
    ===================================
    sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH=(TNSNAMES)
    ADR_BASE = /u01/app/oracle/product/11.2.0/xe
    ==================================
    tnsnames.ora
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    dblink =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521)
    (CONNECT_DATA =
    (SID = dblink))
    (HS=OK))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    =======================
    listener.ora
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = dblink)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/gtw)
    (PROGRAM = dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/opt/sqlanywhere11/lib64:/u01/app/oracle/product/11.2.0/gtw/lib)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    ========================
    initdblink.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=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
    ========================
    Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.915
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.914
    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"
    HOSGIP returned value of "UTF-8" for HS_NLS_NCHAR
    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 "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: 0: HOA After hoagprd
    Invalid HS_NLS_NCHAR value UTF-8 specified
    Setting HS_NLS_NCHAR to Server Default 2000
    Invalid HS_NLS_NCHAR value UTF-8 specified
    Setting HS_NLS_NCHAR to Server Default 2000
    hostmstr: 0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=2000
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Exiting hgoinit, rc=28513
    hostmstr: 0: HOA After hoainit
    RPC Calling nscontrol(0), rc=0
    hostmstr: 0: RPC Before Exit Agent
    hostmstr: 0: HOA Before hoaexit
    Entered hgoexit
    HS Gateway: NULL connection context at exit
    Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection context
    hostmstr: 0: HOA After hoaexit
    hostmstr: 0: RPC After Exit Agent
    =============================
    Also, does anyone know how to determine the location (full path) of the unixODBC driver manager ?
    Please assist if you can...thx.
    Edited by: user601798 on Oct 15, 2012 3:37 PM

    Let me start with the unixODBC driver:
    There's no generic location as it depends which package you've used to install the UnixODBC driver manager or how you compiled it from scratch. I commonly prefer to compile it from scratch as this offers me to install it to any location I like.
    If you're not sure where it is located, you could perform a search on your machine looking for libodbc.so. Then cross check it with "file <location>/libodbc.so" to see the lib is a 64bit library.
    So let's assume in the /usr/lib64 you found the libodbc.so library, then the setting
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    is correct. Else you need to adopt the parameter.
    Next step is to check out which unixODBC version is installed. That's commonly done by calling "odbcinst -j".
    Looking now ta the gateway init file there's a parameter HS_NLS_NCHAR set to UTF-8. UnixODBC is commonly compiled with UCS2 support, so please change it to HS_NLS_NCHAR=UCS2
    Could you also please post the content of the odbc.ini file "more /etc/odbc.ini"?
    Thanks,
    Klaus

  • How i can connect developer 6i & 2000 to databse 10g standerd-one

    How i can connect developer 6i & 2000 to databse 10g standerd addition one

    I don't think Developer 2000 is supported with 10g, I haven't tried it.
    Patch 18 for Forms 6i can only be downloaded from metalink since Forms 6i is no longer supported only limited support for E-Business Suite users.
    Why would waht to use Dev 200 and Forms 6i, these product are no longer supported, why no use the latest version of Forms Forms 10g R2???
    Tony

  • Problem to connect Developer Suite forms 9 with Oracle 9i Database

    Hi,
    I have a problem to connect Developer Suite Release 2 forms 9 with Oracle 9i database release 1. I have done net8 easy configuration but no success. Can any one help me to solve this problem.
    Thanks in Advance
    Nasir Ali Mughal

    We cannot help if you don't give us the error number that you get.
    Also something that you might want to do is to search this error number on OTN.

  • Problem Connecting Developer Suite Form 9 with Oracle 9i Database

    Hi,
    I have a problem to connect Developer Suite Release 2 forms 9 with Oracle 9i database release 1. I have done net8 easy configuration but no success. The error is ORA-12514 TNS: Listener could not resolve SERVICE_NAME given in connect descriptor. I am not using any application server. Can any one help me to solve this problem.
    Thanks in Advance
    Nasir Ali Mughal

    Configure the net configuration for both 9idb and 9ids in the same way. Make sure the TNSlisner is started.

  • Connecting Developer 6 to Personal Oracle 8.1.0.5

    I installed Personal Oracle 6.0 and Developer 6.0 on Windows 98 in different homes.
    Have I install a network card to be able to connect Developer 6.0 to the personal Oracle 8.1.0.5 ?

    Hi, how are you?
    I read your file. On my computer, I got the same problem. First I installed Personal Oracle 8.15 version under window 98. The oracle home is e:\orale\ora81. Then I installed Form 8i in the orale home e:\oracle\ora. After installation, there are two SQLPLUS. One is under ora81 and another is ora. The one which is in e:\oracle\ora81 is working and it can bring up the database. Another one and Forms don't work. They can not connect to the local database. It means my client which is under e:\oracle\ora can't connect to my server which is under e:\oracle\ora81. I think I shoud set up the connection in tnsnames.ora by using Net8 Easy Config. I did it. It failed. Can you help me?
    Thanks.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by harry dhillon ([email protected]):
    No, you shouldn't have to to.
    If you have Personal Oraacle 8 running properly on your PC, then you can just connect to the database from Developer V6 using your normal username/password. For example, if you log on to SQLPLUS as scott/tiger, then the same will work for your forms and reports. You don't even need to enter a connect string. I have it working OK on a Windows '98 PC, with Personal Oracle 8i, and Forms v6i.<HR></BLOCKQUOTE>
    null

  • How to connect Developer 6i with third party Databases

    How to connect Developer 6i with third party Databases

    Hi,
    Oracle Forms 6i comes with a Oracle Client Adaptor, OCA, that allows you to connect to 3rd party databases. Starting Forms 9i you use gateways.
    Frank

  • Problem creating connection pool for Sybase

    I'm trying to create a connection pool with Sybase as the database, as follows:
    weblogic.jdbc.connectionPool.demoPool=\
    url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
    driver=com.sybase.jdbc.SybDriver
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=dbdev;password=dbdev,\
    allow=system
    I get the following error:
    java.sql.SQLException: JZ004: User name property missing in DriverManager.getCon
    nection(..., Properties).
    Any pointers on what's wrong?
    Rgds

    Hi. there's no line continuation stuff after the driver line.
    Try:
    weblogic.jdbc.connectionPool.demoPool=\
    url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
    driver=com.sybase.jdbc.SybDriver,\
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=dbdev;password=dbdev,\
    allow=system
    and make sure there's no whitespace in the properties file after any of
    the '\'s in these lines.
    Joe
    Eeshan wrote:
    >
    I'm trying to create a connection pool with Sybase as the database, as follows:
    weblogic.jdbc.connectionPool.demoPool=\
    url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
    driver=com.sybase.jdbc.SybDriver
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=dbdev;password=dbdev,\
    allow=system
    I get the following error:
    java.sql.SQLException: JZ004: User name property missing in DriverManager.getCon
    nection(..., Properties).
    Any pointers on what's wrong?
    Rgds

  • Need new Connect development info

    For Connect/Breeze 5 and 6, our company had been granted
    access to the "Breeze Telephony Adapter Reference" and the
    "Telephony Adapter API". We used this to integrate our own
    teleconferencing product into a Connect licensed server.
    When I try calling support to ask about getting a new version
    of this for Connect Pro, they simply think I am just asking about
    conferencing. Our "Solution Partner" contacts do not seem able to
    get this information to us either. Is there any way to make contact
    on the development side to get this new updated information?

    Bump because I still haven't managed to get through the brick
    walls which are customer support, parter program, or developer
    connection.
    Maybe if I could get in contact with a Connect development
    manager they might know what I am talking about!

  • Connect developer without disable Windows Firwall???

    hi all,
    i'm using oracle 10g (database & developer) on Windows XP SP2 Professional. each one on different computer connected via LAN network.
    so when i need to connect sqlplus to database or connect developer to database on another computer. i should disable the windows firewall.
    if i leave it enabled the connection doesn't accomplish.
    is there any method to avoid this situation?
    best regards,
    Zaman

    ZaMaN wrote:
    hi all,
    i'm using oracle 10g (database & developer) on Windows XP SP2 Professional. each one on different computer connected via LAN network.
    so when i need to connect sqlplus to database or connect developer to database on another computer. i should disable the windows firewall.
    if i leave it enabled the connection doesn't accomplish.
    is there any method to avoid this situation? Either don't enable the firewall or do NOT use SQL*Net to connect to the DB.

  • Unable to connect hana with sybase replication server and i am not getting ECH plz help

    unable to connect hana with sybase replication server and i am not getting ECH plz help

    Please don't necrobump/hijack threads: https://wiki.archlinux.org/index.php/Fo … bumping.22
    https://wiki.archlinux.org/index.php/Fo … _hijacking
    Closing

  • Connecting developer 6 to 8i

    i m unable to connect developer 6 to my 8i
    which i have installed on w2k ,8i's ver is 8.1.5
    sql connects while forms,reports etc did not
    connects
    any body tell me how to connect
    thank u
    null

    You should config the 'tnsname.ora' in the home of developer6.

  • Connecting to a Sybase DB from 10g on Fedora FC5

    Hey all,
    I have in the past used HS to connect to a Sybase db to pull data over with a script I have devised. However, we have entertained the idea of moving to a linux OS for the server and I am trying to replicate this part of the process with no luck. The previous connection was all parties running strictly on WinX machines.
    Right now I am stuck on setting up ODBC on Fedora, but I have been at a loss for a proper driver. The FreeTDS distribution does appear to have a generic driver and I have mananged one connection with tsql but I cannot seem to create a DSN connection so HS has something to connect with.
    The driver unixODBC says should be there: libtdsodbc.so, isn't. After going into the noob install instructions and doing particular environment settings, etc...I cannot get a make to compile. The straight up config/make/install does not appear to create the driver file above.
    So....has anyone else configured this, is there another way I can go about connecting these two systems or is there no sane way to do this?
    Thanks
    Message was edited by:
    [email protected]

    Lets call the machine that runs Oracle, 'O'; the machine that runs your Sybase, 'S'; and the machine that you have Sybase ODBC drivers and a working DSN, 'G' ('G' for 'Gateway'). Any of these could be the same physical machine.
    On machine 'G', once you have a working DSN, you need to install an Oracle Listener and the 'hsodbc' binary and support files. If 'G' happens to be the same machine as 'O', then you will already have these components installed. If 'G' is not the same machine as 'O', you can install Oracle XE, which includes an Oracle listener; hsodbc; all the required support files; and a database. You can disable the database service and delete the database files to save disk space; memory and cpu cycles. Still on machine 'G', configure a '$ORACLE_HOME/hs/admin/initHSSID.ora' file to point to your DSN on that same machine. Configure the 'listener.ora' to server up that HSSID.
    On machine 'O', configure a service ('tnsnames.ora') to point to the HSSID on machine 'G', and create a database link to use service.
    Example.
    1. Machine 'G':
    1a. DSN 'Sponge' points to, well, any ODBC source.
    1b. File '$ORACLE_HOME/hs/admin/initFruit.ora' contains the following 2 lines:
    HS_FDS_CONNECT_INFO = SPONGE
    HS_FDS_TRACE_LEVEL = 01c. File '$ORACLE_HOME/network/admin/listener.ora' contains the following fragment in the SID LIST:
    (SID_DESC=
      (SID_NAME=FRUIT)
      (ORACLE_HOME=C:\Oracle\Ora92)  # change this to YOUR oracle home
      (PROGRAM=hsodbc)
    )1c. Stop and restart the listener.
    2. Machine 'O'
    2a. File '$ORACLE_HOME/network/admin/tnsnames.ora' contains the following fragment . . . (replace 'machine_g_ip_address' with the real IP address or DNS name of machine 'G'):
    JELLY =        # you may need to add a domain name suffix - ask your DBA
      (DESCRIPTION=
        (ADDRESS_LIST=
          (ADDRESS=
            (PROTOCOL=TCP)
            (HOST= machine_g_ip_address )   # Put DNS or IP address of Machine 'G' in here
            (PORT=1521)
        (CONNECT_DATA=(SID=FRUIT))
        (HS=OK)
    )2b. Create a database link
    CREATE DATABASE LINK custard
    CONNECT TO "home\tangt"
    IDENTIFIED BY taktangspassword
    USING 'jelly';I'm not sure whether you need specify the CONNECT TO and IDENTIFIED BY clauses.
    2c. Get a listing
    SELECT table_name
    FROM all_tables@custard;At this point, the Oracle database on machine 'G' will see the '@custard' and consult its list of database links for one called 'custard'. It sees the one created in step 2b and uses the USING clause 'jelly' as a service name.
    It looks up this service name 'jelly' in its local tnsnames.ora, and find the one created in step 2a. From this it extracts the SID 'Fruit' and the address (host/port). It opens a connection to that host/port, which happens to be machine 'G', and asks for a connection to the 'Fruit' SID.
    The listener on machine 'G' consults its local listener.ora list for an entry for the 'Fruit' SID, and finds the one created in step 1c. It looks in the ORACLE_HOME for the 'hsodbc' binary (listed as PROGRAM= ), and runs it, passing it the SID 'Fruit' as a parameter.
    The hsodbc program starts up and looks for an initialisation file 'initFruit.ora' set up in step 1b, for the Data Source Name specified by 'HS_FDS_CONNECT_INFO=' ('SPONGE'). Then the hsodbc binary opens up an ODBC connection to the DSN 'SPONGE'.
    My general 'Getting Started with Generic Connectivity' is here : http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:4406709207206#18830681837358
    Tak

  • WAS Connection Pooling with Sybase - associating a connection with spid

    We defined a datasource in our WAS 4.0 server (for Sybase) and configured it with a single login id/password. I'd like to know if it is possible to uniquely identify a database connection with a Sybase process (SPID). From Toplink's persspective, each connection is identified with a ServerSession ID and Connection ID. But from Sybase's perspective, it has N logins all using the same login ID (the Login ID specified in the WAS datasource). So if two connections are executing some SQL at the same time in my WAS app, is there a way to trace a Sybase process ID to a specific TOPLink connection ID?
    Thanks, Matt

    Don,
    I created a subclass of SessionEventAdapter and implemented the postConnect method. In the postConnect method I was able to use the SessionEvent's result attribute (a DatabaseAccessor) and execute some SQL to retrieve the Sybase process ID. From what I could see, every connection has a unique DatabaseAccessor. I chose, therefore, to use the hash code of the DatabaseAccessor to store the SPID as a property on the ServerSession's DatabaseLogin object. Now, whenever I acquire a connection, I can query the DatabaseLogin object and have access to the SPID based upon the DatabaseAccessor being used.
    Do you see any issues in doing it this way? I was concerned that the result attribute of the SessionEvent might not always be a DatabaseAccessor.
    Thanks for your help,
    Matt

Maybe you are looking for

  • Crystal Reports 2008 Formula in Cross-Tab Error Not Supported

    I have a crosstab that was created in Crystal XI and when I opened the report in Crystal 2008 I receive an Error "Not Supported" when I removed the fromula that was in the Crosstab the report displayed. The following is the formula that is within the

  • Downpayment Business process

    Hi, Please explain steps involved in customer down payment from SD point of view. 1. Created milestone billing with down payment. 2. Created sales order with milestone billing. 3. Created down payment request with reference to sales order(doc type FA

  • Archive Document Error

    I am having a problem in archive, My process worked perfect in beginning and i dont know why it is not working now.I get the following error when i checked in adminui ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error. at com

  • Netflow analysis tool

    Hi, what is the best available tool for netflow monitoring and specially for troubleshooting issues using flow analysis? I am looking for something that works well on small network of 200 devices.  Thanks

  • Desktop Troubles

    I'm having some issues with my drag and drop selection on the desktop for iMac. Whenever I click and drag one place on the desktop, the mouse seems to always show a selection about 3 inches above where I actually click. Also, files disappear on the d