Stunnel connection with MX6.1

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Stunnel connection with MX6.1

    Hey Gang-

    I'm currently onsite with a client who is running CFMX6.1 with a remote DSN
    connection to a SQL Server 2000 database. The client's system is in the U.K.
    and the connection from CF to the SQL Server is required to be encrypted, so
    they have a slightly older version of Stunnel set up to handle this.

    Most everything appears to be running normally except that occassionally, but
    fairly regularly, ColdFusion stops responding and hangs. Through some testing I
    can see that the data set being returned to ColdFusion from SQL Server appears
    to freeze and nothing will get returned. I then tried a small query tool called
    SQLConn32, which is a simple little tool that runs outside of the ColdFusion
    space and requests/returns queries from any datasource. Requests are also
    hanging when I use that tool.

    So if you can answer any or all of the following questions, I'll treat you to
    a virtual beer;

    The last time this app worked properly was in CF5.0. When it was upgraded to
    MX6.1 the query fuzziness started to occur. Does anyone have or can you point
    me to any details about the changes made to ColdFusion that would affect
    datasets and queries when Macromedia upgraded CF to MX? (i.e., JDBC drivers,
    etc.)

    This app is running a CFMX6.1 server with a remote DB connection to SQL Server
    2000 that's encrytped with Stunnel. Does anyone have any experience/tales using
    this or a similar setup?

    When ColdFusion is installed, does it install it's own version of ODBC/JDBC
    drivers or does it modify the existing drivers? (Or does it not touch the
    existing ODBC configuration??) I verified that MDAC 2.8 is currently on the
    system.

    Thanks in advance for your help!

    Rich Leach


    rich@tcaprint.com Guest

  2. Similar Questions and Discussions

    1. Net connection without Internet connection whoas
      Hi does flash media server 2 require a connection to the internet i'm using the evaluation version on a computer which is not connected to the...
    2. FMS 2.0 and STUNNEL? Using SSL Tunneling on FMS2 doesnot work!
      I am trying to use FMS in conjunction with STUNNEL to enable HTTPS SSL tunneling using a flash client. We have been working on this for weeks to no...
    3. One NFS connection fine, one NFS connection slow
      Ok, this is all a bit odd. I will draw an ascii picture and hope it survives in Google: sun server | .------mandrake...
    4. Setting up an stunnel connection from Linux through Win 2K to an HP-UX machine
      My company recently set up VPN capability on the Inet Server so that certain employees could have a high speed connection to our network over the...
    5. Have internet connection but not workgroup connection.
      In article <Xns93B9BBF24CB33adfslur0mdoaur03jadl@207.46.248.16>, Frank Dreyfus <fdreyfus@nyw.com> wrote: I've written a web site that should help...
  3. #2

    Default Re: Stunnel connection with MX6.1

    I experience similar issues with connecting to a SQL 2000 server via openSSH.
    My solution is to restart tomcat. Not a great solution, but since this is only
    running on my PowerBook, for local development, I can put up with it.

    From what I can gather, the SSH tunnel times out after a certain period of
    inactivity, and disconnects. For some reason, Coldfusion is not picking up the
    broken connection or reporting an error.

    You may wish to experiment with the connection pooling and caching settings of
    the CF Admin panel.

    Brontojoris Guest

  4. #3

    Default Re: Stunnel connection with MX6.1

    ahh, I didn't think it would be the SSH timing out.... and yes, so far all
    we've been able to do is restart but it's becoming a problem that ColdFusion is
    not able to catch it. We may have to experiment with a batch script or
    something along those lines....

    What driver are you using to connect to SQL Server? Due to port constraints we
    have to use ODBC Sockets instead of the standard SQL Server driver, and I was
    questioning the driver's ability to handle the connection.

    Rich

    rich@tcaprint.com Guest

  5. #4

    Default Re: Stunnel connection with MX6.1

    here's an update: it looks like the Stunnel is either timing out or outright
    failing, so we're now looking at possibly reconfiguring the Stunnel
    client/server and/or looking at getting ColdFusion to at least recognize the
    connection failure.... not sure how to do that to meet our needs, but that's
    what we're working on at the moment....

    rich



    rich@tcaprint.com Guest

  6. #5

    Default Re: Stunnel connection with MX6.1

    I'm using the standard SQL Server driver that ships with ColdFusion. I setup my
    datasources to point to localhost:1433. The SSH tunnel grabs anything going to
    port 1433 and redirects it to the SQL Server.

    I think Coldfusion hanging might be related to this technote:
    [url]http://www.macromedia.com/go/tn_18772[/url]

    Brontojoris 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