Oracle Thin Client and Stored Procedures

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

  1. #1

    Default Oracle Thin Client and Stored Procedures

    We have a stored procedures in Oracle that we are trying to call from
    ColdFusion MX 7 using the Oracle Thin Client. The request hangs -- we never
    get an error (that we can see in the CF logs or in the browser). There are a
    lot of messages about issues with this, but I'd like to know for sure: is it
    possible to call stored procedures in Oracle from CFMX7 using the Oracle Thin
    Client?

    pdrich Guest

  2. Similar Questions and Discussions

    1. Oracle thin client stop working
      I just applied hotfix 3 to my MX 7 standard deployment and all my thin client connections to Oracle database now stop working. When I tried to...
    2. Calling Oracle overloaded stored procedures from CF 6.1
      Did any of you tried to call an Oracle overloaded stored procedure from CF 6.1? You will be amazed to know that it doesn't work. :)) Please test...
    3. Oracle Thin client error w/ MX
      My thin driver seems to be only partially working...if I do not supplie a username and password in the administrator (even though I am passing the...
    4. Cannot view Oracle Stored Procedures in Dreamweaver XP
      Does anyone know how to get round this? I've defined and tested the connection to the Oracle database and everything seems to work OK, but when I...
    5. Oracle stored procedures vs Running from a flat .sql file
      Does anyone know what the advantages are to using stored procedures and java stored procedures over and above running from flat unix files. I...
  3. #2

    Default Re: Oracle Thin Client and Stored Procedures

    I remember looking at this. It's bug 57560. Oracle had this problem in the
    9.2.x driver and fixed it but didn't port the fix to the 10.x driver. This
    should be an everytime repro case so if you can get a stack trace (technote
    18339) and send it to me, we can confirm.

    My 9/2004 comments:
    The stack trace shows the statement is spinning at getUpdateCount(). Oracle
    had this problem with their old 9.x thin driver too. Looks like someone forgot
    to port this fix to 10g drivers.

    Are you using the absolute latest thin driver? I'll try this and report back.

    Stephen Dupre
    Macromedia QA

    sdupre Guest

  4. #3

    Default Re: Oracle Thin Client and Stored Procedures

    Thank you for your response. I sent the stack trace in a private email. The
    file I requested calls a simple stored proc that just runs a query but doesn?t
    return a value. When I ran the page, it never completed. Eventually the
    services hang and must be restarted.

    Perhaps unrelated, but when I run CF using cfstart.bat, the following two
    errors appeared:
    no such classpath element: C:\CFUSIONMX7\runtime/../../classes
    no such classpath element: C:\CFUSIONMX7\runtime\servers\lib\ojdbc14.jar


    pdrich Guest

  5. #4

    Default Re: Oracle Thin Client and Stored Procedures

    Bug 61189. This was a bug in the Oracle thin driver 10.1.0.2.0. I saw the
    behavior.

    10.2.0.1.0 solves the problem. (from the Oracle site - that goes with the 10g
    R2 release). The thin driver was hung at getUpdateCount().

    "jrpp-0" prio=5 tid=0x045a5728 nid=0xb78 runnable [777f000..777fdb8]
    at
    coldfusion.server.j2ee.sql.JRunStatement.getUpdate Count(JRunStatement.java:231)
    at coldfusion.sql.Executive.getRowSets(Executive.java :331)
    at coldfusion.sql.Executive.executeCall(Executive.jav a:564)
    at coldfusion.sql.Executive.executeCall(Executive.jav a:517)
    at coldfusion.sql.Executive.executeCall(Executive.jav a:477)
    at coldfusion.sql.SqlImpl.executeCall(SqlImpl.java:32 0)
    at coldfusion.tagext.sql.StoredProcTag.doEndTag(Store dProcTag.java:193)
    at cfindex2ecfm1075374923.runPage(C:\cfroot\rcpDev\in dex.cfm:20) <- Line 20
    is running a stored proc.

    Stephen Dupre
    Macromedia QA

    sdupre 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