CF8 and JRun 4 Clustering question

I have a production CF8 environment that consists of:
3 Windows 2003 IIS 6.0 servers (behind a load balancer)
JRun 4.0 Updater7 with a CF8 instance installed on each
server .
Each JRun server I created a cluster and added the CF8
instance from each server to it.
I connected IIS 6.0 to the local cluster via the JRun
Connector tool.
My question is when a request is sent to IIS web server for a
CF page, would JRun try to process the CF request locally and if it
could not, then send it to another server in the cluster, or would
it simple do a round robin where as 2/3 of the requests that come
into that JRun server would be sent off to other servers?
Thanks.

what i know that is the request goes in round-robin
process

Similar Messages

  • Multiple JRun connector clusters on the same servers?

    I am trying to set up 2 clusters of jrun instances on the
    same set of 4 servers. Let's call them 192.168.246.1,
    192.168.246.2, 192.168.246.3, 192.168.246.4.
    Each jrun server has 2 instances, instance_[n]_a and
    instance_[n]_b, where [n] is the last bit of their ip address.
    The JRunProxyService port on instance_[n]_a is 51020, and
    51021 on instance_[n]_b.
    The cluster service part of their jrun.xml looks like this:
    <service class="jrunx.cluster.ClusterManager"
    name="ClusterManager">
    <attribute name="bindToJNDI">true</attribute>
    <attribute name="enabled">true</attribute>
    <attribute
    name="clusterDomain">instance_a</attribute>
    <service class="jrunx.cluster.ClusterDeployerService"
    name="ClusterDeployerService">
    <attribute
    name="deployDirectory">{jrun.server.rootdir}/SERVER-INF/cluster</attribute>
    <attribute name="deactivated">false</attribute>
    <attribute
    name="hotDeploy">true</attribute></service>
    <attribute
    name="unicastPeer">192.168.246.1</attribute>
    <attribute
    name="unicastPeer">192.168.246.2</attribute>
    <attribute
    name="unicastPeer">192.168.246.3</attribute>
    <attribute
    name="unicastPeer">192.168.246.4</attribute></service>
    and
    <service class="jrunx.cluster.ClusterManager"
    name="ClusterManager">
    <attribute name="bindToJNDI">true</attribute>
    <attribute name="enabled">true</attribute>
    <attribute
    name="clusterDomain">instance_b</attribute>
    <service class="jrunx.cluster.ClusterDeployerService"
    name="ClusterDeployerService">
    <attribute
    name="deployDirectory">{jrun.server.rootdir}/SERVER-INF/cluster</attribute>
    <attribute name="deactivated">false</attribute>
    <attribute
    name="hotDeploy">true</attribute></service>
    <attribute
    name="unicastPeer">192.168.246.1</attribute>
    <attribute
    name="unicastPeer">192.168.246.2</attribute>
    <attribute
    name="unicastPeer">192.168.246.3</attribute>
    <attribute
    name="unicastPeer">192.168.246.4</attribute></service>
    I am telling apache to connect to Jrun like so:
    <VirtualHost *:80>
    ServerName www.instance_a.com
    DocumentRoot D:\websites\instance_a\
    <Directory />
    Options FollowSymLinks MultiViews ExecCGI -Indexes
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    <IfModule mod_jrun20.c>
    JRunConfig Verbose false
    JRunConfig Serverstore
    "d:/JRun4/lib/wsconfig/instance_a/jrunserver.store"
    JRunConfig Bootstrap 127.0.0.1:51020
    AddHandler jrun-handler .jsp .jws
    </IfModule>
    </VirtualHost>
    and
    <VirtualHost *:80>
    ServerName www.instance_b.com
    DocumentRoot D:\websites\instance_b\
    <Directory />
    Options FollowSymLinks MultiViews ExecCGI -Indexes
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    <IfModule mod_jrun20.c>
    JRunConfig Verbose false
    JRunConfig Serverstore
    "d:/JRun4/lib/wsconfig/instance_b/jrunserver.store"
    JRunConfig Bootstrap 127.0.0.1:51021
    AddHandler jrun-handler .jsp .jws
    </IfModule>
    </VirtualHost>
    Now, when I run my website, all seems nice, except when I
    output the name of the instance being used
    (jrunx.kernel.JRun.getServerName()), shock horror both sites output
    a mixture of instance_[n]_a and instance_[n]_b!!
    As far as I can see, Jrun is clustering all the instances
    together regardless of the clusterDomain set for each one.
    Am I missing something here? Does Jrun just ignore the
    clusterDomain when deciding which cluster and instance should join?
    Is it even *meant* to be possible to do what i am trying to

    Woo! I fixed it.. turns out that my problem was to do with
    the unicastpeer attributes:
    <attribute
    name="unicastPeer">192.168.246.1</attribute>...
    It turns out that the clusterDomain does not have the effect
    i thought it might. All the clustering behavious seems to be
    handled by the unicastPeer directives.. when i changed mine to
    this, it all worked as i needed it to:
    <attribute
    name="unicastPeer">192.168.246.1:2902</attribute>
    <attribute
    name="unicastPeer">192.168.246.2:2902</attribute>
    <attribute
    name="unicastPeer">192.168.246.3:2902</attribute>
    <attribute
    name="unicastPeer">192.168.246.4:2902</attribute>
    I think that if you leave the port blank, JRun scans the
    range and clusters all instances it finds on the server...

  • Using Error In and Error Out Clusters within VIs

    Quick question for the LabVIEW experts - I try to include Error In and Error Out clusters ICON terminals in all of my VIs.  My question is however, if I have a VI with code that does not use any error terminals do I need to include Error In and Error Out clusters in that VI?  If my code does not use those terminals I would think that I'd just be passing errors right through this VI and I don't see a purpose of including them.
    Thanks!

    dems wrote:
     As for the idea itself, I personally argue against it. LabVIEW should be a language. Adding a sequence structure and a few wires to a VI is not a language feature.
    It's a primitive.  There is no wires nor sequence structure in a primitive.
    This is one of those that NI and I are just going to have to agree to disagree.  When I see every company out there have a wait function in their library just so they can sequence the wait with the error cluster, that tells me there is something wrong with the core language.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • CF8 and MS SQL Server 2008

    Hi,
    I'm wondering if anyone else has run into this issue. We are porting an older CF app to CF8 and upgrading our db at the same time. Our old model is CF 6.1 using MS SQL Server 2005 and our new model is CF8 using MS SQL Server 2008.
    I'm having the following issue....
    We have an application form where people apply to jobs, they can either type their text in, or copy and paste (usually from MS Word). On the back end we use CF ToBase64 and then ToBinary functions to convert the data to store it in a Blob field in the db.
    No code changes have been done.
    If the user copies and pastes into the form field and it contains MS bullet points, in our old model they are stored correctly, under the new model they are not. When I look at that candidates data on the web page I see ? marks where the bullets should be. Querying the db field directly and doing the necessary conversions to get the data back into string format, I can see that the field actually contains question marks.
    I have tried using Adobe's recommended change of using the CharsetDecode and CharsetEncode functions - these do not make any difference.
    Has anyone else encountered this problem?

    You may test encode / decode the input data (only testing the ToBase64 function), or may be just display the input, without encode base 64, to check the encoding management. I guess it comes from the input page.

  • Clustering questions

    Hi,
    I've read with interest the dev center article - Clustering
    CF MX for JRun J2EE (
    http://www.adobe.com/devnet/coldfusion/j2ee/articles/endtoend.html).
    However, it does not address one clustering scenario which
    I'd like to address.
    Is it possible to deploy more than one CF instance within a
    single JRun instance ?
    That is, I'd like to run multiple instances of my CF
    application within a single JRun instance
    on a single server. If this is possible, is it also possible
    to configure the JRun Apache connector
    to load balance across the multiple CF instances ? I can see
    how the connector load balances
    across IP:Port combinations, but not across URLs on the same
    IP:Port combination.
    The article I've referenced depicts various clustering
    alternatives, but they all show a one to one
    relationship between CF instances and JRun instances. Is this
    definitive ?
    Thanks,

    Correct, unless they have a specific requirement for continuous communication with AD.  The best solution is to have a minimum of two Domain Controllers.  This is not a unique requirement for clustered environments - a minimum of two DCs is recommended
    for almost any configuration.
    As mentioned, machines/users have cached credentials that would allow them to continue access to the cluster resources if they had started communication before the DC went down.  However, new connections could not be made - those need a DC to coordinate
    the Kerberos ticketing.
    . : | : . : | : . tim

  • HI THERE UMM I AM TRYING TO USE MY MIRCO SOFT WORD AND THERE IS A QUESTION MARK ON IT AND WONT LET ME OPEN IT

    hi i am trying to get on to my mirco soft word and there is a question mark placed on it. when i try to open the app it wont.
    help

    Which version of OSX and which version of Word?

  • My new iphone is asking for an old iCloud password I can't remember the password, don't have access to the old email and when I try and answer the security question it is telling me that my date of birth is wrong?? Arggghh help?

    My new iphone is asking for an old iCloud password I can't remember the password, don't have access to the old email and when I try and answer the security question it is telling me that my date of birth is wrong?? Arggghh help?

    Contact iTunes Customer support... it is not possible to bypass Activation Lock.

  • I have 2 imac computers and here are my questions: first, how to I transfer the information from my contact directory from my old imac into my new imac and once the information is transfered how can I print it? Second: I have a large music collection in m

    have 2 imac computers and here are my questions: first, how to I transfer the information from my contact directory from my old imac into my new imac?  Once the information is transfered how can I print it? Second: I have a large music collection in my old Imac computer how do I transfer this information to my new computer? Also how can I share this information with other computers at home?

    I think you may find helpful information here:
    A Basic Guide for Migrating to Intel-Macs
    The Knowledgebase article Intel-based Mac: Some migrated applications may need to be updated refers to methods of dealing with migrating from PowerPC chips to Intel with the Migration Assistant safely. The authors of this tip have not had a chance to verify this works in all instances, or that it avoids the 10.6.1 and earlier Guest Account bug that caused account information to get deleted upon use of the Migration/Setup Assistant. However, a well backed up source that includes at least two backups of all the data that are not connected to your machine will help you avoid potential issues, should they arise. In event it does not work, follow the steps below.
    If you are migrating a PowerPC system (G3, G4, or G5) to an Intel-Mac be careful what you migrate.  Keep in mind that some items that may get transferred will not work on Intel machines and may end up causing your computer's operating system to malfunction.
    Rosetta supports "software that runs on the PowerPC G3, G4, or G5 processor that are built for Mac OS X". This excludes the items that are not universal binaries or simply will not work in Rosetta:
    Classic Environment, and subsequently any Mac OS 9 or earlier applications
    Screensavers written for the PowerPC System Preference add-ons
    All Unsanity Haxies Browser and other plug-ins
    Contextual Menu Items
    Applications which specifically require the PowerPC G5 Kernel extensions
    Java applications with JNI (PowerPC) libraries
    See also What Can Be Translated by Rosetta.
    In addition to the above you could also have problems with migrated cache files and/or cache files containing code that is incompatible.
    If you migrate a user folder that contains any of these items, you may find that your Intel-Mac is malfunctioning. It would be wise to take care when migrating your systems from a PowerPC platform to an Intel-Mac platform to assure that you do not migrate these incompatible items.
    If you have problems with applications not working, then completely uninstall said application and reinstall it from scratch. Take great care with Java applications and Java-based Peer-to-Peer applications. Many Java apps will not work on Intel-Macs as they are currently compiled. As of this time Limewire, Cabos, and Acquisition are available as universal binaries. Do not install browser plug-ins such as Flash or Shockwave from downloaded installers unless they are universal binaries. The version of OS X installed on your Intel-Mac comes with special compatible versions of Flash and Shockwave plug-ins for use with your browser.
    The same problem will exist for any hardware drivers such as mouse software unless the drivers have been compiled as universal binaries. For third-party mice the current choices are USB Overdrive or SteerMouse. Contact the developer or manufacturer of your third-party mouse software to find out when a universal binary version will be available.
    Also be careful with some backup utilities and third-party disk repair utilities. Disk Warrior, TechTool Pro , SuperDuper , and Drive Genius  work properly on Intel-Macs with Leopard.  The same caution may apply to the many "maintenance" utilities that have not yet been converted to universal binaries.  Leopard Cache Cleaner, Onyx, TinkerTool System, and Cocktail are now compatible with Leopard.
    Before migrating or installing software on your Intel-Mac check MacFixit's Rosetta Compatibility Index.
    Additional links that will be helpful to new Intel-Mac users:
    Intel In Macs
    Apple Guide to Universal Applications
    MacInTouch List of Compatible Universal Binaries
    MacInTouch List of Rosetta Compatible Applications
    MacUpdate List of Intel-Compatible Software
    Transferring data with Setup Assistant - Migration Assistant FAQ
    Because Migration Assistant isn't the ideal way to migrate from PowerPC to Intel Macs, using Target Disk Mode, copying the critical contents to CD and DVD, an external hard drive, or networking will work better when moving from PowerPC to Intel Macs.  The initial section below discusses Target Disk Mode.  It is then followed by a section which discusses networking with Macs that lack Firewire.
    If both computers support the use of Firewire then you can use the following instructions:
    1. Repair the hard drive and permissions using Disk Utility.
    2. Backup your data.  This is vitally important in case you make a mistake or there's some other problem.
    3. Connect a Firewire cable between your old Mac and your new Intel Mac.
    4. Startup your old Mac in Transferring files between two computers using FireWire.
    5. Startup your new Mac for the first time, go through the setup and registration screens, but do NOT migrate data over. Get to your desktop on the new Mac without migrating any new data over.
    If you are not able to use a Firewire connection (for example you have a Late 2008 MacBook that only supports USB:)
    1. Set up a local home network: Creating a small Ethernet Network.
    2. If you have a MacBook Air or Late 2008 MacBook see the following:
    MacBook (13-inch, Aluminum, Late 2008) and MacBook Pro (15-inch, Late 2008)- What to do if migration is unsuccessful;
    MacBook Air- Migration Tips and Tricks;
    MacBook Air- Remote Disc, Migration, or Remote Install Mac OS X and wireless 802.11n networks.
    Copy the following items from your old Mac to the new Mac:
    In your /Home/ folder: Documents, Movies, Music, Pictures, and Sites folders.
    In your /Home/Library/ folder:
    /Home/Library/Application Support/AddressBook (copy the whole folder) /Home/Library/Application Support/iCal (copy the whole folder)
    Also in /Home/Library/Application Support (copy whatever else you need including folders for any third-party applications)
    /Home/Library/Keychains (copy the whole folder) /Home/Library/Mail (copy the whole folder) /Home/Library/Preferences/ (copy the whole folder) /Home /Library/Calendars (copy the whole folder) /Home /Library/iTunes (copy the whole folder) /Home /Library/Safari (copy the whole folder)
    If you want cookies:
    /Home/Library/Cookies/Cookies.plist /Home/Library/Application Support/WebFoundation/HTTPCookies.plist
    For Entourage users:
    Entourage is in /Home/Documents/Microsoft User Data Also in /Home/Library/Preferences/Microsoft.
    Credit goes to Macjack for this information.
    If you need to transfer data for other applications please ask the vendor or ask in the  Discussions where specific applications store their data.
    5. Once you have transferred what you need restart the new Mac and test to make sure the contents are there for each of the applications.
    Written by Kappy with additional contributions from a brody.Revised 5/21/2011

  • Can't seem to download any app despite entering the correct password and answering 3 security question but still in the end it comes up the message that my session has timed out no matter what! Please help, many thanks in adv!!

    Can't seem to download any app despite entering the correct password and answering 3 security question but still in the end it comes up the message that my session has timed out no matter what! Please help, many thanks in adv!!

    Try doing it on your computer with iTunes and then sync to your iPad to see if it clears the problem.

  • Good afternoon ladies and gentlemen!   My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In t

    Good afternoon ladies and gentlemen!
    My question concerns the impossibility to open RAW-files directly from the program Adobe Bridge. At the moment when you open a RAW-file from Adobe Bridge by double-clicking, RAW-file is opened only in Photoshop. In the settings Adobe Bridge - in "open RAW-files by double-clicking in Adobe Camera Raw» box is checked. When you try any changes in the settings Adobe Bridge system displays a message:
    Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature.
    The entire line of Adobe products on my computer updated to the latest updates. Previously, a family of products Adobe Photoshop on your computer is not set. Computer - PC, Windows 7 Enterprises.

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • Mpeg-2 flags, dvdsp, and 23.976 video question

    just got through this thread:
    http://discussions.apple.com/thread.jspa?messageID=9786956
    and have a remaining question. i looked at the m2v file in
    mpeg streamclip and i see:
    Video Tracks:
    224 MPEG-2, 720 × 480, 4:3, 23.976 fps, 7.70 Mbps, upper field first
    is the 'upper field first' just a flag to tell how to deal with
    this file? or is it stating that the file is interlaced with the
    upper field first?
    the intent is to make a progressive dvd at 23.976. the original
    material is film, captured and edited at 23.976, progressive. the
    material was captured off of an old projector, a frame at a time,
    with a digital still camera, so the original has no interlacing
    or fields. this went to make an image sequence, which was rendered
    to a qt movie at 23.976, also progressive, no fields. it was then
    output through compressor to the m2v file which produced the mpeg
    streamclip stream info dialog quoted above.
    thanks,
    BabaG

    BabaG wrote:
    is the 'upper field first' just a flag to tell how to deal with this file?
    Yes, it's just a flag.

  • HT201303 I never set up any security questions for my Apple ID and I was asked on the app store to sign in and answer my security questions. I never made security questions in the first case. I can't purchase anything without them. What should I do?

    I never set up any security questions for my apple ID and I was asked on the app store to sign in and answer my security questions, I never made any in the first place and it came up with questions that I didn't know. I've already been in support and tried to reset them, but I have to answer the security questions in order to change them. Is there any way to find out what they are?

    From a Kappy  post
    The Best Alternatives for Security Questions and Rescue Mail
    1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
    2.  Call Apple Support in your country: Customer Service: Contact Apple support.
    3.  Rescue email address and how to reset Apple ID security questions.
    An alternative to using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Data Guard Broker and Cold Failover clusters

    Hi,
    I wanted to use Data Guard Broker to control primary/standby systems on AIX clusters but found that without Oracle clusterware it is not supported on failover of a database to another node (unless you drop and recreate the configuration which in my opinion is not support at all!).
    The 11g documentation states that DG Broker offers support for single instance databases configured for HA using Oracle Clusterware and "cold failover clusters".
    Does anyone know whether this support for cold failover clusters in 11g means "proper support" i.e the configuration detects that the hostname has changed and automatically renames it so it continues to work?, or is the support in 11g the same as that in 10g?.
    Thanks,
    Andy

    Hi Jan,
    We already use virtual hostnames.
    When I set up the configuration the hostname for the databases default to the server name. The only way I know of changing this is to disable the configuration, then use the "edit database...set property" command but when I enable the configuration again it reverts back to its previous value.
    regards,
    Andy

  • Can JMS topics and queues be clustered in a WLS 7.0 Cluster?

    We are installing a weblogic 7.0 cluster with 1 admin server and 2 managed
              node servers. Two nodes have been clustered. We are at the point where we
              need to configure JMS. Has any one implemented JMS in WLS 7 clustered
              environment? What are the things to watch out when clustering JMS? Can JMS
              topics and queues be clustered?
              TIA for any helpful hints and comments.
              Regards
              

    "Karim Ali" <[email protected]> wrote:
              >> Has any one implemented JMS in WLS 7 clustered
              >> environment?
              I'm currently working on a project with WLS 7 here at work, involving
              the implementation of BEA's JMS Cluster. So far, I really haven't had
              many hiccups.
              "Karim Ali" <[email protected]> wrote:
              >> What are the things to watch out when clustering JMS?
              At least in WLS 7, the biggest thing that stands out is the lack of
              automatic failover. Also, Message Paging -- make sure you configure
              paging high/low thresholds. Or, if you don't wish for it to occur but
              can't stop the server (very common these days with SLAs), set that
              byte/message high threshold to a very large number (correct me if I'm
              wrong, but I believe BEA recommends 2^63 -1).
              "Karim Ali" <[email protected]> wrote:
              >> Can JMS topics and queues be clustered?
              Well, since Topics and Queues are extensions of the
              javax.jms.Destination interface, the answer is: Yes!
              (SIDE NOTE: most people usually refer to them as a [JMS] "destination"
              -- it avoids a lot of conceptual baggage and plus, less typing!)
              You'll probably want to see this section of BEA's e-docs:
              http://edocs.bea.com/wls/docs70/adminguide/jms.html#config_distributed_destinations
              later,
              Brian J. Mitchell
              BEA Systems Administrator
              TRX
              Atlanta, GA
              email: [email protected]
              office: 404-327-7238
              mobile: 678-283-6530
              

  • Serious about cleaning up my library, and i have this question on odd duplicate problem

    Hi all, I am serious about cleaning up my library, and i have this question:
    Is there such thing as a duplicate anymore in iTunes, and what happened to the View / Find duplicates feature? I could have sworn there was a built-in way... Anyway, In my media subdirectories, I have a hundreds of music album folders that have songtitlethesame 1.mp3, songtitlethesame 2,  songtitlethesame 3, etc. where they are the same song (same timecode) but with different catalogue info, ie. album art, date added/modified, etc. What can I do about this?
    I was surprised to find songGenieII and Powertunes does not have a "duplicate" remover... and it seems for the bucks spent, there should be
    Cheers!

    Duplicates are a mess and personally I do not feel any automated process can handle them correctly - there's too many different kinds of  "duplicates" and often the only way to tell they are the same (or not) is to listen to them.
    I use an old iTunes so I cannot tell you where they have moved the show duplicates things but I can pretty much guarantee they would not have removed it.  Poke around a bit.
    How to find and remove duplicate items in your iTunes library - http://support.apple.com/kb/HT2905
    http://dougscripts.com/itunes/itinfo/dupin.php (commercial)
    Posts by turingtest2 about different types of duplicates and techniques- https://discussions.apple.com/thread/3555601 and https://discussions.apple.com/message/16042406 (Note: The DeDuper script is for Windows)
    http://www.hardcoded.net/dupeguru_me/
    http://www.wideanglesoftware.com/tunesweeper/index.php

Maybe you are looking for