Can JSF work on a multi machine fleet

I wanted to know how can JSF work in a scenerio where the hundreds of machines sit behind a VIP to serve the user requests.Since JSF saves the state of the components, it apparently seems to be a misfit for such an architecture. Lets say the first request goes to machine 1 were the component state gets saved but if the further request goes to machine 2, the framework will try to restore the saved state which is not possible. Also, client side state saving is not a solution since we cannt increase the rendering time of a page. Is there any solution to such a problem?
Thanks
Ajay

Yes. Two common approaches are (used together or separately):
1) Sticky Load Balancing -- requests from the same user are routed to the same machine each time.
2) Session replication / fail-over -- where session data is shared between machines.
GlassFish is capable of doing both: https://glassfish.dev.java.net and even has a web-based UI for configuring clusters of GlassFish instances.
Good luck!
Ken Paulsen
https://jsftemplating.dev.java.net

Similar Messages

  • Can I delete files whilst time machine is working? Or don't I have to?

    Long story short...I have just had to start my time machine from scratch. Taking ages.
    i have just noticed that it looks like I have less space available on my external hard drive, than I am trying to back up.
    So what I am asking is... Can I work on the mac (MBP 10.9.3) and find some big files to delete, even whilst it is backing up... Even if perhaps it has already backed up those files (doesn't sound like a good idea!) ...Or what else can I possibly do?
    I am really desperate as it seems my beloved Mac is taking its last breaths.... Two days ago i thought it had completely died after a couple of temperamental weeks, but it woke up this morning and I don't know how long it will last. so I need to do this now. I live no where near an apple store (a plane ride away) and not very technical ....so would be very grateful for any input and help.  thank you.
    I Have

    I think you can try but I am not sure it will work.
    You would be better getting rid of stuff on the USB drive you are backing up to..
    Or stop the TM backup and get a USB drive with more space.. do not shut down the Mac.
    I would grab a copy of superduper or carbon copy cloner and clone your disk.. TM is fragile at best.

  • Time machine is not working. I get a message: You can't open the application "Time Machine" because it may be damaged or incomplete.

    Time machine is not working under "Applications". I get this message: You can’t open the application “Time Machine” because it may be damaged or incomplete. What do I do?
    Time machine under system preferences lets me setup time capsule. But backup fails because "Volume is in use" Help please!

    It does sound like you have a corrupted install.
    The volume in use error is something we see all the time.
    Look at C12 here. http://pondini.org/TM/Troubleshooting.html
    But I suspect you have more serious issue.
    I would run a disk verify on your local OS disk. A5 in the above reference has some info.

  • Can  solaris work on virtual machine ?

    i downloaded the iso files of solaris 10 for x86.
    i used to check my cd first on VMware but unfortunately i get always the message that no bootable cd.
    can solaris work in virtual machine environment?
    thank you

    can solaris work in virtual machine environment?The following URL says Solaris can be run as guest OS under VMware.
    http://pubs.vmware.com/guestnotes/wwhelp/wwhimpl/common/html/wwhelp.htm?context=guestos&file=guestos_solaris10.html
    i get always the message that no bootable cd.You need to burn it as bootable CD. Please check the following page for instructions:
    http://www.sun.com/software/solaris/solaris-express/express_singleinstructions.xml

  • Can i install VS 2013 in my Virtual Machine with Windows 8.1 and work for Mobile Development,Mobile Emulator can work in my Virtual Machine ?

    I have a Virtual Machine with Windows 8.1 OS and 4gb RAM, 200gb Disk.
    I want to develop apps for Windows Mobile 8.1 with VS 2013 Update 4, Mobile Emulators can work in my Virtual Machine, bcz i am getting bellow error.
    Windows Phone Emulator is unable to verify that the virtual machine is running:
    Something happend while starting a virtual machine:'Emulator 8.1 WVGA 4 inch 512MB.APPUSER' failed to start.(Virtual machine ID xxxxxx-xxxxx-xxxx-xxxx-xxxxxxx)
    The Virtual Machine Management Service failed to start the virtual machine 'Emulator 8.1 WVGA 4inch 512MB.appuser' because one of the Hyper-V components is not running (Virtual machine ID xxxx-xxxxx-xxxx-xxxx-xxxx).

    No you cannot do that.  You need a physical machine that supports Hyper-V
    Jeff Sanders (MSFT)
    @jsandersrocks - Windows Store Developer Solutions
    @WSDevSol
    Getting Started With Windows Azure Mobile Services development?
    Click here
    Getting Started With Windows Phone or Store app development?
    Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)

  • Why does multi-machine rendering work so poorly?

    more specifically, watch folder rendering with multi-machines is pointless because skipping a frame seeming to take as long as rendering the frame, so one machine can never catch up to the other.  why does skipping a frame take some long?  i mean it's been in the software for like 10 years. is this not considered important?

    These two features are not intended to be used together.
    Render Multiple Frames Simultaneously multiprocessing is intended to turn a single computer into a self-contained render farm of sorts. Multi-machine rendering is intended to use multiple computers in a render farm. Attempting to use these two items together is mixing two different organizational schemes for managing the rendering of frames.

  • I'm at a gym where I can plug my ipod into the machines to listen to music and save the battery, it worked fine and all of a sudden, it is showing not supported, other peoples still work.

    I am at a gym where each machine has a port for ipods so you can listen to music through the machine and not run your battery down.  My worked fine for two months now all of a sudden, it is showing "not supported" and no longer works.  Anything I can reset on my ipod to get this working again?

    Have you tried using a different cable?  Try cleaning out the iPod's dock connector port making sure that it is clean and clear of debris as well as free of damage to the pins.
    B-rock

  • Can a LG Portable super multi drive GP10 work on macbook pro?

    Can a Lg Portable super multi drive GP10 work on a Macbook pro?

    yes.
    Complete Compatibility
    As GP10 portable drive series perfectly supports both Mac OS and windows OS you can use it regardeless of the OS of your PC
    http://www.lg.com/lb_en/it-products/dvd-blueray-drives/LG-GP10.jsp

  • Adobe After Effects CC 2014 Multi-machine rendering does not create RCF after Collect-File

    This was working in the previous release.  After going through all of the steps to perform a multi-machine render, not only does it say it is limiting it to 5 machines instead of the usual 99 (and I have over 100 cores on the render farm) but "Collect Files" (File/Dependencies/Collect Files) does not create the Render Control File (RCF) that kicks off the process on the other machines, like it did before and is supposed to do.
    This release was supposed to fix the 32 core limitation on render nodes (my server has 48), but now does nothing at all.
    Anyway, I assume there is a check box somewhere that says "do something" that hasn't been checked and another that says "Maybe my machine has more than 5 cores", and I would appreciate being steered in the direction of these new mis-features.
    Just as background, the 48 core server does show the little TV screen that monitors the watch folder, and I know for a fact that process looks for the "RCF" file.  Looking at the directory specified for "collect files", I can see that no RCF file is created, only 1 file, a report.txt file which contains this information is produced:
    Report created:
      7/9/2014 1:54:12 AM
    Project name: highup.aep
    Source files collected to:
      P:\temp\highup folder
    Source files collected: All
    Collected comps: 
      Thomas Falke - High Again High On Emotion)
    Number of collected files:  1
    Size of collected files:  63.4 MB
    Collected source files:
      C:\Users\Jeff K\Videos\Down\2014-2015\Thomas Falke - High Again High On Emotion).mp4
    Rendering plug-ins:
      Classic 3D
    Effects used:  1
    Effect:  Detail-preserving Upscale

    The dialog box has been slightly refactored.  You must click "Allow watch folder rendering" and then all is good.  Hope this helps anyone else.  Thanks to Rafil at customer support chat for this.

  • How Can I shutdown SUN FIRE 4800 Machine?

    Dear IT Experts,
    I maintain a SUN Server. It is SUN Fire F4800. To login , I must use HyperTerminal, serial cable , and Laptop.
    I have a plan to shutdown this machine for about 30 minutes for hardware maintenance checking.
    But, I can not shutdown it using command "power-off" at "OK" prompt.(before, I use "init 0" to "OK" prompt)
    I got this message :
    {13} ok power-off
    ERROR: do_interpret: no such symbol "power-off"
    ERROR: undefined word
    Could any body tell me what step can I do to shutdown this machine properly,please?
    Here is the machine description :
    - F4800 Server Base � Factory Rack
    - CPU / MEM BD BNDL � 2CPU @750/6GMEM
    - Red. Kit for Sun Fire 4800
    - PCI GIGABIT Ethernet 2.0 Card
    - PCI I/O Assy for F4800-6800
    - Media Tray HD2, DVD1, TP1
    - OPT INT PCI 10/100 Base NIC
    - Continental Europe PWR CRD KIT
    - 15 m Fiber Cable (multi-mode) and connector
    - JNI 64 Bit PCI adapter Non � OFC
    - Sun Fire Cabinet
    - Solaris 8 Std English - Only
    - OPT PWR Cord for ENTERPR. (INT)
    - SUN Trunking Software v 1.2.1
    - WS SB_100PGX64 128/15GB/CDROM
    - NORTHAMERICAN COUNTRY KIT
    Please help this newbie person.
    Thanks for any response
    Regards,
    Ferianto

    Dear All,
    Sorry, if I ask this question to this forum again. Yesterday, I tried to shutdown SUN Fire 4800 machine. It is the same machine which I asked to all of you before.
    At "OK" prompt, I typed *#.* in order to go to SC (System Controller) to shutdown the Machine. (As I know that "OK" prompt just shutdown the OS level)
    But, I got the Error message.. These are commands that I have typed, but still did not work
    {12} ok ~#
    ERROR: do_interpret: no such symbol "~#"
    ERROR: undefined word
    {12} ok ~.
    ERROR: do_interpret: no such symbol "~."
    ERROR: undefined word
    {12} ok #.
    ERROR: do_interpret: no such symbol "#."
    ERROR: undefined word
    {12} ok ~#
    ERROR: do_interpret: no such symbol "~#"
    ERROR: undefined word
    {12} ok #
    ERROR:
    I also tried to type command :(This comamand I got from SUN Firev4800 manual reference)
    OK ctrl - ]
    I connect to SUN Fire 4800 using serial cable (DB25) to USB port at my laptop, using either "Hyperterminal" or "TeraTerm"
    -Bit persecond : 9600
    -Data Bit : 8
    -Parity : None
    -Stop Bits : 1
    -Flow Control : None
    I can see the screen and typed "init 0" to go to "OK" prompt.But it still does not work. What happen? What should I do? For this case, is there any influence from "keyboard" layout (because I use my laptop keyboard) ?
    Note : I also tried typed *"init 5"* to shutdown the server, but it still go to "OK" prompt
    Please suggest...
    Thanks for any help
    Regards,
    Ferianto
    Edited by: Ferianto on Mar 10, 2008 9:05 PM

  • How to request multi-machine blueprint information through rest api.

    We are building a portal in front of vRealize (don't ask me why) and I need to dynamically create multi-machine json files to request catalog items.
    If I connect through the api I can request the Blueprint details but not the additional blueprints it makes use of.
    Does anyone know how to request these additional information out of the rest api catalog?
    Thx in advance.

    The following method, unlike those above, will work. It requires you to know the MIME type of the binary file you wish to upload. This example uploads a PDF document.
    uploader.cfm
    <cfset restInitApplication(expandPath("."))>
    <cfhttp url="http://localhost:8500/rest/myRestApp/myService" method="post">
        <cfhttpparam file="C:\temp\testDoc.pdf" mimetype="application/pdf" name="myFile" type="file">
    </cfhttp>
    service.cfc
    <cfcomponent rest="true" restpath="/myService">
    <cffunction name="getFile" access="remote" httpMethod="POST" returntype="string">
    <cffile action="upload" accept="application/pdf" filefield="myFile" nameconflict="overwrite" destination="C:\Users\BKBK\Desktop\testFile.pdf">
    <cfreturn "File uploaded!">
    </cffunction>
    </cfcomponent>

  • Can't fully restore my Time Machine/Time Capsule Backup to my newly-wiped SSD/HDD

    On receiving my leased, Bootcamp-enabled MacBook Pro, I saw that there were no installation discs for Windows or OSX, and that there were 2 partitions (or so I thought) for Mac and Windows: 375GB each. As I produce music using software in both OSs, I wanted to create a 185GB FAT-32 partition to store my sound samples, projects etc. I attempted to create this partition by resizing (halving) my Bootcamp partition in OSX Disc Utility. The first time I attempted it, resizing was possible, but after the new partition was created, I had problems booting and so had to edit my GPT in order to boot again. Once ‘fixed,’ (by deleting the new partition) I couldn’t resize the Bootcamp partition to fill the 185GB gap, and that 185GB was ‘lost.’ The Bootcamp partition was 375GB but its used space + free space added up to 190GB
    So the other day, I tried to follow what I thought was a more logical approach, which I was *sure* would work. My plan was to:
    Use Windows Backup (and/or Clonezilla, or Disk Utility) to store an image of my Windows partition.
    Uninstall/wipe the Windows partition using BootCamp Assistant, creating 1 big OSX partition
    Use BootCamp Assistant to re-partition the HDD for Windows, OSX and ‘shared,’ and then re-install Windows, leaving 175GB for shared music production files
    Restore the image/backups (approx 70GB) and carry on as before.
    During the process, I deemed that this wasn't possible on my system for a variety of reasons: My laptop already had 4 partitions (Windows Recovery, Bootcamp/Windows, Mac Recovery HD, and Mac) and my understanding is that the MBR of my SSD only supports 4 partitions in its Bootcamp + OSX-compatible state. I have never got this '5 partition' strategy working.
    I was unable to restore my Windows partition after re-installing Windows via Bootcamp. As a solution, I then decided to wipe the OSX partition (at that point the only 'visible' partition on the disk) and in-place re-install Mac OS X, with a view to installing Windows after OSX.
    Once I wiped my hard drive, however, restoring my files and settings, didn't work as expected. Time Machine backups etc were inaccessible after a normal re-install. Re-installing with file transfer at setup froze at the 10% mark, with an estimated 200 hrs to go. The option to try a full-system restore via Time Machine is greyed-out. Even the Migration Assistant failed at a similar point. On the occasions where it claimed to complete successful (most recent situation) it seemed to neglect files, etc., and I'm now stuck at this stage.
    I can view files/backups in Time Machine but I can't completely restore my computer to the state it was on 18th May...and 11 days without a fully-functioning laptop is really annoying. I wasn't able to ‘clean’ *or* ‘in-place’ re-install OSX using my existing settings and so I'm frustrated that Time Machine isn't a flawless backup & restore process. Migration Assistant didn’t transfer everything. Can I get things back to the way they were?
    Things that haven’t restored correctly:
    None of my icon customisations at the top of the screen were there (DropBox, Evernote, Google Drive, Kuvva, the way battery icon was displayed
    Safari: Top Sites, History, Plugins
    Logic Pro: Downloaded sounds, presets (10+GB), recent items, plugin settings/AU manager
    Mail: Settings (and I’m assuming, the downloaded/cached mail: 7GB)
    Trash can: Empty
    All recent item lists apart from cloud-based services like Evernote, Notes, contacts
    iTunes library
    Dock view and settings
    Settings for most programs
    And I'm sure there are more!

    Thanks Pondini; I'd hoped you'd reply. I'm still getting used to this tech, no can't even quote here.
    Pondini wrote:
    AkaraE wrote:
    Time Machine backups etc were inaccessible after a normal re-install.
    If you mean you installed OSX and created a user account, then couldn't find the backups, that's because they're treated as being from a different disk, until you either transfer your data or do a manual "associatedisk".  See the blue box in Time Machine - Frequently Asked Question #19 for details.
    Yet to try the associatedisk...didn't realise this was possible until reading your guides. The explanation makes sense now. On installing OSX it said transfers were possible after installation, so I put off transferring as the first 'restore' had frozen on 10%, thinking I'd do it afterwards.
    Re-installing with file transfer at setup froze at the 10% mark, with an estimated 200 hrs to go
    That sounds like damaged/corrupted backups. Try to Repair them, per #A5 in Time Machine - Troubleshooting.
    Yet to try...didn't realise this was possible until reading your guides
    The option to try a full-system restore via Time Machine is greyed-out.
    You mean, on the Mac OS X Utilities menu on the Recovery HD?  I've never heard of that.  That should always be selectable, so you can specify where the backups you want are located.  Nothing happens when you click it?  Can you click the other options there?
    Even the Migration Assistant failed at a similar point. On the occasions where it claimed to complete successful (most recent situation) it seemed to neglect files, etc., and I'm now stuck at this stage.
    Also sounds like directory or file problems on the backups.
    This is just when I go into Time Machine/Star Wars. I can't just go to the latest backup and click "Restore" (which I assume would just restore my whole computer/HDD, although I have no experience in this). I can only select files and restore them individually. 
    Time Machine isn't a flawless backup & restore process.
    There has never been any such thing.
    I bought into the Time Machine 'hype' and thought it was an easy and reliable tool, but was a lot more difficult to do a full restore than I thought. 
    Trash can: Empty
    Correct.  Time Machine (like most backup apps) don't back up trash.
    All the rest should have been backed-up and restored.  Do you see them in the backups?  What, if anything, was excluded from being backed-up?
    As a non-native Mac user, I'm not sure where all these things are stored...perhaps in Library? I think that not having the full hard-drive just restore annoyed me...I felt that backing up my whole hard drive every hour should've allowed me to restore everything to as it was without a hitch, and when it didn't work I just tried a few things before posting on here.
    If repairing the backups finds and fixes things, you might want to try again.
    Gonna try now
    If not, and if you can see the missing items via the Time Machine browser (the "Star Wars" display), you should be able to restore them selectively.

  • I got a macbook pro 2008 and can not back up using time machine. it eject my external hard drive everytime. does someone has a fix???

    i got a macbook pro 2008 and can not back up using time machine. it eject my external hard drive everytime. does anybody has a fix???

    Does your external hard drive have it's own power supply?  It should.
    Is your external hard drive formatted with the NTFS file system?  It won't work.
    It needs to be formatted either with Mac OS Extended or FAT32.
    (There are drivers available to add NTFS support to OS X but their quality is unknown, especially the "free" ones.)

  • Web Report not working on a different machine

    Dear Experts,
    I published my bex reports in Web. Url's works fine on my machine, but if I check the same Url on any other machine it gives a message 'page cannot be displayed'.
    How can all the users view the reports on web? How sould I publish them?
    Thanks,
    Gnana

    Hi Sarah,
    If I understand you correctly,
    Case1:
    this is my url(http://itctest01:8020/sap/bw/bex?SAP-LANGUAGE=E&PAGENO=1&CMD=PROCESS_VARIABLES&VARIABLE_SCREEN=X&REQUEST_NO=1&dummy=#variables).
    You want me to paste this url in C:\WINDOWS\system32\drivers\etc
    Is it sufficient if I do this on my machine or I have to copy this url in other users.
    Case2:
    this url will be saved in C:\WINDOWS\system32\drivers\etc
    in my machine, I need copy this url and send them to all users??
    I searched for this, I don't find this url in C:\WINDOWS\system32\drivers\etc.
    Is this url stored in a different format in C:\WINDOWS\system32\drivers\etc?
    Thanks Sarah!!

  • How can i recover mail from time machine

    i upgraded from lion to mountain lion few month ago. i have been backingup to time machine since day one.
    last week, formatted my mac, i tried to recover my mail by using time machine, it did not show up any date for recovery. 
    it there a way to import back these mail? or is there a way to recover it?

    Although you can restore messages from a Time Machine snapshot within the Mail application, it generally won't work with messages that were saved by an older version of Mail. In that case, you have to use an alternative method.
    Triple-click the line below to select it:
    ~/Library/Mail/V2
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder selected. Inside that folder are subfolders representing your Mail accounts. The names refer to the email addresses you use. Decide which ones you want to restore messages from.
    Enter Time Machine and scroll back to the snapshot you want. Select the account folders you want and then select  Restore ... to... from the action menu (gear icon) in the toolbar of the snapshot window. Restore the folders to the Desktop, not to their original location.
    From the Mail menu bar, select
    File ▹ Import Mailboxes...
    Import from the mailboxes in the folders you restored to the Desktop. The imported messages will appear in a new mailbox. Move the ones you want to keep wherever you like and delete the rest. Then delete the folders on the Desktop.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

Maybe you are looking for

  • How do I use my account wit app.store in another country?

    I made my account with app.store in India, now I am in Belgium and I wants to download some programmes from Belgium app.store but every time I get the message that " your account is not valid for Belgium store,you must switch to indian store befor pu

  • Mac running slow when cut and paste

    Hi, recently I noticed that my mac is running slow when I cut and paste (there is a delay of approx 1-2 secs). I thought it might be some kind of spyware which is trying to steal sensitive information such as passwords, credit cards and others. That

  • IPhoto will not open from g-drive

    I have moved all my photos to my external hard drive (my g-drive) and now I am having issues opening my iPhoto library from my g-drive. I keep getting this error: Your photo library is either in use by another application or has become unreadable Shu

  • What is the easiest way to put a photo gallery into an existing website?

    I am ready to give up.  This really can't be this difficult.  Either that or I am the dumbest person in the world.  Up until now, I didn't know that I was.  I just want something easy. I am designing a website using Dreamweaver Cs5.5.  I am on a PC w

  • An answer: Do you miss your texts when on duty?

    I use my iPhone for a pager and when I am in the garage and other places making noise, I often miss the notification. Note the pager is a text message, that just rings, then goes away. It is not a phone call that someone knows is unanswered. I am exp