Oracle to sqlserver 2000 connection

Hi
I recently made a connection from oracle9i (solrais 10) to sql server 2000(V 8.0).
I'm encountering following issue, if someone could help me that would really great.
SQL Error: ORA-28536: error in processing Heterogeneous Services initialization parameters
ORA-28508: invalid value TITANSTAGE for Heterogeneous Services initialization parameter HS_DB_NAME
ORA-02063: preceding 2 lines from TITANSTAGE
28536. 00000 - "error in processing Heterogeneous Services initialization parameters"
*Cause:    An error described by a subsequent error message
prevented successful processing of Heterogeneous Services
initialization parameters from the ORACLE server data dictionary.
*Action:   Check server data dictionary views HS_CLASS_INIT, HS_INST_INIT, and
HS_ALL_INITS. Look for conditions which could produce
the error identified in the error message immediately
following this one.
Below is the listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = shark)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = shark)(PORT = 1523))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = hsmsql)
(ORACLE_HOME = /z01/app/oracle/product/9.2.0.7)
(PROGRAM = hsodbc)
(SID_DESC =
(PROGRAM = hsodbc)
(ORACLE_HOME = /z01/app/oracle/product/9.2.0.7)
(SID_NAME = ititanstage)
Tnsnames.ora
hstitanstage=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 135.63.14.54)
(PORT = 1521)
(CONNECT_DATA =
(SID =ititanstage)
(HS=)
Value from initititanstage.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = titan
HS_DB_NAME = TITANSTAGE
#HS_DB_DOMAIN= 10.32.130.52
#HS_FDS_TRACE_LEVEL = 4
HS_FDS_SHAREABLE_NAME=/usr/openlink/lib/libiodbc.so
HS_FDS_TRACE_FILE_NAME = /tmp/HSODBC/iniths9i.trc
#HS_OPEN_CURSORS=2
# ODBC specific environment variables
set ODBCINSTINI=/usr/openlink/bin/odbcinst.ini
set ODBCINI=/usr/openlink/bin/odbc.ini
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
set OPENLINKINI=/usr/openlink/bin/openlink.ini
set FREETDSCONF=/usr/openlink/bin/freetds.conf
set OPL_LICENSE_DIR=/usr/openlink/bin
set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/openlink/lib
set PATH=$PATH:/usr/openlink/bin
odbc.ini
[titan]
Driver = /usr/openlink/lib/sql_mt_lt.so
ServerType = SQLServer 2000
Username = reader
Password = reader
Database = titanstage
Options = -H 135.63.14.153 -P 1433 -V 8.0
FetchBufferSize = 99
ReadOnly = no
DeferLongFetch = no
JetFix = no
Description = Titanstage SQLServer 2000 Lite Connection

Its good to you,
I am having a similar problem: I get ORA-28508 from oracle gateway. When I try to connect mssql server from sqlplus.
Everything goes fine when I connect on port 1433. So I think the root of my problem is that I specify the port number in the wrong way:
HS_FDS_CONNECT_INFO="address='hostname/instancename' port='1106'"
If your problem was similar or the same, then you could help me by by posting your solution.
Cheers,
Adam Balogh
DBA

Similar Messages

  • Oracle 9i / sqlserver 2000

    My aim is to send the data from oracle 9i to sql server 2000 whenever there is data insertion, deletion or updation in the oracle table the same change needs to happen in the sql server having the same table structure as oracle.But I am not finding any way to accomplish this task.please help me. Have thanks in advance.
    Silvia

    I think you can go for creating a DB link between the two dbs and just write a procedure which is triggered when an updation is happening in the Oracle 9i to insert data in the sqlserver.....
    coding it not eazy to define here...
    Sorryy.. just search on net you will get the code..
    Nandhan(alias)
    DBA/CC

  • Oracle 9.2.0.1.0 link to sqlserver 2000 tables

    Hi!
    I have a sqlserver 2000 running. I also have a oracle 9.2 server with
    windows 2003 running.
    I installed after oracle enterprise edition setup the oracle gateway
    services for sqlserver on my oracle server.
    Then I made some changes in the different oracle *.ora files. Then I
    restarted the oracle service OracleOraHome92TNSListener.
    My question:
    is that all I have to do on my oracle server? have I anything to do on my
    sqlserver 2000?
    can my oracle server be at the same time my gateway to sqlserver 2000 or
    must that be an other computer - sqlserver?
    Thanks

    Really I do not have a direct answer for your question because I have not used the oracle gateway services for sqlserver but if refer you this document. I hope this can help in something and if you any link with documentation about the theme I am going to please you if you replay it.
    Heterogeneous Connectivity Administrator's Guide Contents / Search / Index / PDF
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96544.pdf
    Joel Pérez

  • Creating Oracle Obj Model hangs - SQLServer 2000 to Oracle9i

    Migration Workbench process appears to hang during "Mapping Priomary Keys" while creating Oracle Object Model. I am migrating SQLServer 2000 database to Oracle 9i. All on one single PC using Windows 2000 server. I downloaded latest SQLServer 2000 plugin and I have .NET Framework installed which inturn installs MDAC 2.7 (supposed have latest ODBC driver). ODBC driver for SQLServer 2000 version is : 2000.81.7713.00
    Following is the info in Error.log file I have under %ORACLE_HOME%\omwb\log directory.
    ERROR.LOG File Starts here
    =================================================================================
    ** Oracle Migration Workbench
    ** Release 2.0.2.0.0 Production
    ** ( Build 20011121 )
    ** ORACLE_HOME: D:\Oracle\Ora91
    ** user language: en
    ** user region: US
    ** user timezone: PST
    ** file encoding: Cp1252
    ** java version: 1.1.8.10
    ** java vendor: Oracle Corporation
    ** o.s. arch: x86
    ** o.s. name: Windows NT
    ** o.s. version: 5.0
    ** Classpath:
    D:\Oracle\Ora91\Omwb\olite\Oljdk11.jar;D:\Oracle\Ora91\Omwb\olite\Olite40.jar;D:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;D:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;D:\Oracle\Ora91\Omwb\jlib;D:\Oracle\Ora91\Omwb\jlib\Omwb.jar;D:\Oracle\Ora91\jlib\oembase-9_0_1.jar;D:\Oracle\Ora91\jlib\netcfg.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer6.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer7.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer2K.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase11.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase12.jar;D:\Oracle\Ora91\Omwb\plugins\MSAccess.jar;D:\Oracle\Ora91\Omwb\plugins\MySQL.jar;D:\Oracle\Ora91\Omwb\drivers\mm.mysql.jdbc-1.2a;D:\Oracle\Ora91\Omwb\plugins\Informix7.jar;D:\Oracle\Ora91\Omwb\drivers\ifxjdbc.jar;D:\Oracle\Ora91\lib\xmlparserv2.jar;D:\Oracle\Ora91\rdbms\jlib\xsu111.jar;D:\Oracle\Ora91\jdbc\lib\classes111.zip;D:\Oracle\Ora91\lib\vbjorb.jar;D:\Oracle\Ora91\jlib\ewt-swingaccess-3_3_18.jar;D:\Oracle\Ora91\jlib\ewt-3_3_18.jar;D:\Oracle\Ora91\jlib\ewtcompat-3_3_15.jar;D:\Oracle\Ora91\jlib\share-1_1_9.jar;D:\Oracle\Ora91\jlib\help-3_2_9.jar;D:\Oracle\Ora91\jlib\ice-5_06_3.jar;D:\Oracle\Ora91\jlib\kodiak-1_2_1.jar
    ** Started : Fri Apr 05 13:31:12 PST 2002
    ** The following plugins are installed:
    ** Microsoft SQLServer 2000 Release 2.0.2.0.0 Production
    java.sql.SQLException: ORA-01418: specified index does not exist
    java.util.NoSuchElementException
         at java.util.Vector.firstElement(Vector.java:433)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4055)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4022)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap._mapPrimaryKeys(SQLServer2KSourceModelMap.java:3092)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapSourceModel(SQLServer2KSourceModelMap.java:271)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.doCapture(SQLServer2KCaptureWizard.java:948)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard._runDialog(SQLServer2KCaptureWizard.java:736)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.capture(SQLServer2KCaptureWizard.java:656)
         at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:212)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:89)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    ** Shutdown : Fri Apr 05 13:34:39 PST 2002
    ===================================================================
    ERROR.LOG File ends here
    Any help is really appreciated
    Thanks,
    Brunda

    Migration Workbench process appears to hang during "Mapping Priomary Keys" while creating Oracle Object Model. I am migrating SQLServer 2000 database to Oracle 9i. All on one single PC using Windows 2000 server. I downloaded latest SQLServer 2000 plugin and I have .NET Framework installed which inturn installs MDAC 2.7 (supposed have latest ODBC driver). ODBC driver for SQLServer 2000 version is : 2000.81.7713.00
    Following is the info in Error.log file I have under %ORACLE_HOME%\omwb\log directory.
    ERROR.LOG File Starts here
    =================================================================================
    ** Oracle Migration Workbench
    ** Release 2.0.2.0.0 Production
    ** ( Build 20011121 )
    ** ORACLE_HOME: D:\Oracle\Ora91
    ** user language: en
    ** user region: US
    ** user timezone: PST
    ** file encoding: Cp1252
    ** java version: 1.1.8.10
    ** java vendor: Oracle Corporation
    ** o.s. arch: x86
    ** o.s. name: Windows NT
    ** o.s. version: 5.0
    ** Classpath:
    D:\Oracle\Ora91\Omwb\olite\Oljdk11.jar;D:\Oracle\Ora91\Omwb\olite\Olite40.jar;D:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;D:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;D:\Oracle\Ora91\Omwb\jlib;D:\Oracle\Ora91\Omwb\jlib\Omwb.jar;D:\Oracle\Ora91\jlib\oembase-9_0_1.jar;D:\Oracle\Ora91\jlib\netcfg.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer6.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer7.jar;D:\Oracle\Ora91\Omwb\plugins\SQLServer2K.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase11.jar;D:\Oracle\Ora91\Omwb\plugins\Sybase12.jar;D:\Oracle\Ora91\Omwb\plugins\MSAccess.jar;D:\Oracle\Ora91\Omwb\plugins\MySQL.jar;D:\Oracle\Ora91\Omwb\drivers\mm.mysql.jdbc-1.2a;D:\Oracle\Ora91\Omwb\plugins\Informix7.jar;D:\Oracle\Ora91\Omwb\drivers\ifxjdbc.jar;D:\Oracle\Ora91\lib\xmlparserv2.jar;D:\Oracle\Ora91\rdbms\jlib\xsu111.jar;D:\Oracle\Ora91\jdbc\lib\classes111.zip;D:\Oracle\Ora91\lib\vbjorb.jar;D:\Oracle\Ora91\jlib\ewt-swingaccess-3_3_18.jar;D:\Oracle\Ora91\jlib\ewt-3_3_18.jar;D:\Oracle\Ora91\jlib\ewtcompat-3_3_15.jar;D:\Oracle\Ora91\jlib\share-1_1_9.jar;D:\Oracle\Ora91\jlib\help-3_2_9.jar;D:\Oracle\Ora91\jlib\ice-5_06_3.jar;D:\Oracle\Ora91\jlib\kodiak-1_2_1.jar
    ** Started : Fri Apr 05 13:31:12 PST 2002
    ** The following plugins are installed:
    ** Microsoft SQLServer 2000 Release 2.0.2.0.0 Production
    java.sql.SQLException: ORA-01418: specified index does not exist
    java.util.NoSuchElementException
         at java.util.Vector.firstElement(Vector.java:433)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4055)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertPrimaryKey(OracleModelImpl.java:4022)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap._mapPrimaryKeys(SQLServer2KSourceModelMap.java:3092)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapSourceModel(SQLServer2KSourceModelMap.java:271)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.doCapture(SQLServer2KCaptureWizard.java:948)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard._runDialog(SQLServer2KCaptureWizard.java:736)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.capture(SQLServer2KCaptureWizard.java:656)
         at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:212)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:89)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    ** Shutdown : Fri Apr 05 13:34:39 PST 2002
    ===================================================================
    ERROR.LOG File ends here
    Any help is really appreciated
    Thanks,
    Brunda

  • Hang process mamping connect to sqlserver 2000

    Help me
    Problem this, before one weeks , process mapping connect to sqlserver still running
    but, after this process mapping hang get data from sqlserver 2000
    because i try 10, 100, 5000 record mapping still running, but 100000 record still hang, this is i try method row_bases.
    and i try method set based, data still empty in target (4 hours)
    this data from sqlserver +/- 1600000 record,
    how to solve problem this.
    owb client 11.1.0.6.0
    owb repository 11.1.0.1.1
    db ver 11.1.0.6
    db sqlserver 2000
    OS Window NT 2000
    Tx

    do you mean the url?
    it seems to be right.
    the server is on THE_B
    the instance is MIAINSTANCE
    (when i've installed the DBMS i've specified "miaInstance" as instance name,but whe I access to it I see MIAINSTANCE as name.it can be a case sensitive problem?)
    i've specified the following URL
    ...sqlserver://THE_B\MIAINSTANCE:1433;SelectMethod=....
    i've also tryed
    ...sqlserver://THE_B\miaInstance:1433;SelectMethod=....
    but it still doesen't work.
    yes,the instance is running.

  • Java - SQL Server 2000 Connectivity

    hi all. i m looking for help in Java - SQL Server 2000 Connectivity.i worked on Java- Oracle & Java - MS Access format.now i m looking to work on Java - SQL Server 2000. I m using JBuilder 2005. can any1 help me how to make any change(configuration) in my SQL Server.thanx in advance.

    http://www.jguru.com/forums/JBuilder is hopeless. ihvn;t get good replies from them.i downloaded the JDBC driver from microsoft and added the JAR files (3 files) and tried the following code:
    import java.sql.*;
    * Microsoft SQL Server JDBC test program
    public class Test {
    public Test() throws Exception {
    // Get connection
    DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
    //Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://<Host>:1433",<"UID>","<PWD>");
    // Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://GMC01:1433;DatabaseName=MoonDB");
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Moon:1433;DatabaseName=MoonDB");
    if (connection != null) {
    System.out.println();
    System.out.println("Successfully connected");
    System.out.println();
    // Meta data
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println("\nDriver Information");
    System.out.println("Driver Name: "
    + meta.getDriverName());
    System.out.println("Driver Version: "
    + meta.getDriverVersion());
    System.out.println("\nDatabase Information ");
    System.out.println("Database Name: "
    + meta.getDatabaseProductName());
    System.out.println("Database Version: "+
    meta.getDatabaseProductVersion());
    } // Test
    public static void main (String args[]) throws Exception {
    Test test = new Test();
    it run without any error and then showed fatal exception as below:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:193)
         at Test.<init>(Test.java:11)
         at Test.main(Test.java:31)
    Exception in thread "main"
    where's the problem?can any1 try to solve this plz.

  • [Microsoft][SQLServer 2000 Driver for JDBC] Broken pipe

    Using 10.1.2.0.2
    I have Web App in which I am connecting to MS SQLServer 2005. I have created a datasource on the server and used Microsoft's free JDBC drivers i.e. msutil.jar,mssqlserver.jar,msbase.jar. Now every now and then I am getting the following error when trying to connect to the SQLServer
    [Microsoft][SQLServer 2000 Driver for JDBC]Broken pipe;nested exception is: java.sql.SQLException:[Microsoft][SQLServer 2000 Driver for JDBC]Broken pipeAny ideas what might be wrong and how to take care of this issue.
    Thanks

    DataDirect driver is certified with Oracle Application Server accessing SQLServer, here is an example of a data source entry for SQLServer in OralceAS 10.1.2.x.
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="MerantDS"
    location="jdbc/MerantCoreSSDS"
    xa-location="jdbc/xa/MerantSSXADS"
    ejb-location="jdbc/MerantSSDS"
    connection-driver="com.oracle.ias.jdbc.sqlserver.SQLServerDriver"
    username="test"
    password="secret"
    url="jdbc:oracle:sqlserver://hostname:port;User=test;Password=secret"
    inactivity-timeout="30"
    />
    Here shows a SQLServer managed data source example and a SQLServer native source example in OracleAS 10.1.3.x:
    SQLServer Managed Data Source
    <connection-pool name="ConnectionSqlserver"
    max-connections="20"
    min-connections="1">
    <connection-factory
    factory-class="com.oracle.ias.jdbcx.sqlserver.SQLServerDataSource"
    user="msuser"
    password="mspass"
    url="jdbc:oracle:sqlserver://myserver\\myinstance;User=msuser;Password=mspass" >
    <property name="serverName" value="myserver\\myinstance"/>
    <xa-recovery-config>
    <password-credential>
    <username>msuser</username>
    <password>mspass</password>
    </password-credential>
    </xa-recovery-config>
    </connection-factory>
    </connection-pool>
    <managed-data-source connection-pool-name="ConnectionSqlserver"
    jndi-name="jdbc/mysqlserver"
    name="mysqlserver" />

  • ERROR   0GG-00146 FOR SQLSERVER 2000

    Hi
    I used oggs 11g for sqlserver 2000 on WinXp sp3,
    when I started the extract named exbs
    it can be a running stutas ;
    my parameter file setting are :
    extract exbs
    seTenv (ODBCINI=C:\WINDOWS\ODBC.INI)
    SOURCEDB MSTZSW , USERID SA , PASSWORD oracle
    RMTHOST 127.0.0.1 , MGRPORT 7810
    RMTTRAIL ./DIRDAT/bs
    table dbo.* ;
    after a lot of minute passed , it will be abending ;
    the report are the folloowing :
    ====================================
    Database Version :
    Microsoft SQL Server
    verison 08.00.0194
    odbc version 03.52.0000
    database language and character set :
    Warning : unable to detemine the application and database codepage settings.
    Please refer to user manual for more information .
    2010-12-29 14:24:23 INFO OGG-01226 Socket buffer size set to 27985 (flush size 27985 ) .
    ............... OGG-01055 Recovery initilazation completed for target file ./dirdat/bs000003 , at RBA 812.
    ................................. OGG-01478 Output file ./dirdat/bs is using format RELEASE 10.4/11.1.
    ................................... OGG-01026 Rolling over remote file ./dirdat/bs000004.
    ................................... OGG-01053 Recovery i completed for target file ./dirdat/bs000003 , at RBA 812.
    ................................... OGG-01057 Recovery completed for all targets.
    ................................... OGG-00182 VAM API running in single-threaded mode.
    ................................... OGG-01515 Positioning to begin time..........
    Source Context :
    SourceModule : [ggvam.gen]
    SourceID : [../gglib/ggvam/cvamgen.cpp]
    SourceFuntion : [com_goldengate_vam: : CVamGen::vamInitialize ]
    SourceLine : [418]
    time ERROR OGG-00146 VAM funtion VAMInitialize returnde unexpected resutl : error 600 -VAM Client Report <MSSqlVam :<1> [CLogReader ::Open] [DBNETLIB][ConnectionOpen  (Connect()).]SQL Server does not exists or denied . Error (-2147467259) : [DBNETLIB] [ConnectionOpen  (Connect()).]SQL Server does not exists or denied . >.
    tmie ERROR OGG-01668 PROCESS ABENDING.
    Hao can I do to solution this ERROR ,
    or What is the reason .
    Can some body help me.
    I can ensure the odbc can Connectivity by use sourcedb mstzsw , userid sa , password oracle

    the reason that my friend told me is :
    can not telnet port 1433;
    for my question , the windows firewall or wall of fire is closed ,
    and my sqlserver 2000's version is 8.00.194 ,
    till I update the sqlserver's version to 8.00.2039 (sp4)
    this question is solutioned ;
    forgive the low-level of my English Language skill ;

  • Which jdbc driver should be used for sqlserver 2000 and where to put it.

    hi all,
    My odi is 11g. I met the error infor "Could not load JDBC driver class [com.microsoft.sqlserver.jdbc.SQLServerDriver]" when i tried to connect to a sqlserver2000 database.
    The questions are:
    1. which jdbc driver should be used for sqlserver 2000?
    2. which folder to put it in?
    3. how to set the physical topological "Microsoft Sql Server" to use this jdbc driver?
    failed tries:
    i downloaded the driver "SQL Server 2000 Driver for JDBC Service Pack 2" and put it in the following folders:
    1. .../oracledi/drivers, and set this path to CLASSPATH.
    2. .../oracledi/userlib didn't exist, i created it and put the driver in.
    3. .../oracledi/agent/dirvers, in which a readme file exists and told me to put drivers in this folder.
    All these works were not useful. when I start odi.sh and try to connect to sqlserver2000 database, the same error infor came up.
    my environment is:
    os: Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    java: Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
    ODI: 11g, installed in /users/oracle/odi/
    please help me,thanks a lot.
    jun
    帖子经 Jun编辑过

    Hi,
    You should check which JVM version is required by that version of the driver, I think the 2.x versions require a 1.6 JVM
    What error are you getting? If it is the "com.sunopsis.sql.c: No suitable driver", it indicates it can't find the jar file (sqljdbc.jar) for the driver you specify.
    Drivers folder in ODI 11g is under
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers.
    if you are using the standolone version
    On windwos :
    C:\Documents and Settings\<userName>\Application Data\odi\oracledi\userlib
    on linux
    $HOME/.odi/oracledi/userlib
    Have a read of :- http://download.oracle.com/docs/cd/E14571_01/core.1111/e16453/install.htm#CHDBIFAJ
    Thanks,
    Sutirtha

  • Problem in Accession inner join with [Microsoft][SQLServer 2000 Driver

    Hi
    Can you tell me what can be cause my sql statement is correct gives result but
    if i used below statement in my JSP ,cause error
    1)
    ps1=connection.prepareStatement("select RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRPTN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_DLVRY_DT"+
    "from PAS_RQM_RQSTN_MSTR a "+
    "inner join PAS_RQD_RQSTN_DTLS b on a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and RQD_IN_STTS_ID_FK = 4"+
    "INNER JOIN PAS_SMT_STTS_MSTR C ON C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
    "where a.RQM_VC_DTRTMNT_INVLV='Technology' ");
    2) Error Generate
    java.sql.SQLException
    [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Line 1: Incorrect syntax near 'a'.
    What can be the cause
    Thanks

    ps1=connection.prepareStatement("select
    RQM_IN_RQSTN_ID_PK,RQD_IN_ITM_ID_FKPK,RQD_VC_ITM_DSCRP
    TN,RQD_IN_STTS_ID_FK,C.SMT_VC_STTS_NM,a.RQM_DT_PRPSD_D
    LVRY_DT"+
    "from PAS_RQM_RQSTN_MSTR a "+
    "inner join PAS_RQD_RQSTN_DTLS b on
    a.RQM_IN_RQSTN_ID_PK = b.RQD_IN_RQSTN_ID_FKPK and
    RQD_IN_STTS_ID_FK = 4"+
    "INNER JOIN PAS_SMT_STTS_MSTR C ON
    C.SMT_IN_STTS_ID_PK=B.RQD_IN_STTS_ID_FK" +
    "where a.RQM_VC_DTRTMNT_INVLV='Technology' ");This is a problem due to not providing spaces where they are needed. See the places where I have highlighted.
    A better way is to generate the String first [use StringBuffer as a good practice for appending instead of String "+"] and print it out to check if it is correct.
    ***Annie***

  • Problem with SQLServer 2000, JHS 9.0.5.1 and  jdev 9.0.5.1

    Hi,
    I have JHS 9.0.5.1.9, Jdeveloper 9.0.5.1 and RDBMS - SQLServer 2000, MS SQLServer 2000 jdbc driver sp2 (SelectMethod=cursor).
    When I try update recorods - errors: JBO-26080: Error while selecting entity for ... .
    Cause - FOR UPDATE cannot be specified on Read Only cursor.
    Setting LockTrailer to blank or "and 1=1" didn't help.
    jbo.323.compatible and jbo.903.compatible - didn't help.
    Should JHS (bc4j) work with MS SQLServer ?

    Yes, that is possible. See the JDeveloper online help. Do a full-text search for "non-Oracle datasources" and you will find a topic about Business Components for non-Oracle or foreign datasources.
    This is regardless of using JHeadstart or not, it is ADF Business Components (BC4J) functionality. You should be able to try it out using the BC4J tester (right-click your application module and choose Test).
    If you have further questions about this topic, the best discussion forum is probably http://otn.oracle.com/discussionforums/jdev.html .
    Hope this helps,
    Sandra Muller
    JHeadstart Team

  • Oracle 8i Lite Sqlplus connections

    Hi
    I am trying to run 2 concurrent sqlplus connections in Oracle 8i lite ... it works fine ... if I dont make any changes to database. But Once I commit the changes .... I am not able to make any more connections ....it gives OCA-30017 "Error Loggin on to non-oracle database" and fails connecting to oracle 8i lite. I am using the standard ODBC driver (Oracle Lite) to connect to sqlplus. Please help !!!
    Thanks
    Prabhu.

    I am using Windows 2000 Professional and I am experiencing the same problem. I can connect to the POLITE database from Oracle8 Navigator and Oracle ODBC 32bit Test but not from SQL*Plus. Here is what I see:
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    Oracle Lite ORDBMS 4.0.1.0.7
    SQL> connect system/mgr@odbc:POLite
    Server not available or version too low for this feature
    Connected.
    SQL> connect system/mgr
    ERROR:
    ORA-12203: TNS:unable to connect to destination
    Warning: You are no longer connected to ORACLE.
    Should I try to upgrade my Open Client Adapater (OCA)? Could it be something with my PATH? How can I set up the default TNS to connect to POLITE? Any suggestions?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Floyd Teter ([email protected]):
    George,
    Try the following host string: ODBC:POLITE
    Lite typically uses the SID of POLite for installation of the default database, so this host string should do the trick. If not, drop me an email and we'll work through it together.
    Hope this helps!
    FMT
    <HR></BLOCKQUOTE>
    null

  • Sql server 2000 connect with other than jdbc?

    Is there any other way to connect to a Sql Server 2000 database other than with jdbc? My problem actually resides in the fact that I did a small program to test the connection to the database and it works perfectly on my computer but on the server that it's going to stay on, it doesn't.
    the program is classic:
    try{
         DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());     
         Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://12.345.67.890\ \INSTANCENAME:1433;databaseName=NAME;selectMethod=cursor;","user","pass");
    if (connection != null) {
         System.out.println("Successfully connected");
    this small program works ok on my computer(win xp, tomcat 6) but on the other computer(ubuntu, tomcat 5.2) says
    Exceptionjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The requested instance is either invalid or not running.
    I pinged the ip(12.3...) from the server and it works. So I can't figure out what could cause the error. I tried 20 different connection string and don't work. I'm thinking it might have to do with using MS jdbc drivers on a unix platform? or maybe it's from the server firewall(it's a virtual server), anybody can confirm if they had similar problem? Since I can't figure out the problem, I'm trying to test connection using something else than jdbc but google didn't help much
    thanks in advance!
    Edited by: Biggie_mac on Sep 28, 2007 6:48 AM

    Biggie_mac wrote:
    Is there any other way to connect to a Sql Server 2000 database other than with jdbc? My problem actually resides in the fact that I did a small program to test the connection to the database and it works perfectly on my computer but on the server that it's going to stay on, it doesn't.Something's different between the two servers. Obviously.
    I pinged the ip(12.3...) from the server and it works. So I can't figure out what could cause the error. I tried 20 different connection string and don't work. Why did you do that if the Tomcat version "works"? You're looking in the wrong place.
    I'm thinking it might have to do with using MS jdbc drivers on a unix platform? Why would that matter if you're using type IV 100% Java JDBC drivers?
    or maybe it's from the server firewall(it's a virtual server), anybody can confirm if they had similar problem? If you can ping it successfully, how can it be a firewall issue?
    You're doing something else wrong.
    %

  • SQL Server 2000 connectivity probs

    hi frnds
    i wanna do the database connectivity with Microsoft SQL Server 2000 and for this i got the driver from the site of Microsoft ,named Microsoft SQL Server 2000 JDBC Driver .
    But on testing this driver i am getting the following errors which shows the compiler isnt getting the driver class for connectivity..please do guide me about this...what can be the possible solution.
    Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
    at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
    at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at Main.main(Main.java:21)
    please reply ASAP
    thanks n regards
    Melinda

    no i am not calling the createStatement.
    this is the code i am using to test the driver
    import java.sql.*;
    * Microsoft SQL Server JDBC test program
    public class Main {
    public static void main (String args[]) throws Exception {
    // Get connection
    //DriverManager.registerDriver(new
    // com.microsoft.jdbc.sqlserver.SQLServerDriver());
    Driver d = (Driver)Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    Connection connection = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://local:1433","sa","sa");
    if (connection != null) {
    System.out.println();
    System.out.println("Successfully connected");
    System.out.println();
    // Meta data
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println("\nDriver Information");
    System.out.println("Driver Name: "
    + meta.getDriverName());
    System.out.println("Driver Version: "
    + meta.getDriverVersion());
    System.out.println("\nDatabase Information ");
    System.out.println("Database Name: "
    + meta.getDatabaseProductName());
    System.out.println("Database Version: "+
    meta.getDatabaseProductVersion());
    n this is the error that i m getting now
    Exception in thread "main" java.lang.ClassNotFoundException: com.microsoft.jdbc.
    sqlserver.SQLServerDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    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:141)
    at Main.main(Main.java:18)

  • MS SQL Server 2000 connectivity problems

    Hello everyone,
    I'm having problems connecting my application to MS SQL Server 2000. I am making a desktop application that is going to read and update a database I have created in MS SQL Server 2000. The problem is I cannot connect to the database from the application. Here are the details:
    I have only created a GUI for one table so far. I have created one other class that is used for connecting to the database.
    The GUI class is called Products.java and I have created it in Netbeans. The other class is called ConnectClass.java. In the constructor of the Products.java (GUI class), I instantiate an object of ConnectClass. That object in turn tries to establish a connection to the database. Here is the code of the constructor of the Products.java class (GUI class).
    public class Products extends javax.swing.JFrame {
    private ConnectClass connect1; // declaring the reference variable for ConnectClass
    /** Creates new form Products */
    public Products() {
    initComponents();
    connect1 = new ConnectClass(); // instantiating the ConnectClass
    The code of ConnectClass.java is as follows:
    import java.sql.*;
    public class ConnectClass {
    Connection connection;
    Statement statement;
    public ConnectClass()
    try
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=assignment2;User=root;Password=sa");
    statement = connection.createStatement();
    catch(SQLException sqle)
    System.err.println("Error creating connection");
    catch(ClassNotFoundException cnfe)
    System.err.println(cnfe.toString());
    When I run the application I expect that the database should be connected at least. However I get the following message in Netbeans output window:
    run:
    java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    BUILD SUCCESSFUL (total time: 6 seconds)
    I am using Windows XP Home Edition SP3
    The JDBC driver I am using is: Microsoft® SQL Server® 2000 Driver for JDBC™ Service Pack 3
    The name of the database I have created in MS SQL Server 2000 is: assignment2
    I have given the following settings in the CLASSPATH environment variable: .;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar
    I don't know what is wrong. Any help would be GREATLY appreciated. If you want to know something more please ask me.
    Regards

    Ace1111111 wrote:
    Thanks for the answers. I put the jar file in the jdk/jre/lib/ext folderWhich is exactly what you should not do. That folder is for language extensions, which a Driver is not. Why does everybody find it so hard to take the time to learn the language basics?
    and the driver was finally detected but then the program would not connect to the database.Did you configure the server properly. Per default it is not configured to accept network connections.
    I tried jtds driver too. I was so frustrated that I installed MySQL instead. Put the jar file in jre/lib/ext folder and then gave the URL and to my relief the database connected. Maybe there are some settings that need to be configured in MS SQL before it can connect. But I could not get it to connect :(The manual would contain that info, btw.

Maybe you are looking for

  • Error-Receiver File Adapter using Variable substitution when file is empty

    XI Experts, We are on PI 7.0, SP14. We are using variable subtitution to get the filename from source message. This works fine as long as we have data in the payload for filename element. But we have a scenario where we don't have to create file when

  • What are the advantages of compressor and it it even necessary

    what are the advantages of compressor and it it even necessary?

  • Regarding Controlling in PS

    Hi ,    I really want to know,in the project profile we have Controlling tab.Why do we have a separate Controlling tab if we have Controlling area in the Organization tab. Thanks and regards, Jomy

  • NmEnroll() throwing error

    Hi all Iam new to weblogic , when i start the wlst its in offline mode how to go to online mode I want to run the nmEnroll command. wls:/offline> connect('weblogic','weblogic','http://172.27.34.133:7001') Connecting to http://172.27.34.133:7001/conso

  • Save a project in iMovie

    Hello, I imported my video data to the media part of iMovie. The data is still visible after closing/re-opening iMovie. Now I wanted to create a project with some of my media data. I created the project, moved the data to the project. As I could not