Reposted: driver odbc

i found an error when try to run the web application, the error appear
like this :
Cannot load JDBC driver class 'org.apache.derby.jdbc.ClientDriver
java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver
i've already add the driver, connection and view the data in visual designer (succeded) using travel database. in my opinion, it is likely that i'm not add the class driver to ide yet.
where i must put that driver class in ide? is it the driver class automatically load and added when i'm set the driver and connection before ? or there are couples step that i pass....
thanks a lot for the answers...

darma,
Just the basic facts. (Can you show me where it hurts?)
1. Which IDE are you using.
2. Which Application Server are you using?
3. Is derby.jar (or whatever) in your classpath, and does your IDE &/or AppSvr look there?
... and you might read http://www.catb.org/~esr/faqs/smart-questions.html before posting again.
keith.

Similar Messages

  • DRIVER ODBC - ACCESS ERROR "WRITE CONFLICT" on numeric format

    Hello
    We have an Oracle (Oracle 10g) table with a NUMBER(15,2) column
    We try to update it with Access 97 (we use the oracle odbc driver 10.2.0.1) and for some records it works, and for other we have the "write conflict" error.
    See the example below :
    SQL> desc test_number
    Name Null? Type
    CLE_X NOT NULL VARCHAR2(5)
    NUM_01 NUMBER(15,2)
    TXT_COMMENT VARCHAR2(30)
    SQL>
    insert into test_number values ('VAL1', 123.45, 'Ligne OK');
    insert into test_number values ('VAL2', 3456.78, 'Ligne OK');
    insert into test_number values ('VAL3', 1345.37, 'Ligne NOT OK');
    insert into test_number values ('VAL4', 1345.38, 'Ligne OK');
    commit;
    => The update with Access does not work with the 3rd record (1345.37) but there is no issue with the other records.
    Could you please help ? Is it due to the driver ?
    Remark : the problem does not appear with the Microsoft odbc driver.
    Thanks

    I don't know the internals of ODBC, but I'm having this problem only with the Microsoft driver. I neither had it with PostgreSQL, SQL Anywhere or FreeTDS.
    The unixODBC documentation is not very well maintained or consistent. Once it's written that data sources are read from ODBCINI + /.odbc.ini, at another part it says ODBCINI itself must by a full path to a file. http://www.unixodbc.org/internals.html doesn't
    give much more details. And actually, having a full path in ODBCINI does work (as soon as this file is writable), whereas specifying only the directory does not.
    It seems drivers are doing part of the job on its own and therefor they behave differently?

  • Oracle Lite 5.0.2 Driver ODBC

    Hi!
    I'm Trying to install the driver "Oracle Lite 40 ODBC Driver" that come in Oracle Lite 5.0.2, in a PC with Windows 2000 Professional with oracle 9i,without install all the Oracle Lite Package.
    The procedure is:
    Copy to a folder in the "PATH" of the machine the next files:
    olite40.msb
    oljdbc40.dll
    olobj40.dll
    olod2040.dll
    olsql40.dll
    olad2040.dll
    I give the next entry in the registry:
    KEY: HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\Oracle Lite 40
    ODBC Driver
    VALUE: 32Bit = 1
    VALUE: APILevel = 0
    VALUE: ConnectFunctions = YYN
    VALUE: Driver = path to olod2040.dll
    VALUE: DriverODBCVer = 02.00
    VALUE: SQLLevel = 0
    VALUE: Setup = path to olad2040.dll
    KEY: HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\ODBC DRIVERS
    VALUE: Oracle Lite 40 ODBC Driver = Installed
    I make the ini:
    [All Databases]
    NLS_LANGUAGE = ENGLISH
    NLS_LOCALE = ENGLISH
    DBCharEncoding = Native
    DataDirectory = Directorio para crear la bd
    The driver appear in the ODBC Administrator, however in the moment that i try to call the driver, an error appear, and say That the driver is not working properly, because the setup fail and i must reinstall the setup.
    Somebody know if i need another dll or other step in my instalation process??

    You used different APIs I presume.
    On WinCE/PPC, you use the ADOCE interface which offers transaction management.
    On WinCE, you use Microsoft ADO I and ODBC Data Provider interface. This does not offer the same transactional semantics.

  • ODBC 8 Driver & ODBC 7.3 Driver

    I am using Oracle 8 but one of my customers is using Oracle 7.3. Connection to the database is made through ODBC. The 7.3 customer is encountering problems that I am not. Most of these problems seem to be with integer fields not getting any data in a record set (instead contain Null) but if I run the same query in the Enterprise Manager I do get data from the field. I also get data when I run the application using Oracle 8.
    Does anybody know where I can find information about changes made to the drivers? Or has anybody else encountered this problem and if so, how was it fixed?
    null

    Can you clarify whether you're talking about Oracle 8 vs. Oracle 7 clients or servers? Are you saying
    Oracle 8 client vs Oracle 8 database works
    Oracle 8 client vs Oracle 7 database fails
    OR
    Oracle 8 client vs Oracle 8 database works
    Oracle 7 client vs Oracle 8 database fails
    Justin Cave
    ODBC Development

  • [ODBC Microsoft Access Driver] Syntax error (missing operator)

    Aello' - as you can see in my database table their are two
    records to delete based on the HISTORY_ID of 1. This was working
    just fine when I was using a MS SQL Server database but when I
    switched to the MS Access database I get this error now.
    Is their a syntax difference?

    mikeap wrote:
    > Attached code. Clearly their are records to delete, what
    am I missing?
    >
    > Using MS Access database.
    >
    > [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft
    > Access Driver] Syntax error (missing operator) in query
    expression
    > 'R_PROJECT_MEDIA WHERE Media_ID IN (1)'.
    >
    > <cfquery datasource="tbar">
    > DELETE R_HISTORY_MEDIA
    > WHERE History_ID IN (#FORM.pHistory#)
    > </cfquery>
    DELETE
    FROM R_HISTORY_MEDIA
    WHERE History_ID IN (#FORM.pHistory#)
    Jochem
    Jochem van Dieten
    Adobe Community Expert for ColdFusion

  • Specifying Partner Failover in odbc.ini for Linux ODBC driver for SQL Server

    Hi,
    We are trying to specify the partner failover when making connections via Linux ODBC driver for SQL Server. Do you know a way to specify partner failover in the DSN entry in odbc.ini? 
    We are using Linux ODBC driver for SQL Server and unixODBC DriverManager.
    Our DSN is:
    [MyDSN]
    Driver=ODBC Driver 11 for SQL Server
    Description=MyDSN
    Server=MySERVER,<port>
    I also tried to use the following connection string in Python (via pyodbc) bypassing the DSN and connecting using the server name.
    cnxn = pyodbc.connect("Server=server1,<port>;UID=sa;PWD=<pwd>;Driver=ODBC Driver 11 for SQL Server;Failover_Partner=Server2,<port2>;Database=MyDB")
    If the standby DB is on server1 connection fails. It doesn't try server2. If the DB is principal on server1 connection succeeds.
    Thank you,
     Liviu
    LLL

    Hello,
    Did you use ODBC Driver for SQL Server to connect to database that uses database mirroring?
    According to
    the BOL,it does not list "Failover_Partner" as ODBC Driver for Linux connection string keywords.
    But ODBC driver for Linux supports
    AlwaysOn Availability Groups or Failover Cluster Instance by specify MultiSubnetFailover=True when connecting to a SQL Server 2012 availability group listener or SQL Server 2012 Failover Cluster Instance.
    The following case is about similar issue and it seems that ODBC Driver on Linux does not recognize Failover_Partner in connection string. (Not test myself).You can refer to:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/6a8b5223-066d-4493-84a3-b5374a32e433/native-client-on-linux-does-not-recognize-failoverpartner-in-connection-string?forum=sqldataaccess
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Probs with Oracle ODBC 8.1.6 Driver

    I can bind to Number Buffers and SQLDateTime Structures with the Microsoft Driver, However, I get Garbage for these when I use Oracle 8.1.6. Is this Driver ODBC 3.0 Compliant ?
    Tix

    All the 8.1.6 ODBC drivers are ODBC 3.51 compliant.
    Have youdownloaded the latest version of the 8.1.6 driver from OTN? If you're still experiencing problems, could you post a code snippet?
    Justin

  • ODBC Driver Disappear

    Hi,
    i am using Oracle 10 lite database in my test server and also using Oracle Lite 40 ODBC Driver and Oracle Lite 40 ODBC Driver(Client) in Another Test Server for accesing the Lite Database
    the problem is while creating the DSN
    Step i followed for creating the DSN
    i entered into ODBC data source Administrator Wizard for creating the DSN
    i select SYSTEM DSN and click Add
    It show list of Drivers i Choose Oracle Lite 40 ODBC Driver and doublei Click on that driver ODBC data source Administrator Wizard is disappeared only this drivers are not working properly (Oracle Lite 40 ODBC Driver and Oracle Lite 40 ODBC Driver(Client)) version of the driver is 10.03.00.02
    Any Device on this
    Thanks
    SHAN

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Justin Cave ([email protected]):
    What version of the database do you have on the back end?
    Justin<HR></BLOCKQUOTE>
    Oracle8i version 8.1.6. Looking at the specs that come with the ODBC driver upgrades, version 8.1.7.3.0 [which requires Oracle*i version 8.1.7] and 8.1.6.4, it seems that similar enhancements/fixes were made to both. I honestly do not know if what I am attempting is possible with either of the ODBC drivers. I really would prefer not to have to drop down to programming using OCI.
    Chris
    null

  • Import odbc driver?

    hello.
    i'm working on a script that was developed in jdeveloper first. it connects to an oracle db (9i) with oracles db driver:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Don't really know what Class.forName() is, but how can i change this driver? from within eclipse this does not work! how can i use another driver, odbc driver e.g.?
    thanks for help!
    j0sh

    You must be referring to something besides the'import' keywork in java - right?
    No, I'm referring to the Java import statement.
    AFAIK, you use the import keyword so you don't have to
    type out the fully-resolved class name in your Java
    source file.
    It makes no sense to me to try and "import" anything
    other than a Java class. Why would somebody be trying
    to import an ODBC driver that might be written in C or
    C++ into a Java source file?
    How are you understanding it? - MOD
    Oh, now I see what you are talking about. I thought you were saying that one could only import the Java API classes where you were actually distinguishing between an "ODBC driver" (nothing to to with java) and the "odbc-jdbc bridge" which is a JDBC driver.

  • Problem with oracle rdb + vb6 + new odbc driver 3.x

    dear all
    i have a problem with the new odbc-driver 3.x for oracle rdb and vb6
    connection to the database and the query are ok, there are not errors,
    but the resultset is not right, because the fieldnames are allways called coloum1, coloum2,... anstead of the original fieldnames.
    further the values of the fields are wrong, there allways appears onle the first sign of then value the should be (result "A" instead of "Andy",... )
    thanks for help

    my platform is: Windows 2003 server R2 Enterprise x64 Edition Service Pack 2
    My application run to 32 bit
    the ODBC Data Source Administrator run from C:\Windows\system32\odbcad32.exe
    If I double-click on C:\Windows\system32\odbcad32.exe I can see only "Oracle in OraDb10g_home"
    In C:\Windows\SysWOW64\odbcad32.exe
    If I double-click on C:\Windows\SysWOW64\odbcad32.exe and "select a driver for which I want to setup a datasource" I can see many driver ODBC and if I try to add the "Oracle ODBC for Oracle" I get this error:
    The setup routines for the "Oracle ODBC for Oracle" ODBC driver could not be load due the system error code 193.
    Could not load the setup or translator library.
    Have someone any idea??

  • JDBC-ODBC Bridge to SPSS data files - Result Set Type is not supported

    Hello,
    As mentioned in the subject I am trying to read SPSS data files using the SPSS 32-Bit data driver, ODBC and the JDBC-ODBC Bridge.
    Using this SPSS Driver I manged to read the data directly into an MS-SQL Server using:
    SELECT [...] FROM
    OPENROWSET(''MSDASQL.1'',''DRIVER={SPSS 32-BIT Data Driver (*.sav)};DBQ=' SomePathWhereTheFilesAre';SERVER=NotTheServer'', ''SELECT 'SomeSPSSColumn' FROM "'SomeSPSSFileNameWithoutExt'"'') AS a
    This works fine!
    Using Access and an ODBC System DNS works for IMPORTING but NOT for LINKING.
    It is even possible to read the data using the very slow SPSS API.
    However, when it comes to JDBC-ODBC the below code does only work in part. The driver is loaded successfully, but when it comes to transferring data into the resultset object the error
    SQLState: null
    Result Set Type is not supported
    Vendor: 0
    occurs.
    The official answer from SPSS is to use .Net or to use their implementation with Python in their new version 14.0. But this is obviously not an option when you want to use only Java.
    Does anybody have experience with SPSS and JDBC-ODBC??? I have tried the possible ResultSet Types, which I took from:
    http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/ad/rjvdsprp.htm
    and none of them worked.
    Thank you in advance for your ideas and input & stay happy!
    Here the code without all the rest of the class arround it:
    // Module:  SimpleSelect.java
    // Description: Test program for ODBC API interface.  This java application
    // will connect to a JDBC driver, issue a select statement
    // and display all result columns and rows
    // Product: JDBC to ODBC Bridge
    // Author:  Karl Moss
    // Date:  February, 1996
    // Copyright: 1990-1996 INTERSOLV, Inc.
    // This software contains confidential and proprietary
    // information of INTERSOLV, Inc.
    public static void main1() {
      String url   = "jdbc:odbc:SomeSystemDNS";
      String query = "SELECT SomeSPSSColumn FROM 'SomeSPSSFileName'";
      try {
        // Load the jdbc-odbc bridge driver
        Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
        DriverManager.setLogStream(System.out);
        // Attempt to connect to a driver.  Each one
        // of the registered drivers will be loaded until
        // one is found that can process this URL
        Connection con = DriverManager.getConnection (url);
        // If we were unable to connect, an exception
        // would have been thrown.  So, if we get here,
        // we are successfully connected to the URL
        // Check for, and display and warnings generated
        // by the connect.
        checkForWarning (con.getWarnings ());
        // Get the DatabaseMetaData object and display
        // some information about the connection
        DatabaseMetaData dma = con.getMetaData ();
        System.out.println("\nConnected to " + dma.getURL());
        System.out.println("Driver       " +
          dma.getDriverName());
        System.out.println("Version      " +
          dma.getDriverVersion());
        System.out.println("");
        // Create a Statement object so we can submit
        // SQL statements to the driver
        Statement stmt = con.createStatement(ResultSet.TYPE_FORWARD_ONLY ,ResultSet.CONCUR_READ_ONLY);
        // Submit a query, creating a ResultSet object
        ResultSet rs = stmt.executeQuery (query);
        // Display all columns and rows from the result set
        dispResultSet (rs);
        // Close the result set
        rs.close();
        // Close the statement
        stmt.close();
        // Close the connection
        con.close();
      }

    Thank you for your reply StuDerby!
    Actually the above script was before, as you suggested, leaving the ResultSetTeype default. This did not work...
    I am getting gray hair with SPSS - in terms of connectivity and "integratebility" none of their solutions offered is sufficient from my point of view.
    Variable definitions can only be read by the slow API, data can only be read by Python or Microsoft Products... and if you want to combine both you are in big trouble. I can only assume that this is a company strategy to sell their Dimensions Platform to companies versus having companies developping their applications according to business needs.
    Thanks again for any furthur suggestions and I hope, that some SPSS Developper will see this post!
    Cheers!!

  • ColdFusion 9 ODBC Connection Issue

    I have a 64 bit ODBC (OpenEdge/Progress) driver installed and it works fine in other applications but when I try to register the DSN in ColdFusion it gives me the error listed below.  I've tried to research this error and everything I found and tried has not worked.  Any ideas on what the issue is or how to resolve it?
    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error: The specified DSN contains an architecture mismatch between the Driver and Application
    The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error: The specified DSN contains an architecture mismatch between the Driver and Application

    Never seen the error before, but an "architecture mismatch" would imply you're trying to use a 64-bit driver with 32-bit ColdFusion.
    What's the setup of the server?
    O.

  • Connecting to Oracle 10.1.0.2.0 using ODBC Drivers

    Hi
    To narrate the problem:
    I have installed the Oracle 10.1.0.2.0 version on Win XP platform, have created
    one oracle home and sid.
    I aslo installed IIS, I have MS IE version 6.0.........have created a virtual directory
    pointing to my oracle database : C:\oracle\product\........\mydatabase
    Also I created a system dsn using Microsoft Oracle ODBC Driver (ODBC Data Connectivity) pointing to the same database.
    When I use the dsn in an ASP page, I get an error on the same line where I have
    used this dsn.
    Wheres the problem.........is it driver incompatibilty........what the solutn for this

    Hi
    To narrate the problem:
    I have installed the Oracle 10.1.0.2.0 version on Win XP platform, have created
    one oracle home and sid.
    I aslo installed IIS, I have MS IE version 6.0.........have created a virtual directory
    pointing to my oracle database : C:\oracle\product\........\mydatabase
    Also I created a system dsn using Microsoft Oracle ODBC Driver (ODBC Data Connectivity) pointing to the same database.
    When I use the dsn in an ASP page, I get an error on the same line where I have
    used this dsn.
    Wheres the problem.........is it driver incompatibilty........what the solutn for this

  • Accessing ODBC Database through CF and Dreamweaver

    Ok, so I have a db connection set up under the ODBC administrator.  It is using Oracle 8 or 9 (can't remember) but it is what I use so that I can connect to it through my company's Accounting Software.  I want to query it using Dreamweaver and make a CF page of the query.
    Here's what I've done:
    In CF Admin, I created the datasource, chose ODBC, chose the Server name and username and pw and it connected successfully.
    Went into Dreamweaver, added the datasource and Tested Connection--it connected successfully.  I can even expand the Tables tree and see the tables.
    Now, when I create a query in a new CF document, I get an error when the query runs (like if I'm editing the Record Set and I click Test, it gives me an error).
    Here is the error:
    MM_ERROR:-1:[Macromedia][SequeLink JDBC Driver][ODBC Socket][Oracle][ODBC][Ora]ORA-00942: table or view does not exist
          java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Oracle][ODBC][Ora]ORA-00942: table or view does not exist
          at macromedia.sequelink.ssp.Diagnostic.toSQLException(Unknown Source)
          at macromedia.sequelink.ssp.Chain.cnvDiagnostics(Unknown Source)
          at macromedia.sequelink.ssp.Chain.decodeDiagnostic(Unknown Source)
          at macromedia.sequelink.ssp.Chain.decodeBody(Unknown Source)
          at macromedia.sequelink.ssp.Chain.decode(Unknown Source)
          at macromedia.sequelink.ssp.Chain.send(Unknown Source)
          at macromedia.sequelink.ctxt.stmt.StatementContext.execDirect(Unknown Source)
          at macromedia.jdbc.sequelink.SequeLinkImplStatement.execute(Unknown Source)
          at macromedia.jdbc.slbase.BaseStatement.commonExecute(Unknown Source)
          at macromedia.jdbc.slbase.BaseStatement.executeQueryInternal(Unknown Source)
          at macromedia.jdbc.slbase.BaseStatement.executeQuery(Unknown Source)
          at coldfusion.server.j2ee.sql.JRunStatement.executeQuery(JRunStatement.java:132)
          at coldfusion.rds.DbFuncsServlet$DbSqlStatementOperator.processCmd(DbFuncsServlet.java:453)
          at coldfusion.rds.DbFuncsServlet.processCmd(DbFuncsServlet.java:77)
          at coldfusion.rds.RdsServlet.doPost(RdsServlet.java:80)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at coldfusion.rds.RdsFrontEndServlet.doPost(RdsFrontEndServlet.java:104)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
          at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
          at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
          at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
          at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
          at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
          at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
          at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
          at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
          at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    Here is the CFM page code:
    <cfquery name="qGetTB" datasource="khamp">
    SELECT ALL
    KHAMELEON.GL_DETAIL.BATCH_NO,
    KHAMELEON.GL_DETAIL.ACCOUNT,
    KHAMELEON.GL_DETAIL.TRX_DES1,
    KHAMELEON.GL_DETAIL.AMOUNT,
    KHAMELEON.GL_DETAIL.BK2_AMT,
    KHAMELEON.GL_ENTITY_MASTER.ENTITY,
    KHAMELEON.GL_DETAIL.SOURCE,
    KHAMELEON.GL_DETAIL.FYEAR,
    KHAMELEON.GL_DETAIL.PERIOD,
    KHAMELEON.GL_DETAIL.TRX_DES2,
    KHAMELEON.GL_DETAIL.ACCTG_DATE,
    KHAMELEON.GL_ACCOUNT.DES1
    FROM KHAMELEON.GL_DETAIL,
    KHAMELEON.GL_ACCOUNT,
    KHAMELEON.GL_ENTITY_MASTER
    WHERE (KHAMELEON.GL_DETAIL.FYEAR='2009' AND KHAMELEON.GL_DETAIL.PERIOD BETWEEN '01' AND '06')
    AND KHAMELEON.GL_DETAIL.ACCOUNT='60700'
    AND ((KHAMELEON.GL_ACCOUNT.ACCOUNT=KHAMELEON.GL_DETAIL.ACCOUNT)
    AND (KHAMELEON.GL_ENTITY_MASTER.ENTITY=KHAMELEON.GL_DETAIL.SUB_ENTITY))
    ORDER BY KHAMELEON.GL_DETAIL.ACCOUNT ASC,
    KHAMELEON.GL_DETAIL.TRX_DES1 ASC
    </cfquery>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Ventyx Financial Reports</title>
    </head>
    <body>
    <table border="1">
      <tr>
        <td>ACCOUNT</td>
        <td>DES1</td>
        <td>ENTITY</td>
        <td>AMOUNT</td>
      </tr>
      <cfoutput query="qGetTB">
        <tr>
          <td>#qGetTB.KHAMELEON.GL_DETAIL.BATCH_NO#</td>
          <td>#qGetTB.KHAMELEON.GL_DETAIL.ACCOUNT#</td>
          <td>#qGetTB.KHAMELEON.GL_DETAIL.TRX_DES1#</td>
          <td>#qGetTB.KHAMELEON.GL_DETAIL.AMOUNT#</td>
        </tr>
      </cfoutput>
    </table>
    </body>
    </html>
    Do you know what is going wrong?  Also, when I edit the recordset, there is a place for username and pw but if I entere it there, it shows up plaintext in the cfm code which doesn't sound like a good idea.  Do I have to enter it there?  Even if I do, I still get the error.

    Yes, if you use the Oracle driver, you can create the Oracle dataconnection directly in ColdFusion by providing it the SID, Server, Port, Username and Password for the oracle database to which you are trying to connect.
    Using this dirver means you don't need to set up any ODBC or Oracle Listner clients on the maching for ColdFusion.  Other software that maybe using those connections is a different matter of course.
    ODBC is a ODBC to JDBC bridge that allows ColdFusion to connect to any ODBC connectors you have set up on the Microsoft ODBC pannel.
    But you do need a function Data Source configured in the ColdFusion administrator, whether it be an Oracle, ODBC, or "Other" JDBC driver.

  • 64-bit ColdFusion 9 ODBC drivers confusion? (architecture mismatch)

    Hi all - I'm having problems setting up ColdFusion ODBC sources in a pure 64-bit environment. Server specs:
    Windows 2008 R2 (64-bit)
    ColdFusion 9.01 (251028) Enterprise, 64-bit
    I have 64-bit ODBC drivers for all of my database sources:
    64-bit SQL Server (bundled with Windows 2008 R2)
    64-bit MS Access 2010 (with 64-bit Access ODBC driver from Office 2010 64-bit install)
    64-bit ODBC drivers for Sybase SQL Anywhere 11 (from SyBase)
    Using the (64-bit) ODBC Administrator, I can create system DSNs and they test out perfectly. (From my test Access database, I can use these DSNs to pull data from SQL Server and from SQL Anywhere.) Since this is working, I'm pretty confident that my drivers are all 64-bit and that everything is happy.
    Now for ColdFusion...
    When I try to create a new data source in the ColdFusion Administrator and I use, the "ODBC Socket" option, I am presented with a drop-down list of my 64-bit ODBC system DSNs (good!), but whenever I select one and save, I invariably get an "architecture mismatch" error like below:
    Connection verification failed for data source: MSSQLtestDatabase
    java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC  Socket]internal error: The specified DSN contains an architecture mismatch  between the Driver and Application
    The root cause was that:  java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal  error: The specified DSN contains an architecture mismatch between the Driver  and Application
    I am well aware that "architecture mismatch" errors mean that you're trying to mix 32-bit drivers with a 64-bit application (or vice-versa), but I'm pretty sure that everything in my environment is 64-bit.
    As a further test, I created a few 32-bit ODBC system DSNs and the ColdFusion Administrator does not present them as options in the drop-down list of ODBC DSNs (good!). So, it seems like the Administrator is smart enough to show only the 64-bit DSNs, but whenever you try to connect to one, it gets confused and kicks up an "architecture mismatch" error.
    So is there any obvious configuration error here? Is there a 32-bit subcomponent to ColdFusion (JDBC, etc.) that's confusing things? (I ran the ColdFusion_9_WWE_win64.exe setup downloaded from Adobe's site.) Is 64-bit ColdFusion ready for prime time? Any suggestions would be greatly appreciated. Thanks, Joe

    OK, just did a little Googling for you about this, Josie (and others). There seem to be a few alternative solutions, each with pros and cons.
    The easiest, though, may be to simply use the 32-bit (instead of default 64bit) ODBC control panel, and then again use the MS Access driver in the CF Admin (not the ODBC socket one) to point to that. This is discussed here:
    http://www.cfexecute.com/post/access-dsns-in-64bit-coldfusion
    There's also a little more that may help at the bottom of this:
    http://www.zidsoft.com/x64.html
    MS also covers the topic here:
    http://msdn.microsoft.com/en-us/library/ms712362%28VS.85%29.aspx
    Other CF-specific solutions include:
    - run CF instead in 32-bit mode (even on the 64-bit machine). See discussion at http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:60467
    - if you have 2 boxes available, you could run CF in 32-bit mode on one box (just for providing access to the 32-bit Access driver), then "proxy" the DSN setup from the 64-bit CF machine to access the DSN on the 32-bit machine (See http://www.coldfusionmuse.com/index.cfm/2009/4/7/MS.Access.Proxy)
    - get an alternative jdbc driver for Access (HXTT), mentioned in the threads above
    - did you happen to try the "microsoft access with Unicode" driver option in the CFAdmin? That is quite different from the one that is not "with Unicode", so worth a try if nothing else works for you.
    Let us know if any of these suit you.
    Also, I appreciate the annoyance of those who would think this should "just work" without workarounds. I think I have clarification there.
    First, the CF9 System Requirements page is unclear on this. While its systems support matrix lists 32 and 64 but windows (among others), those don't list what DBs are supported on each. Instead, there's a database support matrix at the bottom, which does indicate that Access is supported, but it doesn't break it down per OS, let alone bit-level of each OS.
    But I just found a clarificaiton in a devnet article (by an Adobe engineer) that does seem to put the nail in the coffin:
    "Most of the functionality and features of ColdFusion run just fine on 64-bit platforms, however, certain features like ColdFusion COM interoperability, ColdFusion Delphi interoperability, and Microsoft Access database connectivity do not work on a ColdFusion 64-bit platform. A few other features, such as ColdFusion .NET integration services and database drivers currently run in 32-bit mode." (http://www.adobe.com/devnet/coldfusion/articles/64_bit_print.html)
    I think most haven't noticed this or made much of it simply because Access has been eschewed by so many for so long.
    /charlie
    Providing CF troubleshooting services at carehart.org/consulting
    [email protected]

Maybe you are looking for

  • Dunning letters in one file for print

    Hi, Dunning letter is generated individually per customer in the spool. Is it possible to get a single file for all the customers' dunning lettter. For ex. If we run for 100 customers I need a single spool with 100 pages instead of 100 letters. Kindl

  • Pdf form conditional checkboxes

    Hi. I'm building a pdf form in Acrobat 8 Professional. I want to add JavaScript to 3 checkboxes to achieve the following: if checkbox 1 or 2 is checked, uncheck checkbox 3; and if checkbox 3 is checked uncheck both 1 and 2. It seems straightforward,

  • Mac OSX 10.7.4 not recognising file types.

    .dmg files are coming up as a plain "document". I have changed the "open with" to diskimagemounter and clicked change all. This works until the computer is restarted, then reverting back to unkown file type or document. Any suggestions? Thanks.

  • IPad 1 battery issues, NOT rleated to iOS 5.0.1

    OK, here's the deal: I did the update to 5.0.1 and battery life had been fine.  Just rcently I learned that I was supposed to periodically drain my battery all the way down and charge to full to keep it "in shape."  Well, I did that and now my batter

  • Level Based metrics

    Dear all , can any one explaine me what is the level based metrics in OBIEE. Thanks