JDeveloper 11g Errors Editing BPEL Database Adapter

I am encountering problems editing Database Adapters in a BPEL based Service Composite Application in JDeveloper. Specifically,
* double-clicking an existing Database Adapter component to view/edit it generates an uncaught exception in the GUI
* clicking Next through the wizard proceeds to the next step but the view showing the
SQL select criteria and input parameters doesn't return the original values set when the
adapter was first created -- a second NPE is logged at that time
Here are the specifics of what's running:
* host for JDeveloper is a Windows7 Home Premium 64-bit (version 61. build 7601 SP 1) PC with 8GB RAM
* JDeveloper 11.1.1.5 (the SOA / WebCenter version)
* the c:\OracleMW directory has JDK 6.0.24 installed
* the Windows machine does have Java EE JDK 7 installed but JDeveloper uses the JDK inside c:\OracleMW
* while running, JDeveloper is using around 274M of memory
* database hosting the SOA meta data store and the desired DB of the adapter is 11g (11.2.0.1.0)
* database is up, reachable and healthy while attempting to edit the Adapter component
Here is the exact error encountered and the stack trace:
GUI popup = An unexpected error has occurred in JDeveloper. The program may be unstable, which could result in data loss. Decide how you want to proceed and click OK.
Details = Uncaught exception
java.lang.NullPointerException
o.tip.tools.ide.adapters.designtime.adapter.xr.util.SQLRefresher.run(SQLRefresher.java:118)
j.lang.Thread.run(Thread.java:662)
If you click on ignore / continue and proceed through the steps of the Wizard, when the Define Selection Criteria step appears, the original criteria and input parameters defined when the adapter was first built are not displayed and the "Feedback - Log" tab in the log windows registers another entry of:
Previously reported error [NPE in o.tip.tools.ide.adapters.designtime.adapter.xr.util.SQLRefresher:118]
Also, if you go through the motions of adding a new parameter variable in the top section of the dialog, after clicking OK, the dialog DOES suddenly display the original variables defined as input parameters.
Thinking this is a symptom of JDeveloper trying to run in too little memory, I have attempted to increase the max memory setting of JDeveloper to 1024M by adding this line
AddVMOption -Xmx1024M
in
c:\OracleMW\JDeveloper\jdev\bin\jdev.conf
I've also tried adjusting that same setting in the config file for the IDE itself at
c:\OracleMW\JDeveloper\ide\bin\ide.conf
and get the same result. (Subsequent review of properties in About JDeveloper shows that JDeveloper uses the jdev.conf file, not the ide.conf file FWIW.) Memory really shouldn't be a problem because I'm still new to SOA style development and the "application" involved is a very simple "HelloSOA" type service that just sets a couple of BPEL variables, transforms some input variables into variables passed to this Database Adapter, does a few more Transform operations for the DB result values to the reply values and sends the reply.
However, one other sign that memory utilization could be contributing to this is that periodically, switching to the "Source" view of the composite.xml file or the BPEL process file will lock the GUI up for about 35 seconds with nothing happening. An obvious sign of garbage collection gettng triggered.
Any suggestions?

Oracle has identified a fix added to newer versions of JDeveloper which corrected these NullPointerException errors encountered using the 11.1.1.5 version of JDeveloper. That fix had not be propagated back to the 11.1.1.5 version but subsequently HAS been ported back. The fix is associated with patch ID 12670305 which can be downloaded from http://support.oracle.com by searching for that bug ID then downloading the associated ZIP file. I've applied the patch to JDeveloper 11.1.1.5 running on Windows7, Vista 32-bit and LINUX 64-bit and it works like a champ on all three platforms.

Similar Messages

  • BPEL Database Adapter data to B2B TP

    Hi SOA/BPEL Experts
    In BPEL How we are going to Map my Data base data ie which i got from Database Adapter to the Partner Link Adapter Service Trading Partner Data for ex EDI, X12 V4010 210's.
    My Database data which i want to send to the Partner <----to-----> .ecs (X12 V4010 210's) format data ??
    Any idea's is appreciated, any Examples are also helpful
    thanks
    Ravi
    Edited by: user598717 on Aug 24, 2009 6:48 AM

    Hi SOA/BPEL Experts
    In BPEL How we are going to Map my Data base data ie which i got from Database Adapter to the Partner Link Adapter Service Trading Partner Data for ex EDI, X12 V4010 210's.
    My Database data which i want to send to the Partner <----to-----> .ecs (X12 V4010 210's) format data ??
    Any idea's is appreciated, any Examples are also helpful
    thanks
    Ravi
    Edited by: user598717 on Aug 24, 2009 6:48 AM

  • Launching JDeveloper 11g Error

    Hi Everyone.
    I am new to JDev. I have downloaded and installed JDeveloper 11g Basic Installation. Everything seemed to be good, but when i tried to launch JDev, It warned: "Unable to create instance of JVM at C:\Program Files\Java\jdk1.6.0_07\jre\bin\client\jvm.dll". I tried to download and install bundle for Windows, but there was no change.
    i need your all help, experts in JDeveloper.
    Best Regards.
    Edited by: user10591237 on Nov 12, 2008 7:33 PM

    Had the same error with JDeveloper 10.1.3.4. Installed an older JDK (1.5.0 - 17 instead of 1.6.0 - patch 12) an that solved the problem.
    Good luck,
    Peter Paul

  • BPEL Database Adapter in SOA Suite10g

    Hi,
    I have couple of questions on bpel in SOA Suite 10g:
    1. When I defined the realtionships between tables in the database adapter and try to modify the generated query,I feel it is not considering the modified SQL.
    2. It is not allowing the CLOB datatype in the query.
    3. what should be the data type in target xsd for an input oracle table filed of CLOB datatype or how to convert the CLOB to string format?
    Could someone please answer me..?
    Thanks,
    Soni

    Hi Soni,
    Below are the answers to your query.
    1. When I defined the realtionships between tables in the database adapter and try to modify the generated query,I feel it is not considering the modified SQL. ---> I have tried it and the query is getting changed, can you try it again.
    2. It is not allowing the CLOB datatype in the query. --> CLOB datatype is converted into string in xsd
    3. what should be the data type in target xsd for an input oracle table filed of CLOB datatype or how to convert the CLOB to string format? --> CLOB datatype acts as String data type in XSD so no need to type cast.
    I hope this answers your query.
    Thanks,
    Ankit

  • BPEL Database Adapter "Faulted while invoking operation.." --where to look?

    Hi,
    I hope that someone can assist me. Occassionally in production a database adapter step will fault. On the BPEL Console flow diagram for the step I can see "Faulted while invoking operation XXXXX on provider YYYYY". The step retries, but the fault never appears to resolve.
    The database being accessed is available and I am able to perform the same query manually. Only a reboot appears to solve the problem.
    Where do I look to see the cause of this fault? I have looked in the following log but cannot see anything either related to the adapter, flow or flow id. Should I look anywhere else?
    Thanks - Anit

    Hi,
    Below is what the database adapt step shows in the flow diagram. The flow contains several other database adapter accesses prior to this, to the same database, and these completed correctly. I will look in the log file you suggested.
    Faulted while invoking operation "DB_ID_PETICION_MNP" on provider "DB_ID_PETICION_MNP".
    <messages>
    <input>
    <Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="DB_ID_PETICION_MNPInput_msg">
    <DB_ID_PETICION_MNPInput xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DB_ID_PETICION_MNP">
    <id_pedido_crm>13485201</id_pedido_crm>
    </DB_ID_PETICION_MNPInput>
    </part>
    </Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_InputVariable>
    </input>
    <fault>
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>null</summary>
    </part>
    </bindingFault>
    </fault>
    </messages>
    [FAULT RECOVERY] Schedule retry #1 at "Oct 23, 2009 11:28:39 AM".
    ...same as before. This repeated 4 times.
    Finally rebooted the server, and the adapter completed OK:
    <messages>
    <Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="DB_ID_PETICION_MNPInput_msg">
    <DB_ID_PETICION_MNPInput xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DB_ID_PETICION_MNP">
    <id_pedido_crm>13485201</id_pedido_crm>
    </DB_ID_PETICION_MNPInput>
    </part>
    </Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_InputVariable>
    <Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_OutputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="response-headers">[]</part>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="DB_ID_PETICION_MNPOutputCollection">
    <DB_ID_PETICION_MNPOutputCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DB_ID_PETICION_MNP">
    <DB_ID_PETICION_MNPOutput>
    <ID_PETICION_MNP>13485201-37491</ID_PETICION_MNP>
    </DB_ID_PETICION_MNPOutput>
    </DB_ID_PETICION_MNPOutputCollection>
    </part>
    </Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_OutputVariable>
    </messages>
    Thanks - Anit

  • Jdeveloper deploying error: oracle.bpel.services.datacontrol.types.Number

    I have migrated a BPEL process from 11.1.1.3 to 11.1.1.5. When deploying my migrated BPEL process from JDEVELOPER I get the following error:
    java.lang.ClassNotFoundException: oracle.bpel.services.datacontrol.types.Number
    I found this: http://www.orastudy.com/oradoc/selfstu/fusion/integration.1111/e10226/appx_trouble.htm
    If you see the following error:
    Caused By:
    java.lang.ClassNotFoundException:
    oracle.bpel.services.datacontrol.ty
    pes.Number
    during deployment of a task form, then it is likely due to the missing shared library in weblogic.xml. Add the following element in weblogic.xml:
    <library-ref>
    <library-name>oracle.soa.worklist.w
    ebapp</library-name>
    <specification-version>11.1.1</spec
    ification-version>
    </library-ref>
    But, when I add this element in weblogic.xml, deployment fails with a new error:
    [Deployer:149193]Operation 'deploy' on application 'Reclamaciones' has failed on 'soa_server1'
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Reclamaciones on soa_server1.: Failed to load webapp: 'oracle.soa.worklist.webapp'.
    Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'oracle.soa.worklist.webapp'
    Caused by: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.taglib.region.RichDeclarativeComponentTag
    See server logs or server console for more details.
    weblogic.application.ModuleException: Failed to load webapp: 'oracle.soa.worklist.webapp'
    Taskflow deployment failed to deploy to server. oracle.jdeveloper.deploy.DeployException: Remote deployment failed
    #### Deployment incomplete. ####
    I would appreciate any help from you .
    Thanks in advance
    Edited by: 822084 on 05-dic-2011 17:53

    HI everybody ,
    M facing the same issue too.. Please suggest where this bmp-services-client.jar will be available?
    I am human task forms which are using the ADF data controls for workflow and am getting the following error:-
    Caused By: java.lang.ClassNotFoundException: oracle.bpel.services.datacontrol.types.Number
    The human task forms are taskflow components of a soa composite containing a bpmn component which stitches these taskflows into an Activity Guide.
    Any help will be appreciated

  • BPEL Database Adapter tuning

    I am fetching records from Database using DB Adapter in BPEL. It takes more than 3 seconds. If i execute the same query from toad the time taken is less than a second. In my BPEL process i have used translation.
    Can any one help me in guiding how can i improve the performance.
    I suspect that i need to tune the DB Adapter, Is there any tuning guidelines for tuning DB Adapter.
    Regards
    Vikas

    Hi! i think all of you are very busy... can someone post the tunning guide, i can put it in some webpage to download it, in this way everyone who read this thread will download the guide without posting a message! :-)
    Best Regards and blesses!

  • BPEL database adapter pooling rooling back transaction

    Dear Forum Members,
    I made a quick example of BPEL retrieving data from DB adapter which is pooling a database, transforms the data and generate a file.
    The process executes, but at the end is throws the following fault: The transaction was rolled back. The work performed for bpel instance "X" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message.
    Along with the fault, the adapters does not update the processed database rows.
    Did a miss any configuration?
    Regards.

    Hi,
    You have to investigate the reason it is rolling back... Is the process taking too long? Do the process have rights to update the database? Check SOA *diagnostic* log files...
    Cheers,
    Vlad

  • JDeveloper Compiler Error during BPEL flow deployment

    Hi,
    Has anyone encountered the following during BPEL deployment? I am using JDeveloper 10.1.3.4. I was able to deploy last week without any problems.
    Compiling...
    Compiling D:\Datos\Jazztel\Cancelador\bpel\Cancelador.bpel
    [BPEL Compiler] Initializing compiler for first time use...
    BPEL suitcase generated in: D:\Datos\Jazztel\Cancelador\output\bpel_Cancelador_2.6.6.jar
    D:\Datos\jdevstudio10134\jdk\jre\bin\java.exe -jar D:\Datos\jdevstudio10134\jdev\lib\ojc.jar -source 1.5 -target 1.5 -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -nowarn:560 -nowarn:704 -nowarn:489 -nowarn:415 -nowarn:909 -nowarn:412 -nowarn:414 -nowarn:561 -nowarn:376 -nowarn:371 -nowarn:558 -nowarn:375 -nowarn:413 -nowarn:377 -nowarn:372 -nowarn:557 -nowarn:556 -nowarn:559 -encoding Cp1252 -g -d D:\Datos\Jazztel\Cancelador\output -make D:\Datos\Jazztel\Cancelador\output\Cancelador.cdi -classpath D:\Datos\jdevstudio10134\jdk\jre\lib\rt.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\i18n.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\sunrsasign.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jsse.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jce.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\charsets.jar;D:\Datos\jdevstudio10134\jdk\jre\classes;D:\Datos\Jazztel\Cancelador\output;D:\Datos\jdevstudio10134\toplink\jlib\toplink.jar;D:\Datos\jdevstudio10134\toplink\jlib\toplink-oc4j.jar;D:\Datos\jdevstudio10134\toplink\jlib\antlr.jar;D:\Datos\jdevstudio10134\lib\xmlparserv2.jar;D:\Datos\jdevstudio10134\lib\xml.jar -sourcepath D:\Datos\Jazztel\Cancelador\src;D:\Datos\jdevstudio10134\jdk\src.zip;D:\Datos\jdevstudio10134\toplink\jlib\toplink-src.zip D:\Datos\Jazztel\Cancelador\src\ConsultaInstanciasCS\Customerservicecrmkpn.java D:\Datos\Jazztel\Cancelador\src\CustomerServices\Customerservicesconstantes.java D:\Datos\Jazztel\Cancelador\src\DBCONSTANTES\Constantes.java D:\Datos\Jazztel\Cancelador\src\DBCONSULTAHISTORICO\Historico.java D:\Datos\Jazztel\Cancelador\src\DBERRORESSISTEMA\Erroressistemasacciones.java D:\Datos\Jazztel\Cancelador\src\DBETAPAS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBINSERTARINCIDENCIA\Incidencias.java D:\Datos\Jazztel\Cancelador\src\DBINSERTETAPASCOMPLETADAS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBINSERTHISTORICO\Historico.java D:\Datos\Jazztel\Cancelador\src\DBINSERTORDERPROGRESS\Ordersprogress.java D:\Datos\Jazztel\Cancelador\src\DBNOTIFICACIONESASINCRONAS\NotifRedAsincronas.java D:\Datos\Jazztel\Cancelador\src\DBORDENESCRM\OrdenesCrm.java D:\Datos\Jazztel\Cancelador\src\DBORDENESMNP\OrdenesMnp.java D:\Datos\Jazztel\Cancelador\src\DBORDENESRED\OrdenesRed.java D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Historico.java D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Pedidos.java D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAADDONS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\EtapasCompletadas.java D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\Historico.java
    Error: compiler internal error
    *** OJC internal error log written to file C:\DOCUME~1\anipatel\CONFIG~1\Temp\ojcInternalError.log
    [10:45:12] Compilation complete: 1 errors, 156 warnings.
    The log file mentioned contains the following:
    OJC internal error log:
    Compiler version: 10.1.3
    Build number: 4270
    Source files:
         D:\Datos\Jazztel\Cancelador\src\ConsultaInstanciasCS\Customerservicecrmkpn.java
         D:\Datos\Jazztel\Cancelador\src\CustomerServices\Customerservicesconstantes.java
         D:\Datos\Jazztel\Cancelador\src\DBCONSTANTES\Constantes.java
         D:\Datos\Jazztel\Cancelador\src\DBCONSULTAHISTORICO\Historico.java
         D:\Datos\Jazztel\Cancelador\src\DBERRORESSISTEMA\Erroressistemasacciones.java
         D:\Datos\Jazztel\Cancelador\src\DBETAPAS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTARINCIDENCIA\Incidencias.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTETAPASCOMPLETADAS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTHISTORICO\Historico.java
         D:\Datos\Jazztel\Cancelador\src\DBINSERTORDERPROGRESS\Ordersprogress.java
         D:\Datos\Jazztel\Cancelador\src\DBNOTIFICACIONESASINCRONAS\NotifRedAsincronas.java
         D:\Datos\Jazztel\Cancelador\src\DBORDENESCRM\OrdenesCrm.java
         D:\Datos\Jazztel\Cancelador\src\DBORDENESMNP\OrdenesMnp.java
         D:\Datos\Jazztel\Cancelador\src\DBORDENESRED\OrdenesRed.java
         D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Historico.java
         D:\Datos\Jazztel\Cancelador\src\DBPEDIDO\Pedidos.java
         D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAADDONS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\EtapasCompletadas.java
         D:\Datos\Jazztel\Cancelador\src\DBUPDATEETAPAS\Historico.java
    Options:
         source: 150
         target: 150
         classpath: D:\Datos\jdevstudio10134\jdk\jre\lib\ext\sunjce_provider.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\ext\sunpkcs11.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\ext\localedata.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\ext\dnsns.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\rt.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\i18n.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\sunrsasign.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jsse.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\jce.jar;D:\Datos\jdevstudio10134\jdk\jre\lib\charsets.jar;D:\Datos\jdevstudio10134\jdk\jre\classes;D:\Datos\Jazztel\Cancelador\output;D:\Datos\jdevstudio10134\toplink\jlib\toplink.jar;D:\Datos\jdevstudio10134\toplink\jlib\toplink-oc4j.jar;D:\Datos\jdevstudio10134\toplink\jlib\antlr.jar;D:\Datos\jdevstudio10134\lib\xmlparserv2.jar;D:\Datos\jdevstudio10134\lib\xml.jar
         sourcepath: D:\Datos\Jazztel\Cancelador\srcD:\Datos\jdevstudio10134\jdk\src.zipD:\Datos\jdevstudio10134\toplink\jlib\toplink-src.zip
         encoding: Cp1252
         excluded cls:
         rebuild: false
         noCodeGen: false
         lineNumbers: true
         sourceFile: true
         localVars: true
         codecoach: true
         omitAsserts: false
    Parser:
         errorFound: false
    java.lang.ArrayIndexOutOfBoundsException: 110
         at oracle.ojc.compiler.DepInfo.readInt(DepInfo.java:521)
         at oracle.ojc.compiler.DepInfo.readName(DepInfo.java:541)
         at oracle.ojc.compiler.DepInfo.read(DepInfo.java:578)
         at oracle.ojc.compiler.DepInfo.analyzeSources(DepInfo.java:279)
         at oracle.ojc.compiler.Compiler.main_internal(Compiler.java:1088)
         at oracle.ojc.compiler.Compiler.main_throws_exceptions(Compiler.java:816)
         at oracle.ojc.compiler.Compiler.main(Compiler.java:836)
         at oracle.jdeveloper.compiler.Ojc.translate(Ojc.java:1541)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:300)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:516)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:609)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:666)
         at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:894)

    Just an update to this...
    I copied the BPEL flow project to our Linux server, where I was successfully able to compile and deploy the flow using devprompt and Ant. So, the problem is with JDev on my PC, but I'm not sure why though.
    I have rebooted my PC, shutdown any unnecessary apps, and the problem continues. Will see if the problem exists with other flows.
    Anit

  • BPEL Database Adapter Issue

    I am using DB adapter in my bpel for polling purpose. so that if any new entry comes in the db in a specific table it will execute my bpel. and in DB adapter I made configuration for sequence file. but whatever value I enter in the table my sequence file is updated with value "32477". can any body help in this regards.

    Well this happened on the production so we don't really have the scope of testing this again. Also it has not happened before anywhere else. 
    This version is Oracle application Server 10g (10.1.3.5).

  • Error! Oracle Database Adapter Ignoring Spaces

    I have a custom sql which concats values -
    select firstName||' '||lastName from person;
    It works in SQL Developer but not with the DB Adapter. Is there a way to tell the adapter to accept whitespaces?

    So I realized that the Audit Flow does not show the exact representation of the database output variable, but when written to a file the spaces are present.

  • SOA Database Adapter error in 11g

    Hi All,
    Created BPEL process in 11g that invokes a UPDATE functionality on Database Adapter in Jdeveloper 11g. Using XA database ......
    Getting following error.
    *<fault>*
    *<bpelFault>*
    *<faultType>*
    *<message>0</message>*
    *</faultType>*
    *<bindingFault>*
    *<part name="summary">*
    *<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'update' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. Project1:UpdateDBAdapter [ UpdateDBAdapter_ptt::update(CreditcardinfoCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jdbc/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jdbc/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>*
    *</part>*
    *<part name="detail">*
    *<detail>JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='jdbc/soademoDatabase'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to jdbc/soademoDatabase. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server </detail>*
    *</part>*
    *<part name="code">*
    *<code>null</code>*
    *</part>*
    *</bindingFault>*
    *</bpelFault>*
    *</fault>*
    What must be going wrong ?
    Thanks
    pp

    Check whether dbadapter application is deployed on the Weblogic. If it is already deployed, then update it once and try again.
    Regards,
    Anuj

  • Database Adapter Connection to EBusiness Suite Issue

    I have a process that creates records in the EBusiness Suite using the BPEL Database Adapter. The adapter calls a single wrapper procedure that internally calls 4 TCA APIs one after the other. There appears to be an USERENV LANG issue during the final api that is called. The LANG needs to be US but the SQL Worksheet in JDeveloper BPEL Designer returns GB which I suspect is the value the adapter has when it connects to the eBusiness Suite.
    How can the value of the LANG be set for the adapter ? My Environment variable for NLS_LANG is set to AMERICAN_AMERICA.WE8ISO8859P1. My various Oracle homes are also set to this value.
    I have also tried FND_GLOBAL.APPS_INITIALIZE procedure to effectively 'log on' to the EBS but this returns an error. The same wrapper package called directly from SQL*Plus works perfectly (where USERENV LANG is US). Solutions welcome !

    The issue was resolved by adding the following to the start of the wrapper procedure:
    EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_LANGUAGE = ''AMERICAN''';

  • Parent-Child Join on tables in Database Adapter

    Hi,
    We are doing a join on two tables(T1 and T2) in Database adapter for an Insert operation. There is no Reference Integrity between these two tables in Database, but join is done through bpel database adapter.
    Here is a scenario - when we try to insert a record(parent-child), into these two tables, If there is any data issue in any of the child record, Adapter inserts parent-record, also inserts few child-records it processed before it encountered this data issue and terminates.
    Issue here is , We want this to be transactional, it means, If any of the child record fails adapter should rollback the entire insert operation both from parent and child tables and exit with an error. Instead BPEL inserting half records into child table.
    Is there any parameter I need to set or am I missing anything? Someone please suggest.
    Thanks,
    Phani

    There are a few options I guess.
    1. Add the referential key constraint.
    2. Add custom logic in your BPEL project to compensate for any errors you encounter in your BPEL processes.

  • Database adapter not returning all the records

    I've taken over a BPEL from a developer who left the organization and have been having an issue during our User Acceptance Testing. We are querying a table that will return the insurance enrollment information for employee's and their dependants. When an employee change plans, or adds people, the old plan is terminated and a new once is created. When this happens there will be two records on the database to show the old plan and the new plan.
    When we run the SQL thru JDEV or SQLDeveloper, the data comes out fine. When we run it through a BPEL Database Adapter we are only getting one of the rows returned.
    I have created a small tester BPEL that is easily modified and deployed to run the same query to try multiple configurations changes within the DBAdapter. What I have found is all the records are returned when the "Return single result set" box on the DBAdapter Wizard is unchecked. When it's checked then it only returns one record for the employees with an old and a new plan.
    Can someone explain what the "Return single result set" option does, and what the impact will be if it's unchecked?

    Hello,
    In same way i am using two parent-child(header-line) tables. they have one to many relationship.
    I want to generate XML which contains multiple line items under a child elements for header elements.
    I have tried it but i am getting only one line under that child item. i am using jdev10.0.3.3.0
    can u help me please.
    -regards
    satyendra

Maybe you are looking for

  • "Memory full." error while exporting report to PDF format - CR2008SP2

    <br> Hello,<br> <br> I am developing a C#.NET application that uses the CR2008 SP2 .NET libraries. This application performs some database updates and uses CR2008 SP2 to run 7 different reports and export the results to PDF files. This application is

  • Headphones something interesting apple wrote!

    i was looking through the tips here http://www.apple.com/iphone/tips/ i found something interesting, if you click on sleep/wake button tab, there is a part which reads ... 'When iPhone is locked, nothing happens if you touch the screen. You can still

  • SD VOD quality

    Why is the SD VOD quality is worse than DVD and, the pricing of HD VOD way more than what you would pay from Blockbuster or NetFlix? It seems to me that Verizon would be competitive in their HD VOD movies and price them closer to what you would pay a

  • Where is the Duplication function in Illustrator?

    Hi there, I've been desperately trying to find the duplication function in Illustrator. I've searched the entire menu system with no luck I understand the pre-programmed keyboard shortcut for this is CMD+D but I've acciedentally written over this. Co

  • Adobe Reader X funktioniert nicht einwandfrei

    Betriebssystem: Windows 7 Home Premium (64-bit Version) Version: Adobe Reader X (10.1.0) - Deutsch Hallo! Der Adobe Reader zeigt mir schon seit jetzt ungefähr 1-2 Wochen an "Update is ready to install". Wenn ich das dann aber bestätige, kommt die Mel