Transactions with multiple weblogic servers

Hi
          I've got two weblogic 5.1 sp9 servers running identical copies of my
          application but pointing to different database instances (both Oracle
          8.1.6). I have a transaction which requires creating entity beans on
          both the servers (the first server calls the second in a "b2b"
          transaction)
          In a prior thread someone mentioned that in this scenario, the second
          server will actually use the first server to do all its JDBC work. Could
          someone please explain the rationale behind this to me? If my second
          weblogic server belongs to a different entity, it has no business
          writing to the database on my first machine.
          Is there any way to get this not to happen - would manually suspending
          and resuming the transaction before and after the call to the second
          machine work?
          Thanks!
          regards,
          Meherzad
          

"Meherzad Gotla" <[email protected]> wrote in message news:[email protected]...
          > Hi
          >
          > I've got two weblogic 5.1 sp9 servers running identical copies of my
          > application but pointing to different database instances (both Oracle
          > 8.1.6). I have a transaction which requires creating entity beans on
          > both the servers (the first server calls the second in a "b2b"
          > transaction)
          >
          > In a prior thread someone mentioned that in this scenario, the second
          > server will actually use the first server to do all its JDBC work. Could
          > someone please explain the rationale behind this to me?
          Hi Meherzad.
          You're correct, this is the way WebLogic 5.1 works with distributed transactions.
          Release 6.0 introduced a two-phase commit engine that can atomically commit across
          two database instances, whether they're accessed from one or two servers.
          This capability involved significant additions to the server that are too big for a
          5.1 service pack.
          > If my second
          > weblogic server belongs to a different entity, it has no business
          > writing to the database on my first machine.
          >
          > Is there any way to get this not to happen - would manually suspending
          > and resuming the transaction before and after the call to the second
          > machine work?
          Suspending/resuming should "work," but two database updates would not be part of the
          same atomic transaction.
          So one option is to upgrade to WebLogic 6.0/6.1, another is to use a single database
          instance with WebLogic 5.1, and another is to suspend/resume but not have an atomic
          transaction. Sorry, no easy answer...
          > Thanks!
          Hope this helps.
          Regards,
          -- Ed Felt
          BEA Product Engineering
          [email protected]
          +1 908-580-3142
          

Similar Messages

  • NT startup parmaters for multiple weblogic servers started as a service

    I have the need to start multiple weblogic servers, using NT services.
    I have created a second folder with a properties file listening on another
    port.
    I am using the following startup parameter
    -J-Dweblogic.system.name=Test
    My question, this works when I type the startup parameter, is their anyway
    to have this automatically entered
    on server startup.
    Is their a registry setting to make this permanent
    Thanks

    The answer is...
    - Use a product to turn applications into an NT Service (e.g.
    ServiceMill)
    - Directly run the Weblogic Server Java class via that application
    --> As many WLs on one machine as you like.
    Send mail if you need specific details.
    Best regards
    Daniel Hoppe
    -----Original Message-----
    From: [email protected] (Ed) [mailto:[email protected]]
    Posted At: Wednesday, August 30, 2000 2:34 AM
    Posted To: install
    Conversation: NT startup parmaters for multiple weblogic servers started
    as a service
    Subject: Re: NT startup parmaters for multiple weblogic servers started
    as a service
    I wish that was the case.
    The problem is, while you enter the startup parameter once, it only
    is good for that startup of the weblogic server,
    The next time the server reboots and the services start, unless you
    re-enter the startup parameter -J-Dweblogic.system.name=Foldername
    The weblogic server starts using the wrong properties file.
    Is their anyway using NT services to have the correct instance of WL
    to start everytime.
    I have checked this newsgroup and this question has been posted
    before, but so far no one seems to have the answer.
    I know in a production eniviorment someone must be running more that
    one instance of a WL server as a service, Hopefully their is an
    answer on how this is done.
    Thank you
    Kumar Allamraju <[email protected]> wrote:
    Not that i know of.
    but you are specifying this startup parameter only one time too!!!
    Kumar
    None of your bussines wrote:
    I have the need to start multiple weblogic servers, using NT
    services.
    I have created a second folder with a properties file listening onanother
    port.
    I am using the following startup parameter
    -J-Dweblogic.system.name=Test
    My question, this works when I type the startup parameter, is theiranyway
    to have this automatically entered
    on server startup.
    Is their a registry setting to make this permanent
    Thanks

  • How to configure one TREX host with multiple index servers ?

    Hi All,
    Does anyone know how to configure TREX on the one host,
    with multiple index servers ?
    Reason for this is to make better use of resources available on the host server(4 Gig, 4 Processor, Windows2003), to improve the search performance of
    our KM content for portal users.
    I am using TREX 7 and have not been able to do this,
    despite reading the Single and Distributed install
    documentation.
    Any help would be appreciated.
    Regards,
    Andres

    Hi Andres,
    To make use of the RAM a Server provides you have to run two indexserver processes (each can then consume 2 GB);
    Proceed like this:
    1. Go to TREXdeamon.ini; check if section [indexserver2] is there (it is already provided, but not active in standard installation)
    2. In TREXdeamon.ini go to
    [daemon]
    references sections below
    programs=nameserver,preprocessor1,indexserver1,queueserver,alertserver
    and add indexserver2 here. Restart TREX; second porcess is then started; can be checked in TREX monitor in Portal as well
    3. To distribute existing indexes to the new process, start TREXadmintool and go to Index: Landscape
    Go to the last two columns and move the indexes (move master here/secondary mouse click)
    If you don't distribute the indexes the new index server process will be regarded when an new index is created.
    Hope this helps!
    cheers
    Bettina

  • BSPs configuration with multiple apps servers

    Hi Masters,
    This is regrarding configure ICM and BSPs on our production box with multiple application servers.
    We have our production box in a cluster environment.
    The central instance is dbciSAP and apps servers are sapaps2 thru sapaps6. The database is on shared disks. Whenever the central instance fails sapaps2 takes the control and become as dbciSAP but the main dbciSAP never become a application server when ever sapaps2 acts as dbciSAP. Since we have configured load balancing concept in production environment the users can login to system thru any application server. This is waht our environment.
    As part of our production box to SAP 4.7 upgrade from 4.6C, we are asked to configure the environment to deploy BSPs. We have successfully configured and deployed the BSPs in our DEV and QAS system  (Both are central instances with no application servers) except production box which is due in the next month.
    The process we follow to activate BSPs is as follows:
    1.Define an ICM service port in /etc/services file.
    2.Add the ICM related parameters in instance profiles.
    3.Make sure the ICM status is active in SMICM tx.
    4.Activate the BSP services in SICF as per OSS note 571484.
    Now, the question is how to configure the same ICM service and activate the BSPs since we have multiple multiple application servers.
    Subsequently What I am enquirying is:
    Do I need to define ICM service ports on each and every hosts where the application servers are running?
    Do I need to make changes to each and every instance profile of the application server?
    What are the differences in configuring ICM services on central instance and application instances?
    Appreciate any help in this regard.
    Thanks and Regards
    Murty Patchipala

    Grasshopper,
    I think what you should really read up on is the SAP WebDispatcher.  If are serious about running BSP/ICM across multiple app servers, this is the key technology:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/5cfd3b0e59774ee10000000a114084/frameset.htm  This may also answer some of your questions about profile parameters.
    Other than that I can share what we did.  We did activate the ICM and services on all app servers and central instance.  The service ports of the individual servers aren't that important now because of the WebDispatcher (at least they aren't visible to the user).
    Yes we did make some of the ICM profile changes in each instance profile.  If your settings are the same, consider using the default profile.   Are their particular settings you are interested?  I will look over ours, but I don't remember any huge differences from APP server to Central Instance.

  • Session cleanup issue with multiple Application servers

    Hi ,
    I am facing a strange problem with multiple application servers. The java Webdynro session does not get cleaned up completely when user closes the browser ( without using logoff ). On re-login it gets handle of old session and then fails for consecutive view on other webdynpro iviews with an invalid session error. It again starts working with a refresh event.
    Any ideas/suggestion if you have seen something similar before ?
    Thanks and regards,
    Amit.

    Hi Amit
    It seems that issues is not server related, but caused by your client browser. I know, for example, that IE8.0 keeps user session even if two separate browser instances opened on the same client machine. IE 7.0 and lower behave differently - they are separate user sessions per browser instance.
    BR, Siarhei

  • Integrating BIP with multiple LDAP servers

    Hi,
    my question is very simple. In Admin->Security Configuration->Security Model section i've setted Security model combobox with LDAP value. Then i've filled all LDAP information field (for example:URL). All works. But in my rpd i 've multiple LDAP servers (multiple URL) and in the form i can insert information about only one LDAP server.
    Is it possible configure BIP with multiple LDAP servers?
    Thanks
    Giancarlo
    P.S. I'm using OBIEE 10g

    Hi,
    my question is very simple. In Admin->Security Configuration->Security Model section i've setted Security model combobox with LDAP value. Then i've filled all LDAP information field (for example:URL). All works. But in my rpd i 've multiple LDAP servers (multiple URL) and in the form i can insert information about only one LDAP server.
    Is it possible configure BIP with multiple LDAP servers?
    Thanks
    Giancarlo
    P.S. I'm using OBIEE 10g

  • Restarting multiple Weblogic Servers.

    Hi All,
    Is it possible to restart multiple WebLogic Servers from a single point(server).If yes,can someone please provide a shell script?
    Thanks in advance.
    Edited by: user10661185 on Nov 28, 2008 7:27 AM

    This is the point where you really need to dive into the WLST documentation and start to understand how to build these things yourself. However, I'll give you some advice that isn't found in the manual.
    The samples in the doc assume an interactive WLST session, which isn't practical for automated scripts. I prefer to build a Bash script that looks somewhat like this skeleton:
    #! /bin/bash
    $WEBLOGIC_HOME/common/bin/wlst.sh << HEREDOC
    connect(...)
    ... operations ...
    disconnect()
    HEREDOC
    For you, you would have multiple groups of connect()/disconnect() pairs, one for each domain, and "start()" and "shutdown()" calls in each. Read about these operations in the manual. It's handy to click on the DOC entry for "WLST Command Summary, Alphabetically By Command", which then gives you links for each command.

  • IIS proxying to multiple WebLogic Servers by path

    Hi all,
    Is it possible to have 1 IIS proxying to 2 or more different
    weblogic instances (no cluster) BY PATH (no virtual hosts, no proxying by extension)?.
    Maybe 2 or more iisproxy.ini (or different sections in one) depending on iisforward
    path :)
    Just like with Apache or Netscape:
    APACHE:
    MatchExpression "/pathA/*" WebLogicHost=hostA|WebLogicPort=7001|CookieName=CookieA|ErrorPage=/LogoutA.htm
    MatchExpression "/pathB/*" WebLogicHost=hostB|WebLogicPort=7003|CookieName=CookieB|ErrorPage=/LogoutB.htm
    or
    <LocationMatch "^/pathA/">
    SetHandler weblogic-handler
    WebLogicHost hostA
    WebLogicPort 7001
    CookieName CookieA
    ErrorPage /LogoutA.htm
    </LocationMatch>
    <LocationMatch "^/pathB/">
    SetHandler weblogic-handler
    WebLogicHost hostB
    WebLogicPort 7003
    CookieName CookieB
    ErrorPage /LogoutB.htm
    </LocationMatch>
    NETSCAPE:
    <Object name="object1" ppath="*/pathA/*">
    Service fn="wl-proxy" WebLogicHost="hostA" WebLogicPort="7001" CookieName="CookieA"
    ErrorPage="/LogoutA.htm"
    </Object>
    <Object name="object2" ppath="*/pathB/*">
    Service fn="wl-proxy" WebLogicHost="hostB" WebLogicPort="7003" CookieName="CookieB"
    ErrorPage="/LogoutB.htm"
    </Object>
    TIA.

    Issue:
    How can IIS 4 or IIS 5 be setup to proxy from one IIS server to
    multiple WLS servers.
    For example:
    http://iisserver/myapp --> proxy http://wls1:7001/test
    http://iisserver/myapp2 --> proxy http://wls2:7001/test
    Resolution:
    Proxying to different weblogic instances with one IIS Server can be
    accomplished by using IIS Virtual Directories.
    a) Create a Web site and two virtual directories for it.
    b) Create two directories for the two virtual directories and copy
    iisproxy.dll to each of the directories.
    c) Create iisproxy.ini files in each directory created at step b. One
    for proxying to WebLogic Server A and another for WebLogic Server B.
    d) Register each iisproxy.dll to each of the virtual directories with
    IIS by specifying the appropriate mime-type. If you want to proxy everything
    for that virtual directory, then you will specify a mime-type of *.
    Please note that specifying a mime-type of * will not work with IIS 4.
    e) Make sure you set the Application Protection to HIGH for each
    Virtual Directory.
    Attachments:
    No Attachments Available
    "PacoG" <[email protected]> wrote in message
    news:40c6eb20$1@mktnews1...
    >
    try {
    NewsRefresh nrefresh=NewsRefreshFactory.getInstance("Please");
    nrefresh.execute("HELP");
    } catch (Exception allexceptions) {
    throw new IKnowIKnowException("Linux+Apache");

  • Forwarding requests to multiple weblogic servers

    Hi,
    I have two applications running on two different Weblogic servers and wish to
    use one Apache web server as a front end interface. I can forward the requests
    from apache to one weblogic server using apache-weblogic bridge.
    Is it possible to forward requests to either one of the weblogic servers based
    on some conditions?
    How do we put IF/ELSE IF type constructs in apache configuration file so that
    it can get requests for both the weblogic servers and then forward the request
    to one of the weblogic servers ? Conditions can be anything like some particular
    path, some data in request header, some constant in apache conf file etc
    Thanks in advance.
    Mandar

    Issue:
    How can IIS 4 or IIS 5 be setup to proxy from one IIS server to
    multiple WLS servers.
    For example:
    http://iisserver/myapp --> proxy http://wls1:7001/test
    http://iisserver/myapp2 --> proxy http://wls2:7001/test
    Resolution:
    Proxying to different weblogic instances with one IIS Server can be
    accomplished by using IIS Virtual Directories.
    a) Create a Web site and two virtual directories for it.
    b) Create two directories for the two virtual directories and copy
    iisproxy.dll to each of the directories.
    c) Create iisproxy.ini files in each directory created at step b. One
    for proxying to WebLogic Server A and another for WebLogic Server B.
    d) Register each iisproxy.dll to each of the virtual directories with
    IIS by specifying the appropriate mime-type. If you want to proxy everything
    for that virtual directory, then you will specify a mime-type of *.
    Please note that specifying a mime-type of * will not work with IIS 4.
    e) Make sure you set the Application Protection to HIGH for each
    Virtual Directory.
    Attachments:
    No Attachments Available
    "PacoG" <[email protected]> wrote in message
    news:40c6eb20$1@mktnews1...
    >
    try {
    NewsRefresh nrefresh=NewsRefreshFactory.getInstance("Please");
    nrefresh.execute("HELP");
    } catch (Exception allexceptions) {
    throw new IKnowIKnowException("Linux+Apache");

  • Run Admin Server with multiple Managed Servers each using different userid?

    We currently run separate WebLogic domain instances for each business application in a Unix environment. Each one is created using a unix userid unique to that application and which owns all the files and is used to run the process when that particular WebLogic instance is started up. We have run this way for a while.
    I am considering altering our approach to the one that is recommended, i.e. in our Production environment we would run a single Admin instance with numerous managed servers. One issue I'm stuck on is the fact that in our current environment, each application has a different unix userid that owns the files making up the WebLogic domain instance and that WebLogic instance is run under that userid.
    I've investigated and experimented using WebLogic 10.3 preview and WebLogic 10.0, but I haven't been able to determine what I have to do to make each managed server's files and processes belong to a different unix userid, if that is even possible.
    Is there a way, using the recommended approach, where there is a single Admin instance that has multiple managed servers whose files and processes are owned by different unique, unix userids?
    If not, how would you separate access to each of the Managed Servers so that the programmers who maintain them don't have access to Managed Servers that they are not responsible for?
    Thanks for any help or suggestions.....

    Hi:
    I played with this stuff and I found that this will work, without the Location elements:
    <IfModule mod_weblogic.c>
    MatchExpression /app1 WebLogicHost=server1|WebLogicPort=7003
    MatchExpression /app2 WebLogicHost=server2|WebLogicPort=7003
    </IfModule>
    Also this will work too, with no entries inside the IfModule element:
    <Location /app1 >
    SetHandler weblogic-handler
    WebLogicHost server1
    WebLogicPort 7003
    </Location>
    <Location /app2 >
    SetHandler weblogic-handler
    WebLogicHost server2
    WebLogicPort 7003
    </Location>

  • SharePoint writer metadata information in a SharePoint farm with multiple WFE servers.

    I  am working on Microsoft Volume Shadow Copy Service (VSS) framework. I know that in a 3-Tier SharePoint environment the SharePoint writer metadata on WFE server gives all the information related to that farm.
    My question is -
    a) How would i get all the information related to the SharePoint farm from the SharePoint writer metadata in an environment where multiple WFE servers are configured?
    b) Is it possible that in a SharePoint farm where multiple WFE servers are deployed, SP writer of only one WFE server (Master/Main server) contains all the information about the respective SP farm servers in its metadata?

    Hi  Aaditya,
    All Writer Metadata is stored in Writer Metadata Document which is produced by writer. The backup application uses the  Writer Metadata document to get information about that writer, the data it owns,
    and how to restore that data. Once the writer produces it, the Writer Metadata Document is a read-only document to the backup application.
    The Writer Metadata Document contains three sets of data: writer identification and classification information, writer-level specifications, and component data.
    For getting Writer Metadata, you can use
    IVssBackupComponents::GetWriterMetadata method.
    For more  information, you can refer to the articles:
    http://msdn.microsoft.com/en-us/library/aa384992(v=vs.85).aspx
    http://msdn.microsoft.com/en-us/library/aa384996(v=vs.85).aspx
    http://blogs.technet.com/b/dpm/archive/2011/06/02/explaining-sharepoint-data-source-enumeration-with-data-protection-manager-2010.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Application Server slowdown with multiple proxy servers ?

    Our environment has our iAS boxes talking to iWS web servers which are front-ended with iPlanet Proxy servers (Proxy 3.53 I believe). We are seeing significant slowdown if we try and hit our web apps through the proxy as opposed to going directly to the web server (bypassing the proxy servers). One of our "proxy" guys recalls hearing that there is an issue with the app server's handling of sessions if requests from the same user come in to the web server (and by extension the app server) from multiple proxy servers with different ip's. Has any body ever encountered this or does any body know if the app server has an issue handling the same sessions whose requests come from different ip addresses (different proxies)?

    The proxy work with HTTP 1.0 and the webserver with HTTP 1.1.
    This difference could be the cause of your problems.
    "David Fuelling" <[email protected]> escribio en el mensaje
    news:[email protected]..
    Our environment has our iAS boxes talking to iWS web servers which are
    front-ended with iPlanet Proxy servers (Proxy 3.53 I believe). We
    are seeing significant slowdown if we try and hit our web apps through
    the proxy as opposed to going directly to the web server (bypassing
    the proxy servers). One of our "proxy" guys recalls hearing that
    there is an issue with the app server's handling of sessions if
    requests from the same user come in to the web server (and by
    extension the app server) from multiple proxy servers with different
    ip's. Has any body ever encountered this or does any body know if the
    app server has an issue handling the same sessions whose requests come
    from different ip addresses (different proxies)?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Broadcasting with Multiple Application Servers

    Hi, If I schedule a query broadcast to fill olap cache and I have multiple production servers which App server(s) will get the cache filled?  What ever server the broadcast job runs on?
    If anyone can give some insight it is greatly appreciated.
    Thanks,
    Ken Murray

    1. If the OLAP cache is set to main memory than the OLAP Cache only gets created on the server in which it is run? So if I have 4 servers with load balancing then it is possible for the next 3 people who run the query to not benefit from the initial OLAP Cache created.
    <i>--> Next 3 people will benefit only if they log in to the same server, if cache was created in app server 1 and next 3 login to app server 2, 3 and 4 they wont hit the cache from app server 1.</i>
    2. If I change it to BLOB than any of the query runs on any server would access the initial OLAP Cache Entry that was created?
    <i>--> Yes.</i>
    3. Where is this BLOB Cached created and made available from? The DB Server or on 1 of the APP Servers?
    <i>--> DB Server</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/00/241da12ef84f40bb6ecd3ae73d8b58/content.htm
    4. If SAP can make BLOB Cache available to all servers then why couldn't they make Main Memory Cache available to all servers?
    <i>Main memory is specfic to a server like how you have RAM for your PC, this is not accessible by other system. BLOB is Database and can be accessed by multiple systems.</i>
    Thanks.

  • Is it possible to load transaction with multiple batch_source_name??

    Hi,
    I am calling 'Autoinvoice Master Program' for creating transactions in my custom package.
    I have 15 lines in my data file. They are invoices, credit memos, debit memos with different batch_source_name.
    Import program is picking tranasctions with any one of batch_source_name & update the base table.
    15 lines are populated in interface(ra_interface_lines_all) but base table (ra_customer_trx_all) populated with few line.
    Is it possible to load transactions & call the AutoInvoice with multiple batch_source_name in one data file ??
    Please help me on this issue.
    Thanks in advance.
    Manish
    Edited by: user12143717 on Mar 4, 2010 6:49 AM
    Edited by: user12143717 on Mar 11, 2010 6:16 AM

    Hi,
    I cannot find a method to achieve this. You may try to create a new contact folder and copy the contacts you want to use to the new contact folder, and then mail merge from the newly created contact folder.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Configuring the weblogic domain with multiple managed servers(SOA)

    Hi
    We are trying to create a domain where we have a admin server and 2 SOA manged servers under a cluster.
    domain
    Admin_Server
    SOA_Cluster
    SOA_Managed1
    SOA_Managed2
    I tries the default values but that puts my soa-infra into the Admin server and as far as I know that is not supposed to be the case.
    Can any one tell me what are the libraries that I should be selecting for the cluster when I try configuring the domain?
    Thanks

    Thanks Vlad.
    I found another link that might be helpful to someone who is looking for something like this
    https://blogs.oracle.com/reynolds/entry/installing_an_11g_soa_cluster_2
    Thanks.

Maybe you are looking for