Mac User - ?compatable database software

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default Re: Mac User - ?compatable database software

    I'm just starting to look at this myself, I've used FM for some years now but
    am new to CF. It occurs to me tha tthe latest releases (i think 7, certainly 8)
    of FM include a Datadirect SequeLink JDBC driver on the CD, so In Theory all
    thats required here is to setup the JDBC driver within CF.

    However, the docs for the datadirect driver are in depth and assume a
    knowledge of java i dont have. If others more familiar with java/CF are
    interested in exploring this further, I'll happily share the docs and play
    guinea pig so it can be boiled down into more simple set of 'how to' steps -
    I'm sure there's many others who would like to see FM and CF talking.

    All the Best

    John






    Jay_Tea Guest

  2. Similar Questions and Discussions

    1. macintosh compatable 3d software ?
      i would like to get a mac but i cant find any 3d software sutiable i create animation in 3dmax then export it to w3d without geomotry then in...
    2. Panorama Database Software to OSX?
      Anyone have a clue on when Provue will get Panorama to OSX? It works fine in Classic, but unfortunately I also run midi programs under classic and...
    3. limiting software installation to specific user(s)
      Many software packages now ask, during installation, whether the installation is limited to the current user/installer or if it's for all users. ...
    4. Passing database info to page allow user input then pass into another database
      Hi I really am going crazy! I'm using VBScript, ASP, and SQL My page reminds me of a shopping cart but looking at shopping cart examples has not...
    5. Another user has modified the contents of this table or view; the database row you are modifying no longer exists in the database;
      Hi, I am testing a trigger that and I am getting this error message saying "Another user has modified the contents of this table or view; the...
  3. #2

    Default Re: Mac User - ?compatable database software

    Hi John,
    ColdFusion's Sequelink is a JDBC to ODBC bridge that works on windows only.
    So it is not in the OSX version of CFMX7. CFMX does not include any driver for
    FileMaker. You would need to find a 3rd party JDBC driver for FileMaker.

    ksmith Guest

  4. #3

    Default Re: Mac User - ?compatable database software

    Hi there Ken

    thanks for a swift response to my forum post, but I can't help wonder if one
    of us has misunderstood (hopefully me ;) ) - the Datadirect SequeLink JDBC
    driver I have is from Filemaker shipped with their product - not from
    Macromedia or included with Coldfusion. I wasn't referring to any drivers
    supplied by Macromedia.

    I am referring to a JDBC driver supplied by filemaker with their product for
    use in utilising Filemaker as a JDBC data source for java apps, which should
    mean CF?

    Apologies if I'm being outrageously stupid ;)

    Jay_Tea Guest

  5. #4

    Default Re: Mac User - ?compatable database software

    Jay_Tea wrote:
    > Hi there Ken
    >
    > thanks for a swift response to my forum post, but I can't help wonder if one
    > of us has misunderstood (hopefully me ;) ) - the Datadirect SequeLink JDBC
    > driver I have is from Filemaker shipped with their product - not from
    > Macromedia or included with Coldfusion. I wasn't referring to any drivers
    > supplied by Macromedia.
    >
    > I am referring to a JDBC driver supplied by filemaker with their product for
    > use in utilising Filemaker as a JDBC data source for java apps, which should
    > mean CF?
    >
    > Apologies if I'm being outrageously stupid ;)
    >
    If they have a JDBC driver all you really need is their JDBC URL format
    and the name of the driver class file. Then you can set up a datasource
    of type "other" in the CF administrator and in theory it will work.

    Matt

    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion
    mpwoodward *TMM* Guest

  6. #5

    Default Re: Mac User - ?compatable database software

    Hi Matt

    After speaking with ken and browsing forums I got the driver loaded into the
    CF7/lib/ folder. In CF& admin i chose other driver, and specified class
    'com.ddtek.jdbc.sequelink.SequeLinkDriver' and URL
    'jdbc:sequelink://192.168.0.200:2399;databaseName=test'

    CF7 seems to pick up the driver fine, but i do get an error when i verify the
    data source.

    Connection verification failed for data source: fm_test
    java.sql.SQLException: [DataDirect][SequeLink JDBC Driver][SequeLink
    Server]Authorisation failure.
    The root cause was that: java.sql.SQLException: [DataDirect][SequeLink JDBC
    Driver][SequeLink Server]Authorisation failure.

    The test database has a username of 'cf7' with password 'cf7' (full access),
    and I've specified those criteria with CF's user/password fields and also with
    permutations of the URL from the driver's docs, such as...

    jdbc:sequelink://192.168.0.200:2399;databaseName=test;DBUser=cf7;DB Password=cf7
    jdbc:sequelink://192.168.0.200:2399;databaseName=test;HUser=cf7;HPa ssword=cf7

    Seems like this is pretty close to working, with only authentication left to
    suss, I'll give folks an update on what i find from the Filemaker sites, any
    suggestions based on similar errors much appreciated ;)

    All the best

    John


    Jay_Tea Guest

  7. #6

    Default Re: Mac User - ?compatable database software

    Jay_Tea wrote:
    > CF7 seems to pick up the driver fine, but i do get an error when i verify the
    > data source.
    >
    > Connection verification failed for data source: fm_test
    > java.sql.SQLException: [DataDirect][SequeLink JDBC Driver][SequeLink
    > Server]Authorisation failure.
    > The root cause was that: java.sql.SQLException: [DataDirect][SequeLink JDBC
    > Driver][SequeLink Server]Authorisation failure.
    >
    > The test database has a username of 'cf7' with password 'cf7' (full access),
    > and I've specified those criteria with CF's user/password fields and also with
    > permutations of the URL from the driver's docs, such as...
    >
    > jdbc:sequelink://192.168.0.200:2399;databaseName=test;DBUser=cf7;DB Password=cf7
    > jdbc:sequelink://192.168.0.200:2399;databaseName=test;HUser=cf7;HPa ssword=cf7
    Unfortunately I have no clue how FileMaker does authentication. Is
    there any other means by which you can attempt connecting outside of CF?
    For example do the FileMaker folks give you any examples of how to
    connect remotely in any language? I'd just be wondering if there's
    something going on with authentication in general, or maybe you have the
    variables in the JDBC URL not quite right, etc. Just throwing out ideas
    here.

    Matt

    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion
    mpwoodward *TMM* Guest

  8. #7

    Default Re: Mac User - ?compatable database software

    It's done and it works - that's CFMX7 on OS X 10.4 Server talking with
    Filemaker pro 8 Advanced. The last problem was CF7 failing to find its own IP,
    switching the JDBC URL to 127.0.0.1 worked a treat - thanks Matt ;)

    I've seen a few posts asking about this before me to get the answer 'No' or
    'Very Difficult', clearly it's 'Yes' and 'Not too difficult really' For the
    others who ask, the steps are:

    In Filemaker
    FMpro database needs to be open!
    Enable ODBC/JDBC sharing in FMpro.
    Create a Username/password for coldfusion in your database.
    Install the JDBC drvier from the FM CD - run the .jar file from the CD, it's a
    n installer which will prompt for an install location, create and choose
    ~/desktop/newfolder/ and when the installer is finished copy the contents of
    ~/desktop/newfolder/driver/lib/ (sljc.jar and sljcne.rar) to your CF7 /lib/
    folder

    In Coldfusion:
    create a data source using 'other' as the driver type.
    JDBC URL= 'jdbc:sequelink://127.0.0.1:2399;serverdatasource=test'
    Driver class= com.ddtek.jdbc.sequelink.SequeLinkDriver
    Driver name= whatever you want, 'FM Pro' or something
    User Name= the user you created earlier in your FM database
    Password= the pass for the FM user you made.

    Submit, and then verify - you should get a lovely understated little 'OK' in
    status ;)

    Thanks to Ken and Matt for their help and prompts.

    John

    Jay_Tea Guest

  9. #8

    Default Re: Mac User - ?compatable database software

    Can't thank you guys enough for this thread. I've been messing around with
    this for awhile and haven't been able to make it work... until now.

    I don't know for sure what I was missing before, but it works. I just
    cfdump'd my first query from a Filemaker table and it is a beautiful thing.



    UberEgnaro Guest

  10. #9

    Default Re: Mac User - ?compatable database software

    This is fantastic, guys. Yes there are a lot of us looking for this
    solution.The only difference in mine is that I am using Windows 2003 Server.

    Question: Does this assume that FileMaker Pro 8 needs to be running on the
    same web server for this to work or can it work off a remote FielMaker box?

    CMONEY Guest

  11. #10

    Default Re: Mac User - ?compatable database software

    yes this works remotely - if you look at the thread you'll see where the IP
    needs to go - put your remote IP where my example places 192.168.0.200 or
    127.0.0.1.

    The cautionary (and what foxed me) is that if you are running FM locally with
    CF you need to use IP 127.0.0.1 and NOT the actual IP, or CF won't find the
    local databases.

    All the best

    John

    Jay_Tea 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