Dreamweaver jsp / Websphere / DB2

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Dreamweaver jsp / Websphere / DB2

    :confused; My WebSphere connections are working fine when testing. However,
    how do I tell my dreamweaver site to use the WebSphere connectivity settings
    instead of having to set the driver connectivity up in the dreamweaver wizard
    that pops up when inserting or using database objects? Thanks. Lynne

    hjb2 Guest

  2. Similar Questions and Discussions

    1. Coldfusion on Websphere
      We deploy a ear file version of CF on websphere, but whenever we try to access a page we get this error. Has anyone seen this or had success...
    2. ColdFusion on IBM WebSphere
      Dear CF Community, I am troubled with couple of questions: 1. After updating Websphere 5.1 to 6.0 do we have to reinstall ColdFusion MX 6.1 on it,...
    3. CFMX & WEBSPHERE
      I'm using CFMX 6.1 with WAS 5.1. My goal is to get four websites running on the same hardware box. One solution is to run four multiple instances...
    4. WebSphere 5.1 Install
      I'm trying to install cfmx 7.01 on a Websphere cluster ( 2 app server, 1 on each node). After the install completes successfully I try starting the...
    5. 27 June: IIUG/IBM Webcast: IDS/WebSphere Integration & I-4GL and WebSphere Studio/EGL Roadmap Interlock
      Please join IIUG and IBM for this event and find out about IBM's plan to integrate IDS with WebSphere and its relevance to the Informix e-business...
  3. #2

    Default Re: Dreamweaver jsp / Websphere / DB2

    hmmm... That's a tough one. Dreamweaver tends to do its own thing when it
    comes to connecting to databases. I'm not so sure there's going to be an
    easy way for you to do this and harness the data manipulating and formatting
    functions that come with the core product.

    That's kinda why Dreamweaver isn't the perfect Java development tool. It
    tends to do things way out of the norm for typical Java development. Sorry
    I don't have any great ideas for you... :-(

    Greg? Any ideas?

    Best regards,
    Chris


    Chris In Madison Guest

  4. #3

    Default Re: Dreamweaver jsp / Websphere / DB2

    I am also having trouble connecting to DB2 OS/390 directly using these
    variables..... String MM_mainframe1_DRIVER = 'COM.ibm.db2.jdbc.app.DB2Driver';
    String MM_mainframe1_USERNAME = ' '; String MM_mainframe1_PASSWORD = '
    '; String MM_mainframe1_STRING = 'jdbc:db2://host:port/database'; Is this the
    correct driver for mainframe DB2 connections.? Thanks. Lynne

    hjb2 Guest

  5. #4

    Default Re: Dreamweaver jsp / Websphere / DB2

    Not sure since I've never had to connect to DB2 before. First thing that
    comes to mind is that COM shouldn't be capitalized. But it depends on what
    the docs for the driver say.

    Also, unless you're just putting this in for question-asking purposes,
    you'll need to provide the host, port, and database name of the object
    you're attempting to connect to.

    Are you getting any specific errors you'd like to share?

    Best regards,
    Chris


    Chris In Madison Guest

  6. #5

    Default Re: Dreamweaver jsp / Websphere / DB2

    Thanks for the updates. I finally got my code to connect on the linux
    machine.....however, it will not using the dreamweaver tool...Is there an
    updated dreamweaver that allows OS/390 DB2 connection? I used the driver
    provided with DB2Connect to connect on the linux machine; however, dreamweaver
    gives the error message 'An unidentified error has occurred'...... I would
    rather not switch tools because I really like and have been using Dreamweaver
    for quite a while....

    hjb2 Guest

  7. #6

    Default Re: Dreamweaver jsp / Websphere / DB2

    By the way, I am using the hardcoded connections that Dreamweaver usually likes for my connections even though Dreamweaver does not work......not the WebSphere settings....Please advise
    hjb2 Guest

  8. #7

    Default Re: Dreamweaver jsp / Websphere / DB2

    I chatted with one of my co-workers who has experience with DB2 on the 390,
    and there's a possibility that this is a Type I native DB2 driver. If
    that's the case, then it may not work on your Windows machine (presuming
    you're developing on Windows here) since it was designed to work on the 390.
    He thinks that if you were to install the DB2 client on your Windows
    machine, however, that there would be a Windows native version of the driver
    that might work in the /bin directory. He also suggests that if you find a
    Type IV driver for DB2, then it should work because Type IV drivers work
    over IP regardless of platform.

    One other thing that pops into my head is the driver location for your DB2
    connection. If you take a look at the connection properties you created for
    the DB2 data source (once again, this presumes Windows), there are two radio
    buttons: "Using Driver on Testing Server" and "Using Driver On This
    Machine". Which do you have selected? I'd suggest the "testing server"
    option. The way Dreamweaver uses database connections with the "this
    machine" option is that it queries the database directly from your Windows
    machine over IP. If there's a mismatch in drivers between your machine and
    the server, then you could see the errors that you're experiencing. If you
    use the "testing server" option, Dreamweaver FTPs a small javascript file to
    the server, then it executes the script there, querying the data source
    using the drivers on the server itself, thus minimizing the chance of a
    conflict. It then ships back the data over HTTP, and Dreamweaver consumes
    that data and creates your bindings and what-not.

    I hope there's something useful for you here :-)

    Best regards,
    Chris


    Chris In Madison 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