CFMX7 and Oracle 10G

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

  1. #1

    Default CFMX7 and Oracle 10G

    Hi,
    I am testing my CF MX7 apps which are currently running atop Oracle 8i and
    migrating them to 10g. I am unable to establish any
    connection at all and not finding much in the way of documentation. Currently
    setup with ODBC socket but would like to change to Oracle JDBC on the new
    instance. I have included a sample application.cfm and basic stored procedure
    call. Any help appreciated.

    1. Application.cfm:
    <cfapplication name="LipidRegistry" clientmanagement="Yes"
    sessionmanagement="Yes"
    sessiontimeout="#CreateTimeSpan(0,1,30,0)#"
    applicationtimeout="#CreateTimeSpan(1,0,0,0)#"
    clientstorage="Cookie">

    <cfparam name="request.MainDSN" default="VMTEST">
    <cfparam name="request.DBType" default="ORACLE80"> <!-- I think this is where
    the problem lies-->
    <cfparam name="request.Debug" default="yes">
    <cfparam name="request.Package" default="irausr.pkg_crrc">

    2. Basic stored procedure call:

    <cfstoredproc procedure="#request.Package#.proc_set_risk"
    datasource="#request.MainDSN#"
    username="#session.login#"
    password="#session.password#"
    dbtype="#request.DBType#"
    debug="#request.Debug#">

    <cfprocparam type="In"
    cfsqltype="CF_SQL_VARCHAR"
    variable="patient_mrn"
    value="#attributes.v_patient_mrn#"
    null="No">

    CKinnier Guest

  2. Similar Questions and Discussions

    1. Automate CFMX7 Admin similar to silent CFMX7 Installer
      I've successfully used an installation configuration file to automate the Cold Fusion MX7 software installation. I saw the discussion about how...
    2. After update CFMX7 to CFMX7.01 System load has increasedfor 10-15 %
      We are use Linux RHE 4 planform, MySQL database and after we update our CFMX7 to CFMX7.01System load and CPU load has increased for 10-15 % Why?...
    3. cfmx7 and Oracle 10g RAC
      We have MX7 with the latest datadirect drivers (3.4) and 10g JDBC Thin Client from Oracle installed. We want to setup a datasource to connect to the...
    4. CFMX7 Ent + Oracle w/ENCRYP + DataDirect
      Hi everyone! I would like to know if CFMX7 Enterprise's DataDirect drivers support Oracle encryption? We've been using Oracle's thin client so...
    5. Windows 2000 CFMX7 /CFIDE/administrator quit working (ittimes out) What is the real fix short of restarting CFMX7?
      I upgraded from ColdFusion 5 to ColdFusion MX 7 standard edition on a Windows 2000 test server (with Apache 1.3.x and MySQL 4.0.x). I have hot fix 2...
  3. #2

    Default Re: CFMX7 and Oracle 10G

    Hi,

    First of all, make sure that the tnsnames.ora file on the web server has the
    right information. Second, make sure that you can connect to the server via the
    adminstrator. If you can't then none of your cold fusion applications will
    work. As for the JDBC, you can either use the Merant drivers with CFMX 7 or you
    can use the JDBC drivers from Oracle. If you use the Oracle drivers, you
    specify them as OTHER and give the path the JDBC drivers.

    I hope that helps,


    drew222 Guest

  4. #3

    Default Re: CFMX7 and Oracle 10G

    Thanks Drew,
    This should shed a little more light on the matter. Using an ORACLE JDBC
    driver was able to verify a connect to the Oracle instance but kept getting a
    'Net8 Protocol Error' message. After a bit more research discovered that CFMX
    7's drivers are not compatible with an Oracle 10.2 instance when using
    CFSTOREDPROC but do work with CFQUERY - I was able to test this to be true. So
    it looks like I will revert to Oracle 10.1 until this is resolved.
    Carter

    CKinnier Guest

  5. #4

    Default Re: CFMX7 and Oracle 10G

    We have CF 7.0.1 running with the latest driver (you have to see that you get
    your hands on a 3.4 driver package) and are using stored procedures
    successfully. Also we just finished hacking a stored procedure with return
    values. We are using Oracle Database 10.2.0.1.

    nitai_co 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