Driver name and connect String ??

hi guys..
i have developed some JDBC applications connecting to Oracle servers.
Now, i want to develop a JDBC application that connects to DB2 server;
how do i know the driver name and connect String im supposed to pass to
class.forName(driver_name);
and to
DriverManager.getConnection(connect_string);
i use db2java.zip that ships with DB2..
Appreaciating ur cooperation..
Mourad

Look at your DB2 docs. You'll have to download their JDBC driver, of course.
You should know the drill - you've done this with Oracle. - MOD

Similar Messages

  • What are the username, password and connect string for Designer 6.1.1?

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    Oracle designer6.1.1
    - Date/Time
    - Browser + Version
    IE 6.0
    - O/S + Version
    Win 98
    - Error Msg
    ORA-12154:TNS:could not resolve service name.
    RME-00220:Fail to connect to repository
    These error messages were shown after I entered system, manager and internal, respectively.

    Hi YungJen Chen,
    There is no general username, password and connect string for
    Designer 6i Release 4.1.1.
    First, you install the client tools using the Installer. See also the
    Designer Installation Guide, Chapter 1, 'Client Side installation'.
    Second, you install the repository into an existing database, using
    the Designer Installation Guide, Chapter 2, 'Server-side installation,
    migration and upgrade'.
    The Installation Guide provides step by step instructions on what
    users you need to create for various purposes. Any database users
    you may need to use such as System or Sys will use the password
    given when you installed the database, or whatever passowrd you
    changed it to since.
    The Installation Guide is available as part of the download, or from
    your Windows Start Menu once the Designer client tools are installed
    or from the Designer Documentation page here on OTN.
    Hope this helps. Regards,
    Dominic Battiston
    Designer/JDeveloper Product Management

  • How do remap drive names and not lose project clip links to Event names...?

    how do remap drive names and not lose project clip links to Event names...?

    You will need an extra external drive. All moves must be done within iMovie to preserve your links to the projects.
    First Move (command-drag) the event to the extra drive. Make sure the project still works.
    Then rename, reformat, or repartition your drive as needed. Then, if you want, move the Event back to the newly named drive, again via Command-Drag within iMovie.

  • What are the username, password, and connect string for Designer6i R4.1.1

    As the title, I tried system, manager and internal.
    But it did not work out.
    Thank you for your help.

    Hi YungJen Chen,
    There is no general username, password and connect string for
    Designer 6i Release 4.1.1.
    First, you install the client tools using the Installer. See also the
    Designer Installation Guide, Chapter 1, 'Client Side installation'.
    Second, you install the repository into an existing database, using
    the Designer Installation Guide, Chapter 2, 'Server-side installation,
    migration and upgrade'.
    The Installation Guide provides step by step instructions on what
    users you need to create for various purposes. Any database users
    you may need to use such as System or Sys will use the password
    given when you installed the database, or whatever passowrd you
    changed it to since.
    The Installation Guide is available as part of the download, or from
    your Windows Start Menu once the Designer client tools are installed
    or from the Designer Documentation page here on OTN.
    Hope this helps. Regards,
    Dominic Battiston
    Designer/JDeveloper Product Management

  • Driver and connection string for DB2 7.1 IBM Z/OS Mainframe

    Hi ALL,
                Could someone please provide me the connection string and driver for DB2 7.1 IBM Z/OS Mainframe?
    Regards,
    XIer

    Hello,
    With SAP and DB2 V7 still ICLI which is part of the operating system is used for DB connectivity. For details on the setup see related docs for SAP releases up to 6.20 .
    As of Netweaver 2004 DB2 V8 and DB2 Connect is used.
    If you're talking about Java you need a license either from IBM or if you're OEM customer for DB2 on z/OS it is delivered automatically.
    Regards,
    Thomas

  • CR for VS, MSSQL, ConnectionInfo and "Application Name" in connection string

    I'm using Crystal Reports for Visual Studio 2013, latest version. I'm using the web CrystalReportViewer component. I'm setting the connection information, something like this:
    var tables = rpt.Database.Tables;
    foreach (Table table in tables)
        var tableLogonInfo = table.LogOnInfo;
        tableLogonInfo.ConnectionInfo = connectionInfo;
        table.ApplyLogOnInfo(tableLogonInfo);
    When the connection to the database is opened, the "Application Name" (which you can see with sp_who2 in MS SQL Server) is "Internet Information Services". I'd like it to be something else, like the name of my website or something similar. If I could specify the exact connection string, I could do this by including "Application Name=MyWebSite" in the connection string, but of course that isn't possible (right?).
    Does anyone know of a way to set the CrystalReportViewer's connection's Application Name?
    Thanks.
    Dan

    The name of the physical executable that created the connection is (generally) automatically used to populate the PROGRAM column of the V$SESSION table.
    If you want a more human-readable application name or if you have multiple applications in the same application server, you can use the DBMS_APPLICATION_INFO package to set the CLIENT_INFO, MODULE, and ACTION columns of V$SESSION for this particular session once you've created your connection.
    Justin

  • Security and connection string

    Hi,
       I am a new developer using ColdFusion.
       Does ColdFusion support Windows Authentication or I have to have my connection string in plain text in my cfm files?
       Can I have connection string in my form or I have in one config file?
       Is it possible to encryp my password and user name in the cfm file?
       Your information and help is great appreciated,
       Regards,
      iccsi,

    That is a broad question.  Are you referring to connections to data sources, or recognizing user IDs for site logins?  If the former, you can configure the database logins (with some caveats) within the secure CF Administrator, and never have to pass credentials directly in your CFML code.  As for user IDs for logins, if you configure your webserver (IIS) to use Windows Authentication via NTLM, Coldfusion will receive the Windows login and make it acccessible to you via CGI variables.
    -Carl V.

  • DB Name and Host String

    Whats the difference between a host string and a database name? How can i find out the host string name?

    Hi!
    I'm giving you one link. please go through this. I hope that may solve your requirement -
    Setting Connect String as SQL Prompt .
    Regards.
    Satyaki De.

  • Newbie question for LogOn trigger and Connection String

    Hi,
    I would like to set certain session variables in the logon trigger. Is there a connection string attribute or some other way to pass a string or some data to the session.
    regards
    Stefan

    Hi,
    my concrete problem is that our application only uses one user. eg. appuser . During the login process of the application the "real" user name, language and other attributes are set in a packag as global variables.
    This works fine, but as soon as a usr logs on the DB without our application login then these are ofcourse not filled. My idea was to maybe to be able to enhance the connection string and to be able to pass some more information to the logon trigger.
    regards
    Stefan

  • Changing drive names and elimating unwanted drive backups

    This will be a little complicated:
    I recently changed my main drive's name from "Main HD" to "Mac Pro HD". I also added 2 internal drives: "Backup" and "Snow". 3 drives total. Plus my Time Machine internal drive. I just noticed that TM is no longer backing up "Mac Pro HD" and it started backing up "Backup" and "Snow".
    I don't need backups of Backup or Snow and want to save the older "Main HD" backups and have TM start backing up "Mac Pro HD"
    Can I delete all the folders via finder that have "Backup" and "Snow" in them?
    and there are a couple backups that have "Main HD" and "Snow" in them. Can I delete "Snow" in those folders via finder?
    This will delete folders back to 2009-10-19-111140.
    If I set TM to ignore "Backup" and "Snow" in Sys Prefs and include "Mac Pro HD" will TM start backing up my one drive as of now and have a space in time to 10/19?
    I bet I won't be able to access the old "Main HD" files via TM, but I'd at least be able to access them via finder if I ever find I need something and I'll do it manually.
    Or do I have to erase my entire TM drive and just start all over again?

    Steven Shmerler wrote:
    This will be a little complicated:
    I recently changed my main drive's name from "Main HD" to "Mac Pro HD". I also added 2 internal drives: "Backup" and "Snow". 3 drives total. Plus my Time Machine internal drive. I just noticed that TM is no longer backing up "Mac Pro HD" and it started backing up "Backup" and "Snow".
    Yes, if you change the name of a drive, TM treats it as a new one.
    Can I delete all the folders via finder that have "Backup" and "Snow" in them?
    NO! Never move, change, or delete TM backups via the Finder. You can hopelessly corrupt your backups.
    But you can delete all backups of selected items, via Time Machine. See #12 in the Frequently Asked Questions *User Tip,* also at the top of this forum.
    To delete all backups of a drive, especially one that is no longer attached, start from a Finder window and press ShiftCmdC (or select your computer name in the Finder Sidebar). Then +Enter Time Machine+ and navigate to a backup. It will show one folder for each drive/partition that was backed-up on that run.
    If I set TM to ignore "Backup" and "Snow" in Sys Prefs and include "Mac Pro HD" will TM start backing up my one drive as of now and have a space in time to 10/19?
    Probably, if that's when you did the renaming.
    I bet I won't be able to access the old "Main HD" files via TM, but I'd at least be able to access them via finder if I ever find I need something and I'll do it manually.
    Unless you delete them as above, sure. Use the same procedure as above to view, restore, or delete (except you can't use the normal "restore" button, since the drive they were saved from isn't present. Select what you want, click the "gear" icon in the toolbar, and choose +Restore <item> to ...+ and you'll get a prompt for the destination.)
    Message was edited by: Pondini -- you're on Leopard, so right-click won't work to restore to an alternate location; use the "gear" icon instead.

  • Messed up drive names and folders 'missing' in LR 4.1

    Using LR 4.1 on a Windows machine with C (internal) and D (DVD) drives.  I import photos onto a FreeAgent drive, using a temporary folder (/Incoming) in which they are stored until I move them to descriptively-named folders and add metadata.  (All done in LR, not in Explorer or any other software.)
    This has worked fine until an import I just did.  The Library is now showing an E: Removable Drive, which shows as offline (it is not shown by Explorer if I look there), AS WELL AS the FreeAgent, correctly identified by name, as F:    The E drive shows the descriptive folder list from all my past imports, apparently correct, but all marked with ?  The F drive shows ONLY the temporary folder, with the correct number of photos that were most recently imported.  If I click on the first (earliest) folders in the E list, the message is ‘no photos in folder, subfolders not show’.  This applies to roughly half the folders in the list.  The other half of the list, chronologically later, displays thumbnails when clicked, but is still marked ?
    Can anyone please explain what is going on and how to fix this??

    I'd recommend for this case, fixing a drive letter for the removable hard-drive, rather than letting it be dynamically assigned each session based on the next available drive letter.
    Then it will not be able to vary (depending on what other drives or card readers or USB-connected camera,. phone etc may be already in place at that moment).
    So your solution might be, to first set an entirely new drive letter for the FreeAgent drive (wisest to go higher up the alphabet, so it will be very unlikely to clash with any auto-assigned drives - perhaps X: for "external").
    http://www.windows-secrets.co.uk/2012/07/set-a-usb-drive-letter/
    Then you can go to the LR display of the E: drive, and right-click on the top level folder that shows within this (as missing), and choose "Find Missing Folder" in the context menu. Then browse to the right location for that, in what is now your X: drive (or whatever). The images will all come back online and you will now see an X: drive instead of an E: drive in the LR Folders list.
    Then you can go to the LR F: drive and do the same for the /incoming folder. Those images will come back online too and the F: drive will disappear from LR.

  • Can't get a comparison between a folder name and a string to work

    Dear community,
    I have a really simple ExtendScript-example that I just can't get to work and I have no idea what could be wrong. I'm trying to write a script that goes through all the items in the project panel and stores references to all the folders which names are like "layer1", "layer2", and so on, in an array. This is the code that should alert 3 times in my case, but it doesn't alert once..
    for (var i=1; i<=app.project.numItems; i++)
        if ((app.project.item(i) instanceof FolderItem) && (app.project.item(i).name == "layer"+i))
            alert("found folder = " + app.project.item(i).name);
    Inside the project in the root-directory there are 2 comps and 3 folders named 'layer1', 'layer2' and 'layer3' - so I should see 3 alerts when executing the above script. For testing-purposes I changed the second part of the if-statement to a 'static' value like so:
    .. && (app.project.item(i).name == "layer1"))  --> then it works! But I need a dynamic solution..
    Thanks very much for ANY help in advance!
    Greetings,
    Gilbert

    I just tried the code and it only alerted once for me. The issue with your code is that it requires the "Layer" named folders to always be the first x items in the project file. So what is happening for you is that...
    If any item appears before the first "Layer" folder then you are effectively comparing random names to each other that will never match.
    ItemSomethingElse
    RandomFolder                 == Layer1     (false)
    Layer1                              == Layer2     (false)
    Layer2                              == Layer3     (false)
    Layer3                              == Layer4     (false)
    Layer4                              == Layer5     (false)
    ItemSomethingElse
    What you need to do to keep it dynamic:
    1) Gather instances of all the folders in your project into an array.
    2) Loop through that array checking for indexOf "Layer".
    3) If there is a match...
    4) Compare that name in another loop. You'll have to determine the max number to loop through for your search, like 25 or 50 or something that won't loop forever.
    5) If a Layer# match is found then run your alert.
    ItemSomethingElse
    RandomFolder                 indexOf("Layer")     (false, do not add)
    Layer1                              indexOf("Layer")     (true, add instance to folderArray)
    Layer2                              indexOf("Layer")     (true, add instance to folderArray)
    Layer3                              indexOf("Layer")     (true, add instance to folderArray)
    Layer4                              indexOf("Layer")     (true, add instance to folderArray)
    ItemSomethingElse
    So something like this should work:
    var folderArray = new Array();
    //Loop through project grabbing folders with layer in the name
    for (var i=1; i<=app.project.numItems; i++){
         var curItem = app.project.item(i);
         if(curItem instanceof FolderItem && curItem.name.indexOf("layer") != (-1)){
              folderArray[folderArray.length] = curItem;
    //Set cap for number appended to "layer"
    var cap = 25;
    var curName;
    var folderArrayLength = folderArray.length;
    //Loop through new "layer" array
    for(var l=0; l<folderArrayLength; l++){
         for(var c=1; c<cap; c++){
              //Dynamic name
              curName = "layer"+c.toString();
              //Current folder name
              folderName = folderArray[l].name;
              //Compare them, alert if the match
              if(folderName == curName){
                   alert("found folder = " + folderArray[l].name);
                   break;//End comparison once found

  • CSCur34669 - FNIC driver name and metadata needs to be different across RHEL version

    Hi, in what version is this issue fixed? I've downloaded ucs-bxxx-drivers.2.1.3d.iso and the issue still appears to be present.

    This implies that ODP.NET does NOT need to be installed on a client. However, I cannot find OraOPs9.dll on a machine with Client Release 9.2 installed. Should OraOps?.dll automatically come with a Client installation of 9.2 or higher?
    ODP.NET needs to be installed on the client. OraOps9.dll is part of ODP.NET, not the Oracle Client.
    Also, if an application is built with the 10g ODP.NET, can it be run from a machine with OraOps9.dll?
    If an application is built with 10g ODP.NET, it can be run with 9.2 ODP.NET as long as you do not use any 10g APIs. The new features in 10g ODP.NET are included in the doc and the ODP.NET FAQ for your reference.

  • Server name problem-jdbc connection string

    hi..
    my server name is SERKANPROX\LOCALHOST .. i couldn't connect to this server with this server name . how can i write the server name in connection string?. this is the part my code:
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://serkanprox//localhost:1 433;DatabaseName=NorthWind","serkan","serkan");
    the exception is : [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    i can connect to the server which name is "serkan" . but when there is a '\' character ,i couldn't..
    how can i can change the connection string for connecting to this server ..
    thanksss

    hi..
    my server name is SERKANPROX\LOCALHOST No it isn't. Get the right server name. This problem has nothing to do with your username and password and such.

  • Moving Connection String to ConnectionInfo

    We have an old VB6 app that uses a Connection String to connect to the database.  It is in the form
    "DRIVER=InterSystems ODBC;SERVER=localhost;PORT=56773;DATABASE=WSNETNEW;UID=CRUSER;PWD=CRPWD"
    We just got Crystal Reports 2008 and are moving this app to .net.  How do I set it up using the ConnectionInfo?  So far I have:
                ConnectionInfo connectionInfo = new ConnectionInfo();
                connectionInfo.ServerName = "localhost";
                connectionInfo.DatabaseName = "WSNETNEW";
                connectionInfo.UserID = "CRUSER";
                connectionInfo.Password = "CRPWD";
    Where do I put my DRIVER and PORT information - in connectionInfo.Attributes or connectionInfo.LogonProperties?
    Thanks for any help.

    Hi,
    I dont think so we can give port number and driver name with connection info.
    Have a look to [Sample code|https://www.sdn.sap.com/irj/boc/businessobjects-samples] and [DevLibrary|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    Regards,
    Shweta

Maybe you are looking for

  • How to zoom out on apple tv

    My apple tv screen is zoomed in and won't fit properly on my tv. How do I zoom it back to fit the screen?

  • Why can't I open files with double click, etc?

    Hello, all, I have been having problems with my MacBook (Aluminum late 2008, I think, OS 10.5). It runs slowly; files on the desktop and in my "Macintosh HD" often won't open with double-click but have to be opened with File-->Open; there are Word Wo

  • Hyperlink in PDF changed

    the Rev is adobe reader x 10.1.4, in the company internal website,after I downloaded some  PDF files ,the hyperlinks indise the files are all pointed to my PC disk, why not the website address like before?

  • URGENT- Exporting jpg from LR with title and captions: how?

    Hi, I need to email some pix before midnight. In LR metadata section I have info (title and caption). I did export pix as JPGs but can't find the info when I open the pictures now in a folder on my desktop. How can I make sure the info is attached to

  • Migrate BPM 7.11 process modells to BPM 7.2

    Hi, last week we have CE7.2 installed. Now there is a problem in migrating existing BPM 7.11 models to 7.2. Do anybody have already some experience in doing so? Regards