XA and MS SQL Server 2000

I am currently working on a project that proposes to use XA transactions with MS
SQL Server 2000. I have been searching for information on this subject and have
found information that worries me with regard to MS SQL Server 6.5 and XA transactions.
The information I have gathered argues against using MS SQL Server 6.5 with XA
transactions, mainly because it allows only 1 active transaction at a time.
Does anyone have any information as to whether MS SQL Server 2000 has the same
problem? I am thinking of suggesting a different XA RM as I have found no information
stating the contrary.
Many Thanks,
Mick.

Mick;
I have already tried SQL Server with Tuxedo, and believe: it´s works, but I still
try it using Tuxedo with a big load.
The file attached has two source files with a short comments explain how to do,
and what to do.
If you prefer, I can send you the MSVC++6 Project
My regards,
Andre David
Systems Engineer
"Anthony Fryer" <[email protected]> wrote:
>
If it still uses the 'dbenlistxatrans' function, then I think it's a
safe bet to
say that it still is a poor mans XA. Avoid SQL Server and XA is a good
rule of
thumb.
"Mick Fisher" <[email protected]> wrote:
I am currently working on a project that proposes to use XA transactions
with MS
SQL Server 2000. I have been searching for information on this subject
and have
found information that worries me with regard to MS SQL Server 6.5 and
XA transactions.
The information I have gathered argues against using MS SQL Server 6.5
with XA
transactions, mainly because it allows only 1 active transaction ata
time.
Does anyone have any information as to whether MS SQL Server 2000 has
the same
problem? I am thinking of suggesting a different XA RM as I have found
no information
stating the contrary.
Many Thanks,
Mick.
[source_example_using_sqlserver.zip]

Similar Messages

  • Java and MS SQL Server 2000 problem, please help

    please help me. I am using java and MS SQL Server 2000, and I'm trying to access and verify the login. I'm getting the following error message: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index
    Can any please help in this regard.
    String userNumber = (String)userNumField.getValue();
    char[] userPasswordArray = userPasswordField.getPassword();
    String userPassword = new String(userPasswordArray);
         try {
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc:odbc:Dikolobe_Data");
                java.sql.PreparedStatement statement = connection.prepareStatement(
                        "SELECT USER_NUMBER, USER_PASSWORD, USER_CLASS, USER_STATUS " +
                        "FROM SYS_USER " +
                        "WHERE (USER_NUMBER = ? AND USER_PASSWORD = ?);");
                statement.setString(1, userNumber);
                statement.setString(2, userPassword);
                java.sql.ResultSet result = statement.executeQuery();
                if(result.next()) {
                    String userStatus = result.getString(4);
                    if(userStatus.equals("logged on")) {
                        String loginErrorMessage = "User with number: " + userNumber + " is already logged on.";
                        javax.swing.JOptionPane loginErrorPane = getNarrowOptionPane(72);
                        loginErrorPane.setMessage(loginErrorMessage);
                        loginErrorPane.setMessageType(javax.swing.JOptionPane.ERROR_MESSAGE);
                        javax.swing.JDialog loginErrorDialog = loginErrorPane.createDialog(null, "Login Error");
                        loginErrorDialog.setVisible(true);
                    else {
                        String userClassification = result.getString(3);
                        if(userClassification.equals("Administrator")) {
                            AdminHomePage newAdminHomePage = new AdminHomePage();
                            newAdminHomePage.setVisible(true);
                        else if(userClassification.equals("Educator")) {
                            EduHomePage newEduHomePage = new EduHomePage();
                            newEduHomePage.setVisible(true);
                        statement = connection.prepareStatement(
                                "UPDATE SYS_USER SET USER_STATUS = ? " +
                                "WHERE USER_NUMBER = ?");
                        statement.setString(1, "logged on");
                        statement.setString(2, userNumber);
                        statement.executeUpdate();
                        dispose();
                }

    Doesn't the following link give you enough information?
    http://www.google.com/search?q=invalid+descriptor+index
    Anyway .. This error means that the given ResultSet column index which you're trying to retrieve the value from is out of the range.

  • Differnce Between Oracle 9i And MS SQL Server 2000

    Hi,
    What are the difference between Oracle 9i And MS SQL Server 2000.
    Thnaks

    Some links
    http://www.google.lv/search?hl=lv&q=oracle+sql+server+difference&meta=
    http://asktom.oracle.com/pls/asktom/f?p=100:1:487512552646613::NO:RP::
    http://www.mssqlcity.com/Articles/Compare/sql_server_vs_oracle.htm
    http://www.wisdomforce.com/dweb/resources/docs/MSSQL2005_ORACLE10g_compare.pdf
    But you have to remember one big thing - I've not seen yet one compare that was completely indifferent to any of the included DB's. So you can be sure that every doc that you get on MS website will say that SQL server is better, every doc on Oracle website will say that Oracle is better. Every doc on other websites will say that better DB either is:
    1) DB that has payed for the reserach paper
    2) DB that was mostly used by the researchers
    So of course you should be very cautious about each paper you get.
    Gints Plivna
    http://www.gplivna.eu

  • Problem of Teststand3.1 database and microsoft SQL Server 2000 personal edition

    I have a problem when using teststand database function with Microsoft sql server 2000. the error(seen in attached screenshot3.jpg) is:
    "An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
    An error occurred executing a statement.
    Schema: Generic Recordset (NI).
    Statement: UUT_RESULT.
    [Microsoft][ODBC SQL Server Driver][SQL Server]unable to insert NULL value to column "ID", table "test.dbo.UUT_RESULT";This column is not alowed to be blank. INSERT Failed. Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
    [Microsoft][ODBC SQL Server Driver][SQL Server]terminated.
    Source: TSDBLog"
     Here I listed my proceess.
    1, Configure in SQL Sever, please see attached screenshot0.jpg
       a, Open SQL
       b, build a new database with the name of test
       c, import the data from "C:\Program Files\National Instruments\TestStand 3.1\Components\NI\Models\TestStandModels\Database\TestStand Results.mdb"
    2, Configure Microsoft SQL sever: please see attached screenshot1.jpg
       a, Open windows Control Panel and select "Data Sources (ODBC). Under system DSN tab, add a SQL server data source
    3, Configure teststand database option, see attached screenshot2.jpg
       a, configure logging option, enable
       b, configure datalink
       c, select schemas of "Generic recordset (NI)
       d, No change on the tabs of "statements" and "Columns/Parameters"
    4, run an seqence file with the proess model of SequentialModel.Seq.
    Attachments:
    Screenshot.zip ‏425 KB

    Thanks Scott,
      The database function is OK now after I changed imported tables in SQL Sever.
      Actually, I once tried anothor method that you refered by using the scripts
    located at: <TestStand>\Components\NI\Models\TestStandModels\Database\SQL Server Create Generic Recordset Result Tables.sql. Attached is the error screenshots, please help me on this.
    Thanks
    Jacky
    Attachments:
    Error.jpg ‏59 KB

  • How to connect Java and Microsoft SQL Server 2000

    hi,
    could anyone please teach me how to connect Java and SQL Sever 2000?? if possible could you guys provide me with an example??? i could hardly find any relevant resources about it...
    Thanks ~!

    thanks for the information...
    by the way hv any working module on it?? i'm new to
    both Java and Microsoft SQL Server... Thanks againFirst things first... you should read this:
    http://java.sun.com/docs/books/tutorial/jdbc/
    This is microsofts official JDBC Driver: http://www.microsoft.com/sql/downloads/jdbcregister.asp
    Install it and the documentation has some usage examples

  • How to save and retrieve an image in JSP/Java and MS SQL/server 2000?

    Hi All,
    I am uploading an image from the JSP page and want to store it in MS SQL server. I have made a column by the name "COMPANY_LOGO" with data type as image MS SQL/server 2000. How do I save the full image in the table and how do I display the thumb nail image on the JSP page???
    Regards,
    Raj

    BEFORE YOU POST A TOPIC HERE: Please be sure your topic is related to features or functionality of this site. This forum is not for general technology questions. Not sure which forum to use? Try searching for your topic in the "Search Forums" element on the left panel.
    Post your question in
    http://forum.java.sun.com/forum.jspa?forumID=45
    or
    http://forum.java.sun.com/forum.jspa?forumID=48
    Do not reply here

  • Move datafiles and logfiles (Portal 6.0 and Microsoft SQL Server 2000)

    Hello,
    I have installed EP 6.0 with KMC and TREX. The database is MS SQL Server 2000.
    The datafiles and the logfiles of the portal are respectively located in the directory "C:\Program Files\Microsoft SQL Server\MSSQL\Data" and in "C:\Program Files\Microsoft SQL Server\MSSQL\LOG".
    I want to move these files in the disk D.
    How can I do it ?
    Is the procedure described in the site http://support.microsoft.com/kb/224071 correct ?
    I thank you for your help.
    Regards,
    Anne-Marie

    Francesc,
    Microsoft Exchange Server Integration in EP6.0
    The Microsoft Exchange server (subsequently called the Exchange server) is integrated using the Microsoft Exchange server transport. This transport integrates the scheduling capabilities of Exchange Server with SAP Enterprise Portal 6.0. The following versions of Microsoft Exchange server can be integrated with the Enterprise Portal.
    · Exchange Server 5.5 SP4
    · Exchange Server 2000
    · Exchange Server 2003
    The transport uses Microsoft Collaborative Data Objects 1.2.1 (subsequently called CDO) to access data from the Exchange server.
    You can check for more details on;
    http://help.sap.com/saphelp_nw04s/helpdata/en/7a/ec015c8446d447a83776d40f31c84f/frameset.htm
    Regards,
    James

  • WebLogic Server 7.0 and MS SQL Server 2000

    Hi,
    I'm trying to create a connection pool in WebLogic Server 7.0 for MS SQL Server
    2000, but I always get the following error message:
    <Error> <JDBC> <001060> <Cannot startup connection pool "mcp-ConnectionPool
    " weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Login failed for user 'JavaUser'. Severity 14, State 1,
    Procedure 'null null'
    , Line 0 Unable to connect, please check your server's version and availability.
    at weblogic.jdbc.mssqlserver4.TdsStatement.microsoftLogin(TdsStatement.java:2823)
    at weblogic.jdbc.mssqlserver4.MicrosoftConnection.beginLogin(MicrosoftConnection.java:44)
    When I try to connect to the database with dbping, I get the following error:
    Error encountered:
    java.sql.SQLException: Login failed for user 'JavaUser'. Severity 14, State 1,
    Procedure 'null null'
    , Line 0 Unable to connect, please check your server's version and availability.
    I'm able to connect to the same database with WebLogic Server 6.0 (SP2) using
    the exact same settings. Does anyone have an idea of what is wrong here? Do I
    need an updated driver?
    Here is an extract from my config file:
    <JDBCConnectionPool CapacityIncrement="5" DriverName="weblogic.jdbc.mssqlserver4.Driver"
    LoginDelaySeconds="5" MaxCapacity="20" Name="mcp-ConnectionPool" Password="{3DES}A4GocdgagGc="
    Properties="user=JavaUser" Targets="myserver"
    Any help would be greatly appreciated,
    Koen

    Hi. This is very odd. Would you please try a simple standalone program,
    such as below? Tell me what it does in both environments.
    Joe
    import java.sql.*;
    import java.util.*;
    public class foo
    public Connection connection;
    public static void main(String args[])
    throws Exception
    Connection c = null;
    try
    Properties properties = new Properties();
    properties.put("user", "sa"); // change for your properties...
    properties.put("password", "");
    properties.put("server", "QA75");
    Class.forName("weblogic.jdbc.mssqlserver4.Driver").newInstance();
    c = DriverManager.getConnection("jdbc:weblogic:mssqlserver4", properties);
    System.out.println("got a connection.");
    catch(Exception exception1)
    exception1.printStackTrace();
    finally
    if (c != null)
    try { c.close(); } catch(Exception ex) {}
    Koen Van hamme wrote:
    Hi,
    I'm trying to create a connection pool in WebLogic Server 7.0 for MS SQL Server
    2000, but I always get the following error message:
    <Error> <JDBC> <001060> <Cannot startup connection pool "mcp-ConnectionPool
    " weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Login failed for user 'JavaUser'. Severity 14, State 1,
    Procedure 'null null'
    , Line 0 Unable to connect, please check your server's version and availability.
    at weblogic.jdbc.mssqlserver4.TdsStatement.microsoftLogin(TdsStatement.java:2823)
    at weblogic.jdbc.mssqlserver4.MicrosoftConnection.beginLogin(MicrosoftConnection.java:44)
    When I try to connect to the database with dbping, I get the following error:
    Error encountered:
    java.sql.SQLException: Login failed for user 'JavaUser'. Severity 14, State 1,
    Procedure 'null null'
    , Line 0 Unable to connect, please check your server's version and availability.
    I'm able to connect to the same database with WebLogic Server 6.0 (SP2) using
    the exact same settings. Does anyone have an idea of what is wrong here? Do I
    need an updated driver?
    Here is an extract from my config file:
    <JDBCConnectionPool CapacityIncrement="5" DriverName="weblogic.jdbc.mssqlserver4.Driver"
    LoginDelaySeconds="5" MaxCapacity="20" Name="mcp-ConnectionPool" Password="{3DES}A4GocdgagGc="
    Properties="user=JavaUser" Targets="myserver"
    Any help would be greatly appreciated,
    Koen

  • Siebel 8.1 and MS SQL Server 2000

    I am upgrading our Siebel 7.8 instance running on MS SQL Server 2000 to Siebel 8.1 and MS SQL Server 2008. My original intent was to upgrade the database first (so that we would be runing Siebel 7.8 on MS SQL Server 2008), and then upgrade the application to 8.1.
    I have been running into resource issues with regard to the SQL Server upgrade. My question is:
    Can Siebel 8.1.1 run on MS SQL Server 2000?
    Thanks.
    -- Ken

    Hi
    You can migrate your 7.8 to MSSQL 2008 as this is a supported platform.
    Usually in an upgrade you will upgrade your development db platform as a source of your 8.1 upgrade process.
    For information, a reference document is the Siebel System Requirements and Supported Platforms aka SRSP
    [SRSP 7.8|http://download.oracle.com/docs/cd/E11886_01/V7/CORE/SRSP_78/SRSP78.pdf]
    [SRSP 8.1| http://download.oracle.com/docs/cd/E11886_01/V8/CORE/SRSP_81/SRSP_81.pdf]
    Please refer to the online version as this document is frequently updated.
    Enjoy
    Evtloglvl

  • Oracle 8i and Ms SQL Server 2000

    Hi
    I have the problem that we need to install a Oracle 8i Application Server on a Microsoft
    Windows 2000 Server Sp4 whit have an Microsoft SQL Server 2000 Sp3 on it
    The installation runs well, but the Net8 Configuration don´t finish.
    Know anybody a solution for this?

    MSs Jdbc Driver still requires Jdbc-Odbc bridge.
    Just go thru the URL,
    http://www.weblogic.com/docs/techsupport/faq/jdbckona_m
    sqlserver.html#bridge
    Hope this helps.
    SudhaThanks for the URL, but I think this page does not refer to the beta-JDBC driver which MS has made available recently. For instance it says that Microsoft's driver is a type 2 driver, while in reality it is type 4.
    Misja

  • Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...
    Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
    select ''
    --or
    select 0
    --or
    select null
    Regards, RSingh

  • Eclipse jtDS and Sql Server 2000

    Hi everyone,
    i use eclipse 2.1 as ide and ms sql server 2000 as database server. But i couldnt connect mssql server with jtds.
    where shall i put the .jar with jtds comes? Which settings shall i do?
    Thanks a lot...

    There should be WEB-INF directory under each web application( project in eclipse).
    expand the project and expand WEB-INF directory, you will see lib directory.
    If lib directory does not exist,create one lib directory as it wll be automatically included in CLASSPATH on starting the ap server.
    then keep teh jtds jar file in the lib directory.
    Cheers
    Varma Dandu.

  • Migrating from SQL Server 2000 to Oracle 10g

    Hello,
    I am a newbie to Oracle 10g and haven't really worked with Oracle since 8i. I have been tasked to migrate all of our databases and tables to Oracle 10g. I need a little help getting started or pointed in the right direction on how to copy all that data from SQL Server to Oracle 10g. I know that Oracle has an Import/Export Utility, but don't know if it can do what I need. Can some one help point me in the direction I need?
    Thanks, Marion

    Ayub
    You need to download both the Oracle Migration Workbench core tool and the SQL Server 2000 plugin (SQLserver2k.jar). You copy the plugin into the plugin directory, after you unzip the Oracle Migration workbench main.
    The tool comes with release notes and a user guide, that explains the necessary setup and migration process.
    Donal

  • Connecting JDBC to MS SQL Server 2000

    I need help!
    I just download a type 4 jdbc driver for MS SQL Server 2000, but i try the help files. i don't really understand how to connect. there is hostname, port but if i want to connect to the northwind database and query from customers table, how can i do that?
    i currently using jdk1.4 and ms sql server 2000 enterprise edition. hope someone can show me a code sample on that..thank you.
    please send to my email please... [email protected]

    which driver r u using ?
    Basically the syntax is like below: (with M$ djdbc driver for example).
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    Connection con =
    DriverManager.getConnection("jdbc:microsoft:sqlserver://host:1433;DatabaseNa
    me=dbname","user","password");
    Foe the others, please read the documentation for the driver.

  • JDBC and MS SQL Server support

    Hi everyone,
    I'm using JDBC to access a MS SQL Server DB. To be more precise, I tried both the MS JDBC SQL Server driver as well as jTDS. Here's the question:
    I'm using scrolling and committable cursors. My application could definetely make good use of full detection of inserted, updated and deleted rows - that is, I would like to use
    ResultSet.rowInserted()
    ResultSet.rowUpdated()
    ResultSet.rowDeleted()
    to automatically detect each row's status. The problem is the following:
    DatabaseMetaData.insertsAreDetected() returns false
    DatabaseMetaData.updatesAreDetected() returns false
    DatabaseMetaData.deletesAreDetected() returns true
    i.e. I can only detect deletes using either of the two above mentioned drivers.
    Of course, I could construct an enhanced ResultSet class mimicking the behaviour I want, but I'd rather not.
    The question is: Does anyone know a JDBC MS SQL Server driver supporting automatic insert, update AND delete detection?
    If so, please give me a pointer.
    TIA,
    Carsten

    I am in serious problem.
    Jdbc doesnot support database connections without DSN.
    Oracle and MS SQL Server 2000 both provides ADO for
    connecting with their databases without DSN. But Java
    doesnot support ADO.
    Can anyone help me out?
    I never use a DSN when connecting to Oracle. Nor is ADO used.
    But then I do use the drivers that Oracle supplies.
    And there are a number of MS SQL Server drivers, and they don't use DSN nor do they use ADO.

Maybe you are looking for

  • At-mio-16xe-50 does not work with labview

    I am putting together another system. I set the daq board with the values recorded from the first system using ni-daq. The setup passes the test in ni-daq. I get the correct readings using ni-daq, but when I go to my labview application I do not get

  • How to re-install ovi map in C7

    Hi, I have just bought me a C7 nokia phone. I tried to update the voice map application from ovi store and then I can not see the maps on the phone. When I connect C7 to my PC and check the map by Nokia Ovi Suite, it said that the map is either corru

  • Cfml preloader, is it possible? please assist

    Hello; I have a page on a site that is mostly images. One big image cut up in pieces with a couple of cfwindows going in them. I want to preload the page before it appears because it looks terrible when it is loading up. Is it possible to use a pre-l

  • How to use ReportQuery to query against two types of objects?

    I have two loosely related classes Account and AccountState. They are not mapped to each other, have no inheritance or other relationships, but they both have account_id as their key attribute. I would like to build a ReportQuery to return selective

  • User Define Floor Plan !! is it possible ?

    As we are using FPM_OIF_COMPONENT, which has defined layout. We want this layout to be modified upto some extent as per requirement. Can we create our own component like ZFPM_OIF_COMPOENT and use our further development based on format we define in t