DB polling in cluster environment?

Hi all,
I have a DB adapter polling a table in a 2 node clustered environment. For each row it polls it is creating 2 instances on two servers and this is is causing issues when i call 3 rd party web service with identical data....i tried checking distributed polling in adapter config and also 'singleton' property in composite.xml, but still it creates duplicate instances some times and not all the times....Could some one suggest some thing for resolving this...
Thanks

parameter looks fine.  I too faced similar problem with DBAdapter in cluster.  Later I realized that the above parameters were set in the wrong place.  I think this might be an issue with the relationship you create between tables.  Hence you need to identify the right place to set the above parameters. Look up my toplink file
<reference-class>XXXXXXX</reference-class>
                  <refresh>false</refresh>
                  <remote-refresh>false</remote-refresh>
                  <cache-usage>primary-key</cache-usage>
                  <lock-mode>none</lock-mode>
                  <container xsi:type="list-container-policy">
                     <collection-type>java.util.Vector</collection-type>
                  </container>
               </query>
               <query name="XXXXXX" xsi:type="read-all-query">
                  <reference-class>XXXXXX</reference-class>
                  <refresh>false</refresh>
                  <remote-refresh>false</remote-refresh>
                  <lock-mode>none</lock-mode>
                  <container xsi:type="list-container-policy">
                     <collection-type>java.util.Vector</collection-type>
                  </container>
               </query>
In the above sample, you could notice the remote-refresh parameters are present twice.  When I enabled 'Distributed Polling' option, the parameters were set in the italics instead of in the text which is bold.  After I modified the toplink file, it works fine as expected. Hopes it clarifies you.
rgds
sen

Similar Messages

  • OSB Polling in Cluster Environiment

    Hi ,
    I created a OSB Poller which will read data from DB. When I test it in a single server it is working fine but when I move it to cluster environment with two managed servers it is polling Twice from the DB and the reports are generating twice . I have changed the JCA Property <Lock>lock-no-wait</Lock> even then it is polling twice. Any solution Please ?

    Hi:
    Maybe this link can be useful
    http://javaoraclesoa.blogspot.com.au/2012/04/polling-with-dbadapter-in-clustered.html
    Regards,
    RK
    Edited by: RK.. on Dec 16, 2012 7:54 PM
    Edited by: RK.. on Dec 16, 2012 7:55 PM

  • File polling in cluster environment

    We have a cluster environment with two servers(say, osb_server1 and osb_server2) and a proxy service is configured with file polling using HAfileAdapter.
    When executing this service immediately after activation, for first time, the server “osb_server2” throws error as,
    Caused By: BINDING.JCA-11042
    File deletion failed.
    File deletion failed.
    File : /**Path**/filename.txt as it does not exist. could not be deleted.
    But for consecutive attempts, the osb proxy service is processed by “osb1_server1” and we are not getting the above mentioned error.
    In short, We face the issue as below only when executing first time after “Activate” session but the consecutive attempts doesn’t throw error.
    Why such error occurs when executing in cluster environment?
    Thanks in advance.

    try to use the file protocol provided by osb.And select the polling server as on eof the managed server.

  • OSB Email Transport polling in multi cluster environment

    Hi,
    I have following scenario: email needs to be read by OSB proxy using the Email transport. The proxy service service will poll the IMAP mail box and processes messages, upon reading a message message is deleted.
    The email transport works fine in a cluster environment by using a dedicated managed node for polling, so no duplicate messages will occur.
    However, we have two clusters in our environment pointing to one mailbox. In this case, two clusters have no visibility of each other. So, two pollers may poll the same mailbox.
    Please, advice if there any configuration on OSB, Weblogic or IMAP can be done to solve this issue.
    thanks,
    Djail

    Dont think it will work in an Active-Active setup. If you have both clusters listening to same email address then both will receive a copy (just like you receive same email on your desktop's email client and also on your mobile's email client) because SMTP servers distribute to clients similar to how a JMS Topic works.
    Dont know if there is a setup in IMAP which will allow an email to be sent to only one client (in this case one of the OSB clusters).
    If you want to make it work in Active-Active then you will need to do it at functional level, for ex. after receiving an email if you have any unique id then log that in a transaction table, before calling the backend, check if the same email was already processed by the other cluster. Alternatively, check at the backend before processing it.

  • Scheduling Task issue in cluster environment

    Hi All,
    Can anybody explain,In my current OSB project for exception and retry mechanism we are using java scheduling,it is working fine in single managed server but in cluster environment we got issue i.e we have two managed servers and one Database, java scheduler which polling the records from Queue and inserting into Database.In cluster environment some times same record will insert into the database.how to fix it i.e means if only one record id insert into database table.
    Thanks and Regards
    Mani

    Mani,
    I suppose you are doing this in OSB.
    Can you be more clear how you are polling the records from the queue? What mechanism you are using? I see you are using DB Adapter for writing to the database.

  • Concurrent nodes reading from JMS topic (cluster environment)

    Hi.
    Need some help on this:
    Concurrent nodes reading from JMS topic (cluster environment)
    Thanks
    Denis

    After some thinking, I noted the following:
    1 - It's correct that only one node subscribes to a topic at a time. Otherwise, the same message would be processed by the nodes many times.
    2 - In order to solve the load balancing problem, I think that the Topic should be changed by a Queue. This way, each BPEL process from the node would poll for a message, and as soon as the message arrives, only one BPEL node gets the message and take if off the Queue.
    The legacy JMS provider I mentioned in the post above is actually the Retek Integration Bus (RIB). I'm integrating Retek apps with E-Business Suite.
    I'll try to configure the RIB to provide both a Topic (for the existing application consumers) and a Queue (an exclusive channel for BPEL)
    Do you guys have already tried to do an integration like this??
    Thanks
    Denis

  • SBO Mailer in a cluster environment

    Hi,
    I am currently facing an issue where when I install SBO Mailer on a cluster environment, the installation removes applications and license manager for some reason gets uninstalled.. When I want to uninstall the SBO Mailer, I do not see it under the Control Panel and neither do I see it in running in services. But if i look at the Service Manager the SBO Mailer Service is running.
    The strange part is that after this installation, there is an add-on that stopped working.
    Has anyone come across such a scenario?

    Hi,
    To uninstall you have to first run the Server tools and there you can uncheck the sbo mailer. There is not way you can uninstall SBO mailer service and you cannot find it under control panel its a service...not an applicaiton.
    Run the server tools and then choose repair.
    Regards,
    Rakesh N

  • Deploying Java Web Application (WAR-File) into a cluster environment

    Hi,
    we have a web application which has to read from and write to the file system.
    Since a short time we have a cluster environment (2 parallel servers) and since thisa time we have the problem, that files are worked double in the cluster. The application is working on both servers now and so we have this problem.
    Does anybody know how we have to deploy the application correctly in a cluster environment or do we have to change anything in our source code of the application?
    I didn't find any documentation about this.
    At the moment we have deployed the application on one of the two servers only, but I think there must be a better way to solve this problem.
    Thanks for your replies.
    Regards
    Thorsten

    Hi,
    I think first you need to wrap it into an EAR file, then you can deploy it.
    As far as I know standalone deployment of WAR is deprecated as of 640.
    similar threads:
    How to deploy .war on NWDI
    Deploying an existing WAR file into the Portal
    Hopefully this tutorial also gives some idea:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
    Regards,
    Ervin

  • PI 7.1 in a cluster environment (multiple ip-adresses): P4 port

    We want to  install PI 7.1 on unix in a cluster environment.Therefore we  installed also DEV+QA with virtual hostnames like the prodsystem, which will be later installed.
    At all sapinst installation screens we have used only the virtual hostname <virtual-hostname-server interface>.We have also set the SAPINST_USE_HOSTNAME=<virtual-hostname-server interface>. Although the P4-port seems to have used the physical hostname: in step 57 of sapinst we got problems and in dev_icm were:
    [Thr 05] *** ERROR => client with this banner already exists:
    1:<physical-hostname>:35644 {000306f5} [p4_plg_mt.c 2495]
    After we have set
    icm/server_port_1 = PROT=P4,PORT=5$$04, HOST=<virtual-hostname-server interface>
    icm/server_port_6 = PROT=P4,PORT=5$$04, HOST=<virtual-hostname-user interface>
    icm/server_port_7 = PROT=P4,PORT=5$$04, HOST=<physical hostname>
    icm/server_port_8 = PROT=P4,PORT=5$$04, HOST=127.0.0.1
    the sapinst was successfull.
    Now we're not sure how to set these P4-parameters in our  future productive cluster environment.
    Our productive system PX1 will live in a HA environment, so we don't want to use the physical hostnames in any profile.
    Our environment will look like:
    HOST-A (<physical-hostname-A>):
    <virtual-hostname-server interface>
    <virtual-hostname-user interface>
    HOST-B (<physical-hostname-B>):
    Normally our prodsystem will live on Host-A (physical-hostname-A). All parameters should
    only take the virtual hostname <virtual-hostname-server-interface>. During switchover the
    virtual hostnames (server and user interface) will be taken over to HOST-B, while the physical
    hostnames of HOST-A and HOST-B will stay like there are.
    How do the parameters have to be set here ?
    Have also the physical hostnames of both cluster nodes set in the
    instance profile, e.g:
    icm/server_port_1 = PROT=P4,PORT=5$$04, HOST=<virtual-hostname-server interface>
    icm/server_port_6 = PROT=P4,PORT=5$$04, HOST=<virtual-hostname-user interface>
    icm/server_port_7 = PROT=P4,PORT=5$$04, HOST=<physical-hostname-A>
    icm/server_port_8 = PROT=P4,PORT=5$$04, HOST=<physical-hostname-B>
    icm/server_port_9 = PROT=P4,PORT=5$$04, HOST=<localhost>
    Any recommendations ? In note 1158626 is some infomation regarding P4 ports with multiple network interfaces, but it's not 100% clear for us.
    Best regards,
    Uta

    Hi Uta!
    Obviously we are the only human beings in the SAP community having this problem. Nevertheless let's give it another try with a - hopefully - more simple problem description (and maybe it will be helpful to copy and paste this description into the open SAP CSN also).
    So here comes the scenario:
    We have one physical host:
    Physical hostname: physhost
    Physical IP address: 1.1.1.1
    On this physical host there is running one OS: SUN Solaris 10/SPARC
    On top of this we have two virtual hosts where we install 2 completely independent PI 7.1 instances with separate virtual hostnames and separate virtual IP addresses and separate DB2 9.1 databases. That is this is not an MCOD installation.
    Virtual Host no. 1 is PI 7.1 Development System:
    Virtual hostname: virthostdev
    Virtual IP address: 2.2.2.2
    Java Port numbers: 512xx
    Virtual Host no. 2 is PI 7.1 QA System:
    Virtual hostname: virthostqa
    Virtual IP address: 3.3.3.3
    Java Port numbers: 522xx
    With this constellation we face serious problems with the P4 port. Currently for example the JSPM for virthostdev does not start, because JSPM cannot connect to the P4 port.
    In SAP note 1158626 we have learned that by default always the physical hostname/IP address is used to address the P4 port and that we have to configure instance profile parameter icm/server_port_xx to avoid this.
    So how do we have to configure the instance profile parameter icm/server_port_xx for both systems to resolve these P4 port conflicts?
    Additionally: Is it important to use distinct server port slot numbers xx in both systems?
    Additionally: Is it possible to configure this parameter with hostnames instead of using IP addresses?
    So far we have tried several combinations, but with each combination at least one or even both systems have problems with that f.... P4 port.
    Please help! Thanx a lot in advance!
    Regards,
    Volker

  • Steps to upgrade kernel patch in AIX cluster environment

    Hello All,
    We are going to perform kernel upgrade in AIX cluster environment.
    Please let me know the other locations to copy the new kernel files ,
    default location
    CI+DB server
    APP1
    Regards
    Subbu

    Hi Subbu
    Refer the SAP link
    Executing the saproot.sh Script - Java Support Package Manager (OBSOLETE) - SAP Library
    1. Extract the downloaded files to a new location using SAPCAR -xvf <file_name> as sidadm.
    2. copy the extracted files to sapmnt/<SID>/exe
    3. Start the DB & Application.
    Regards
    Sriram

  • SAP R/3 4.7 SR1 Migration to MSCS cluster environment

    Hi all,
    We are planning to move our existing standalone server R/3 production server to cluster environment.
    I have some queries regarding this migration
    Our R/3 system is running on SAP R/3 4.7x1.10 SR1 on Windows 2003 and Oracle 9.2
    1. Central Instance has to be installed in local disk or shared disk
    2. Is it correct to R3load procedures to export data from old server and import during Database installation
    3. Presently our server is running with kernel 640, but for the new installation kernel will be 620. So when can i upgrade kernel immediately after central instance installation or after CI and DB Instance installation.
    Give me some inputs
    Thanks & Regards
    KT

    Hi, the best place for your questions would have been the forum SAP on Windows.
    However, here the answers.
    1) CI must be on a shared disk
    2) Right, if you don't change the database platform and its release you can also use backup/restore
    3) Right. You can also perform the installation with the latest NW04 installation master

  • How to setup the cluster environment for BPM using weblogic

    want to setup the cluster environment for BPM using weblogic....
    i have installed the oracle weblogic server 10gr3 and oracle BPM enterprise for weblogic 10gR3
    i have used the Admin tools from the "oracle BPM enterprise for weblogic" to setup the configuration and create the weblogic domain servers.
    i can launch the process administrator and import the project exp file to domain server.
    but what should i do to setup cluster environment using weblogic?
    what i want to do is :
    setup one admin machine..
    setup two product machine..
    enable the cluster so the admin machine can monitor the status of the product machine..
    thanks a lot ...

    The install guide at http://download-llnw.oracle.com/docs/cd/E13154_01/bpm/docs65/config_guide/index.html gives a reasonable amount of info on how to do this.
    Personally I have not used the OBPM option to configure WebLogic instead I've used the information in the above install guide to create the weblogic domain in advance of configuring OBPM.
    Once you've setup WebLogic configure OBPM using the values I mention in the following thread: How to set the JMX Engine parameter in Process Administation?
    Let me know any specific config questions and I'll do my best to answer them for you.
    Thanks,
    Mike

  • Changing the listener port number in a cluster environment

    Hello,
    I have an Oracle 10g database on a Windows cluster environment with Oracle Fail safe. I am trying to change the default listener port number - these are the steps I have done to change the port number:
    1) Take the listener offline via Oracle Fail safe
    2) stop the original listener from the command line
    3) change the port number in the listener.ora file & save
    4) start the original listener
    5) bring the listener online in Fail safe
    6) register the listener in the database with ALTER SYSTEM SET LOCAL_LISTENER....
    After all this, when i check the status of the listener via lsnrctl, i see that the new port number is used, however in the Fail safe administrator, I still see the default port 1521. How do I go about changing the port number so that Fail safe also registers the change?

    I did troubleshooting to verify the group, but this just changed the port number back to the default in the listener.ora & tnsnames.ora.
    So I did all the steps again to change the port number from the default to another - via lsnrctl status, i see that the new port number is being used, I can also log in to the database via Toad using the new port number, in v$parameter i see that the local_listener is registered on the new port number....only under the Fail Safe manager, the port number (under listener parameter) has not changed....it still shows the default port number. Anyone know how to change this???

  • Installation of CRM 2007 in Windows with oracle and cluster environment

    Dear Experts,
    We are about to start the installation of CRM 2007 (ABAP+JAVA) with
    Oracle 10g on Windows x64 in cluster environment. In the SAPINST dialog
    box under High availability option, I could see installation options like ASCS
    Instance, SCS Instance, First MSCS node, Database Instance, Additional
    MSCS Node, Enqueue Replication Server, Central Instance and Dialog
    Instance.
    I have gone through the installation guide. I have below queries
    regarding the same. Can you please clarify the same
    1) Our requirement is we want to have an ACTIVE-ACTIVE cluster setup
    with sap service running in Node A and Database running in Node B. Can
    we have this setup in ABAP+JAVA setup
    2) Also,in the SAPINST dialog box as said above except last two
    (Central and Dialoge instance) as per standard installation guide are
    to be installed in shared drives as per the requirement. But, central
    and dialog are said to be installed locally on any one node in MSCS or
    in separate server. As per my understanding Dialog instance will be
    used for load balancing which we do not require now. Hence I feel this
    is optional in our case. Where as Central Instance I am not able to
    understand why this option is for? Is it mandatory to be installed or optional. If
    so, when I installed it in one of the MSCS node the incase of failover
    how does it effect the system. As per my understanding ASCS and SCS
    comprise central instance.
    Please clarify and thanks in advance.
    Regards,
    Sharath Babu M
    +91-9003072891

    I am following as per the standard installation guide.
    Regards
    Sharath

  • How to set property for Cluster Environment for JMS Adapter

    Hi All,
    I am moving from DEV to Prod environment which is cluster.
    Can you Please explain me what property I need to Set for Cluster Environment for JMS Adapter, so that I could avoid race condition for Dequeue/enqueue.
    I am using soa suite 10.1..3.4
    Thanks in Advance.
    Edited by: vikky123 on Jul 12, 2010 7:03 AM

    put something like this
    <activationAgents>
          <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="PARNERLINKNAME">
            <property name="clusterGroupId">SOMEUNIQUEVALUE</property>
            <property name="portType">PARTNERLINK_PORTTYPE</property>
          </activationAgent>
        </activationAgents>

Maybe you are looking for