HTTP Status 403 after logging out of my JSF application

I have a JSF application that is using form based authentication (using a custom JSF control that creates a form with an action attribute equal to "j_security_check").
Everything seems to be working just fine except when Firefox browsers logout and then backup (using the browser's back button) and click on a link or button in my JSF application. Instead of just showing the logon page again it shows the following ugly page:
HTTP Status 403 - The request body was too large to be cached during the authentication process
type Status report
message The request body was too large to be cached during the authentication process
description Access to the specified resource (The request body was too large to be cached during the authentication process) has been forbidden.
Apache Tomcat/6.0.14IE shows the logon page when you click the back button.
Is there some way that I can get Firefox to behave differently? Is there another way to handle authentication that would be better for a JSF application?
Thank you!
Dave

Thank you for pointing me to look closer at the server RaymondDeCampo.
I'm very new to Web development, Java, and JSF.
I watched the HTTP Monitor (in NetBeans) as I did the following steps with Firefox, Safari (PC version), and IE:
1. Log on to my app
2. Change to a page in my app
3. Log out of my app
4. Click the browser's back button
Firefox and Safari seemed to behave the same way. Clicking the back button displayed the previous page correctly, and NO new HTTP requests are added to the HTTP monitor. I assume these browsers are just loading the previous page from cached history or something? If I then click on a link or command button on the page, I get the HTTP Status 403 page in the browsers and once again NO new HTTP requests are added to the HTTP monitor. Is it possible for Tomcat to reply with the HTTP Status 403 page before the HTTP monitor even gets a chance to see the HTTP request? I'm pretty sure that Tomcat is producing the HTTP Status 403 page since the very last line on the page says "Tomcat 6.0.14."
IE on the other hand caused an HTTP GET to be posted to the HTTP monitor when the browser's back button was clicked. The GET is for the login page which then gets shown in IE.
Is there something else I should be looking at on the server side?
Is there a way to stop Firefox and Safari from using cached pages when the back button is clicked and force them to go to the server for the content again?
Thank you very much for any answers or advice that you can share!
Dave

Similar Messages

  • Getting Error 500 when pressing the backbutton of the browser after log out

    I am working on a web project , and am using AJAX in my application. I need to get list of templates and events stored in the database when my page is being loaded so im using AJAX. the problem is, when i press the logout in my page and after logging out if i press the browsers back button then im getting the Http Error 500.
    Regarding this issue i previously also posted but i havent get solved my problem. (may be i havent posted my source code , rather i just posted error message.).
    Here is the error message of the browser,
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         com.koffee.eon.subscriber.action.TemplateNames.doPost(TemplateNames.java:66)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)
    Here is my source code of the TemplateNames class,
    package com.koffee.eon.subscriber.action;
    import com.koffee.eon.subscriber.persistence.*;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import java.text.SimpleDateFormat;
    import java.util.*;
    public class TemplateNames extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException {
         response.setContentType("text/html");
         PrintWriter out = response.getWriter();
         String html="",html1="";
         HttpSession session=request.getSession();
         UserCompleteDetails sessionDetails=(UserCompleteDetails)session.getAttribute("userdetails");
         System.out.println("checking session after logout"+sessionDetails);
         if(sessionDetails==null)
         System.out.println("session details in if condition is:"+sessionDetails);
         response.sendRedirect("/login.jsp");
         System.out.println("after checking "+sessionDetails);
         String type=null;
         type=request.getParameter("type");
    String subscriberUserEONId=sessionDetails.getUserEonId();
    System.out.println("subscriberUserEONId from session is: "+subscriberUserEONId);
         SimpleDateFormat sdfDate=new SimpleDateFormat("yyyy-MM-dd");
         SimpleDateFormat sdfTime=new SimpleDateFormat("HH:mm:ss");
         TemplateManagement dbObj=new TemplateManagement();          
    EventManager dbObj1=new EventManager(); // for events
         List templateNames=dbObj.getTemplates(subscriberUserEONId);
         List eventIds=dbObj1.getEventsCompleteList(subscriberUserEONId); // for events
         System.out.println("size of list of templates is:" + templateNames.size());
         System.out.println("size of list of events is: "+eventIds.size()); // for events
         if(type==null)
         html+="<table><tr><td>Select Your Invitation Card: ";
         html+="<select name=\"templateName\" class=\"cell\" onchange=getImage(this.value) onblur=checkTemplate() tabindex=\"1\">";
         html+= "<option value=\"0\">Select</option>";
         HashMap hmap=new HashMap();
         try {
         for(int i=0;i<templateNames.size();i++) {
         TemplateMaster bean=(TemplateMaster)templateNames.get(i);
         Integer templateid=bean.getTemplateId();
         String templatepath=bean.getTemplateRelevantpath();
         hmap.put(templateid,templatepath);
         System.out.println("path recevied from db for template is: "+templatepath);
    System.out.println("template id received from db is : "+templateid);
         html+= "<option value=\"" + templateid + "\">" + templateid + "</option>";
         } catch(Exception ee) {ee.printStackTrace();}
         session.setAttribute("hmap", hmap);
         html+="</select></td></tr><tr><td>";
         System.out.println("path new is : "+html);
         html+="</td>";
         System.out.println(html);
    html+="</td></tr><tr><td>Select an Event: ";
              html+="<select name=\"eventId\" class=\"cell\">";
              try {
         for(int j=0;j<eventIds.size();j++) {
         EventMaster bean=(EventMaster)eventIds.get(j);
         String eventName=bean.getEventName();
         Integer eventId1=bean.getEventId();
         String eventStartDate=sdfDate.format(bean.getEventStartdate());
         String eventStartTime=sdfTime.format(bean.getEventStarttime());
         String eventId=eventName+" on "+eventStartDate+" at "+eventStartTime;
         System.out.println("event id from database is : "+eventId1);
         System.out.println("event list from database is : "+eventId);
         html+= "<option value=\"" + eventId1 + "\">" + eventId + "</option>";
         } catch(Exception eee) {eee.printStackTrace();}
         html+="</select></td></tr></table>";
         System.out.println(html);
         out.println(html);
         out.flush();
         out.close();     
         if(type!=null)
         html1+="</td></tr><tr><td>Select an Event: ";
         html1+="<select name=\"eventId\" class=\"cell\">";
         try {
         for(int j=0;j<eventIds.size();j++) {
         EventMaster bean=(EventMaster)eventIds.get(j);
         Integer eventId1=bean.getEventId();
    String eventId2=eventId1.toString();
         String eventName=bean.getEventName();
         String eventStartDate=sdfDate.format(bean.getEventStartdate());
         String eventStartTime=sdfTime.format(bean.getEventStarttime());
         String eventId=eventName+" on "+eventStartDate+" at "+eventStartTime;
         System.out.println(eventId);
         html1+= "<option value=\""
    + eventId2 + "\">" + eventId + "</option>";
         } catch(Exception eee) {eee.printStackTrace();}
         html1+="</select></td></tr></table>";
         out.println(html1);
         out.flush();
         out.close();     
    }

    chinni wrote:
    java.lang.NullPointerException
         com.koffee.eon.subscriber.action.TemplateNames.doPost(TemplateNames.java:66)Do you understand when a NPE will be thrown? Some object reference at line 66 of TemplateNames.java is null while you didn't expect and you still invoke/access it. To fix this, add a nullcheck or just instantiate the reference.

  • How to prevent Spaces from creating a new session after logging out

    Hi,
    I'm using WebCenter Spaces (11.1.1.4), and I notice that the user is redirected to the landing page after logging out which causes a new HTTP session to be created. I'd like to avoid this behavior, and I was told that this could be done by creating a custom logout page with pure HTML and redirect the user there upon logout. How do I go about doing this? I couldn't find anything related to this in the documentation.
    Thanks,
    Robert

    What's wrong with a new session?
    When you logout, the current session will be destroyed so it's just normal that he creates a new webcenter that does not contain a user credential.

  • How to stop the gray wheel from spinning after logging out

    how to stop the gray wheel from spinning after logging out?

    Frank ...
    Make sure to quit all open applications before logging out.
    Your proflie indicates your Mac has v10.7.1 installed.
    If that is the case, updating your system software will help as far as functionaly as well as security.
    Install the OS X Lion Update 10.7.5 (Client Combo)
    Then restart your Mac.
    message edited by:  cs

  • New to the Apple and I want to set up a user account that will not delete the guest users files and allow and preserve their personal settings after log out. Is this possible?

    New to the Apple and I want to set up a user account that will not delete the guest users files and allow and preserve their personal settings after log out. Is this possible?

    The built-in guest user account will not do this. Simply create a new standard account and call it "Guest" or "Guest Users" or whatever you like.
    Go to System Preferences > Users& Groups, click "+" to make a new account.

  • HTTP Status 403 - Trust Token failure.

    I was trying to make some changes in the CMC to an Access Level I created and when I hit ok I got this error. Does anyone know what I can do from here? All I wanted to do was add some refresh rights to the Crystal Reports.
    HTTP Status 403 - Trust Token failure. URI[/BOE/CMC/1409050957/CmcAppActions/jsp/common/effectiveRights.faces] Value [] Message[Required SAP BusinessObjects Business Intelligence Platform Trust Token is missing]
    type Status report
    message Trust Token failure. URI[/BOE/CMC/1409050957/CmcAppActions/jsp/common/effectiveRights.faces] Value [] Message[Required SAP BusinessObjects Business Intelligence Platform Trust Token is missing]
    description Access to the specified resource (Trust Token failure. URI[/BOE/CMC/1409050957/CmcAppActions/jsp/common/effectiveRights.faces] Value [] Message[Required SAP BusinessObjects Business Intelligence Platform Trust Token is missing]) has been forbidden.
    Apache Tomcat/6.0.35
    Message was edited by: Erin Shaw
    You can see the status is listed as Granted to refresh the Crystal Reports so I am not sure why my user keeps getting denied access to refresh the shortcut of the report.

    Hi
    1. In which Browser version detail?
    2. Check this SAP KBA 1451000 - Error when trying to schedule a report on InfoView and CMC
    BR
    SS

  • My Imac says "you need to restart your computer" after logging out and click on sleep. 10.6.8?

    My Imac recently gives a message "you need to restart your computer"  after logging out and clicking "sleep".  After a few seconds, gray screeen will roll down and give that messasge.  I disconnected  USB cable from my  printer.  Today,  after turning it on,  the log in screen showed then after 2 seconds the gray screen rolled down again and prompted "you need to restart the computer". I've read the apple communities about kernel panics but to no success. I have a 10.6.8, 2.7 ghz, 4GB.  This is the error that showed which I reported to apple mutiple times already.
    Panics Since Last Report:          4
    Anonymous UUID:                    522B583E-D9D7-463D-B57E-6849A69E41D9
    Wed Jan 22 11:52:33 2014
    panic(cpu 0 caller 0xffffff80002d1208): Kernel trap at 0xffffff7f80e2750d, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x00000000000001e0, CR3: 0x0000000000100000, CR4: 0x0000000000040660
    RAX: 0x000000000000000a, RBX: 0x00000000000001e0, RCX: 0x0000000001000000, RDX: 0x0000000000000000
    RSP: 0xffffff805e413eb0, RBP: 0xffffff805e413f10, RSI: 0x00000000000000dd, RDI: 0xffffff800b3eb7e0
    R8:  0x0000000000000003, R9:  0x0000000000000001, R10: 0x0000000000000007, R11: 0x0000000000000051
    R12: 0x000000000000000a, R13: 0xffffff804aa59004, R14: 0xffffff800d15f1b4, R15: 0x0000000000000000
    RFL: 0x0000000000010202, RIP: 0xffffff7f80e2750d, CS:  0x0000000000000008, SS:  0x0000000000000010
    Error code: 0x0000000000000000
    Backtrace (CPU 0), Frame : Return Address
    0xffffff805e413b50 : 0xffffff8000204d15
    0xffffff805e413c50 : 0xffffff80002d1208
    0xffffff805e413da0 : 0xffffff80002e3f4a
    0xffffff805e413db0 : 0xffffff7f80e2750d
    0xffffff805e413f10 : 0xffffff7f80e7f7d3
    0xffffff805e413f30 : 0xffffff800053e46d
    0xffffff805e413f60 : 0xffffff8000285b66
    0xffffff805e413fa0 : 0xffffff80002c8527
          Kernel Extensions in backtrace (with dependencies):
             com.apple.driver.AirPort.Atheros9388(426.35.3)@0xffffff7f80e1c000->0xffffff7f80 f66fff
                dependency: com.apple.iokit.IOPCIFamily(2.6.8)@0xffffff7f80804000
                dependency: com.apple.iokit.IO80211Family(320.1)@0xffffff7f80df7000
                dependency: com.apple.iokit.IONetworkingFamily(1.10)@0xffffff7f80ddd000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    10K549
    Kernel version:
    Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
    System model name: iMac12,2 (Mac-942B59F58194171B)
    System uptime in nanoseconds: 4614091555750
    unloaded kexts:
    com.apple.driver.AppleUSBUHCI          4.2.5 (addr 0xffffff7f80969000, size 0x65536) - last unloaded 128892379106
    loaded kexts:
    com.apple.filesystems.afpfs          9.7.1 - last loaded 1016854024083
    com.apple.nke.asp_tcp          5.0
    com.apple.filesystems.smbfs          1.6.7
    com.apple.filesystems.autofs          2.1.0
    com.apple.driver.AGPM          100.12.31
    com.apple.driver.AppleHWSensor          1.9.3d0
    com.apple.driver.AudioAUUC          1.57
    com.apple.driver.AppleUpstreamUserClient          3.5.7
    com.apple.driver.AppleMikeyHIDDriver          1.2.0
    com.apple.driver.AppleMCCSControl          1.0.26
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleMikeyDriver          2.0.8f3
    com.apple.kext.ATIFramebuffer          6.4.2
    com.apple.driver.AppleIntelHDGraphics          6.4.2
    com.apple.driver.AudioIPCDriver          1.1.6
    com.apple.driver.AppleHDA          2.0.8f3
    com.apple.ATIRadeonX3000          6.4.2
    com.apple.iokit.AppleBCM5701Ethernet          3.0.8b2
    com.apple.driver.AirPort.Atheros9388          426.35.3
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.0a1
    com.apple.driver.AppleLPC          1.5.1
    com.apple.driver.AppleBacklight          170.0.48
    com.apple.kext.AppleSMCLMU          1.5.2d10
    com.apple.driver.AppleIntelSNBGraphicsFB          6.4.2
    com.apple.driver.AppleBluetoothMultitouch          54.3
    com.apple.driver.AppleUSBCardReader          2.6.1
    com.apple.driver.AppleIRController          303.8
    com.apple.iokit.SCSITaskUserClient          2.6.9
    com.apple.iokit.IOAHCIBlockStorage          1.6.6
    com.apple.driver.AppleFWOHCI          4.7.7
    com.apple.driver.AppleUSBHub          4.2.5
    com.apple.BootCache          31.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.driver.AppleEFINVRAM          1.4.0
    com.apple.driver.AppleAHCIPort          2.2.0
    com.apple.driver.AppleUSBEHCI          4.2.6
    com.apple.driver.AppleACPIButtons          1.3.6
    com.apple.driver.AppleRTC          1.3.1
    com.apple.driver.AppleHPET          1.5
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.3.6
    com.apple.driver.AppleAPIC          1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient          142.6.0
    com.apple.security.sandbox          1
    com.apple.security.quarantine          0
    com.apple.nke.applicationfirewall          2.1.14
    com.apple.driver.AppleIntelCPUPowerManagement          142.6.0
    com.apple.driver.AppleProfileReadCounterAction          17
    com.apple.driver.AppleProfileTimestampAction          10
    com.apple.driver.AppleProfileThreadInfoAction          14
    com.apple.driver.AppleProfileRegisterStateAction          10
    com.apple.driver.AppleProfileKEventAction          10
    com.apple.driver.AppleProfileCallstackAction          20
    com.apple.iokit.IOSurface          74.2
    com.apple.iokit.IOBluetoothSerialManager          2.4.5f3
    com.apple.iokit.IOSerialFamily          10.0.3
    com.apple.driver.DspFuncLib          2.0.8f3
    com.apple.iokit.IOAudioFamily          1.8.3fc2
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.driver.AppleBluetoothHIDKeyboard          141.5
    com.apple.driver.AppleHIDKeyboard          141.5
    com.apple.iokit.IOFireWireIP          2.0.4
    com.apple.iokit.AppleProfileFamily          41
    com.apple.driver.AppleHDAController          2.0.8f3
    com.apple.iokit.IOHDAFamily          2.0.8f3
    com.apple.driver.ApplePolicyControl          3.0.17
    com.apple.driver.AppleGraphicsControl          3.0.17
    com.apple.iokit.IO80211Family          320.1
    com.apple.iokit.IONetworkingFamily          1.10
    com.apple.driver.IOPlatformPluginFamily          4.7.0a1
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleBacklightExpert          1.0.2
    com.apple.iokit.IONDRVSupport          2.2.1
    com.apple.driver.AppleSMC          3.1.0d5
    com.apple.driver.AppleThunderboltEDMSink          1.1.3
    com.apple.driver.AppleThunderboltEDMSource          1.1.3
    com.apple.kext.ATI6000Controller          6.4.2
    com.apple.kext.ATISupport          6.4.2
    com.apple.iokit.IOGraphicsFamily          2.2.1
    com.apple.driver.IOBluetoothHIDDriver          2.4.5f3
    com.apple.driver.AppleMultitouchDriver          207.11
    com.apple.driver.AppleThunderboltDPOutAdapter          1.5.9
    com.apple.driver.AppleThunderboltDPInAdapter          1.5.9
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.5.9
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.1
    com.apple.iokit.IOUSBMassStorageClass          2.6.7
    com.apple.iokit.IOSCSIBlockCommandsDevice          2.6.9
    com.apple.iokit.IOUSBHIDDriver          4.2.5
    com.apple.driver.BroadcomUSBBluetoothHCIController          2.4.5f3
    com.apple.driver.AppleUSBBluetoothHCIController          2.4.5f3
    com.apple.iokit.IOBluetoothFamily          2.4.5f3
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          2.6.9
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.6
    com.apple.iokit.IOCDStorageFamily          1.6.1
    com.apple.driver.XsanFilter          402.1
    com.apple.iokit.IOAHCISerialATAPI          1.2.6
    com.apple.iokit.IOSCSIArchitectureModelFamily          2.6.9
    com.apple.driver.AppleThunderboltNHI          1.3.2
    com.apple.iokit.IOThunderboltFamily          1.7.4
    com.apple.driver.AppleUSBMergeNub          4.2.5
    com.apple.driver.AppleUSBComposite          3.9.0
    com.apple.iokit.IOFireWireFamily          4.2.7
    com.apple.iokit.IOUSBUserClient          4.2.4
    com.apple.iokit.IOAHCIFamily          2.0.7
    com.apple.iokit.IOUSBFamily          4.2.6
    com.apple.driver.AppleEFIRuntime          1.4.0
    com.apple.iokit.IOHIDFamily          1.6.6
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.TMSafetyNet          6
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.driver.DiskImages          289
    com.apple.iokit.IOStorageFamily          1.6.3
    com.apple.driver.AppleACPIPlatform          1.3.6
    com.apple.iokit.IOPCIFamily          2.6.8
    com.apple.iokit.IOACPIFamily          1.3.0
    Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 2.7 GHz, 4 GB, SMC 1.72f1
    Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 512 MB
    Memory Module: global_name
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 0 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: ST31000528AS, 931.51 GB
    Serial ATA Device: OPTIARC DVD RW AD-5680H
    USB Device: FaceTime HD Camera (Built-in), 0x05ac  (Apple Inc.), 0x850b, 0xfa200000 / 3
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8215, 0xfa111000 / 6
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000 / 4
    USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfd110000 / 3
    What is going on with this error?

    It hasn't been acting up since I:
    1) Since I unplug my all in one printer with wifi (Hewlett Packard).  I barely use the printer and it keeps cleaning out the jets and wasting my **** ink.  Plus it'll do a loud self test @ 3:00 in the morning & by this time, I pulled my baseball bat from under the bed and ready to smash some skulls in the office room thinking its a burglar.
    But seriously it stop doing it. 
    This is a late reply but confirmed after 7 months.
    Note:  I shut down instead of sleep my Imac now because I hardly use it.

  • Preventing the User from going back to the main page after logging out.

    Hi all,
    In my project I want to prevent the User from going back to the Main page, by clicking the back button of the browser, after the user has loggged out.I had invalidated the session so the user will not be able to do any operations, but he can vew the infos. I want to redirect to the login page if the user tries to go back using the back button after he has logged out.
    I tried the same in this forum after loging out. Surprisingly it is the same. I can browse through all the operations i did even after logging out from here.
    Is it not possible to do that in Servlets?Could somebody help?
    Thanks,
    Zach.

    Hi,
    You can use a servlet filter to do this , as it can interceptany request to your application you can decide to allow user access or not to any page/servlet.
    public class Test implements Filter{
         public void destroy() {
         public void doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2) throws IOException,
                   ServletException {
              System.out.println("filter");
              HttpServletRequest request = (HttpServletRequest) arg0;
              if(!request.getRequestURI().contains("index")){ // set condition that will be checked to verify if the user is logged in
                   System.out.println("redirecting ... ");
                   RequestDispatcher d = arg0.getRequestDispatcher("/index.jsp");
                   d.forward(arg0, arg1);
              arg2.doFilter(arg0, arg1);
         public void init(FilterConfig arg0) throws ServletException {
    }in you web.xml add :
    <filter>
              <filter-name>test</filter-name>
              <filter-class>test.Test</filter-class>
         </filter>
         <filter-mapping>
              <filter-name>test</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>

  • After Time Machine backs up my file vault files (after logging out), when I next log into the user account it beachballs permanently during log in.

    After Time Machine backs up my file vault files (after logging out), when I next log into the user account it beachballs permanently during log in.  The backup was successful, as I had to restore after this issue last time.  Hard resetting doesn't resolve the issue.  Is there a Time Machine setting that I should be aware of?
    I have 2011 13" MBP, 10.6.8 and use an external hard drive connected via USB for my Time Machine backups.
    Thanks

    I was able to get it to work.  Thanks for your help.  It's unfortunate the two applications do not work well together.  This is what I did:
    1) Safe boot and logged into the affected user (since the whole issue damaged the account's system settings).
    2) Turned off File Vault in System Preferences. I needed to make some space on the hard drive first since apparently the total free space on the hard drive has to equal or exceed the amount of data currently in the file vault.  I deleted some files and moved others to the Admin account.  This whole process took awhile.
    3) Finally, just restarted and logged in.  The next time machine backup seems to be a significant backup, I assume because it's backing up the user account in a different way now that File Vault is turned off.
    Thanks again!

  • Avoid browser caching after log out

    Hi all
    Once i logout. i am able to go in to the application using the browser back button .
    how to restrict this back action after log out .
    i tried with the header
    session.invalidate();
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.setDateHeader("Expires", 0);
    response.setHeader("Pragma","no-cache");
    but dint help me .
    also tried with
    javascript:window.history.forward(-1);
    it also dint work .
    my browser is Firefox/3.0.13
    any suggestions.

    hi
    once i click on logout link .it reaches to my servlet and there i am setting the header and then forwarding to the login page again.
    so i dint understand " you should disable caching at the top of your views"
    can u please explain it.
    public void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException
            HttpSession session = request.getSession(true);
            session.removeAttribute("flag");
            session.invalidate();
            response.setHeader("Cache-Control","no-cache");
            response.setHeader("Cache-Control","no-store");
            response.setDateHeader("Expires", 0);
            response.setHeader("Pragma","no-cache");
            System.out.println("i have reached here ");
            dispatcher = getServletContext().getRequestDispatcher("/index.jsp");
            dispatcher.forward(request, response);
           }i tried putting the above header lines in jsp also ...
    but the result is same it allowed me to navigate in to the application using back button .
    I have googled for a solution ...but was not able to land with a solution .
    Kindly suggest
    Thanks in advance

  • Sgd client does not close after logging out of sgd on windows vista

    Hi,
    I have a scenario wherein I find that the sgd client in the system tray does not close even after logging out of sgd (using the browser).
    We are using sgd 4.3.1
    Is this a known issue.
    Thanks,

    Well, after searching every where, somewhere (not sure where now) I saw the suggestion to turn off bluetooth and NFC. I turned off both and it *seems* like the issue may be corrected. But what if I want touse a BT device, I guess I am stuck?
    As to your questions, I my have changed to a larger mouse cursor, either that or the default cursor. 
    I think I may have had "mouse trails" clicked, not sure if that it the same as a mouse shadow?  Neither ofthese options seem to make a difference.
    I had a standard Windows provided background for use, no personal photos. 
    Hopefully this partial fix (turning off the other settings) helps someone else. It seems to have fixed the problem for me, at least in the last 3-4 days since switching I have not noted a return of the problem. 
    Dragon-Fur wrote:
    I wish I were writing with a fix.  I, too, have a new X2 -- I like it very much.  I have not seen what you describe.
    Instead, I have more questions;  I am intrigued.  I wonder if the way in which you have the system set is having an affect on the way it is behaving.
    Do you see the problem regardless of which mouse pointer you set? 
    There are a variety of choices -- I use an extra large white arrow most of the time; sometimes I switch to a black cursor just for grins.  You can change the selectors, too.  Right-Click on the Background Screen and click Personalize ...
    Are you using the entirely useless, but oh-so-pretty "mouse shadow"?
    I am wondering if changing the pointer has had any effect on the disappearing act.
    What about the background?  Are you using a personal photo?  Lots of colors?  Does changing the background make any difference?

  • After logging out of mozilla firefox i cannot log back in to mozilla firefiox , why ?

    after logging out of Mozilla Firefox
    I can't log back in
    why ?
    please help me

    This just happened to me too. But I've been on iTunes Match for several months now. I've had the problem several times before where ITM says something's "not available at this time; try again later," and at those times I've had to sign out of my iTunes Store account and back in for ITM to work again.
    But this time, when I tried to turn on iTunes Match again, I got this error (on my screen right now):
    iTunes match is matching a library from another computer. Only one library can be matched at a time. If you continue, the other iTunes Match session will be stopped and this computer's library will be matched instead. Buttons: [Cancel] [Match this computer]
    Well, I surely do NOT want to "Match this computer", as I have several thousand songs in iCloud that are NOT on this computer!
    What is going on???

  • Cannot forward a response that is already committed  exeption after Log out

    Hello,
    I am using Jdeveloper 11.1.1.3.0, ADF DC, ADF Faces, ADF security.
    I have a logout button in my template, and I want the user to go back to login page (login.html; which was generated automaticlly when you use ADF security) after successful Log out.
    here is my logout method
        public String doLogOut() throws IOException {
            // Add event code here...
            ExternalContext ectx =
                FacesContext.getCurrentInstance().getExternalContext();
            HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
            HttpSession session = (HttpSession)ectx.getSession(false);
            session.invalidate();
            response.sendRedirect("login.html");
            return null;      
        }when I click the log out button, every thing seems ok, and the user redirected to login.html page. However, I see the following Exception in Jdeveloper Log window.
    <Jan 4, 2012 12:16:31 PM EET> <Error> <HTTP> <BEA-101020> <[ServletContext@19059163[app:CTP-New module:CTP-New-ViewController-context-root path:/CTP-New-ViewController-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
    java.lang.IllegalStateException: Cannot forward a response that is already committed
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         Truncated. see log file for complete stacktrace
    >
    <Jan 4, 2012 12:16:31 PM EET> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Jan 4, 2012 12:16:31 PM EET. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Jan 4, 2012 12:16:31 PM EET SERVER = DefaultServer MESSAGE = [ServletContext@19059163[app:CTP-New module:CTP-New-ViewController-context-root path:/CTP-New-ViewController-context-root spec-version:2.5 version:V2.0]] Servlet failed with Exception
    java.lang.IllegalStateException: Cannot forward a response that is already committed
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:122)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = Mjabr-PC TXID =  CONTEXTID = 4b079561b4c220a0:10458ad0:134a7995c3f:-8000-0000000000000241 TIMESTAMP = 1325672191307 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >Further more when I try to login again, I get this message in the browser
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.Any help is highly appreciated.

    Thank you ADF7,
    I used this method
        public String doLogOut() throws IOException {
            // Add event code here...
            FacesContext ctx = FacesContext.getCurrentInstance();
            HttpServletRequest request =
                (HttpServletRequest)ctx.getExternalContext().getRequest();
            ExternalContext ectx =
                FacesContext.getCurrentInstance().getExternalContext();
            try {
                ectx.redirect(request.getContextPath() +
                              "/login.html");
            } catch (Exception exp) {
                exp.printStackTrace();
            return null;
        }but when I re login again I get the same error in the browser
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

  • Wallpaper defaults to 'Galaxy' after log out + now stuck on grey screen

    Hi all,
    Hope someone can help with this one.
    Basically, like many others, I've been trying to get around
    the wallpaper problem that Lion has brought with it.
    By this, I mean how if you change the wallpaper to a custom
    image, as soon as you log out and back in it changes back
    to the galaxy one from Lion.
    So after searching the solutions on the forums I decided to
    act on the following troubleshooting advice from a member
    commenting on the problem... (advice I followed in bold)
    (Originally posted by member: Ahmed21788)
    One basic solution for this is to save your wallpapers in the HDD where you've installed the MAC OS X..
    but I didnt want to save all my wallpapers in Native Mountain Lion HDD, so i figured out my perfect fix..!!
    This is how i fixed..
    I found this file in my Lion install drive.. autodiskmount.plist
    Library/Preferences/SystemConfiguration/autodiskmount.plist
    If you can't find it on your OS X Install Drive then you can make one by typing
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="0.9">
    <dict>
    <key>AutomountDisksWithoutUserLogin</key><true/>
    </dict>
    </plist>
    rename ur txt file to autodiskmount.plist
    save this in your MAC OS X HDD
    Library/Preferences/SystemConfiguration/autodiskmount.plist
    restart your system..
    So... after following this advice I haven't been able to get my machine back on!
    It just gets to the grey screen with apple and spinning wheel and goes no further.
    It won't even safe boot.
    However I did manage to get to repair disk permissions via cmd+option+p+r.
    But when I restarted it still wouldn't go any further than the grey screen/spinning wheel.
    Any help/ideas would be greatly appreciated.
    Cheers,
    Ben.

    Hi keithos27,
    I have a macbook pro early 2011 15" like you, and unfortunately something identical happened to me: "... the computer went black and an audio was stuck on a loop over and over..." - "...grey screen on for a few minutes and eventually the computer's fan spins up and runs at full speed".
    I followed the article mentioned too, but nothing solved the problem.
    Eventually I took the mac to the local authorized service provider. It turns out that the problem is due to the notorious GPU failure of the 2011 macbook pro.
    It means that unless I replace the entire logic board, I end up with a marvellous piece of aluminium...
    This is my experience, I can't say that's 100% your case. I hope it isn't. Try to check at an apple store.
    Good luck!

  • KDE desktop does not come up after log out

    I have updated KDE to the lastest version using the Arch packages.  It worked wonderfully the first time, all of my widgits were intact and my desktop was just as I had left it, custom background and everything. Then, however, I logged out to make sure Fluxbox worked.  Now, even after rebooting, the KDE desktop doesn't come up.  It will bring up Pidgin which was running before but the taskbar and all of the widgets are gone and it has this grey background that is the same as the one in the KDM.
    No errors are produced, although it does now ask for the password for a Wallet that "Plasma Desktop" wants to access.  I recognise the name of the wallet (kdewallet) and input the password correctly after this, two notifications pop up with informational thing.  One is about some indexing service being "rebuilt" for new features and the other is saying that it's falling back on a different sound output.  None of this seems to have an impact on the limited usability I have.
    Has anyone else expereinced this?  Are there any log files where errors would be outputted to?
    Any help would be appreciated.
    Thanks in advance.

    I have found the relevent messages.  They are at a pastebin. http://pastebin.ca/1522805
    I'm not entirely sure what is going on here.
    After the top line of that post, there are a LOT of errors related to "No block with decorrelation terms" in fact the vast majority of that file are those things.  All other "errors" are warnings related to my Fluxbox session which is working fine.
    Lines 1, 11 and 12 seem to be the most severe errors:
    [0xa2412b0] main input error: ES_OUT_RESET_PCR called
    "/usr/bin/dolphin(4560)" Error in thread 3049428752 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
    "/usr/bin/dolphin(4560)" Error in thread 3049428752 : "QLocalSocket::connectToServer: Invalid name"
    I have no idea where to even begin fixing them. However it is Nepomuk that comes up with the rebuilding message i mentioned in my previous post.
    Last edited by guitarMan666 (2009-08-09 10:10:05)

Maybe you are looking for