Deploying a new war: ViewState, page, & bean versions

When a new war is deployed reflecting changed JSF pages & managed beans, what happens when users interact with old JSF pages? Is the best practice to piggyback a version check on the logged-in check so the user can be redirected to a fresh page?

user3935812 wrote:
When a new war is deployed reflecting changed JSF pages & managed beans, what happens when users interact with old JSF pages? Is the best practice to piggyback a version check on the logged-in check so the user can be redirected to a fresh page?He/she doesn't. The user interacts with the client side content generated by a JSP. When you redeploy the war on the server, the user will be 'talking' to the newly installed version of the JSP as soon as a server roundtrip is performed. In the general case, this will trip a 'logged in' session check that fails and sends the user to the login page, but of course that depends on the application.
question back: when do you ever think this 'problem' will occur? Are you going to be redeploying live applications frequently and during busy hours? I hope not!

Similar Messages

  • Deploying the new war file without stopping the server

    How can i deploy my updated application war file without stopping the server as the user sessions in my application and transactions as well as users request has to be carried out during the deploy process.
    Edited by: Kaywin on Jan 28, 2008 10:39 AM

    You can update web application via Administration GUI and then deploy the configuration. You don't have to restart the server for it. Assuming you are using 7.0 u2, follow the steps as below to update the web application:-
    - Login to Administration Console
    - Go to Virtual Servers tab under a Server Configuration, for deploying a web application (Configurations -> <config_name -> Virtual Servers -> <vs_name>)
    - Click on Web Applications tab and check the web application in the "Web Applications" table and then click on Update button.
    - Point to the updated war file in the pop up and click ok
    - Now just deploy the configuration by clicking on "Deployment Pending" link on the top right of the page
    Here is the docs page which has more information about web application deployment -
    http://docs.sun.com/app/docs/doc/820-2202/gbrmp?a=view
    Hope this helps

  • Error deploying new portal logon page

    Hi Gurus,
    I'm getting an error deploying my new portal logon page. I've made teh necessary changes to the portal.logon.par.bak file. I've rename it and made the necessary changes in config tool. i've created a new autoscheme_test.xml file and have assigned it accordingly. After restarting the portal, i'm getting the error message below trying to launch the portal :-
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    The exception was logged. Inform your system administrator..
    See the details for the exception ID in the log file
    Any ideas? Are there any other setting that i need to do aside from teh autosceme file. thanks

    Hi Johan,
    There are two lib files which you need to paste while you import the file in the NWDS.Just check for the steps through this weblog
    the jar files name are
    com.sap.portal.runtime.logon_api.par
    umelogonbase.jar
    (when you unzip you can find the files at PORTAL-INFlib)
    Modifying The Logon Par(or customising the Logon Screen)
    Thanks
    Pankaj

  • Deploy new war having to restart machine

    I undeployed an existing war with the date in the war name
    and deployed a new war with some updates and a different date in
    the war name. I couldn't see any of my changes until I rebooted the
    machine.
    This just recently started happening which makes me wonder if
    it is a Microsoft Patch conflict.
    Anyone else having the same issue or have a solution?
    Windows 2003
    JRun 4 Updater 6
    JDK 1.4.2

    Hi There ...
    You could try repairing your disk from disk utility on the leopard install 1 dvd.
    After that repair permissions from HD/Applications/Utilities/Disk Utility ...
    If you did an upgrade install of Leopard you might want to try an Archive and Install.
    Repair your disk first though .... then run Software Update ...

  • How deploy a new MI appl. version without transfer data all over again

    Hello,
    I'm using MI 7.0 SP15 and I have already deployed the enhanced MSR application on all PDA devices.
    Then, I changed MSR (modifying just some JSP file) creating a new version of it, and now I need to deploy it on all devices but I want to avoid to transfer all data again (the database we're using on PDAs is DB2e) because it's too expensive to transfer them.
    I usually assign a new version, through NW administrator, as JSP Application after having deassigned the old one to all users (in NW administrator I deassign the old version to all users, then I undeploy it, then I deploy the new version and then I reassign it to all users) but in this way I see that all local tables (related the the SyncBOs used by MSR) with all their data are deleted and created again.
    Does exist a way to deploy a new application version avoiding to transfer data all over again in the local DB tables?
    Thanks,
    Maria

    Hi Larissa,
    Thanks for your prompt reply.
    I just tried to deploy the new MSR.war file as add-on unsuccessfully.
    My OLD MSR application had the following MCD:
    Vendor:  xxx 
    Application type: APPLICATION   
    Name: MSR 
    Description: Mobile Sales
    Version: 20.03  
    Build Number: 00
    Runtime: JSP   
    Operating System:
    Processor:
    Language:
    Link to SAP MI Homepage: x 
    Then I tried to deploy the NEW MSR version as add-on with the following MCD:
    Vendor:  xxx 
    Application type: ADDON   
    Name: MSR 
    Description: Mobile Sales
    Version: 20.03  
    Build Number: 00
    Runtime:   
    Operating System:  
    Processor: 
    Language: 
    Link to SAP MI Homepage:
    The new MSR.sda has been created successfully and its deployment status is valid but the deployment on server fails with the following error message:
    Reason: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='<Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='A configuration with the path "mobile/ADDON/xxx_MSR_20.03" does not exist.', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key A configuration with the path "mobile/ADDON/xxx_MSR_20.03" does not exist.'
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    What Am I doing wrong?
    Many Thanks,
    Maria

  • File Not Found Error: new WAR deployment

    I'm trying to find the path to my new WAR deployed JSP files. The following error occurs:
    Exception:
    java.io.FileNotFoundException: d:\oracle\ora9ias_test\apache\apache\htdocs\RAP_Editor_viaWAR\RapView1_Browse.jsp
    In my address bar I type: http://(oracle_home):7778/RAP_Editor_viaWAR/RapView1_Browse.jsp
    I don't know why it is looking under the \apache\apache\htdocs directory. What configuration step have I missed? I'm having a similar problem finding the demo apps as well.
    Thanks!
    -Tony.

    Well, I've found out that my HTTP path issues we're related to the Portal SDK install. The OC4J instance "JDev" seems to mess up JSPs and results in a FileNotFound exception. Its looking for JSPs in the wrong place - http://<oracle-home>/apache/apache/htdocs/j2ee/...
    The fix: comment out the include directive in httpd.conf that references JDev.
    Another BC4J JSP issue: Be sure your datatags.jar file is current or else you'll get an HTTP 500 error due to an unsupported attribute. The application.log file will show "Error: itermode is not a property of oracle.jbo.html.jsp.datatags.DataSourceTag".
    -Tony.

  • How to create a WMI filter in order to apply to machines that have Skype already installed with deploying a newer version of Skype

    Hi there,
    I was wondering whether anybody could tell me how to create a WMI filter in order to apply to machines that have Skype already installed with deploying a newer version of Skype.
    Your help would be much appreciated.
    Many thanks,
    Timbuctoo

    Hi,
    To create a WMI filter
    1.In the Group Policy Management Console (GPMC) console tree, right-click
    WMI Filters in the forest and domain in which you want to create a WMI filter.
    2.Click
    New .
    3.In the
    New WMI Filter dialog box, type a name for the new WMI Filter in the
    Name box, and type a description of the filter in the Description box.
    4.Click
    Add .
    5.In the
    WMI Query dialog box, either leave the default namespace (root\CIMv2) or enter another namespace by doing one of the following:
    ◦ In the
    Namespace box, type the name of the namespace that you want to use for the WMI query.
    ◦ Click
    Browse , select a namespace from the list, and then click
    OK .
    6.Type a WMI query in the
    Query box, and then click OK .
    7.To add more queries, repeat Steps 4 through 6 to add each query.
    8.After adding all queries, click
    Save .
    In the Query box, type the following WMI query:
    Select * from Win32_Product where Name LIKE “%Skype%”
    Best Regards,
    Erin

  • Error After deploying a new custom page in R12

    Hi,
    After I deployed a new custom page in R12, I'am getting the below error when open the page:
    An exception occured.
    URL=http://ebsdev.jeddah.gov.sa:8000/OA_HTML/"OA.jsp?page=/xxjm/oracle/apps/xxper/webui/EmpSearchPG"&transactionid=1699620845&language_code=US&&OAFMID=86090&OAPB=_OAFMID&oas=pGtT6lCw2sB8c7zsJQx6xg..
    javax.servlet.ServletException: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: __22_OA
         Dependent class: oracle.jsp.runtimev2.JspPageInfo
         Loader: oc4j:10.1.3
         Code-Source: /oracle/EBS/UAT/apps/tech_st/10.1.3/j2ee/home/lib/ojsp.jar
         Configuration: in META-INF/boot.xml in /oracle/EBS/UAT/apps/tech_st/10.1.3/j2ee/home/oc4j.jar
    This load was initiated at oacore.web.html.jsp32339236:0.0.0 using the loadClass() method.
    The missing class is not available from any code-source or loader in the system.
    Any idea please?
    Cheers,
    Khaled

    Hi,
    I found that the HTML Call was incorrect as I put it in between " " before.
    OA.jsp?page=/xxjm/oracle/apps/xxper/webui/EmpSearchPG
    After I removed the " ", I've got a new error which I attached.
    It missleading error:
    Error Page
    You have encountered an unexpected error. Please contact the System Administrator for assistance.
    Cheers,
    Khaled

  • When I click on a bookmark in the listing, nothing happens. If I right click and click on "Open In New Tab" the page loads. I am using version 14.0.1

    Firefox just updated to version 14.0.1. When I clicked on one of my book,marks from the listing, nothing happened. The page did not load. If I right click on the bookmark and choose " Open in a New Tab", the page loads in a new tab. None of my bookmarks will work by simplying clicking on them from the listing.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Weblogic 92 MP3  Deployment of newer version of application in production

    Hi,
    I have Weblogic 9.2 MP3. I need to deploy newer version of application in Production (first in QA).
    My question is that, can i deploy that newer version of application without stopping the server (after deploy i need to restart, i know) on the server ?
    I think it might give the problem because of the same name of the application.
    If suppose i am able to deploy the application will it run properly with the environment (means the production or QA).
    Please provide me the documentation other then bea official.
    Thanks in advance!!!!!!

    For those following along, Oliver Goldman will be answering this post in future articles on his blog.
    Many great comments and questions here. I’m working on some follow-up posts to address these; nothing I could cram into this comment field would really do your query justice. - Oliver Goldman
    Pursuit of Simplicity
    Chris

  • How to deploy the new version of webPart in SharePoint Server 2010

    Hi friend's ....I want to deploy the new version of webPart in SharePoint Server 2010. Is there any way for this....? In SharePoint sever 2013 there is version feature available for the apps..Same thing i want in SharePoint Server 2010 for webpart. Please
    suggest me....is it possible or not ..?

    i am not aware if their is new version option rather i know instead of retract and Re install, you can simply update the solution.
    check this: http://blogs.southworks.net/aortega/2010/02/05/sharepoint-2010-how-to-deploy-custom-webparts/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Report deployed to new server does not display static image

    Hi,
    We have several web sites on a server running Windows Server 2008 R2 Standard, SP1, 64-bit.  It has installed .NET Framework 4 Client Profile and Extended, ver. 4.0.30319 (according to Control Panel->Programs, as well as c:\Windows\Microsoft.NET\Framework).  Two of the sites use many Crystal Reports, most of which include a static image as a logo. This image is embedded in each report; there is no stand-alone image file that gets deployed.
    Recently, we migrated to a new server, running the same version of Windows & .NET Framework.  As near as we can tell, the 2 servers are nearly identical, as far as configuration and permissions, etc. One notable exception is the DefaultAppPool, which is Classic on the original server and Integrated on the new. (When I changed the new server to Classic, the apps failed to run properly.)  The other exception is the old server is on a stand-alone box, while the new server is a virtual machine.
    For one of the apps on the new server, the embedded logo images are not displaying on the page.  Instead, there is a little red X with the word "Image".  For the other app on the new server, the reports display fine.  Furthermore, if I copy one of the "broken" rpt files from the "broken" app to the "good" app, the report displays correctly!  And of course, the same file displays correctly in all circumstances on the old server.
    This suggests to me that there is not a problem with the report file, per se', but rather with the environment to which it is deployed.  Permissions?  If so, where?
    Any suggestions would be much appreciated.
    Thanks.
    --d

    The search string 'crystal red x net' (search box in top right corner) should return a number of KBAs, docs, blogs, etc. See if any of those help.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How do I change the default save location for new files in Pages back from iCloud to my Documents folder?

    I just upgraded OSX to Mountain Lion and Pages to 4.2, and because OSX is syncing with my iCloud account, when I go to save a new file in Pages it defaults to try to save to my iCloud account rather than giving me the folder structure on my hard-drive that I prefer. It requires two extra steps to save to the proper place in my Documents folder on my hard drive.
    Is there a way to reset the default so that when I go to save a new file, the folder structure opens to the last saved folder (like it does in other non-iCloud applications) rather than defaulting to my iCloud, and to do it without just removing documents from my iCloud account entirely?
    I checked the Preferences for both Pages and iCloud and found nothing about this.

    What I meant is turn off Documents and Data in iCloud in OS X. Keep it on on your iOS devices. iCloud will sync documents between the iOS devices and make them available on the iCloud web site, but it won't mess up iWorks' open and save dialog boxes. It also won't assume that you want all your documents in iCloud, which I think is undesirable anyway.
    Keep iOS and OS X separate, and use the web site to move files between the two as necessary.
    iOS iWork is different from OS X iWork. There are fewer fonts on an iOS device. iOS iWork programs have slightly different feature sets than OS X iWork programs, and the file formats are different. iCloud automatically converts the file format when necessary, but if you make a habit of saving things directly to iCloud, you are limited to the lowest common denominator between the two versions of iWorks. So why would anyone want iWork on the Mac to open and save documents on iCloud by default?
    If you want to store files in the cloud and sync them on your Macs, SugarSync is a much better solution. It lets you choose your sync folders, it doesn't make you reorganize your files, it lets you sync all file types, it doesn't convert files to a different format and back, and it stores everything in the cloud, too. Just the simle act of saving a file backs it up and syncs it. I wouldn't live without it. iCloud is best with iTunes purchases and synchronizing Mac settings and iOS files; I woudln't live without it. The two make an unbeatable combination.

  • Cannot deploy a EJB 3.0 Session bean to the OAS 10.1.3.4

    Hi All,
    I am unable to deploy a EJB 3.0 Session bean with no deployment descriptors to OAS 10.1.3.4 App server.This Session bean is also exposed as a web service using annotations. I am able to deploy this bean to a standalone oc4j 10.1.3.x containers and test it successfully.
    i have written a simple stateless session bean ( exposed as webservice) and every bean is having issues with deployment having the same exception stated below
    Can some one please help as i need to deploy this urgently.
    below is the session bean code:
    import javax.ejb.Stateless;
    @Stateless(name="SiebelQuoteEJB")
    public class SiebelQuoteEJBBean implements SiebelQuoteEJBLocal,
    SiebelQuoteEJBWebService {
    public SiebelQuoteEJBBean() {
    public String publishMessage(String message,String type) throws java.rmi.RemoteException {
    client.publishMessage(message,type);
    return "SUCCESS";
    Below is the error while deploying:
    11/01/06 15:03:49 WARNING: Application.setConfig Application: javasso is in failed state as initialization failed.
    java.lang.NullPointerException
    11/01/06 15:03:50 WARNING: Application.setConfig Application: SiebelQuoteEJB is in failed state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: null Error parsing application-server config file: null
    11/01/06 15:03:50 java.lang.NullPointerException
    at com.evermind.server.ObjectReferenceCleaner.cleanupApplicationLogLevels(ObjectReferenceCleaner.java:166)
    at com.evermind.server.ObjectReferenceCleaner.loaderDestroyed(ObjectReferenceCleaner.java:88)
    at oracle.classloader.EventDispatcher.loaderDestroyed(EventDispatcher.java:248)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1113)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1041)
    at com.evermind.server.ApplicationStateRunning.destroyClassLoaders(ApplicationStateRunning.java:1171)
    at com.evermind.server.Application.stateCleanUp(Application.java:3635)
    at com.evermind.server.Application.setConfig(Application.java:506)
    at com.evermind.server.Application.setConfig(Application.java:355)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
    at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1651)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1034)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:736)

    which jdk version? Had this with 1.6 and had to install an up-to-date jdbc.

  • Issue while creating a new web part page (Safeunit.aspx) within a folder located under a Document Library.

    Hi, I am facing an issue while creating a new web part page (Safeunit.aspx) within a folder (Safematic Seal Support Systems) located under a Document Library (Product Information Documents).
    The path I am explaining:
    Going to the Document Library (Product Information Documents) --> now inside that, clicking on a folder (Wet Seal Support
    Systems) --> now inside the folder clicking on another sub-folder (Safematic Seal Support Systems) --> Here I want the web page Safeunit.aspx
    Issue is that when I reach to the required destination, and want to create the web page by clicking on 'Site Action' --> 'Create' --> 'Web Part Page', now while selecting the Document Library name from the drop-down list, I do use 'Product
    Information Documents' since the folder is inside this library only; but that create the page directly under the 'Product Information Documents' library, not under the sub-folder (Safematic Seal
    Support Systems).
    FYI, it is SP2007 version.
    Kindly assist in this. Thanks in advance.

    I see that you have the namespaces reference in your code.
    I think you have changed the NameSpace name of your code to CreateSPFolder, change the reference in all your manifest, and other files to point to the current namespace name. It should help.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

Maybe you are looking for

  • Help with RFC sender, Program And RFC Destination

    Hi!! my scenary is asynchronous      RFC Sender -> SAP-XI -> Oracle reciever I have a problem with abap, especially rfc, program and rfc destination. The connection with SAP-XI exist and SAP-XI  receive the message but the message is empty. 1. In my

  • Best Practice for setting BPM Task Potential Users

    Hello, Can anyone help me with one doubt I have with BPM? When I'm configuring the BPM Task I have to set the Potential Users, also I know it can be set through an expression. However, my doubt is the following, If I set the potential user in the BPM

  • Can't get my RAW images to open up in elements 9 from my new 5d mark 3 Camera!

    I never had problems opening my RAW images from Canon 5d Mark2 but for some reason, they won't open from my new canon 5d mark 3 camera.  A pop up box comes up that says, cannot open file "........." because it is the wrong type of file.  Can anyone h

  • Help! How do I set up greeting?

    When I call myself I am asked for a tempoary password. How do I get this password? I called AT&T and they were of little help. All I need to do is put a greeting on my new iPhone 3G. I did not upgrade from the old iPhone. I did however have AT&T and

  • Compressor doesn't work/won't install after FCP5 install

    We recently "upgraded" one of the G5s in our lab to Final Cut Pro 5 from FCP HD 4.5 (these were both Academic versions if that matters, so it's not really an upgrade, you buy a new license at academic pricing). I don't remember which we did first, bu