JCA / JDBC Configured for non-XA Attempting XA Transaction Commit

I am attempting to create simple BPEL SOA composites in SOA 11.1.1.5 that use a DbAdapter to execute a stored procedure in an 11g database. The database task being performed only involves a single database and does not require transaction support. I have carefully stepped through the creation of the DataSource and JCA pointing through the DbAdapter to the JDBC DataSource so XA transaction support is disabled, the JCA pool sets the transaction mode to "No transaction" and the JCA pool uses the dataSource value to point to the JNDI name of the JDBC pool rather than the xADataSource value.
Visually,
DataSource definition:
name = jdbc/myserviceDataSource
driver = oracle.jdbc.xa.client.OracleXADataSource
url = jdbc:oracle:thin:@mydbhost.myfirm.com:1521:GENERIC
use XA DataSource = unchecked
set XA timeout = unchecked
Keep XA connection until transaction complete = checked
keep connection after local transaction = checked
JCA definition:
name = eis/DB/myserviceDataSource
dataSourceName = jdbc/myserviceDataSource
xADataSourceName = (blank)
platform class name = org.eclipse.persistence.platform.database.Oracle10Platform
Transaction | Transaction Support: no transaction
This configuration works on one sandbox server and I got it working in a second sandbox server. However, after deleting the JDBC and JCA pools to go through the process one more time to document the procedure on the second server, I am unable to get the configuration working again. The WebLogic domain appears to be resurrecting portions of an old configuration that still references the JNDI name of the JDBC pool in the xADataSourceName parameter. I have unpacked the DbAdapter.rar archive for the DbAdapter and verified the contents of the ./META-INF/weblogic-ra.xml file don't use the xADataSouceName parameter. The Deployment Plan for the DbAdapter (named DbAdapterPlan.xml in $SOA_HOME/soa/connectors ) also explicitly configures the JCA pool using the dataSourceName value leaving the xADataSourceName value blank.
However, executing the SOA service using this JCA connection results in this error:
java.sql.SQLException: Cannot call Connection.commit in distributed transaction.
Again, I know the theoretical answer to this question is to disable transactions in the JCA and JDBC configurations and don't use the xADataSourceName element of the JCA configuration to point to the JDBC pool. However, after validating those elements and restarting the pools or performing an Update on the DbAdapter deployment, WebLogic seems to still create connections through the JDBC pool with transactions enabled.
Any suggestions?
Should I just completely undeploy the DbAdapter and redeploy it from the SOA binary installation directory? These are just lab machines right now so that's obviously not a good long term answer for production use but may help start over with refining a better procedure for doing this.

You should use a non-xa driver for your data source...
From the weblogic docs...
Configure Transaction Options
When you configure a JDBC data source using the Administration Console, WebLogic Server automatically selects specific transaction options based on the type of JDBC driver:
For XA drivers, the system automatically selects the Two-Phase Commit protocol for global transaction processing.
For non-XA drivers, local transactions are supported by definition, and WebLogic Server offers the following options ...
http://docs.oracle.com/cd/E23943_01/web.1111/e13737/jdbc_datasources.htm#autoId8
Cheers,
Vlad

Similar Messages

  • How to post an Idoc (INVOICE02) for non-po Invoice (MIRO transaction)

    Hi,
    I want to Post an Idoc for non-po vendor Invoice through MIRO transaction. I want to use INVOICE02 basic type. In the line item we need to enter G/L account , Cost center and line item amount. But I am not able to enter the same in the INVOICE02 Idoc. It will be nice if you please let me know how to post non-po Idoc through MIRO transaction.
    Thanks
    Rama
    Edited by: Rama Sengupta on Nov 25, 2009 3:57 PM

    Hi Raja,
    Check this out.
    Inbound IDocs are triggered by either external systems (edi, wms etc) or can be triggered by inhouse applications in SAP to post a application document.
    1. EDI_DATA_INCOMING can create a IDoc from a file on the OS layer. It just needs a IDoc flat file containing control and data records, it will create an Idoc from it if the control record successfully matches a inbound partner profile parameters.
    2. IDOC_INBOUND_ASYNCHRONOUS can be triggered by external/internal programs to creae IDoc withing SAP, whereas IDOC_INBOUND_SYNCHRONOUS can be used by inhouse SAP programs to create inbound Idoc.
    3. WE19 can create and post an existing inbound Idoc to application
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • DHCP configuration for non-compliant clients

    So your question isn't for a live situation, but because you are studying for a test?

    hello!
    i have a question about network policy server..
    that is , how to configure DHCP server to lease IP address to non-compliant client??
    specifically for access to remediation servers
    thank you..
    This topic first appeared in the Spiceworks Community

  • Scripted JDBC Adapter For Non Standard Database Types

    I am looking to connect through JDBC to a UNIDATA database. I have place the jdbc driver in the WEB-INF/lib directory and rebooted the application server. When I try to create the resource and test the connection with the proper information (user, password, url, host, port, etc), I get a null pointer. I'm assuming the Database Type is causing an issue. Is there a way to get around this?

    I am able to do the recon now. I had to upload the getUser script also. Once i did that I was able to get users linked into IDM properly.

  • JDBC Receiver adapter  configuration for MS SQL

    Hi friends,
    I have configured receiver jdbc adapter for MS SQL database which are as follows:
    jdbc driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
    connection: jdbc:sqlserver://USLABWDB01:1433;DatabaseName=Central_Lab_BIDB
    In communcation channel i am getting following error:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: 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:sqlserver://USLABWDB01:1433;DatabaseName=Central_Lab_BIDB': UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver (Unsupported major.minor version 49.0)
    Kindly tell me what is the root cause of the issue.
    Renu.

    Hi Renu,
    Try foll. 2 steps:
    1) Add the IP address of the server(USLABWDB01) to the host file of your PI server, as you are connecting using Hostname.
    2)Try the following connection strings:
        jdbc driver : com.microsoft.jdbc.sqlserver.SQLServerDriver
        connection: jdbc:microsoft:sqlserver://USLABWDB01:1433;DatabaseName=Central_Lab_BIDB
       Here, 'microsoft' word is added in connection string.
    Try using this, it should work.
    -Tanaya.

  • Configure BI JDBC system for VC

    Hello,
    I am new at VC and try to configure a BI JDBC system (BW 3.5) for VC. I have downloaded
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    (How to Configure a BI JDBC System for Visual Composer.pdf) but do not know how to proceed after step 8 where SDK_JDBC is required. In my Visual Admin --> Cluster tab --> Services --> Connector Container --> Runtime tab --> under sap.com/com/sap.ip.bi.sdk.dac.connector.jdbc node SDK_JDBC must be selected. However, such node does not exist, how can I install it? Please help!
    Thank you very much,
    Elias Negrin

    Hello Elias,
    Please see my comments on your last post below:
    > Hi Deep,
    >
    > In step 7 I have to specify location of JDBC JARs
    > provided by RDBMS vendor (<b>Oracle 9i</b> in our case). I
    > have already done step 6 where added <b>MSSQL </b>jar files
    > (JDBC Connector --> Runtime tab --> Datasources -->
    > Drivers). What am I missing?
    >
    > Thanks again,
    > Elias
    I highlighted in bold where the issue is, you went ahead and loaded the JDBC driver for Microsoft's SQL Server on the JAVA WebAS and not the JDBC driver for Oracle 9i, which is the RDBMS you are using. You can download the appropriate JDBC driver from the site below.
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    Once you have done this install the Oracle JDBC Driver and you should be fine.
    Good Luck,
    Cheers,
    Scott

  • Configuration for JDBC support in Jakarta-Tomcat-4.0

    I have used JSP pages which call packaganame.classname in the useBean directive. This works fine when I have simple programs, but when my class uses JDBC connectivity, this does not work. I get NullPointerException on the browser. I am currently using Jakarta-tomcat4.0 web server.
    I have added the following entry in the server.xml file for JDBC
    connectivity, but it still does not work ...
    " <Realm className="org.apache.catalina.realm.JDBCRealm"
    debug="99"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:<DSNName>"
    userTable="Parts" userNameCol="<user_name>" userCredCol="<password>"
    />"
    Does this support JDBC, if so do I need to do additional configurations
    The Database used is Access2000.
    Your suggessions would be of great help.

    Hi there,
    Firstly, check if you have the JDBC driver on the machine that runs Tomcat. You need this to talk to your database.
    Secondly, "NullPointerException" can be caused by the connection to the database is not opened yet, make sure your code to open the conn before doing a query to the your database.
    Thirdly, from what you stated below it looks like JDBC-ODBC bridge driver instead of pure JDBC driver connectivity.
    In conclusion, you should provide more information abt your configuration for us to help you.
    $-art

  • JDBC for non-relational Databases.

    Hi All,
    correct me if I am wrong in my understanding,
    1. JDBC are a set of specifications (as interfaces etc..) which each
    vendor is expected to provide implementation.
    2. JDBC is for relationsla databases only (like oracle,MySQL etc..) it
    does not take into account the access to non-relational databases.
    3. If 2 is true, is there an equivalent of JDBC for non-relational
    databases?
    TIA.

    1. JDBC are a set of specifications (as interfaces etc..) which each
    vendor is expected to provide implementation.
    Broadly speaking, yes. It doesn't have to be the vendor that provides the implementation, and an ODBC driver (to be used via the JdbcOdbc bridge) is adequate if a native JDBC driver is not available.
    2. JDBC is for relationsla databases only (like oracle,MySQL etc..) it
    does not take into account the access to non-relational databases.
    It expects tabular results. Aside from that I don't think it mandates anything about the design of the underlying system. Certainly it's entirely agnostic about syntactic issues.
    For example, it can talk to Excel spreadsheets, via the JdbcOdbc bridge, and Excel is by no stretch of the imagination a relational database. IMS is not a relational database, but that has a JDBC driver.
    3. If 2 is true, is there an equivalent of JDBC for non-relational
    databases?
    2 is not true, and I'm not aware of any "non relational" database connection standard, probably for this very reason. There may well be vendor specific tools for talking to some systems.

  • Configuration Managment Pack for Non Oracle Systems (new)

    Hi ,
    There is a pack called "Configuration Management" for the database. This pack manage hardware , software , updates, patches, etc for host that have installed any Oracle Software.
    Now, in EM Release 2 there is a new pack "Configuration Managment Pack for Non Oracle Systems" wich basically will allow me to the same but without the requirement to have any Oracle software installed.
    The question is : Where can i find a white paper about it? i been looking around and there is only mentions of the product, but not extra info. I know is out already 3k p/processor..
    Any ideas?
    Sergio Benavides

    Found this dated Oct 2005
    (Note the "priced in Advance of Availability" piece)
    Standalone Managers
    Configuration Management Pack for Non-Oracle Systems (priced in Advance of Availability) 2.375 522,59 Per Processor -
    Provisioning Pack (priced in Advance of Availability) 2.375 522,59 Per Processor -
    Service Level Management Pack (priced in Advance of Availability) 79 17,42 Test -
    (Must license with Beacon Plus Test pricing) 2.375 522,59 Beacon -
    System Monitoring Plug-in for Hosts (priced in Advance of Availability) 1.188 261,29 Per Processor -
    System Monitoring Plug-in for Non Oracle Databases (priced in Advance of Availability) 1.188 261,29 Per Processor -
    System Monitoring Plug-in for Non Oracle Middleware (priced in Advance of Availability)
    25 1.188 261,29 Per Processor -
    System Monitoring Plug-in for Network Devices (priced in Advance of Availability)
    26 1.188 261,29 Per Network Device -
    System Monitoring Plug-in for Storage (priced in Advance of Availability)
    27

  • Non-jdbc datasource for MapViewer

    Is it possible to specify a non-jdbc datasource for Oracle MapViewer?
    That is, if I want Mapviewer to access the database through my own data layer, or with an ORM, is it possible?
    Thanks,
    Rupesh

    I copied jdbcdrv.zip intp C:\Program Files\Sybase\SQL
    Anywhere 9\java
    and using Java page in CF admin, added C:\Program
    Files\Sybase\SQL Anywhere 9\java to classpath, restarted CF
    Application server.
    I then defined new datasources using existing ODBC dsns as
    described in
    http://www.ianywhere.com/developer/product_manuals/sqlanywhere/0902/en/html/dbpgen9/000001 52.htm
    (doesn't seem kosher but that's what my model showed).
    It's not exactly speedy but I've not gotten any errors yet
    (maybe because it isn't speedy)
    Anybody have any idea if there is another way that doesn't
    use anODBC dsn ?

  • Will Firefox be configured to update for non-admins on windows 7/8

    We are considering allowing Firefox in our 5000 user hospital and are currently all Internet Exploder. None of our users are admins on the hospital systems so, is it possible to push updates to windows 7/8 systems? I am not looking for help doing the push, just wanting to know if the updates available for download as MSI or EXE?

    hello, since version 26 firefox is able to auto-update on windows even for non-admin users (when the mozilla maintenance service is getting installed in the original configuration): http://www.mozilla.org/en-US/firefox/26.0/releasenotes/#whatsnew
    those would be the auto-updates provided by mozilla directly - so i'm not sure if this is something that would fit in your environment. installing the .exe file of a new version (available at [https://www.mozilla.org/firefox/all/]) on top of an older version will also update the program.

  • Request for File to JDBC configuration steps.

    Hi XI Forum,
    I have 2 years of exp.in ABAP.I am new to XI. I know file-to-file scenario configuration. And would request you send me configuration document or  step-by-step procedure.
    Thanks in advance.
    Best regards
    Krish

    Hi,
    Check out this links
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    Check out this for JDBC configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    Thanks,
    Prakash

  • CTS+ Configuration for Transporting non-ABAP objects in Portal Landscape using solution manage 7.1 sp8

    Hi,
    Currently we have cts+ already configured for our portal systems in our landscape through solution manager 7.0.
    Recently we had setup a new solution manager 7.1 and need to perform cts+ configuration using this new solution manager 7.1 as we are planning to remove our old solution manager 7.0 very soon.
    We are using NWDI system for transporting our portal transports.
    Please help me with steps on how to configure cts+ using solution manager 7.1 using NWDI.

    Hi Naveen,
    Please find given below BBPCRM & SAP_BW version..
    BBPCRM     500     0013     SAPKU50013     BBPCRM     BBP/CRM Supp. Pack.
    SAP_BW     701     0003     SAPKW70103     SAP Business Warehouse     Component Supp. Pkg.
    This problem is not only with  Bussiness process tab (T-Code: Solution_manage) also System monitoring Still i searching solution for this But once we are restarting System that time this problem is not occuring but after some time system is giving this DUMP
    Regards,
    Suresh

  • Can Jdeveloper Be Used For Non-Oracle Databases

    I have been trying to evaluate Jdeveloper 9i and Jbuilder 7 Enterprise for Swing database development. I am particularly interested in the productivity enhancements such as BC4J and Jclient. The underlying database might be Oracle, SapDb (excellent, easy to use, and free), SQLServer, etc.
    I evaluated Jbuilder Enterprise tools and it worked flawlessly with SapDb. This emphasized using their DataExpress and DbSwing components which provide many useful capabilities similar to BC4j and Jclient. It also involved using their DBPilot tool which allows browsing similar to that provided via a Jdeveloper connection.
    I tried to use Jdeveloper for the same SapDB and it is essentially non-functional. I followed the instructions for using a non-default driver and tried to define a connection. It behaved inconsistently: often saying no suitable driver can be found and yet when you edit the connection and test without making any changes, it works. If you try to establish a BC4J definition, it is very inconsistent and fails to recognize important details as foreign keys. Even if you define a ViewLink manually, it still does not work properly if you attempt to define a Master-Detail Jclient form. As I have stated, all these types of capabilities worked flawlessly in their Jbuilder equivalent. Furthermore, I really like the fact that Jbuilder gives many of BC4Js benefits without needing a BC4J J2EE container.
    Has anyone had real success using Jdeveloper's advanced features to develop for non-Oracle databases and if so, how did you get around these types of problems?

    Hi,
    generally, SCAN can be used for 10g databases and you discovered the first half: for 10g databases you will have to modify the REMOTE_LISTENER entry for each 10g database instance to point to the SCAN listeners (as opposed to pointing to the remote local listeners, which is the default in 10g). You could even have the databases registers themselves with SCAN and the remote listeners, if you wanted to... It's more or less a matter of configuration. But for simplification reasons, I will stick to the case where you have your 10g databases register with the SCAN listeners only.
    Now the other half is the client and the client configuration. An 11g Rel. 2 client configured for RAC would have a TNSNAMES entry that has only one address line for the RAC databases. The host entry in this one address line should point to the SCAN (the SCAN name is ideally resolved in DNS). A 10g client configured for RAC would have as many address lines in the TNSNAMES as you have nodes in the cluster.
    The 10g client SCAN configuration would then be in the middle so to speak: You would have 3 address lines in your TNSNAMES, in which each host entry would resolve to one SCAN address (I assume you will use the recommended default of 3 SCAN IPs). If you choose, you can have a name resolution for each of your SCAN IPs, but this would not be required. Now, why would you do it this way? Because this configuration will always work and does not make you dependent on certain functionality that your DNS server may or may not offer.
    For the remaining questions: SCAN is a DNS entry resolving one name to more than one (typically 3) IP addresses. OID is short for Oracle Internet Directory, which is a complete LDAP server. And you are right that there is no document how to configure 10g clients for SCAN from Oracle yet. However, there is a quite good document on SCAN on otn.oracle.com/rac, but I am sure you are aware of it already.
    Hope that helps. Thanks,
    Markus

  • EWA for NON-ABAP

    Hi,
    I configured SMD in solman, installed SMD & IA agents in Java systems(portals). But not able to generate report.
    EWA setup was already done, i installed the agents  recently. Even downloaded the service xml from solman SMD and tried to generate report manually, but not able to generate it.
    In SDCCN the session log shows as follows.
             07/07/2008     04:53:59     Transfer of session data completed to destination NONE
             07/07/2008     04:53:59      > transfer completed
             07/07/2008     04:53:59      > transfer for server XXXXX completed
             07/07/2008     04:53:58     > transferring 000005 functions, 0000204676 bytes, RFC block size = 0000320000 for server bs1pa01z
             07/07/2008     04:53:58      > transfer for server XXXX started
             07/07/2008     04:53:58      > transfer data to mapped session ID 0000003416 100 destination NONE
             07/07/2008     04:53:58     Transfer of session data started to destination NONE
             07/07/2008     04:53:58     Data collection completed for session 1000000003416 EWALERT SolMan
             07/07/2008     04:52:45     Collection is for non-ABAP system <SID> 0020224025
             07/07/2008     04:52:45     Data collection started for session 1000000003416 EWALERT SolMan (non-ABAP)
             07/07/2008     04:52:45      > New data collection triggered using reference session TSKR000001012
             07/07/2008     04:52:45     Session download data requested using task 0000001887 by BATCHBASIS
    Please guide..
    On solman 4.0 SPS 15, ST-SER 700_2007_1 PATCH 1
    Edited by: Kobby bryant on Jul 8, 2008 2:59 PM
    Edited by: Kobby bryant on Jul 8, 2008 3:36 PM
    Edited by: Kobby bryant on Jul 8, 2008 10:48 PM
    Edited by: Kobby bryant on Jul 9, 2008 2:26 PM

    Hello.
    First of all, you must ensure that your solution manger has, at least, stack 13 of support package, in java and ABAP side.
    Once you hace installed your agents in solution manager, you must to  do different things in your satellite system.
    - First of all, you must get sure that you have deployed LMSERVICE in your satellite system. And you must deploy -     JmxService7.1.P5NetWeaver.ear file.
    - Secondly, you must install wily folder in  /usr/sap/ccm . Willy folder is obtained in ISAGENT71_11-20002182.SAR file.
    Into Wily folder, you must look for sap_IntroscopeAgent.profile file, and you need to modify it in order to be seen for your solution manager. To do this step, only find in this file the next item:
    introscope.agent.enterprisemanager.transport.tcp.host.DEFAULT=
    It will have value 'localhost' and you must delete 'default' and insert your solution manager host.
    - Then, you must go to the next folder opening cmd:
    \usr\sap\ccms\willy\connectors 
    There, execute the next command in order to create the necessary connector:
    java -jar CreateAutoProbeConnector.jar -jvm C:\j                2sdk1.4.2_06 -output connector.jar
    Get sure tou put your corresponding JDK
    - You must install SMD agent in your satellite host, executing sapinst that is in CDSMDTOOLS21_0-10003537.SAR file.
    - Once your agent is running  go to  \usr\sap\SMD\J98\component_analyzer  and execute the command 'gather setup' . It will open to you a new window with some warnings. Double clicking in each warning and editing node, you can insert a value in order to correct these warnings.
    - Then, you must insert different java parameters in your config tool. Parameters are the next:
    -Xbootclasspath/p:K:/usr/sap/SMD/J98/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.7.1.P11-2007-09-27/wily/connectors/AutoProbeConnector.jar;K:/usr/sap/SMD/J98/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.7.1.P11-2007-09-27/wily/Agent.jar
    -Dcom.wily.introscope.agent.agentName=<name of the agent : insert what you want>
    -Dcom.wily.introscope.agentProfile=K:/usr/sap/SMD/J98/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.7.1.P11-2007-09-27/wily/sap_IntroscopeAgent.profile
    -XX:+PrintClassHistogram
    -XX:+HeapDumpOnCtrlBreak
    - When you have done this, you must configure your system in SMSY following SAP guides and create the solution in solution_manager transaction.
    - The next step is configure the system in SMD web:
    1.- execute SMD upgrade.
    2.- Setup diagnostics system
    3.- Setup managed system
    4.- in 'Trouble shooting' insert jdbc parameters
    5.- In 'Introscope agent' you must load the parameters you configured in configtool.
    6.- At this point will be necessary to restart your satellite system.
    When you finishes all these steps you will be able to obtain EWA for java side.
    Is so difficult to do this. We have done it in several environments and we have had lots of problems, but it's possible.
    Any doubt, please, give me your mail and I'll be so glad to help you.
    Best regards.

Maybe you are looking for

  • My current Windows 7 Disk for my pc work?

    Will my current windows 7 disc I got with my current pc work installed with boot camp?

  • Songs stop playing after a short time

    Can some one please help me with this? I have down loaded a couple of songs out of many downloads from Itunes that play for 1 or 2 minutes and then stop. But if I fast forward over the part that skips the song will play to the end with no further pro

  • Fault Tolerance not working between CSMs

    I have two CSM modules in two differnt switches (Bridge mode) configured for high availability. After noticing one of the CSM modules was in failed mode, I reset the module. While the module reboots I get the following messages: %CSM_SLB-4-REDUNDANCY

  • Running java program on 1.4.2 but has a 1.5 command

    Hi, I am programming using Java 1.5 so I used java.lang.String.contains but all my lab computers only have 1.4.2. That is the only function I am using from 1.5, is there any way to extract the code and maybe just add it as a procedure to my Java file

  • Java Code to transfer a file through FTP

    I am writing a java code to transfer a file from local machine to a server on another machine. While uploading i am encountering with an exception which is showing as java.net.ConnectException: Connection refused: connect The file is getting transfer