Regarding JDBC Driver Connectivity

Hi All,
Presently we are using DB6 data base and how can i get JDBC driver information and connection paramters those are required for Implementing JDBC Adapters in XI. Please give u r inputs towards How can I find the connectivity details of Database
Thanks

Hi Yadagiri,
   Please see the below links
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 -
> File to JDBC
  For more information see the belwo link:
   http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
  Please let me know if you have any queriess...!
  Thanks and Regards,
  Chandu.

Similar Messages

  • How to know the location of  JDBC Driver/ connection

    unable to find JDBC driver and connection location
    How can I know the location of "JDBC Driver" for the input box JDBC Driver to confrigure this in ID.
    The same  for "Connection" too.
    urgent input (no links please) will help me.
    Thanks
    SY

    Hi,
    You can ask basis person to get the location of JDBC driver.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/4f34c587f05048adee640f4c346417/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/frameset.htm
    Hope this helps.
    Regards,
    Moorthy

  • HELP!! SQL Server SP3 breaks JDBC driver connections

    Anybody ran into this problem? Just installed Sql Server 2k SP3 and all my jdbc calls fail. JDBC driver for Microsoft works find.

    Have you find a solution to your problem. I ran into the same problem. One of my
    client still use WLS 5.1 and has the problem as soon SP3 applied to MSSQL 2000/DBMS.
    I create a new accounnt in DBMS and it's not working. I tried several different
    type 4 JDBC drivers(MS, DataDirect...) and here is what I get, HELP!!!!!:
    Thu Jan 30 17:40:08 CST 2003:<I> <JDBC Pool> Sleeping in createResource()
    Thu Jan 30 17:40:09 CST 2003:<E> <JDBC Pool> Failed to create connection pool
    "E
    dSoftSQLPool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(String.java:511)
    at com.microsoft.jdbc.base.BaseURLParser.parseURLSubProtocol(Unknown Sou
    rce)
    at com.microsoft.jdbc.base.BaseURLParser.parse(Unknown Source)
    at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:146)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllo
    cator.java:792)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.j
    ava:416)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:141)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:255)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    "Jeff Reester" <[email protected]> wrote:
    >
    Joseph Weinstein <[email protected]> wrote:
    nslsk wrote:
    Anybody ran into this problem? Just installed Sql Server 2k SP3 andall my jdbc calls fail. JDBC driver for Microsoft works find.
    Show us the failure info (the whole stacktrace). Are you saying that
    the weblogic jdbc driver
    fails, but the jdbc driver from MS works?
    Joe
    We are seeing the same. Upgraded MS SQL Server 2000 SP2 to SP3. We
    cannot create
    the connection pool. We are running Weblogic Server 5.1.0 Service Pack
    11. With
    the Weblogic mssqlserver4v70 SP11 JDBC drivers.
    [exec] Sun Jan 26 16:08:31 EST 2003:<I> <JDBC Pool> Creating connection
    pool
    odbcPool with:
    [exec] aclName=weblogic.jdbc.connectionPool.odbcPool maxCapacity=200
    url=jdbc20:weblogic:mssqlserver4
    allowShrinking=true poolName=odbcPool refreshTestMinutes=6 testConnsOnReserve=true
    props=user=xxxxxx;server=Metaprise_UnitTest_415@
    VUABCDEFG:1433;capacityIncrement=1 testTable=ec_webconnect_check shrinkPeriodMins=12
    initialCapacity=4 loginDelaySecs=1 driver=MSSQLDriver20
    [exec] Sun Jan 26 16:08:31 EST 2003:<I> <JDBC Pool odbcPool> pool
    odbcPool
    will be tested at a 6 minute interval.
    [exec] Delaying 1 seconds before making a odbcPool pool connection.
    [exec] Sun Jan 26 16:08:32 EST 2003:<I> <JDBC Pool> Sleeping in
    createResource()
    [exec] Sun Jan 26 16:08:33 EST 2003:<E> <JDBC Pool> Failed to create
    connection
    pool "odbcPool"
    [exec] weblogic.common.ResourceException: weblogic.common.ResourceException:
    [exec] Could not create pool connection. The DBMS driver exception
    was:
    [exec] java.sql.SQLException: I/O exception while talking to the
    server,
    java.io.EOFException Unable to connect, please check your server's version
    and
    availability.
    [exec] at weblogic.jdbcbase.mssqlserver4.TdsStatement.microsoftLogin(TdsStatement.java:2830)
    [exec] at weblogic.jdbc20.mssqlserver4.MicrosoftConnection.beginLogin(MicrosoftConnection.java:42)
    [exec] at weblogic.jdbcbase.mssqlserver4.TdsConnection.login(TdsConnection.java:64)
    [exec] at weblogic.jdbc20.mssqlserver4.MicrosoftConnection.login(MicrosoftConnection.java:53)
    [exec] at weblogic.jdbcbase.mssqlserver4.BaseConnection.prepareConnection(BaseConnection.java:186)
    [exec] at weblogic.jdbc20.mssqlserver4.Driver.newConnection(Driver.java:32)
    [exec] at weblogic.jdbcbase.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:148)
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:164)
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:123)
    [exec] at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:840)
    [exec] at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:416)
    [exec] at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:106)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:220)
    [exec] at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    [exec] at java.lang.reflect.Method.invoke(Native Method)
    [exec] at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    [exec] at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    [exec] at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    [exec]
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:172)
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:123)
    [exec] at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:840)
    [exec] at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:416)
    [exec] at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:106)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:220)
    [exec] at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    [exec] at java.lang.reflect.Method.invoke(Native Method)
    [exec] at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    [exec] at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    [exec] at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    [exec]
    [exec] at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:140)
    [exec] at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:840)
    [exec] at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:416)
    [exec] at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:330)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:106)
    [exec] at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:220)
    [exec] at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    [exec] at java.lang.reflect.Method.invoke(Native Method)
    [exec] at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    [exec] at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    [exec] at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    [exec]
    Jeff

  • JDBC Driver.connect seems to hang.

    I've been using DriverManager.getConnection to get a connection to MySQL. This has been working fine until I tried to use it from a Threaded part of my application.
    It seems to hang when it gets to the DriverManager.getConnection line and never return.
    I googled about for hours and came up with that there may be a bug in DriverManager.getConnection which causes a deadlock. So I tried using the connect method directly on the driver but got the exact same problem of it hanging on that line.
    I tried running my application (in Netbeans) with the 'Debug File' mode rather than just 'Run File' and everything works perfectly! No problems, which just seemed strange.
    If anyone could point me in the right direction I'd be very grateful. I can supply more details if need be :)
    Cheers,
    stu.

    It seems to hang when it gets to the
    DriverManager.getConnection line and never return.Have you actually verifed this, for example by putting System.out.println statements before and after the getConnection() call? "Seems to..." implies that you're making an assumption which may not be true.
    I tried running my application (in Netbeans) with the
    'Debug File' mode rather than just 'Run File' and
    everything works perfectly! No problems, which just
    seemed strange. Doesn't seem too strange actually. That's what "race conditions" and deadlock conditions are about -- different timing in the app will cause different results.

  • JDBC Driver details

    hello
    I have a JDBC Sender scenario. I installed the JDBC driver and I would like to know where can I get the data for the communication channel:
    JDBC Driver
    connection
    also where and how do I create username and password?
    are they u/p on the JDBC Driver or this are the U/P directly to the DB?
    Thanks
    Kfir

    > I have a JDBC Sender scenario. I installed the JDBC driver and I would like to know where can I get the data for the communication channel:
    > JDBC Driver
    > connection
    You have already installed driver in PI system,so you shoul know the driver name,which db driver you have installed??
    >
    > also where and how do I create username and password?
    > are they u/p on the JDBC Driver or this are the U/P directly to the DB?
    >
    user name and password should get from Data base team,the details what you are going to enter,the user name should have authorizations to access the data base.
    data base name also you will get it from Data Base team,like where you updating or inserting data.
    Regards,
    Raj

  • File-xi-jdbc Driver

    Hi All
    file-xi-jdbc scenario in jdbc adaptor under d/b connections how do we give parameters like JDBC Driver, Connection, UserName and password .and where do we get them.
    pls give a response.
    Thanks & Regards

    under the JDBC connection tab: the required paramters are filled depending upon the Databse you are using....so depening upon the D/B you also have to deploy the necessary jar files to suppor the driver information you mention in the connection tab.
    Example
    MaxDB
    JDBC Driver Class: com.sap.dbtech.jdbc.DriverSapDB
    Connection url : jdbc:sapdb://DBServer/DBName
    MSAccess
    JDBC Driver Class: jdbc.odbc.JdbcOdbcDriver
    Connection url : jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//xiserver/xitemp/db/1.mdb
    Sqlserver
    JDBC-Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection: jdbc:microsoft:sqlserver://10.94.22.99:1433;DatabaseName=COS
    check these information:
    also check this
    tther option is download JDBC Driver from Microsoft Website
    http://www.microsoft.com/downloads/details.aspx?FamilyID=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
    and deploy the JDBC driver using SDM.
    JDBC Driver Deployment Guide...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    how to configure drivers:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    also http://www.oracle.com/technology/software/tech/windows/odbc/index.html
    Help Required on File to JDBC scenario
    JDBC Driver?
    Check this URL for details on JDBC drivers support list -
    Re: Different Version Oracle in a SLD
    For MSacess
    /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn

  • How to use the oracle jdbc driver

    hi all,
    i have use the jdbc driver for oracle before but this time i<m under a hp-ux system and it seems to be different
    the dba here said the odbc driver and the jdbc driver where install but i get this error when i compile the code
    Class oracle.jdbc.driver.OracleDriver not found in type declration.
    if i try to use a odbc driver i can compile(since the classes are in jdk1.3) but i get this error at run time
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:126)
    at TestOracle.<init>(TestOracle.java:33)
    at TestOracle.main(TestOracle.java:126)
    can someone help me out to better understand what is wrong
    it seems the drivers are not install but again the dba assures me they are
    import java.sql.*;
    import java.io.*;
    public class TestOracle {
    public TestOracle()
    // Load the Oracle JDBC driver
    // Connect to the database
    // search the dossiers numbers in the right table depending on criteria
    // if demands comes from extranet verify to only send back the dossier
    // numbers that are linked to the customer
    // Load the Oracle JDBC driver
    try
         //DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
         //Class.forName("oracle.djbc.driver.OracleDriver");
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    catch( Throwable t ){t.printStackTrace();}
    //SQLException,IOException,ClassNotFoundException,
    //IllegalAccessException,InstantiationException
    try
         // Connect to the database
         // You can put a database name after the @ sign in the connection URL.
         Connection conn =
              //DriverManager.getConnection ("jdbc:oracle:oci8:@COLDDEV", "USER", "PPP");
              DriverManager.getConnection("jdbc:odbc:COLDDEV","USER", "PPP");
         Statement stmt = conn.createStatement ();
         ResultSet r = stmt.executeQuery("select * from Dossier");
         stmt.close();
         System.out.println("trouver:" + r.getString("Dossier_Number"));
    catch (SQLException e){e.printStackTrace();}
    public static void main(String[] args)
    TestOracle testOracle1 = new TestOracle();
    here is the code iuse

    http://forum.java.sun.com/thread.jsp?forum=48&thread=187964&start=0&range=15#608968
    The above link is a comprehensive "How to get set up and on my way" that I made for someone else learning Oracle/jdbc. Kind of a self-help resource page. I would start from the beginning and download the newest drivers, then set up your environment,...etc.
    hope this helped,
    Jamie

  • 3rd Party JDBC Driver in IAS6

    Hi,
    I set up a third-party JDBC driver on iPlanet App Server 6.0 SP3 Test Drive
    on WinNT 4.0. I then ran HelloDB against a data source pointing to this JDBC
    driver. I got the following exception while trying to make a connection. Any
    hint as to what's wrong would be greatly appreciated.
    Yongtao You
    [email protected]
    PS. The "Driver Classpath" is set to "k:\iPlanet\ias6\neon\scjd12ts.jar"
    which contains the class "com.neon.jdbc.Driver".
    java.sql.SQLException: A. Couldn't load or create 3rd party class:
    com.neon.jdbc.Driver
    at com.netscape.server.jdbc.Driver.connect(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.createNewConnection(Unknown
    Source)
    at com.netscape.server.jdbc.ProxyEvaluation.createObject(Unknown Source)
    at com.kivasoft.rlop.ObjectPool.reserveObjectnative(Native Method)
    at com.kivasoft.rlop.ObjectPool.reserveObject(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getFromPool(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getConnection(Unknown Source)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown Source)
    at
    samples.hellodb.servlet.GreeterDBServlet.doGet(GreeterDBServlet.java:91)
    at
    samples.hellodb.servlet.GreeterDBServlet.doPost(GreeterDBServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)

    Hi,
    I fixed the problem by manually editing the Windows Registry.
    Thanks.
    Yongtao
    Yongtao You <[email protected]> wrote in message
    news:9q52qh$[email protected]..
    Hi,
    I set up a third-party JDBC driver on iPlanet App Server 6.0 SP3 TestDrive
    on WinNT 4.0. I then ran HelloDB against a data source pointing to thisJDBC
    driver. I got the following exception while trying to make a connection.Any
    hint as to what's wrong would be greatly appreciated.
    Yongtao You
    [email protected]
    PS. The "Driver Classpath" is set to "k:\iPlanet\ias6\neon\scjd12ts.jar"
    which contains the class "com.neon.jdbc.Driver".
    java.sql.SQLException: A. Couldn't load or create 3rd party class:
    com.neon.jdbc.Driver
    at com.netscape.server.jdbc.Driver.connect(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.createNewConnection(Unknown
    Source)
    at com.netscape.server.jdbc.ProxyEvaluation.createObject(UnknownSource)
    at com.kivasoft.rlop.ObjectPool.reserveObjectnative(Native Method)
    at com.kivasoft.rlop.ObjectPool.reserveObject(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getFromPool(Unknown Source)
    at com.netscape.server.jdbc.ConnectionPool.getConnection(UnknownSource)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(UnknownSource)
    at com.netscape.server.jdbc.DataSourceImpl.getConnection(UnknownSource)
    at
    samples.hellodb.servlet.GreeterDBServlet.doGet(GreeterDBServlet.java:91)
    at
    samples.hellodb.servlet.GreeterDBServlet.doPost(GreeterDBServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    atcom.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)

  • Loading JDBC driver

    Q: Which of the following ways will not load a JDBC Driver?
    A.Configure the list of drivers in jdbc.driver system property
    B.call the Driver's constructor
    C.pass class name to forName method of the class
    D.use JNDI to locate the Driver

    DataFiddler wrote:
    BIJ001 wrote:
    If making the JVM load the class through Class.forName registers the driver, constructing a driver instance will register it too.... And even if it would not register (if it were worse than the example below), you could still use it after constructing an instance
    import java.sql.*;
    public class WhyRegister {
         public static void main(String[] args) {
              try {
                   Driver myDriver = new com.mysql.jdbc.Driver();
                   Connection c = myDriver.connect(
                             "jdbc:mysql://localhost/TestDB", null);
                   c.close();
              } catch (SQLException e) {
                   System.out.println(e.getMessage());
    }Option B definitely should work as well...But if your runtime can instantiate a class without loading it, you've got something very odd indeed happening.....

  • Can't connect using OCI JDBC driver in OC4J 10.1.3.3 standalone

    Hi all,
    I've recently upgraded my JDev from 10.1.3.2 to 10.1.3.3 and now I'm unable to establish any OCI connections with my local Oracle 10.1.0.4 database. Not even through a connection pool. The strangest thing is that when I test an OCI connection running from JDeveloper it works fine and the JDBC jars and the oci client are exactly the same.
    The error is always the same when I execute a test on a connection pool using the OCI driver:
    WARNING J2EE DS-00001 Exception occurred testing connection. Exception: java.sql.SQLException: Closed Connection.
    If I just change the driver to the THIN one, the same test works. If I take the same URL from the OCI test and use it in a test class and run it inside JDeveloper, it works also.
    I've even downloaded the instant client 10.1.0.5 (which happens to be exactly the same version of the JDBC driver that comes with JDev 10.1.3.3) and tried to use it with no success.
    THIN connections are working just fine. The problem happens only when I try to connect via OCI and this problem was not happening in version 10.1.3.2.
    Any help?

    I found the cause of this problem. It turns out that you must be very careful with the environment variable ORACLE_HOME. On Windows, normally, we don't even set this variable because most applications are able to get it from the system's registry.
    Well, it happened that I've edited the script start_oc4j.bat and, for organization reasons, I set the ORACLE_HOME variable with my JDeveloper's home directory (which is the same as my OC4J standalone's). By doing that, I kind of confused the OCI client. Once I removed the "set ORACLE_HOME=C:\JDev" line from the script, everything worked just fine again.
    So, always remember: avoid setting environment variable ORACLE_HOME when using Windows and, if you must set it, be sure to do it right.
    Regards,
    Eduardo.

  • Cannot establish connection - JDBC driver for MS SQL server 2000

    Hi,
    We are facing problems in connecting to SQL server 2000.
    We have installed the latest version of the driver from followin link and following
    https://websmp108.sap-ag.de/msplatforms    > SQL Server > JDBC Driver for MS SQL Server (Version 3.70.10)
    We have given the following entries in our communication channel:
    JDBC Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection:  jdbc:sqlserver://<SQLserver IP>:1433;databaseName=production_info
    Please let us know the procedure to find if the JDBC driver for SQL 2000 is installed from our SAP XI.
    ERROR DETAILS:
    Error during database connection to the database URL 'jdbc:sqlserver://<SQLserverIP>:1433;databaseName=production_info' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://<SQLserverIP>:1433;databaseName=production_info': SAPClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver'
    Please help.
    Regards,
    Rehan

    Hi Chris,
    We have used the same because we have downloaded the driver from following location
    https://websmp108.sap-ag.de/msplatforms ;   > SQL Server > JDBC Driver for MS SQL Server (Version 3.70.10)
    I have tried with both "com.microsoft.jdbc.sqlserver.SQLServerDriver"; and "com.microsoft.sqlserver.jdbc.SQLServerDriver";, but still I am facing the same error.
    Service market place has given the driver as "JDBC Driver for MS SQL Server (Version 3.70.10)", is there a way to find out if it is for 2000 or 2005?
    Thanks for your reply.
    Regards,
    Rehan

  • Jdbc thin driver connect oracle as internal

    I need to connect to Oracle as Internal using jdbc driver, is there a way we can do this using jdbc thin driver. Actually I don't want to pass username and password as it will be harcoded in a properties file.
    Please let me know.

    Hi Minol,
    Have a look at this code example that shows how to Connect to Database as internal ( as sysdba ). In this code sample the properties are hard-coded, you can supply these Properties by loading them from a properties file.
    Connecting to Oracle Database with DBA privileges
    http://myjdbc.tripod.com/basic/codeindex.html
    The code snippet to load properties from a properties file
    //Import IO related classes
    import java.io.IOException;
    // Necessary support classes
    import java.util.Properties;
    import java.util.Enumeration;
    import java.util.ResourceBundle;
       * This method reads a properties file which is passed as
       * the parameter to it and load it into a java Properties
       * object and returns it.
       * @param file File path
       * @return Properties The properties object
       * @exception IOException if loading properties file fails
       * @since 1.0
      public static Properties loadParams(String file)
          throws IOException {
        // Loads a ResourceBundle and creates Properties from it
        Properties     prop   = new Properties();
        ResourceBundle bundle = ResourceBundle.getBundle(file);
        // Retrieve the keys and populate the properties object
        Enumeration enum = bundle.getKeys();
        String      key  = null;
        while (enum.hasMoreElements()) {
          key = (String) enum.nextElement();
          prop.put(key, bundle.getObject(key));
        return prop;
      }Regards
    Elango.

  • Where can I get a db2 jdbc driver with connection pool

    hi,all
    I want to look for a free jdbc driver to connect to db2 using with connection pool.
    it isn't present in db2java.zip
    thanks and regards
    [email protected]

    To find JDBC drivers take a look at SUN's overview at http://industry.java.sun.com/products/jdbc/drivers

  • JDBC driver error to connect to an MS Access DB

    Hi All,
    We have created a file to JDBC scenario on XI 3.0. My XI server is on a Linux server and the db the receiver CC is trying to connect to is an MS Access 2007.
    The CC parameters are configured as follow:
    JDBC Driver: jdbc.odbc.JdbcOdbcDriver
    Connection: jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
    xxxxxx\xxxxx\Test.mdb
    On the communication monitoring we are getting the following error message:
    Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
    xxxxxx\xxxxx\Test.mdb': java.lang.NullPointerException
    In regards with the above message and after reviewing several posts, I have two questions I would like to confirm with you:
    a- Do I have to perform a JDBC driver deployment to connect to a MS Access DB? If so, which one.
    b- Is there a suitable JDBC driver on Linux to connect to a MS Access DB? If there is not such a driver, Is there any available workaround for this?
    Please, let us know your recommendations about this or what I should check to identify the cause of the above error.
    Thanks and best regards

    Hi All, in order to discard any possible issue between Linux and MS access connection, we are currently in the process on configuring a J2SE Plain Adapter Engine on a Windows environment. However, after configuring a JDBC receiver scenario we are getting the following error message in the adapter logs:
    Classname=com.sap.aii.messaging.adapter.ModuleXMB2DB
    Version=30
    Mode=XMB2DB_XML
    XI.httport=xxxx
    XI.httpService=/db/receiver
    db.jdbcDriver=sun.jdbc.odbc.JdbcOdbcDriver
    db.connectionURL=jdbc:odbc:Driver={Microsoft Acces Driver (*.mdb)};=<Path to the mdb file>
    Error log
    15:50:23 (4311): ERROR: Attempt to access JDBC connection failed with "[Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented"
    Attempt to initialize JDBC adapter failed
    15:50:23 (4340): JDBC adapter initialized with database error. Proceed
    15:50:23 (4303): JDBC adapter listener started
    Then, the Mode parameter was changed to XMB2DB and the error log is as follow:
    15:36:14 (4315): ERROR: Attempt to initialize transform class com.sap.aii.messaging.adapter.Payload2DBBinding  failed with exception com.sap.aii.messaging.adapter.trans.TransformException: Error 'com.sap.aii.messaging.adapter.trans.TransformException: Error: Parameter 'db.table' missing' initializing class payload2DBBinding
    15:36:14 (4304): Unable to start JDBC adapter (not initialized)
    According to our scenario the required mode would be XMB2DB_XML. Could you please let us know the cause of the u201COptional feature not implementedu201D error message is?
    The following data may be helpful:
    OS version: Windows 2003 Server SP2
    JRE (1.6.0_16-b01)
    Weu2019ll wait for your recommendations.
    Thanks and best regards

  • XI adapter polling issue & JDBC  / DB2 driver connection timeout properties

    Hello Group,
    We have a long running issue with our XI 7.0 system running on iseries. (V5R3) The issue occuring is that our XI adapters stop polling and the only resolution is to restart the J2EE engine or to resart the adapter framework services.
    We have had several OSS messages open on this subject for over a year and are going round in circles with the a number of different SAP consultants.
    The one topic that we keep coming back to is that we are being asked to set DB2 driver connection timeout properties. We are using the toolbox driver and have upated to the latest JTopen driver, but have not managed to find any inofrmation on how to set the timeout parameter. Does anyone know where the timeout parameter set?
    Has anyone experienced polling issue like this before and how did you resolve?
    SAP referred to the SAP note 1078420 - XI/PI JDBC Adapter: Setting JDBC driver properties for DB which is for Oracle, but this will give an idea of what timeout parameters SAP are asking about.
    Extract of the note is below:-
    Symptom
    This note gives an option to set JDBC driver properties while acquiring a DB connection. When connecting to DB using JDBC adapter there are instances
    where DB connection take a long time to establish connection. Some times call made to Driver will hang permanently. Setting driver properties would resolve this problem.
    More Terms
    Connection timeout, time out, query timeout
    Cause and Prerequisites
    Solution
    In the advanced mode table section of sender channel and receiver channel configurations, we can set driver properties for each DB connection. Any
    such property would have to contain prefix 'driver:'(with out quotes) For example, for Oracle Database JDBC thin driver 10.2.0.3 version, the
    property oracle.jdbc.ReadTimeout helps to set read timeout while reading from the socket. Also for setting login time out in Oracle, we use
    oracle.net.CONNECT_TIMEOUT. To set these two properties use as follows:
    driver:oracle.jdbc.ReadTimeout 1000
    driver:oracle.net.CONNECT_TIMEOUT 1000
    (The TimeOut Driver properties like ReadTimeout and CONNECT_TIMEOUT are in milliseconds)
    Refer to your DB documentation/ JDBC driver documentation on this. Please note that properties can vary from each driver version. For instance, some
    of properties of Oracle JDBC thin Driver 10.2.0.3 properties may not be present in older version drivers. Please contact DB vendor for the complete
    list of driver properties. In addition to above, we also provide another parameter for query time out.
    sqlquerytimeout (prefix 'driver:' is not required) is the parameter that is to be used for SQL query time out. This is case-sensitive and should be
    configured as positive integer value in seconds(greater than 0).
    Any help on this would be much appreciated.
    With regards,
    Steven

    Hello,
    I am not talking about the XI timeouts. But the timeouts which can be used to get the connection timeouts for DB2/AS400 databases.
    So please provide that information.
    THanks,
    soorya

Maybe you are looking for

  • Help reading a .txt file from the hard drive....

    Hi guys, Ok... I need to know how to read a .txt file from the hard drive... I have an example on how to read from a disk, but I don't have a disk drive. I could be confusing terminology, but I don't think I am. Here is the code I have for reading fr

  • I'm looking for a case/bag for the new MacBook Pro with Retina Display - any suggestions?

    As the title says, I'm looking for a case or bag for the new MBP w/ Retina Display. I'd prefer either a sleeve or a backpack designed for it - not having any luck finding sleeves that are made for the MBP w/ Retina Display, and I'm thinking the ones

  • Top of file gone missing, can it be recovered?

    Hi all, I had a file open in BBEdit Lite 6.1 for OS X and found that several pages off the top were missing, either by inadvertent edit error or bug. This I noticed after the file was saved. The file is a log file, so I always add to the end and leav

  • How do you get a list of records to scroll automatically instead of page

    I have a set of records displayed in a list control. The list currently pages through the records and displays two records at a time. I want to display all the records and have them scroll vertically like movie credits and allow users to adjust the s

  • Adobe photoshop 11 freezes on startup

    when I start up adobe photoshop 11, the screen freezes on "initializing model ...".  the only way I know to fix the freeze problem is to reboot my computer. Later on, I may need to do this workaround again.  this workaround is very aggrevating.  what