Concurrent behavior of DB adapter on SOA 10g Cluster

Hi all,
We have currently setup SOA 10g(10.1.3.5.2) cluster.According to Oracle documentation other than File/FTP adapters all other adapters behave concurrently i.e; we can have these adapters in active-active topology in the cluster.
Now we have a built a sample ESB project with inbound DB adapter and two routing rules.One invoking a BPEL process and another creating a File.
We have the DB adapter in active-active mode.Now at runtime when we insert some record into a table polled by the above DB adapter, we find that duplicate BPEL instances are created and duplicate files get created(on both application hosts).
However if I change the active-active topology of the adapter into active-passive topology by inserting clusterGroupId property on endpoint of the adapter then only a single BPEL instance and single File is created.
Please let us know how we can achieve the above with active-active mode of the adapters.
Thnks & Rgds,
Mandrita

Hi Anuj,
Thanks for your response. However when we enabling distributed polling then we find that the behavior is not consistent.
I am explaining the inconsistency below-
When ESB_DT with service-weight=100 is up then ESB to BPEL invocation(SOAP) creates duplicate BPEL instances but when I shutdown that ESB_DT and the other ESB_DT with service-weight = 50 goes up then we find that duplicate BPEL instances are not getting created.
So is this a default behavior i.e; active-active topology behavior is not consistent?
Thnks & Rgds,
Mandrita

Similar Messages

  • Extending SOA 10g cluster

    We have 2 node cluster on SOA 10g, 10.1.3.5.
    Can this be extended to 3 node cluster? So is it possible to "add" a node to the cluster? Please point me to the right content describing how this can be done.
    Server OS is RHEL 5.0.
    regards,
    Anand

    You can see in the log it is a Timeout exception.
    Please do the following:
    1. Shutdown Oracle Application Server
    2. Set value of maxSyncWaitTime property in $OH/bpel/domains/<domain-name>/config/domain.xml files according to the time
    any BPEL process deployed in the doman can wait for response from synchronous process. This value depends on kinds of
    synchronous processes participating in the BPEL process.
    3. Set values of all transaction-timeout properties in $OH/j2ee/oc4j_soa/application-deployments/orabple/ejb-ob-engine/orion-ejb-jar.xml
    file, so, it would be larger than maxSyncWaitTime defined in previous action. It defines the maximum length of any transaction for
    BPEL session bean.
    4. Set value of Global Transaction Timeout property - transaction-timeout in $OH/j2ee/home/config/transaction-manager.xml file.
    This transaction-timeout property defines transaction timeout for any iAS transaction including Database one and its value should
    be larger, than any transaction-timeout defined in previous action.
    5. Start Oracle Application Server
    Arik

  • SOA 10g: Cluster set up-Help is appreciated

    All,
    version: 10.1.3.4
    I'm trying to set up vertical cluster in my WIN 2008 dev env. This is my understanding, pls correct if im wrong
    1. two nodes to be created (i.e two oracle_home (ex: Oracle_AS1 and Oracle_AS2) in the same box (ex: orafusmachine)
    2. each node will have 1 oc4j instance.
    3. make the two nodes into cluster by modifying the opmn.xml of each nodes(ex: <nodes list="orafusmachine.com:6200,orafusmachine.com:6201"/>)
    4.set the ant orabpel property to 'true'
    5. If I deploy my BPEL to any one of the node, I should be able to see the deployment happen to both the nodes.
    In this set up, I don't want to set up external load balancer. In this case, how do i achieve the cluster?
    thanks
    sen

    flora65
    If you have just purchased and downloaded Premiere Elements 12, I suspect that you did not purchase it direct from Adobe since Adobe is no longer selling Premiere Elements 12.
    If you were purchasing from Adobe direct, I would have expected a Adobe Premiere Elements 12 Folder on your desktop. In that folder would be a PRE12 Folder and a ReadMe Folder.
    You would open the PRE12 Folder and use the setup.exe file inside it to start the Premiere Elements 12 installation. In that scenario, the computer 32 or 64 bit matter would be behind the scenes as it were.
    I am assuming that you have Windows 8 64 bit computer. In that case, open the PRE 64 Folder, find the setup.exe inside, and double click the setup.exe to start the installation. Important. Have you received a purchased serial number for Premiere Elements 12 from the seller? If not, do not bother continuing with the installation until you get the purchased serial number.
    Best do these downloads and installs with the antivirus and firewall(s) of your computer disabled.
    Please let us know if you have any questions or need clarification.
    Thank you.
    ATR

  • File adapter polling frequency is not consistent in SOA 10g!

    Friends,
    I have used file adapter for polling files in a service in SOA 10G env. with polling frequency 3600 secs. However, i have noticed file polling is not happening at 60 mins interval, instead some times files getting polled in less than 30 mins but again after sometime its polling correctly in 60 mins interval. I am not sure what could be the reason but i need a solution urgently. Please help!

    Could be the managed servers in the cluster are not in sync.
    I faced DB JCA adapter sync issues because of Oracle soa suite bug.
    You could check whether any sync issues are there with File adapters.

  • SOA 10g: Dynamic Host Name and Port in FTP Adapter

    Hello All,
    I am using GET operation in FTP Adapter. I wanted to make Hostname,portName,Username and Password Dynamic.
    Pls suggest how to achieve this in SOA 10g.
    thanks,
    Ab

    or http://blogs.oracle.com/adapters/2010/04/changing_the_connection_factory_jndi_dynamically_in_ftp_adapter.html
    the make the jndi dynamic, but you still have to setup all the jndi lookups before you can dynamically can change them

  • SOA 10g JMS adapter does not pick up large messages in Oracle AQ

    I am using SOA 10g 10.1.3.4 MLR #9. When I enqueue a large JMS message ( of type SYS.AQ$_JMS_TEXT_MESSAGE ) into the AQ from SOA 11g it goes into the TEXT_LOB portion of the USER_DATA column in AQ. In addition to this GROUPID and GROUPSEQ do not seem to get set. When that happens, my JMS adapterfrom SOA 10g does not seem to dequeue the message. But if I enqueue the same message using sql and set the GROUPID and GROUPSEQ my JMS adapter from 10g picks up the clob message.
    How do we make the 10g adapter always pick up the large message in TEXT_LOB? I don't have this problem when the message is small because it goes into TEXT_VC field instead of TEXT_LOB field.

    We are having this problem and have not figured it out yet. We need help. An oracle SR is opened but no progress from Oracle yet. I need to get some traction on this so anyone's help is appreciated. Our suspicion is that the AQ client in the wls 10.3.1 is incorrectly choosing to put the xml payload in TEXT_LOB even though the character size is less than 4000.
    Here is a summary of our observations....
    Today we did some testing with our old 6.3.1 OSM environment and our new 7.0.2 environment. We tested each against our QA1 environment and then our QA2 environment. Scenrio 1 is our problem. Scenario 2,3,and 4 all behave similar to each other. Why does Scenario 1 behave differently. It is causing AIA a problem when it dequeues the message.
    Scenario 1:
    We pointed our 7.0.2 OSM/Weblogic 10.3.1/Out of the Box AQ (which is part of our QA1 environment) to send messages to the AIA AQ table in our QA1 environment. The AIA database uses ALT32UTF8 character set. We don't know what character set the 7.0.2 OSM/Weblogic/AQ uses. Wehn we sent messages to the AIA QA1 table we saw that everything under TEXT_LEN 1000 went to TEXT_VC, Over 1000 went to TEXT_LOB. This is causes AIA to throw an exception if the message is over 1000 when it dequeus the message, because it thinks it shoudl look in the TEXT_VC which is null for AIA.
    Scenario 2:
    We pointed our 7.0.2 OSM/Weblogic 10.3.1/Out of the box AQ (which is part of our QA1 environment) to send messages to the AIA AQ table in our QA2 enviornment. The AIA database uses UTF8 character set. We don't know what character set the 7.0.2 OSM/Weblogic/AQ uses. When we sent messages to the AIA QA2 AQ table we saw that everything under TEXT_LEN 4000 went to TEXT_VC. Over 4000 went to TEXT_LOB. This is fine for us.
    Scenario 3:
    We pointed our 6.3.1 OSM/Weblogic 9.2.1/Custom AQ Solution (which is part of our QA2 environment) to send messages to the AIA AQ table in our QA2 environment. The AIA database uses UTF8 character set. We don't know what character set the 6.3.1 OSM/Weblogic/AQ uses. When we sent messages to the AIA QA2 AQ table we saw that everything under TEXT_LEN 4000 went to TEXT_VC. Over 4000 went to TEXT_LOB. This is fine for us.
    Scenario 4:
    We pointed our 6.3.1 OSM/Weblogic 9.2.1/Custom AQ Solution (which is part of our DEVINT1 environment) to send messages to the AIA AQ table in our QA1 enviornment. The AIA database uses ALT32UTF8 character set. We don't know what character set the 6.3.1 OSM/Weblogic/AQ uses. When we sent messages to the AIA QA1 AQ table we saw that everything under TEXT_LEN 4000 went to TEXT_VC. Over 4000 went to TEXT_LOB. This is fine for us.

  • I want my file adapter to poll multiple locations in soa 10g

    Hi All
    I had a requirement that "I want my file adapter to poll multiple locations in soa 10g".I came to know that in soa 11g it is possible.
    I want this to be done in soa 10g.
    plz help me.
    thanks,
    krishna

    You can have pick activity and have separate ftp adapter for each folder, but you will be using the same jndi in all pick activity.
    In that way you can have multiple ftp adapter but uses the same jndi by increasing the performance.
    User will be configured to a home location, example as below.
    say a ftp user "adminuser" is configured to a default folder c:/ftp_files
    You can create multiple folders under the same folder like below.
    c:/ftp_files/location_a
    location_b
    location_c
    location_d
    For each location have a separate ftp adatper, but all of them uses the same jndi while defining the path you have to change according to the above folder.
    Let me know how this goes.
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    Thanks,
    Vijay

  • Error Deploying BPEL process in Oracle SOA 10g

    Hi All,
    Error Deploying the jar file in Oracle SOA 10g.
    Error no : 500
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Following Information from log
    [New log entry]      The BPEL process "InInvoice", revision "1.0" has not been loaded. Either the process was not initialized properly or the process
    has been disabled.
    [New log entry]      Please consult your administrator regarding this error. The application server logs may provide more information regarding this error
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.engine.deployment.DeploymentManager.getProcess(DeploymentManager.java:556)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.engine.deployment.DeploymentHelper.lookupProcess(DeploymentHelper.java:258)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.engine.deployment.DeploymentHelper.getContentFile(DeploymentHelper.java:123)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.ejb.impl.BPELProcessManagerBean.contentFileExists(BPELProcessManagerBean.java:472)
    [New log entry]      11/05/27 02:48:08 at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
    [New log entry]      11/05/27 02:48:08 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [New log entry]      11/05/27 02:48:08 at java.lang.reflect.Method.invoke(Method.java:585)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ThreadState.runAs(ThreadState.java:705)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    [New log entry]      11/05/27 02:48:08 at ProcessManagerBean_RemoteProxy_4bin6i8.contentFileExists(Unknown Source)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.ws.soap.SOAPProviderHelper.copyProcessFile(SOAPProviderHelper.java:284)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.ws.soap.SOAPProviderHelper.doGet(SOAPProviderHelper.java:487)
    [New log entry]      11/05/27 02:48:08 at com.collaxa.cube.ws.soap.oc4j.BPELOC4JServlet.doGet(BPELOC4JServlet.java:190)
    [New log entry]      11/05/27 02:48:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    [New log entry]      11/05/27 02:48:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    [New log entry]      11/05/27 02:48:08 at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
    [New log entry]      11/05/27 02:48:08 at java.security.AccessController.doPrivileged(Native Method)
    [New log entry]      11/05/27 02:48:08 at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    [New log entry]      11/05/27 02:48:08 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:644)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    [New log entry]      11/05/27 02:48:08 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    [New log entry]      11/05/27 02:48:08 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    [New log entry]      11/05/27 02:48:08 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303
    [New log entry]      11/05/27 02:48:08 at java.lang.Thread.run(Thread.java:595)
    Error While Deploying Using ant script.
    BUILD FAILED
    /home/c_lprove/sridhar/InInvoice/build.xml:81: A problem occured while connecting to server "xxxx.yyyy.com" using port "11745": <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>500 Internal Server Error</TITLE>
    </HEAD><BODY>
    <H1>Internal Server Error</H1>
    The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.<P>
    Please contact the server administrator,
    [email protected] and inform them of the time the error occurred,
    and anything you might have done that may have
    caused the error.<P>
    More information about this error may be available
    in the server error log.<P>
    </BODY></HTML>

    Yes it is having a receive activity , it receives the cXML from Ariba Adaapter. I checked the adapter it is up.
    I generated the jar and deployed through BPEL console still i get the same error.
    I got the below error
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.

  • Using JMS in soa 10g

    hi,
    can anybody explain how to create JMS queue is implemented in soa 10g.
    currently i have configured jms destination, but that is not being displayed while i am configuring the jms adapter in the jdeveloper.
    i am first trying to create a file based jms.
    thanks in advance

    What is the nested stack trace for the error mentioned? If you don't see any make sure you enable debug logging for adapters...
    CCI Local Transaction COMMIT failed due to: ERRJMS_COMMIT_FAIL.
    Unable to commit transaction.

  • Issues occurred while creating DataBase Queue for AQ adapter in SOA

    Hi All,
    I am new to AQ adapters,I am trying to create database queue with in the custom user but I got ora-01031 insufficient privileges,actually I follow the below two links
    http://askmesoa.blogspot.in/2012/09/working-with-aq-adapter-in-soa.html
    http://jamessmith73.wordpress.com/oracle-fusion-middleware/oracle-soa-bpm-11g-blogs/soa-10g/soa-hands-on-4/
    When I trying to execute the following code I got ora-01031 insufficient privileges.
    BEGIN
    DBMS_AQADM.CREATE_QUEUE_TABLE (
    queue_table => 'aq_user.msg_qt'
    , queue_payload_type => 'aq_user.message_type'
    DBMS_AQADM.CREATE_QUEUE (
    queue_name => 'msg_queue'
    , queue_table => 'aq_user.msg_qt'
    , queue_type => DBMS_AQADM.NORMAL_QUEUE
    , max_retries => 0
    , retry_delay => 0
    , retention_time => 1209600
    , dependency_tracking => FALSE
    , comment => 'Test Object Type Queue'
    , auto_commit => FALSE
    DBMS_AQADM.START_QUEUE ('msg_queue');
    END;
    Can anybody help me out how to solve the issue
    Regards
    Mani

    Hi Anuj,
    While I execute I had given aq_user1 only still I am geeting the same isssue.
    BEGIN
    DBMS_AQADM.CREATE_QUEUE_TABLE (
    queue_table => 'aq_user1.msg_qt'
    , queue_payload_type => 'aq_user1.message_type1'
    DBMS_AQADM.CREATE_QUEUE (
    queue_name => 'msg_queue'
    , queue_table => 'aq_user1.msg_qt'
    , queue_type => DBMS_AQADM.NORMAL_QUEUE
    , max_retries => 0
    , retry_delay => 0
    , retention_time => 1209600
    , dependency_tracking => FALSE
    , comment => 'Test Object Type Queue'
    , auto_commit => FALSE
    DBMS_AQADM.START_QUEUE('msg_queue');
    END;
    Regards
    Mani

  • Read from a config file in File Adapter in SOA Suite 11g

    I want to read from a config file in order to determine whether to archive or delete the file after processing using file adapter in SOA Suite 11g. How do i do that.

    only part i replied on was the part of how to read a file
    but i think in your case you could do the next
    use the sync file adapter to read in the file during your process
    based on this content you set a variable "myOutputDirectory"
    then create a file adapter (write) which will store the file on file system
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CIACICFD
    4.3.2.2.5 Specifying a Dynamic Outbound File Name
    and use that (jca.file.Directory) property to store the file either on the archive location or the delete location

  • How to install SOA 10g on Windows 7 64-bit platform?

    Hi Friends
    How to install SOA 10g on Windows 7 64-bit platform ?
    I've downloaded the 64-bit version downloadable from OTN and able to run the irca.bat on DB 10.2.0.3 however the SOA Installer fails at BPEL Config Assistant step with errors :
    deploy-applications:
    Deploying Oracle BPEL Process Manager ...
    Copying 1 file to C:\SOA134\bpel\system\services\lib
    Copying 1 file to C:\SOA134\bpel\system\services\lib
    Copying 1 file to C:\SOA134\bpel\system\services\lib
    Updating jar: C:\SOA134\bpel\system\services\lib\orabpel.ear
    Running batch script by:
    java admin_client.jar deployer:oc4j:opmn://<domain name>:6003/oc4j_soa -script C:\SOA134\bpel\system\services\install\ant-tasks/bpel_deployapps.txt
    Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.

    Hi,
    We know now why SOA Installer fails...
    Now we need to know why you can not start OC4J properly. What do you see in the log files?
    https://forums.oracle.com/forums/ann.jspa?annID=893
    Cheers,
    Vlad

  • Oracle SOA 10G Vs 11G

    Hi',
    We have a BPEL process running in SOA 10G, This picks up data from DB, as the payload is huge we pick 50 records in 1 shot.
    Now we are moving to SOA 11G, we presume that we should be able to pick up a bigger payload in SOA 11G.
    Can someone please advice me in 11G how much big or times payload can we pick.
    Thanks
    Yatan

    Hi Yatan,
    I've successfully tested once fetching the data from the table and wrote a file of the order of 49 MB. As this will be also dependent on the environment configuration, I'd suggest to try once and test by yourself.
    Regards,
    Neeraj Sehgal

  • Quartz Scheduler in Oracle SOA 10g clustered environment

    Hi,
    I was able to successfully test the usage of Quartz scheduler in our Oracle SOA 10g dev environment. Our dev is single instance where as our Test and Prod are clustered. I would like to know if the scheduler works in clustered environment. I wasn't able to find any documentation specific to Quartz for Bpel. If it can be done can you provide some guidance.
    I really appreciate your help
    Jagan.

    Jagan
    The schedulers do work on cluster environment. The trick is that every node has its oc4j containers, so you will need to deploy the scheduler process to every node in the cluster.
    Suppose you have two nodes, and have a requirement to run certain process every two hours. You schedule the process in DEV environment to run every two hours. But in cluster you will specify to run every four hours on both the nodes. In simple explanation, node 1 will fire the process at 0,4,8, ... hours and node 2 will fire at 2, 6, 10, ... hours. So, the result is that your process is still running every two hours.
    Hope this will help ...

  • Reading MS Access Database file with database adapter in soa

    I have an .MDB file on another machine that i want to read from within SOA composite using database adapter. can i do that ? how ?

    Have you checked out the jdbc-odbc bridge from Sun?  I would think you should be able to create a jdbc connection to Microsoft Access.  With that connection, you would then be able to create a jndi entry on the DB adapter from SOA.  I haven't used this before, so I'm not sure how well, or even if it would work.

Maybe you are looking for