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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • DB Adapter connecting to DB2

    "We are using DB Adapter to connect BPEL (10.1.2.0.2) to DB2 V7 (Z/OS) using the DataDirect JDBC Drivers. If we connect using the DBA's username/password (SYSADM role), it seems to work fine. But if using any other user's username/password, we cannot see any tables/views/etc. from JDeveloper - and no schemas are available to choose from either. The DB2 DBA has not used JDBC to connect to their DB2 instance before - but cannot see any missing permissions for the non-DBA usernames. The catalog has public read permissions - and all of these users can see everything just fine if they go in through the normal green-screen console. Does anyone have experience with connecting to DB2 on Z/OS and can help us?"

    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

  • 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

  • Connect a db2 database

    how can i connect my Project with  a db2 database

    Hi martin1995,
    Thank you for posting in MSDN forum.
    Since this forum is discuss this VS usage issue, so I am afraid that the issue is out of support range of this forum.
    So I suggest you could try this COr's suggestion to check this issue, if you have any issues about this db2 database  , please post this issue to this IBM DB2 Database site:
    http://www-05.ibm.com/support/operations/us/en/contractsfaq.html?lnk=msdCS-faqs-usen , you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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

  • OvD - Database Adapter (connect to encrypted database)

    HI,
    Is it possible to connect OvD to an SQL Server 2005 Database with encrypted data ? We have configured the adapter, but we see the encrypted uid instead of clear text.
    Any help is appreciated.
    Thanks.
    CI

    Sorted this out:
    Used custom URL and made sure that the OVD Manager IDE was not appending any additional information following the closing bracket of the URL.
    The full successful URL was as follows with no values in any of the other fields:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS = (PROTOCOL = TCP)(HOST = host1)(PORT = 1540))(ADDRESS = (PROTOCOL = TCP)(HOST = host2)(PORT = 1540))(CONNECT_DATA=(SERVICE_NAME=SNAME)))

  • 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

  • Connection Pool to DB2 Database

    I get this exception when I try to establish a connection to DB2 database through Sun One Web Server Connection Pool.
    I am using db2java.zip and com.ibm.db2.jdbc.DB2SimpleDataSource
    data source. Please help.

    Sorry forgot to add the exception, this is the exception,
    java.sql.SQLException: RSR0029: Missing Password for Application Authorization
    Any idea as when we get this exception?

  • How to connect DB2 database to Xcelsius

    Hi,
    I am looking out for options to connect my DB2 database to xclesius. I dont want to go for BOBJ licensing cost. Do we have some other way to achieve this?
    Thanks,
    Neha

    Check out the below links:
    How to connect to DB2 from xcelsius without the presence of BO environment
    https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=8&cad=rja&uact=8&ved=0CFEQFjAH&url=http%3A%2F%2Fwww.busi…
    Page no 7 has explained how to connect DB2 using the data access driver.
    --SumanT

  • Connection to DB2

    Hi all,
    I need to connect to DB2 Database using the JDBC Adapter. I have deployed the following jar files in my XI system,
    db2jcc.jar
    db2jcc_license_c.jar
    But still im getting the following error,
    Error during database connection to the database URL 'jdbc:db2://10.236.70.114:50000/EPEDIGRE' using the JDBC driver 'com.ibm.db2.jcc.DB2Driver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:db2://10.236.70.114:50000/EPEDIGRE': com.ibm.db2.jcc.a.SqlException: [ibm][db2][jcc][1078][11539] Expired JDBC driver. IBM DB2 JDBC Universal Driver Architecture 3.1.5 Test Build expired on 12/30/06 12:00 AM.'
    please help me.

    hi
    give the
    JDBC DRIVER = oracle.jdbc.driver.OracleDriver
    connection = jdbc:oracle:thin:@<ip address>:<port no of oracle db>:dbname
    check u r user name & pasword
    check u query sql statement & update sql statement

  • JDBC Driver Class for DB2 databases on OS/390

    Hi,
    To anybody who can help.
    I am trying to connect to DB2 database on OS/390 from my PC - Windows 2000. I have loaded IBM DB2 Application Development Client V7.2 as well as IBM DB2 Administration Client V7.2 I guess this is called using Db2 Connect. I have done proper configuration of host databases.
    Anyway, I write this small simple class to connect to Db2 database and I keep getting this error.
    "Error loading Driver classjava.lang.ClassNotFoundException: com.ibm.db2.jdbc.app.DB2Driver
    Sorry, No connection established"
    This is my classpath....
    C:\Program Files\SQLLIB\java\db2java.zip;
    C:\ProgramFiles\IBM\ApplicationDeveloper\plugins\com.ibm.etools.webtools\jars\jspsql.jar;
    C:\ProgramFiles\IBM\ApplicationDeveloper\plugins\com.ibm.etools.webtools\jars\dbbeans.jar;
    C:\ProgramFiles\IBM\ApplicationDeveloper\plugins\com.ibm.etools.webtools\jars\dbbeans_javadoc.zip;
    C:\Program Files\SQLLIB\java\runtime.zip;
    C:\Program Files\SQLLIB\java\sqlj.zip;
    C:\Program Files\SQLLIB\bin
    This is my java class....
    package JavaFiles;
    import java.sql.*;
    import java.lang.*;
    public class DbConnection
         public static void main(String[] args)
         throws ClassNotFoundException,SQLException
              String url = "jdbc:db2:db2test.state.sc.us:50000:DB2DB02";
              String username = "db2admin";
              String passwd = "db2admin1";
              connect(url,username,passwd);
         public static void connect(String url, String username, String passwd)
         throws ClassNotFoundException,SQLException
         try
    Class.forName("com.ibm.db2.jdbc.app.DB2Driver");
         Connection conn = DriverManager.getConnection(url,username,passwd);
         System.out.println("Yes,You are connected");
         catch(ClassNotFoundException cnfe)
              System.err.println("Error loading Driver class" + cnfe);
              System.out.println("Sorry, No connection established");
         catch(SQLException sqle)
         System.err.println("Error connecting to Database" + sqle);
    Any help on this will let me move further in my project. ThankYou.

    Nice trap from IBM: package name starts with COM not
    com!
    Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");---Sure I tried that. Sorry. That doesn't work.
    I tried with Class.forName("COM.ibm.db2.jdbc.net.DB2Driver");
    That doesn't work either.
    Is my connection URL OK? I made several kinds of format changes to the URL
    "jdbc:db2://db2test.state.sc.us:50000/DB2DB02";
    "jdbc:db2:db2test.state.sc.us:50000:DB2DB02";
    etc....For now I am sticking with the first version.
    Any more suggestions please. Did you take a look at my classpath. Is that OK? Should I rename db2java.zip to .jar and are there any other dir's where it should be contained?????
    ThankYou all.

Maybe you are looking for