Annotations in Database Adapter Composite

Hi,
Below is the snippet of the DB adapter composite annotation:-
<!--<svcdoc:AIA>
<svcdoc:Service>
<svcdoc:ArtifactType>TransportAdapter</svcdoc:ArtifactType>
<svcdoc:ServiceOperation>
<svcdoc:Name>receive</svcdoc:Name>
</svcdoc:ServiceOperation>
<svcdoc:TransportDetails>
<svcdoc:DBAdapter>
<svcdoc:ResourceProvider>OracleDB</svcdoc:ResourceProvider>
<svcdoc:ConnectionFactory>eis/DB/HREmployeeInterfaceTblConn</svcdoc:ConnectionFactory>
<svcdoc:ApplicationName>Ebiz</svcdoc:ApplicationName>
<svcdoc:XAEnabled>True</svcdoc:XAEnabled>
<svcdoc:ResourceTargetIdentifier>aia_interface</svcdoc:ResourceTargetIdentifier>
<svcdoc:ResourceName>PER_ALL_PEOPLE_F_INT</svcdoc:ResourceName>
</svcdoc:DBAdapter>
</svcdoc:TransportDetails>
</svcdoc:Service>
</svcdoc:AIA>-->
Here we are giving the Connection Factory details but there is no details regarding neither tha data source(the database details). So while deployment plan generation by just giving the connection factory details is enough or how is the deployment plan supposed to generate the JDBC details?

There is a file, AIAInstallProperties.xml, at $AIAHome/aia_instances/$instance_name/config , which is installed on the server where you have installed the Foundation pack.
During PIP installation, you would give the target server details and this file gets updated with the target server information.
When you are installing your AIA content on a different server, you need to customize this file, making it point to the server on which you would want the deployment to happen.
Deployment plan does not generate JDBC details - AIA Installation Driver will take inputs from AIAInstallProperties.xml during deployment.

Similar Messages

  • Annotations in JMS Adapter Composite

    Hi,
    While Annotating A JMS Adapter Composite we give details of the connection factory. While deploying to another environment based on Deployment Plan how then is the queue created on the other server?
    Below is the Annotated PArt for the jms
    <!--<svcdoc:AIA>
    <svcdoc:Reference>
    <svcdoc:ArtifactType>TransportAdapter</svcdoc:ArtifactType>
    <svcdoc:ServiceOperation>
    <svcdoc:Name>Consume_Message</svcdoc:Name>
    </svcdoc:ServiceOperation>
    <svcdoc:TransportDetails>
    <svcdoc:JMSAdapter>
    <svcdoc:ResourceProvider>WLSJMS</svcdoc:ResourceProvider>
    <svcdoc:ConnectionFactory>eis/jms/WlsJmsConnect</svcdoc:ConnectionFactory>
    <svcdoc:XAEnabled>True</svcdoc:XAEnabled>
    <svcdoc:ResourceType>Queue</svcdoc:ResourceType>
    <svcdoc:ResourceName>jms/aia/HREmployeeQueue</svcdoc:ResourceName>
    </svcdoc:JMSAdapter>
    </svcdoc:TransportDetails>
    </svcdoc:Reference>
    </svcdoc:AIA>-->
    Regards,
    Sourav

    Sourav,
    the deployment plan generator will take care of adding the required instruction to the deployment plan to create the JMS queue. But not only that, it will also add an instruction to create the JMS connection factory and the outbound connection pool (eis/jms/WlsJmsConnect) in the JMS resource adapter as well. So everything that is needed at runtime is covered.
    Note, that the ResourceName annotation should simply state the name of the queue:
    <svcdoc:ResourceName>HREmployeeQueue</svcdoc:ResourceName>
    Check the Development Guide for more details.
    Gerhard

  • Null/Empty Strings use in ESB Database Adapter

    Hi
    I'm trying to use a database adapter to execute an update on a table with a composite primary key; one of the primary key columns sometimes contains an empty string, however whenever I try to call the adapter, it always converts this to a null value. Is there an easy way to force the adapter to use an empty string instead of a null?
    Thanks.

    the idea here is to execute the dbms statement, or the setpolicycontext statement in a db session, and being able to execute the next sql statement in the same db session.
    This is possible with consecutive database adapters sharing the same db session.
    and two db adapters sharing the same db session is possible, if you make sure that the bpel is participating in the db transaction which can be made possible via xa db connections.
    Hope this helps,
    Write back in case you need more info.

  • How to use Database adapter as inbound adapter without having polling strategies?

    Hi All,
    I have a requirement wherein I have to use Database adapter to retrieve the data for every half an hour from one(X app) database and update that data into another application(Y app) .That database adapter will be along with BPEL process.My Flow would be like this:
    Database Adapter( In 'exposed services' section) ----->   BPEL (in 'Components') -----> Y app service( in 'External References' section)
    My questions for each step are below
         1) I have to retrieve the data from database(x app database) for every half an hour.So I have to schedule my whole process such that it should execute for every half an hour.
    Means I have to get  whatever the data is updated in the last half an hour in that database.
          The database adapter should be inbound in SOA composite editor(in 'Exposed services' section).
    But in order to have inbound adapter,we have select the 'Poll for New or Changed Records in a Table' option in turn we have to select one of polling operations below:
             Delete the Row(s) that were Read
    Update a Field in the [Table_Name] Table (Logical Delete)
    Update a Sequencing Table
    Update an External Sequencing Table on a Different Database
    Control Table Strategy
    But the problem is I don't have any control on the database(X app database) ,So (I can't update any data on that table,because that table may not have a field or table to update the processed rows)I can't choose any of the above operations.
    How can I achieve what I want that is to retrieve the data and schedule the process?
    Thanks in advance.

    Hi Heckler,
      Thank you very much for your answer that I can proceed further somehow.
    I still need to have some clarifications.
    In order to have a process which retrieves the data (Inbound operation) and updates the data into other application, the data(from X app)  should be the request(through DB adapter) of the BPEL process.
    X app does not do anything to send.We have(the BPEL process) to receive the data (or) no event is triggered.
    The flow :
    Database Adapter( In 'exposed services' section to retrieve data) ----->   BPEL (in 'Components') -----> Y app service( in 'External References' section)
    How can we ensure the data will be  request to BPEL process(means it will be in 'exposed services' section in SOA composite editor) for every half an hour if we use pick activity and database adapter as first activity?
    When we use ''Poll for New or Changed Records in a Table' ,then only adapter becomes inbound and comes into the 'exposed services' section.I can't use it as I don't have any control on the source table.
    I have this confusion before starting the process.Please help me to clear out the doubts.
    And this whole process should be executed automaticallly for every half an hour(means it creates instance for every half an hour)  Once we build the BPEL process.
    How to schedule it?
    And where do I need to create control table ?You mean I have to use some different database where in I have to create the table?

  • Error in Database Adapter Insert Or Update (Merge) Operation

    I have a simple SOA composite which reads XML files and posts data to a database table using a database adapter. I would like to perform a merge operation but I keep getting this error in the log -
    SEVERE: JCABinding=> XML2DB:WriteInvToDB [ WriteInvToDB_ptt::merge(InventoryCollection) ] Could not invoke operation 'merge' against the 'Database Adapter' due to:
    BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    Here is the complete log:
    SEVERE: JCABinding=> XML2DB:WriteInvToDB [ WriteInvToDB_ptt::merge(InventoryCollection) ] Could not invoke operation 'merge' against the 'Database Adapter' due to:
    BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    Please see the logs for the full DBAdapter logging output prior to this exception.
    Jan 3, 2009 10:58:06 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    SEVERE: JCABinding=> [default/XML2DB!1.0*2008-12-23_13-27-06_078.WriteInvToDB]:merge One-way interaction failed
    Jan 3, 2009 10:58:06 AM oracle.tip.mediator.serviceEngine.MediatorServiceEngine post2Mesh
    SEVERE: Post 2 messah failed
    oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteractionException.java:74)
         at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:226)
         at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:153)
         at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:152)
         at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:159)
         at sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
    Caused by: BINDING.JCA-12563
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:428)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:509)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:493)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:429)
         at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:193)
         ... 49 more
    Caused by: BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    merge failed. Descriptor name: [WriteInvToDB.Inventory].
    Caused by java.lang.NullPointerException.
    Please see the logs for the full DBAdapter logging output prior to this exception.
         at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:488)
         at oracle.tip.adapter.db.exceptions.DBResourceException.outboundWriteException(DBResourceException.java:529)
         at oracle.tip.adapter.db.transaction.DBTransaction.commit(DBTransaction.java:287)
         at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:311)
         ... 53 more
    Caused by: java.lang.NullPointerException
         at oracle.toplink.descriptors.DescriptorQueryManager.putCachedUpdateCalls(DescriptorQueryManager.java:1605)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.prepareUpdateObject(ExpressionQueryMechanism.java:1608)
         at oracle.toplink.internal.queryframework.StatementQueryMechanism.updateObject(StatementQueryMechanism.java:405)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1136)
         at oracle.toplink.queryframework.UpdateObjectQuery.executeCommitWithChangeSet(UpdateObjectQuery.java:69)
         at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:279)
         at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
    Jan 3, 2009 10:58:06 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: JCABinding=> ReadXML ReadXMLonReject: The resource adapter 'File Adapter' requested handling of a malformed inbound message. However, the following Service property has not been defined: 'rejectedMessageHandlers'. Please define it and redeploy the module. Will use the default Rejection Directory file://jca\ReadXML\rejectedMessages for now.
    Jan 3, 2009 10:58:06 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log
    WARNING: JCABinding=> ReadXML ReadXMLonReject: Sending invalid inbound message to Exception Handler:
    Jan 3, 2009 10:58:06 AM oracle.tip.mediator.common.error.ErrorMessageEnqueuer$EnqueuerThread run
    SEVERE: Failed to enqueue error message
    javax.jms.TransactionInProgressException: Cannot call commit on a XA capable JMS session.
         at oracle.j2ee.ra.jms.generic.RAUtils.make(RAUtils.java:595)
         at oracle.j2ee.ra.jms.generic.RAUtils.toTransactionInProgressException(RAUtils.java:846)
         at oracle.j2ee.ra.jms.generic.RAUtils.toTransactionInProgressException(RAUtils.java:840)
         at oracle.j2ee.ra.jms.generic.SessionWrapper.commit(SessionWrapper.java:197)
         at oracle.tip.mediator.common.error.ErrorMessageEnqueuer$EnqueuerThread.run(ErrorMessageEnqueuer.java:187)
         at java.lang.Thread.run(Thread.java:595)
    Any help is greatly appreciated.
    The INSERT operation works fine with the database adapter, but I cannot get MERGE and UPDATE operations to work as expected!
    Thanks.

    hi Sudeep,
    We are at first hand struggling with DB adapter problem getting down everytime. Don't know the reason why.
    DB adapter is in down state and when trying to make it up gives below error:
    "weblogic.application.ModuleException: weblogic.connector.exception.RAException: Jndi Name is null or empty."
    I just created a simple sync process using DB adapter (custom select) and deplyed successfully. I hope jndi name is not to be configured in weblogic-ra.xml file.
    This is the first time we are using this JNDI name (eis/DB/calvindb).
    Any inputs will be appreciated.
    Thanks,
    Nikhil

  • Database Adapter Polling, Instances in Running State

    Hello All,
    I have a composite in which the database adapter is a service (polling a table in SQL Server). Sometimes, when instances gets created, like 2 instances are being in a running state and not being completed at all. we terminated the instances last 2 times, and this scenario is being repeated again. If i click the instance which is running, i can only see the service which says it is completed, no BPEL component is being seen, can anyone faced this issue before ? why this is happening ?
    Please help....
    Naresh

    Could you provide more insight on how you wired the adapter and BPEL process inside the composite? What does the BPEL look like? You could add a BPEL component that persists some stuff just for test purposes. That could give you more feedback from the console.
    hth,
    Peter Paul

  • Multiple database operations in Database Adapter - please help

    Hi,
    I would like to have multiple operation in my database adapter. I drop the database adapter onto the composite.xml and follow the wizard. An adapter with one operation is created.
    When I click the "Edit" button on it and run the wizard again, all the previous changes are lost, and only the new operation is present.
    In the "Oracle® Fusion Middleware User's Guide for Technology Adapters 11g Release 1 (11.1.1.5.0) 9 Oracle JCA Adapter for Database" I read the following:+
    While at run time you have Oracle Database Adapter instances, at design time you have the Adapter Configuration Wizard (link). You can run it once to generate a single adapter service end point, and then multiple times in edit mode to make incremental changes to each. It generates all the adapter related artifacts needed when deploying a SOA composite as Table 9-1 lists.
    But I how do I change the Jdeveloper into the "edit mode" ??? I've been trying for hours, and I cant figure it out. Please help!!!

    Hi Vijay,
    did you actually test this? When I finish creating a DBAdapter, there is a operation present. Then when I click edit again on the DBAdapter, and I create another select, when I finish only the first operation is gone, and I can only see the one I've created via the last edit.
    I dont understand your reply. Can I have two operations, each one with select underneath, in the same adapter?
    Edited by: user13604541 on Jan 30, 2012 11:19 AM

  • BPM: Error when trying to deploy an process containing a database adapter

    Hello,
    We are facing an issue when we try to deploy a BPM/SOA application containing a BPM process containing a database adapter.
    So, I only created a new BPM process (async process) and added a database adapter to insert something in a database, then called this database adapter in a service activity.
    In the weblogic console, the DbAdapter targets are correct. I created the data source with a JNDI name, with the correct targets also.
    In BPM I suppose I do not have to manually change any setting file ?
    I simply create the database adapter and specify the correct JNDI name ?
    when I try to deploy, I always receive the following error :
    [11:08:56 AM] Received HTTP response from the server, response code=500
    [11:08:56 AM] Error deploying archive sca_DbTstInsert_rev1.0.jar to partition "default" on server soa_server1 [http://afpo-devapp02:8001]
    [11:08:56 AM] HTTP error code returned [500]
    [11:08:56 AM] Error message from server:
    There was an error deploying the composite on soa_server1: [JCABinding] [DbTstInsert.DA_LangEnumInsert/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec: Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec.
    [11:08:56 AM] Check server log for more details.
    [11:08:56 AM] Error deploying archive sca_DbTstInsert_rev1.0.jar to partition "default" on server soa_server1 [http://afpo-devapp02:8001]
    [11:08:56 AM] #### Deployment incomplete. ####
    [11:08:56 AM] Error deploying archive file:/C:/Code/JDeveloper/DbTstInsert/DbTstInsert/deploy/sca_DbTstInsert_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Has someone already faced this problem ?
    I searched on Google, but couldn't find anything about this.
    Thanks,
    Benjamin

    Post it to the BPM Forum
    Business Process Management SuiteOn a sidenote , this might help http://yuanmengblog.blogspot.in/2011/04/osb-complains-jca-class-cannot-be-found.html (target your soa_server to your DB adapter)
    OR
    Error while publishing the JCA Adapter.
    Edited by: Sudipto Desmukh on May 9, 2012 7:22 PM

  • Can't connect to Database from Database Adapter in BPM 11g

    I added a database adapter in BPM 11g to the composite.xml. This database adapter is just to load data into a XML document (UI payload). I can’t seem to get a connection to the database. I am getting a error, see below.
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GetRequestInfoSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. FundsDisbursementProject:GetRequestInfo [ GetRequestInfo_ptt::GetRequestInfoSelect(GetRequestInfoSelect_inputParameters,FdRequestHeaderCollection) ] : 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 &lt;connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the &lt;connection-factory/> element: location='jndi/FDF_Database'. 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 '&lt;jndi-name>' element in weblogic-ra.xml has not been set to jndi/FDF_Database. 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 &lt;connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the &lt;connection-factory/> element: location='jndi/FDF_Database'. 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 '&lt;jndi-name>' element in weblogic-ra.xml has not been set to jndi/FDF_Database. 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>12510</code></part></bindingFault></bpelFault>
    The docs says I need to add an Outbound Connection Pool to to SOA DbAdaptor in WebLogic. The problem is I can’t seem to make my changes take effect. This is the same error recorded here:
    BPEL DB adapter
    The problem is when trying to change the property, xADataSourceName, the changes don’t take effect. I also notice that in our test environment I get a dialog box to change the deployment plan. On my local WLS, I don’t get this dialog box. Either way the changes to xADataSourceName will not take effect.
    There must be a simple solution, I just don’t see it.
    Any help is greatly appreciated.
    Regards,
    Mark
    Edited by: M Peterson on Jul 15, 2010 5:33 AM

    When you enter the xADataSourceName property, did you hit enter on the field? If you simply tab off the field and hit save changes without hitting the enter key then it doesn't record the change to the property.

  • Error with Database adapter

              Hi All,
    I am using a database adapter to write values to database.The build was successful.However when i test it in the console with the sameple input I am getting the below error.
    ERROR:
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. NGW_PP_DBAdapter:Write_DB_Adapter [ Write_DB_Adapter_ptt::insert(StgProductportfolioCollection) ] : 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='eis/DB/DB_Conn'. 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 eis/DB/DB_Conn. 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 Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections. ". The invoked JCA adapter raised a resource exception.
    Can anyone help me out to fix this error.
    Thanks in advance.

    From the error it is clear that your composite is not able to find the DB jndi.The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/DB_Conn'.
    Please follow these steps:
    1) Have u created DB jndi eis/DB/DB_Conn that you are using on weblogic console.
    2) After creating did you redeploy the DB adapter on weblogic console.
    3) If you have done above 2 steps cross check your jndi exists in ur DB adapter or not on weblogic console.
    That could only be the possible reasons for the error you are getting.
    Hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

  • Oracle database Adapter starts up even before the BPEL services & errors

    Here is the scenario:
    We have an Oracle database adapter in an ESB service polling a table & then invokes a BPEL service.
    During startup, the database adapter is loaded first & polls data & immediately invokes the BPEL which is not even loaded still & errors.
    Is there a way to avoid this.
    Any help would be great.

    All three of your errors seem to be pointing to a configuration gap between
    * the JNDI name used by the SOA composite to obtain a JCA connection in the soa-infra engine
    * the ConnectionFactory configuration used by the DbAdapter process that then connects to the JDBC connection pool managed by the WebLogic server
    * the actual JDBC connection from WebLogic to your database
    You've indicated the JDBC connection layer from WebLogic to the database has been verified so the following things should be checked:
    * access the WebLogic console of your domain and verify the DbAdapter application is deployed and active on the server hosting your soa-infa SOA engine
    * click on the DbAdapter entry and go to the Configuration tab and the Outbound Connections sub-tab
    * expand the tree under javax.resource.cci.ConnectionFactory and verify your JNDI name within the SOA composite is listed (it probably looks something like eis/db/yourdbname)
    * click on that JDNI name and verify on the subsequent screen that the JDBC connection pool name is present under dataSourceName or xADataSourceName
    * verify your SOA composite is using eis/db/yourdbname as the reference in its database service --- it CANNOT use the JDNI name of the JDBC connection pool managed by WebLogic cuz composites run inside the soa-infra engine which uses JCA connections to get out of the soa-infra engine to the rest of the world
    Hope that helps

  • 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.

  • Database adapter - timezone value not being picked up

    We are using Oracle SOA suite v 11.1.1.6, along with database adapter to connect to different Oracle database - D1 and D2. All 3 system - SOA suite, D1 and D2 are set to different timezones. Within the SOA composite, we are using Database adapter to
    query data from Oracle database
    execute pl/sql stored procedure in Oracle database.
    In all cases we noticed that the date time data seen in the SOA EM console is same as in the respective database system, but surprisingly the timezone value in the data field is constant and it does matches with that of SOA suite.
    <D1_DATE>2013-08-15T01:10:00.000-06:00</D1_DATE>
    <D2_DATE>2013-08-15T02:10:00.000-06:00</D2_DATE>
    Ideally the timezone value should match with that of respective database, from where the date value is being picked up. Did we miss any set up or this a known issue ?
    Thanks.

    The database column is of "Date" data type. Was just checking, if the DB adapter can be configured to look into the timezone set at the Oracle data base and use that along with the actual data in the "Date" type column
    Am aware that, if i use the "Timestamp with Timezone" it works good.
    Thanks.

  • Unable to import table using SOA database adapter in Jdev

    hi all,
    I am learning soa 11g development by myself which is quite exciting stuff.
    I am trying to build a simple flow to access database so I have dropped a database adapter in composite.xml and trying to configure the adapter.
    I have successfully tested the database connection within the adapter configuration wizard and can list the tables as well. But when I am selecting a table to import then I don't see any table imported in Step-5.
    It doesn't show me any error. I have tried with other tables and also with other databases but can't import the tables.
    Any advice will be appreciated.
    Oracle SOA Version11.1.1.4.0
    JDeveloper Version 11.1.1.6.0
    Thanks,
    Raj

    Hi Raj,
    You have to select the required tables and move it to the blank area on right side of your selection window by clicking the arrow button.
    cheers

  • Unable to import table using SOA database adapter in jdeveloper

    I am trying to build a simple flow to access database so I have dropped a database adapter in composite.xml and trying to configure the adapter.
    I have successfully tested the database connection within the adapter configuration wizard and can view the tables as well.
    But when I am selecting a table to import then I don't see any table imported in Step-5.
    It doesn't show me any error. I have tried with other tables and also with other databases but can't import the tables
    i have selected the table using the right arrow to right side and then clicked "OK". But the table hasn't come-up and it still says "No tables imported" in Step 5. I am trying to import from oracle database using oracle jdbc.
    am doing Perform an operation(Select query) on a table
    Regards,
    Kishor M

    Thread moved form Japanese SOA Suite.

Maybe you are looking for