Error trying to connect to DB2 database....

Am using the following code to connect to db2 database, but when run am getting error messgae as shown,
try
     Class.forName("COM.ibm.db2.jdbc.net.DB2Driver").newInstance();
catch(Exception exception)
System.err.println("Unable to load driver.");
exception.printStackTrace();
try
     Connection connection = DriverManager.getConnection("jdbc:db2://xxx.xxx.xxx.xxx:port/dbname");
error message.....
Exception in thread "main" java.lang.NoClassDefFoundError:
.....Any suggestions gratefully recieved....

It does not matter whether your database server is running locally or on a remote server. Most of the times it will be on a remote server.
But the driver and the related stuff must be in your local machine's classpath. Only then you can compile or run your application locally. Include db2 package in the classpath and then try to compile your program. You can search in this forum about setting the classpath details.
Every fourth thread in this forum will be about classpath or related problems.
Sudha

Similar Messages

  • Trying to connect to DB2 database....get windows Application error message

    Hello,
    I have just started using JDBC and I am trying to connect to a DB2 db from my pc. The program I have written compiles ok but when I try to run the program I get a windows error:
    java.exe - Application error
    The instruction at "0x10009f62" referenced memory at "0x0000001c". The memory could not be "read".
    Click OK to terminate the program.
    Click CANCEL to debug the program.
    I am using Windows2000 and DB2 v6.1.0 is installed on my laptop.
    The program I am trying to run is as follows:
    //Class to load jdbc driver and test connectivity to DB
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    //Dynamic SQL application using jdbc
    //example taken from Don Chamberlain's book, page 504
    //Adjusted for reptest DB
    public class Test{
    //Register the jdbc driver
    static{
    try{
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
    }//ends try
    catch (Exception e){
    System.out.println("Error registering the jdbc driver");
    e.printStackTrace();
    }//ends catch
    }//ends static
    public static void main(String args[]){
    //try catch block, Create a Connection object and use it to connect to the DB and turn autocommit off
    //The DB is identified by a URl that begins with "jdbc:db2" followed by the DB name
    try{
    String dbname = "dbname";
    String userid = "uid";
    String pw = "password";
    String url = "jdbc:db2:" + dbname;
    Connection con = DriverManager.getConnection(url, userid, pw);
    con.setAutoCommit(false);
    //Simple select statement
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT problem_id" + "FROM problems" + "WHERE problem_id = 2002219");
    System.out.println(rs.getString(1));
    }//end try
    //General purpose exception
    catch(Exception e){
    System.out.println("Error");
    e.printStackTrace();
    }//ends outer catch
    System.out.println("Successful");
    }//ends main
    }//ends class
    I'd appreciate any help. Thanks , Ali

    Hello,
    This is because of the DB2Java.zip file, what i did is unzip the file into a temp folder then make a jar using jar -cvf DB2java.jar COM
    (COM is important)now you can see jar file is created. you have to use this jar file in your classpath it works fine,
    That's all it works for me.
    Thanks for somebody placed in the java forum.
    Cheers
    Bala

  • SAP Org Chart: connection error in setting connection to DB2 database

    Dear SAP Experts,
    We have installed SAP staged installation of SAP OrgChart 2.0. We are not in the process of connecting to the DB2 database.
    We encountered the following error as shown below when in the SAPExtractor configuration.
    Destination Database Details
    The extracted SAP tables will be saved in the specified database.
    Connection Failed: Object reference not set to an instance of an object.
    Server Type:  SQL Server Oracle DB2
    Server Name:   .........
    Initial Catalog:   ........
    User Name:   ........
    Password:   .........
    We have already created a database named ExtractedData using the Console center of DB2. Can you help us to check what might caused this connection failure.
    Thanks in advance,
    Angelo
    Accenture Inc.
    SAP BAsis

    Hello Luke,
    I have provided the connection details in Admin Console. I am currently doing the configuration for SAPExtractor under Destination Database details.
    I used the following details:
    Server Type: DB2
    Server Name: UKDCASAP09
    Initial Catalog: EXTDATA
    User Name: db2nks
    Password: ********
    Upon test connection, we get a connection failure message:
    Connection Failed: Object reference not set to an instance of an object.
    From the CDS.log, I got this error message:
    ERROR: DataConnectionProcessor : createDB2NativeConnection : Source {IBM.Data.DB2}: Message {The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.}
    I am not sure if this has something to do with the DB2 set-up. I have checked that the instance we created is already running and connected using the db admin user "db2nks"
    Many thanks.
    Angelo
    Accenture Inc.
    SAP Basis

  • Ora12514 error trying to connect to apex database

    created a new install of apex on a unix server in a database called TEST, the marvel.conf file on my app server has this entry:
    PlsqlDatabaseConnectString apollo:1521:apex ServiceNameFormat...
    their is an entry in the local tnsnames.ora file (on the app server) that has apex as an alias that points to the database (TEST)
    in the listener.ora file on the unix server there is no entry with a service name of apex , should there be ?

    my llistener.ora already has an entry for test, since i've had a test instance for a while. i've just recently installed apex into this test instance in its own tablespace. when i try to access the admin function using http://banforms:7778/pls/apex/apex_admin i get errors in the log file like:
    [Wed Nov 19 07:31:29 2008] [error] [client 10.2.2.113] [ecid: 1227097889:10.2.2.99:8912:4856:2,0] mod_plsql: /pls/apex/apex_admin HTTP-503 ORA-12514 ORA-12514: TNS:listener does not currently know of service requested in connect descriptor\n
    [Wed Nov 19 07:49:04 2008] [error] [client 10.2.2.113] [ecid: 1227098944:10.2.2.99:8912:7040:48,0] mod_plsql: /pls/apex/apex_admin HTTP-503 ORA-12514 ORA-12514: TNS:listener does not currently know of service requested in connect descriptor\n
    do you know what the value after /pls is pointing to ?

  • Error Could not connect to the database - ora-12545: tns:name lookup failure

    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

    Copy the tnsname.ora file from Oracle Database serve onto the client PC.
    Path: %Oracle_home%\net80\admin\
    Send me a mail if there is any other issues
    Regards
    Oluseyi Funmi Oduberu
    Oracle Consultant
    Email:[email protected]
    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

  • "Error" Trying to connect to.......

    "Error" trying to connect to Infinitum9342
    This message appears since i installed the update of airport for my Macbook C2D when trying to connect to the internet. (my litlte internet box)
    I dont know how to name that thing in english, so i will just describe it, is a litle box, where i can connect ethernet cables or where i can connect wifi devices (such as my mac) rith now i just plug a ethernet cable to my macbook so i can get to the internet, but i loved using wi-fi, it just worked maravously for the past months in this mac, but now with the new update is all gone...and i dont know what to do!!!, the problem will be the next week
    because i dont know if my computer will connect on other wifi connections (such as the one that is in my school, or work, or public places) and i need to use it for work and stuff.... and i cannot take a thernet cable everywhere, and i dont think there are public places to just connect a ethernet cable.
    SO has anyone found a soultion for this kind of error? before the problem i used the ten digits (WAP) password of my "litle internet box" to connect but it dosnt works anymore.
    Or can i just go back to the previous update of airport? or what can i do???
    HELLLPPPPPPP!!!!!!!!!
    Thanks a lot

    well, WEP requires either a 5 or 13 character ASCII-password, or a 10 or 26 character hexadecimal password. WPA and WPA2 can take just about any password.
    You could temporarily try disabling all encryption just to see if it works. Then hit the manual for your wireless router and see if you can get wpa2,wpa or wep working.
    Good luck,
    Martin

  • Chat gives error" Error trying to connect to the Server. The Server is not available, please try again later"

    I have installed the chat vu and the chat portal server. All the VU's are but still when i start the chat (ip address on the usl) and fill all the credintials, i get the error "Error trying to connect to the Server. The Server is not available, please try again later"
    I have tested the connection in the IIS ChatVU  and it is ok.
    Please guide !!!
    Thanks and Regards
    Rohit

    Hi Rohit,
    Did you change the \ChatAS\web.config file with the right IP address of you Chat Portal VU?
    For your referente check page 116 (Internal Chat Client) from "SAP BCM 7 SP5 Basic Installation Example" document.
    Regards,
    Heber Olivar

  • Icloud encountered an error trying to connect to the server.

    When I try to sign in to my iCloud through iCloud.com I get this error: "icloud encountered an error trying to connect to the server.". However, at the same time I can  login with my different Apple IDs. It seems to me the problem is with this account. For sure I have already verified my account and I enter the correct password
    For further info, My iMac also cannot sync anything with the cloud. Meaning that, Also Im not able to manage my iCloud in system preference neither.
    Does anyone have any idea?! Could you please help me out if you know whats wrong?

    If it only does it at work, then the most likely reason is that your work network is blocking it, or one of the servers iCloud connects to.
    Have you asked the IT people at work? Checked it on another computer at work?

  • TS3694 I keep getting the errors 12001 and 11222. Anyone out there know why I get these errors trying to connect to the iTunes store?

    I keep getting the errors 12001 and 11222. Anyone out there know why I get these errors trying to connect to the iTunes store?

    http://manuals.info.apple.com/en_US/NewtonProgrammerRef20.PDFError12001
    Error 11222
    http://support.apple.com/kb/TS3297

  • Connection to DB2 Database

    Hi all,
    I need to connect to DB2 Database using the JDBC Adapter.
    Where do I need to provide the File name in JDBC adapter?
    I need to send as Flat File,is there any option in JDBC Adapter like Content COnversion in File Adapter?
    Please advice me.And I appreciate your help.
    Thank you.

    Hi ,
    <i>I need to connect to DB2 Database using the JDBC Adapter.</i>
    First you have to deploy your drivers
    DB2 JDBC driver, refer to:
    http://publib.boulder.ibm.com/infocenter/db2help/index.jsp?topic=/com.ibm.db2.udb.doc/ad/t0010264.htm
    <i>Where do I need to provide the File name in JDBC adapter?</i>
    You should give sender file name in the sender file adapter used to poll the file.
    For the reciever(data base)..You have to mention the target database table name in the message mapping.
    <i>I need to send as Flat File,is there any option in JDBC Adapter like Content COnversion in File Adapter?</i>
    No....
    JDBC reciever Adapter is used to send the data to the data base table which has some specific format  ...where as file content converion is used where there is no specific structures like flat files.
    Thanks,
    sekhar

  • Setting up Secure connection with DB2 database on IBM iSeries

    We have requirement to setup Secure connection with DB2 database on IBM iseries system. currently we are using ODBC type of connectivity which is not secure. Can anyone help how to set up Secure connectivity. below are the system details . . Application - IDQ - 9.6.0 Database - DB2 on IBM iSeries AS400

    We have requirement to setup Secure connection with DB2 database on IBM iseries system. currently we are using ODBC type of connectivity which is not secure. Can anyone help how to set up Secure connectivity. below are the system details . . Application - IDQ - 9.6.0 Database - DB2 on IBM iSeries AS400

  • DB Adapter connecting to DB2 Database is giving Transaction Commit Error

    Hi All,
    I have a simple BPEL process in 11g which executes a select query through the DB adapter in the DB2 database
    The below is the query
    select column1,column2,column3 from table1 where column1='123456'
    During the invoke of the DBAdapter I am getting the following Error in SOAP UI testing tool
    ++<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">++
    ++<env:Header/>++
    ++<env:Body>++
    ++<env:Fault>++
    ++<faultcode>env:Server</faultcode>++
    ++<faultstring>Exception occured when binding was invoked.++
    ++Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DB2Test' failed due to: DBWriteInteractionSpec Execute Failed Exception.++
    *++unknown failed. Descriptor name: [unknown].++*
    ++Caused by java.sql.SQLException: Cannot call Connection.commit in distributed transaction.  Transaction Manager will commit the resource manager when the distributed transaction is committed..++
    ++".++
    ++The invoked JCA adapter raised a resource exception.++
    ++Please examine the above error message carefully to determine a resolution.</faultstring>++
    ++<faultactor/>++
    ++<detail>++
    ++<exception>Cannot call Connection.commit in distributed transaction.  Transaction Manager will commit the resource manager when the distributed transaction is committed.</exception>++
    ++</detail>++
    ++</env:Fault>++
    ++</env:Body>++
    ++</env:Envelope>++
    The Datasource configured has "Support Global Transactions" option Checked and One Phase Commit selected.
    Any help or pointers in this regard will be greatly appreciated.
    Thanks in advance
    Regards
    Nithya Subramanian

    Hi Anuj,
    I tried the Option 2 given in the thread which you have mentioned.
    Our DataSource is targeted to the managed server so we just restarted the managed server.
    I am still getting the same error of
    "Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed."
    Are there any other alternative approach to fix this issue?
    Regards
    Nithya

  • While trying to connect to Oracle database 11g from SQL developer (Error)

    Hi Guys,
    Installed OIM in virtual machine with Windows 2008 and when trying to connect to Database after completing installation receiving with Error ' No more data to read from socket'
    Vendor code : 17410. can anybody give suggestion on this.
    thanks
    sri485.

    yes i tried connecting DB directly its working fine and i tried select * from DUAL it displays 2 . VMware with OIM working fine in my system and when i copied the same VMWARE file to other system and i tried running OIM and connecting to DB it not working.
    log trace:
    <Aug 21, 2012 2:28:56 PM BST> <Warning> <DeploymentService> <BEA-290014> <Inval
    d user name or password.>
    <Aug 21, 2012 2:28:58 PM BST> <Error> <OIM Authenticator> <BEA-000000> <Error s
    tting SQL Hint java.sql.SQLException: Unable to start the Universal Connection
    ool: oracle.ucp.UniversalConnectionPoolException: Error during pool creation in
    Universal Connection Pool Manager MBean: oracle.ucp.UniversalConnectionPoolExce
    tion: Error during pool creation in Universal Connection Pool Manager: oracle.u
    p.UniversalConnectionPoolException: Universal Connection Pool already exists in
    the Universal Connection Pool Manager. Universal Connection Pool cannot be adde
    to the Universal Connection Pool Manager>
    java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.uc
    .UniversalConnectionPoolException: Error during pool creation in Universal Conn
    ction Pool Manager MBean: oracle.ucp.UniversalConnectionPoolException: Error du
    ing pool creation in Universal Connection Pool Manager: oracle.ucp.UniversalCon
    ectionPoolException: Universal Connection Pool already exists in the Universal
    onnection Pool Manager. Universal Connection Pool cannot be added to the Univer
    al Connection Pool Manager
    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java
    488)
    at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.ja
    a:163)
    at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java
    651)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
    ava:890)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
    ava:857)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.
    ava:851)
    at oracle.iam.platform.auth.impl.DBStore.getConnection(DBStore.java:130
    at oracle.iam.platform.auth.impl.DBStore.setSQLHint(DBStore.java:107)
    at oracle.iam.platform.auth.impl.DBStore.<init>(DBStore.java:62)
    at oracle.iam.platform.auth.impl.DBStore.getInstance(DBStore.java:83)
    at oracle.iam.platform.auth.impl.Authenticator.<init>(Authenticator.jav
    :87)
    at oracle.iam.platform.auth.impl.Authenticator.getInstance(Authenticato
    .java:71)
    at oracle.iam.platform.auth.providers.wls.OIMAuthLoginModule.login(OIMA
    thLoginModule.java:43)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(Lo
    inModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(Lo
    inModuleWrapper.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:
    86)
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:
    80)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(
    AASLoginServiceImpl.java:113)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHand
    er.invoke(Delegator.java:57)
    at $Proxy25.login(Unknown Source)
    at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceIm
    l.login(WLSJAASLoginServiceImpl.java:89)
    at com.bea.common.security.internal.service.JAASAuthenticationServiceIm
    l.authenticate(JAASAuthenticationServiceImpl.java:82)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHand
    er.invoke(Delegator.java:57)
    at $Proxy43.authenticate(Unknown Source)
    at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authen
    icate(WLSJAASAuthenticationServiceWrapper.java:40)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(Princi
    alAuthenticator.java:348)
    at weblogic.security.service.PrincipalAuthenticator.authenticate(Princi
    alAuthenticator.java:355)
    at weblogic.management.servlet.BootstrapServlet$1.run(BootstrapServlet.
    ava:169)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticat
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java
    146)
    at weblogic.management.servlet.BootstrapServlet.processGet(BootstrapSer
    let.java:119)
    at weblogic.management.servlet.BootstrapServlet.doGet(BootstrapServlet.
    ava:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.ru
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecur
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
    a:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
    a:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    n.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticat
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebApp
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServlet
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Error during pool creat
    on in Universal Connection Pool Manager MBean: oracle.ucp.UniversalConnectionPo
    lException: Error during pool creation in Universal Connection Pool Manager: or
    cle.ucp.UniversalConnectionPoolException: Universal Connection Pool already exi
    ts in the Universal Connection Pool Manager. Universal Connection Pool cannot b
    added to the Universal Connection Pool Manager
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(
    CPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolExceptio
    (UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolExceptio
    (UCPErrorHandler.java:80)
    at oracle.ucp.admin.UniversalConnectionPoolManagerMBeanImpl.createConne
    tionPool(UniversalConnectionPoolManagerMBeanImpl.java:316)
    at oracle.ucp.jdbc.PoolDataSourceImpl.startPool(PoolDataSourceImpl.java
    625)
    ... 61 more
    <Aug 21, 2012 2:28:58 PM BST> <Error> <Configuration Management> <BEA-150035> <
    n attempt was made to download the configuration for the server oim_server1 by
    he user iamamin with an invalid password.>
    thanks
    sri485

  • Connecting to DB2 Database using JDBC for select/Insert

    Hi,
    I am trying to connect to an DB2 Database using  JDBC adapter, I have build an UDF for the same.
    The UDF will try to query the database in the form of Select and INSERT.I am using the LOOKUP API provided by SAP.When I try to execute the UDF I have received the following error.can any of you provide the solution for the error and also is it that the JDBC adapter has to be situated on Central Adapter engine to execute the API, can the JDBC adapter used for executing the INSERT statement.
    Exception during processing the payload.Problem when calling an adapter by using communication channel JDBC_PIDB_Receiver_CC (Party: , Service: XIDB_BSRV, Object ID: 59f2d7694acc3e81840f89b0169d9323) XI AF API call failed. Module exception: (No information available). Cause Exception: (No information available).
    com.sap.aii.mapping.lookup.LookupException: Problem when calling an adapter by using communication channel JDBC_PIDB_Receiver_CC (Party: , Service: XIDB_BSRV, Object ID: 59f2d7694acc3e81840f89b0169d9323) XI AF API call failed. Module exception: (No information available). Cause Exception: (No information available).
         at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:131)
         at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:68)
         at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:149)
         at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:77)
         at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
         at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:296)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211)
         at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Root Cause:
    com.sap.aii.af.service.api.AFException: XI AF API call failed. Module exception: (No information available). Cause Exception: (No information available).
         at com.sap.aii.af.service.api.AdapterAccess.sendMsg(AdapterAccess.java:214)
         at com.sap.aii.af.service.api.AdapterAccess.execute(AdapterAccess.java:283)
         at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:123)
         at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:68)
         at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:149)
         at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:77)
         at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
         at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:296)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211)
         at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Thanks,
    Kiran.

    Hi,
    have you deployed the JDBC driver for your DB2 database in your XI system........if not, then ask your basis guys to find the weblog to deploy the JDBC driver in XI system and then deploy your DB2 database driver in your JDBC driver in XI system............
    then again execute your scenario.
    Regards,
    Rajeev Gupta

  • Java.sql.SQLException:No suitable driver.....trying to connect to DB2 db

    I have just compiled a program that tries to connect to a DB2 database in order to create a table with fields and values and to update these. It compiled fine but when I try to run it I get the following error:
    General exception occured
    java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at Loader.main(Loader.java, Compiled Code)
    The name of the db is CHDTEST. The server where this database connects also has other systems and other databases. I don't know if I need to list the system as well. can the db be found without listing the system??
    Here is what is in my code:
    String dbName = "CHDTEST";
    String url = "jdbc:db2" + dbName;
    Connection con = DriverManager.getConnection(url, "db2ad", "tsd4");
    db2ad being the userid
    tsd4 being the pw
    Can anyone help please??thanks, AL

    Hi,
    You must put ":" between db2 and you database name, for example:
    jdbc:db2:CHDTEST and not
    jdbc:db2CHDTEST
    gook luck

Maybe you are looking for

  • ID CS4 slow after pasting text from MS Word

    Each time I paste text from a Word document into my ID CS4 document, ID begins to run very slowly. I can't even type properly. Has anyone else seen this? I have fixed this problem by copying all the text and pasting in the a new document (I thought t

  • What is going on ?!?!? I can't start logic pro in 64-bit mode

    I have been struggling with this issue for a while now, but I haven't made any progress. I am unable to start Logic Pro 9 in 64-bit mode. And when I say that, I mean that if I select the Logic Pro app in Finder, and say "Get Info," there is no "Start

  • L440 Externer Monitor an Display Port Ruhezustand

    Hallo, wenn ich über Display Port mit einem externen Monitor (Asus PB 248) arbeite, dann das L440 in Ruhezustand versetze und ich es wieder starte, wird immer das eingebaute Display eingeschaltet. Der externe Monitor muss jedes Mal über "Win+P" aktiv

  • Transferring music from peripheral hard drives

    I just go a new mac mini(old one died with my itunes libraries) and I have music stored on several peripheral hard drives what is the best way to get it into the new computer that as yet has no music in it. I want to store the music and library on on

  • Doubt on Start Routines.

    Hi BW Experts,   I have a doubt on writing routines.I have enchaced the fields Network and WBS Element along with the data source 0FI_AP_4.And in BW side, I am getting data for Network and WBS Element.My requirement is to display the records which is