DB2 Datasource Connection problems

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default DB2 Datasource Connection problems

    I have been using DB2 for a number of years by installing the DB2 v7 client on
    the CF server, and creating a datasource via an ODBC socket. This works ok,
    but the ODBC drivers are flaky and the CF ODBC server hangs up ALOT. Since I
    paid $6K for the enterprise version of CF I thought I would give the DB2 Native
    drivers a shot, since I never have problems with the SQL server drivers.
    Every time I try to creat a DSN through CF, I get the error:
    "Connection verification failed for data source: db2
    java.sql.SQLException: The databaseName connection property is not valid when
    connecting to Host Operating Systems.
    The root cause was that: java.sql.SQLException: The databaseName connection
    property is not valid when connecting to Host Operating Systems"

    I add the DatabaseName=xxx in the Connection String box or leave it blank,
    still same error. What is the difference between the "database" and the
    connectionstring "DatabaseName" parameters??

    Has anyone else successfully connected to an IBM mainframe with DB2 using the
    Native drivers? If so, how??
    Thanks. Dan

    Dmadzia Guest

  2. Similar Questions and Discussions

    1. Datasource connection with XP Home?
      I get an error in ColdFusion administrator for any database that I try to set-up. I have XP Home edition, so am using the CF server as the only web...
    2. Datasource connection problem
      I'm running MS SQL 2000, Coldfusion MX7 on Windows 2003 SP1. I'm getting the following error when I try to create a datasource in the Coldfusion...
    3. Datasource Problems - Can't Set Up Connection to SQLServer
      Greetings: windows xp home edition coldfusion mx 7 - development version sql server 2000 - development version I am trying to establish a...
    4. MySQL datasource connection trouble
      I am really new to ColdFusion and I may be missing something pretty simple. However, I looked through the online macromedia documentation and found...
    5. CFMX and MySQL Datasource Connection Error
      Summary: Unable to create datasource for MySQL database successfully. I have followed the steps for...
  3. #2

    Default Re: DB2 Datasource Connection problems

    So no one uses DB2 with Native drivers??
    Dmadzia Guest

  4. #3

    Default Re: DB2 Datasource Connection problems

    Hi Dan,
    What version of CFMX are you using? What flavor of DB2? Please give version
    and OS it is installed to. DB2 varies alot from UDB on windows to Mainframe
    MVS. The settings vary also.

    Regardless, you should start by making sure you have the latest macromedia 3.5
    drivers at [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=42dcb10a[/url]

    ksmith Guest

  5. #4

    Default Re: DB2 Datasource Connection problems

    Thanks. I will load the new drivers.

    We have an MVS mainframe with OS390 which is now zOS. DB2 is version 7.

    I did figure out that I have to use LocationName instead of DatabaseName.
    I now get an error about something not enabled on the Mainframe (sorry, I
    don't have the error in fron of me right now. I gave it to my mainframe guys.)
    They have Java 2 SDK 1.3.1 installed on the IBM, but it is not enabled. They
    will try to enable it and then hopefully I can connect.

    Thanks..Dan

    Dmadzia Guest

  6. #5

    Default Re: DB2 Datasource Connection problems

    I forgot to answer that I have CFMX 7.01 Enterprise installed on a Windows 2003 server.

    Dan
    Dmadzia Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139