Send redirect not working in IGETMarkupInterceptor 's OnIOFailure

Hi
I am trying to redirect the user to an error page (portal page not jsp) by using sendredirect to the " desktopURL+_pagelabel=error_pagename" in the onIOFailure method of IGETMarkupInterceptor implementation.
Even though the sendredirect is there in the method it is not redirecting the user to the errorpage but showing the exception or no markup available message in the proxy portlet.
This is what I am doing in the OnIOFailure ... The same code works in the IInitCookieInterceptor's OnIOFailure but here it is not ..
public OnIOFailure onIOFailure(IGetMarkupRequestContext arg0,
               IGetMarkupResponseContext arg1, Throwable arg2) {
          HttpServletRequest req = arg0.getHttpServletRequest();     
          String redirectURI = "/pocconsumerweb/appmanager/inter/my?_nfpb=true&_pageLabel=MP1_FederationConsumer_portal_page_19" ;     
try {
          arg0.getHttpServletResponse().sendRedirect(redirectURI);                    
          catch (IOException e) { 
                    // TODO Auto-generated catch block
                    e.printStackTrace();
          return Status.OnIOFailure.HANDLED;
Is it not allowed to do send redirect here or not possible ? Any workarounds ?
Thanks in advance
jesh

Thanks Kevin
I have done a work around to achieve the redirection from IGetMarkup. I am adding a javascript as markup to the response. Java script redirects the use to the required page onload of the markup.
It is not a the rightway but this is how I was able to handle this scenario ....
String errorpage = "<head><script>function redirectToError(){window.location = '../inter/mydesktop?_nfpb=true&_pageLabel=myerror_page';}</script></head>";
                    StringInputStream stringInputStream = new StringInputStream(errorpage);
                    arg1.setMarkupData(stringInputStream);
Thanks
Jesh

Similar Messages

  • Why does Adobe sendnow work and the newest and greatest Adobe Send does not work?

    Why does Adobe sendnow work and the newest and greatest Adobe Send does not work? I wasted about 8 hours on trying to get Adobe Send to upload 269 files that amounted to 469MB. When it did not work I made a zip file and after a lot of wasted run time that did not work. The first situation gives little indication of when a file is loaded compared to Adobe SendNow. In both cases with Send it failed with a message like only the first 50 can be loaded. When I went and looked none of them had been loaded. With the zip file (I wanted to hide the individual files so they would not be counted) it appeared to work but very slowly and finally said it was done and I went and looked and it had done anything for oever 2 hours except a false "I'm runninng" indication.
    Thus, I took a chance with Adobe SendNow and it works great. It never gave me a limit on the amount of files nor on the size of the complete job. It shows me one file at a time when it has finished with the file uploading it. SendNow has never given me any problems.
    Why woiuld you want to change the program from SendNow to Send without the newest program being the best, fastest, user friendly program of the two? It just doesn't make sense to me. I suggest that Adobe keep SendNow working until Send is fixed. I would also suggest that SendNow and how it looks be kept, called Send, then modify Send one thing at a time until you get it to the point you need it to be for Acrobat. I have heard nothing good and now I have experienced it that Send is a piece of junk. I wasted most of my work day on giving Adobe the benefit of the doubt to find out I made a very bad decision to trust Adobe to make good decisions on the transfer of a function to another place .... both Adobe's responsibility.without making it painless for your customers that totally rely on you. Don't throw away customer confidence as it is very hard to get it back.

    Funny how you answer to "troll". (What's your handle on AT&T forums?)
    Yep! Verizon living up to it's contractual obligations by not releasing updates. Caveat emptor!
    I think there are some reasonable expectations here to keep customer's happy. When one carrier offers upgrades there is an expectation the same will happen across all the carriers. We have seen that except Big Red.
    Verizon could have said the update is in MS court months ago and stilled the voice of the disgruntled, or at least redirected it, but instead chose to be silent. Not for market share but for partial blame I think.
    We will have to agree to disagree since you only see Terms & Conditions and I, see customer satisfaction.

  • Office 2010 MUI in Finnish and Save and Send function not working after upgrading to Lync 2013 MUI

    Problem is as follows. Used to have Office 2010, Outlook 2010 and Lync 2010, everything was working. People used it in Finnish and seemly quite a many of them used the Talleta ja lähetä (Save and Send in Finnish) in Office products.
    After upgrading Lync to 2013 version, with Finnish language pack installed with it, the Save and send does not work in Office 2010 if it is used with Finnish as display language. When you try to use it you get a Mapi error and reason is undefined or something,
    hard to say what it is exactly in english as the error message is in finnish. On those machines if the display language is changed back to english the Save and send works as it should.
    Any ideas? 

    The problem was caused by the Language Packs for Lync 2013 or Office 2013. Without them all works.
    And if you want to just unisntall the 2013 lang packs, then you also need to repair install the office 2010 ones to make it work again.

  • Windows 7 (Ent) Sp1 on server 2012 R2 HyperV, RFX USB redirection not working

    Hello, 
    I currently have  windows server 2012 R2 with HyperV installed. I have built two virtual machines. A windows 8.1 and Windows 7 sp1. Both are enterprise editions  
    For RemoteFX the hypervisor is using a Zotec GTX 760 GPU. It recognizes it and uses it to apply remoteFX adapter on my Windows 7 Sp1 VM. 
    As you are aware I do not need to use a GPU to enable RFX on my Windows 8.1 it can do this without the need of a GPU.    
    Using an RDP client( v8.1)  I can connect to my Windows 8.1 VM with a USB headset,memory Key or a printer and they all enumerate on the Virtual machine. The driver for each device installs 
    and I can use the device without any issues. 
    However this issue lies with the Windows 7 SP1 VM. I can connect to it via RDP( Same client)  but I cannot redirect any devices to it. I have installed the latest integration services available on the VM. I have ran all updates available.
    Because I have ran all updates the rdp version on the VM is running v8.1.
    Previous to installing the updates USBr still was not working
    I have enabled the following group polices under remote desktop services on the Windows 7 SP1 VM : 
    RDP 8.0 -- Enabled
    Configure RFX -- Enabled
    Is there a known issue with USB redirection not working on a Windows 7sp1 virtual machine hosted on server 2012 Hypervisor ??
    Many Thanks 
    Brian 

    Hi,
    According to the log above, I found that we run the script on both Server6 and Server7. Errors as below:
    Server6: Conversion is not supported in restricted language mode or a Data section.
    Server7: Couldn't figure out valid servers from the specified destination scope. Check your parameters and try again.
    Since we can only run the RollAlternateserviceAccountPassword.ps1 Script on CAS server, the script not works well if Server6 is MBX server.
    For Server7, based on the error message, it seems you still have no right to run the script/cmdlet.
    Please add your account to Organization Management Role group(ADUC->domain.com->Microsoft Exchange Security Groups) to test if possible.
    By the way, from Technet:
    You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Client Access Security" entry in the Client Access Permissions topic.
    Client Access Permissions
    http://technet.microsoft.com/en-us/library/dd638131.aspx
    Feel free to contact me if there is any problem.
    Thanks
    Mavis
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Mavis Huang
    TechNet Community Support

  • Windows 7 64 bit and X-Fi XtremeGamer - Bass Redirection Not Working (No Subwoofer)

    SWindows 7 64 bit and X-Fi XtremeGamer - Bass Redirection Not Working (No Subwoofer)% Greetings,
    Today I ugraded to Windows 7 Ultimate 64 bit edition and am having a problem with my 5. surround sound that previously worked perfectly in Windows Vista Ultimate.
    I am using an X-Fi XtremeGamer PCIe card and the problem is that I have full working surround sound, but the bass/ subwoofer isn't working.
    Previously in Vista I enabled bass redirection in the Creative Console and this would make the subwoofer work. In Windows 7 in the console there is a bass redirection option but it doesn't work. Also in the Creative Audio Control panel there is NO option for bass redirection either.
    Audio sounds tinny and I am 99.9% everything is set up correctley, I think this is a driver problem. At this moment I'm unsure if this issue plagues both the 32bit and 64bit versions of Windows 7 or just the 64bit version (since the console launcher is 32bit).
    Anyone had a similar problem and cracked it's Apart from this small glitch Windows 7 is great!
    Thanks!

    WRe: Windows 7 64 bit and X-Fi XtremeGamer - Bass Redirection Not Working (No Subwoofer)h heya, I have exactly the same problem.
    running 64-bit windows 7, X-Fi Xtreme Audio sound card, Trust 5. speakers.
    the bass used to work in XP because I could enable bass redirection and alter crossover frequency.
    these options are now no longer available in the windows 7 drivers (.4.90) and my bass is not working at all.
    it is very annoying, there has been no comment from creative than i can find because it only appears to happen to a small percentage of speakers.
    basically if someone from creative can't help fix the problem,?people with this problem?will unfortunately be forced to purchase a different brand of sound card because my speakers certainly aren't broken and work with the on-board sound fine.
    so if anyone else has the same problem or any advice on how to fix the problem, please comment.

  • SAP PI FTP sender adapter not working with SAP ECC over Itanium

    Hi,
    We have been running normally SAP PI 7.0 SP14 with no issue for a while.
    We are now in the process of migrate the SAP ECC system from PA risc to IA platform. We are performing some tests between SAP PI and SAP ECC to check that the platform migration is not affecting us in any way and we have found that FTP adapter sender is not working anymore (receiver is working as usual).
    We place some files in the new ECC system and when PI goes to retreive the files it is like it can not read anything. It gives no error but it does not pick any file. This is not happening with the old platform.
    Does anyone have any idea?
    Thanks a lot for your help
    Diana

    Hi,
    I am using FTP connection and for the receiver it is working fine.
    Thanks
    Diana

  • HTMLDB_MAIL.SEND does not work with 11g

    Hi Guys,
    I have a simple application that uses HTMLDB_MAIL.SEND. I am running APEX 3.0 against an 11g database. When run against a 10g DB all is good. But with 11g I get
    ORA-24247: network access denied by access control list (ACL)
    I looked up the error which recommends altering ACL stuff, which I know nothing about. Is there a simple way to get rid of this error.
    O.

    Hi,
    I have the same problem as you.
    Colud you please explain me how did you resolve it.
    Thanks
    HTMLDB_MAIL.SEND does not work with 11g

  • IMessage send is not working on my ipad2. I can receive only.

    iMessage send is not working on my ipad2. I can receive only.

    make sure you are typing your message in the line BELOW the line with the camera icon, soon as you type in that location the send button will become active.
    Regards, Ct

  • Have been trying all weekend to upload Jpegs- either Send does not work or shows files uploading then shows error- never had this problem with Send Now-16 images total size 92MB-largest image 13MB

    Have been trying all weekend to upload Jpegs- either Send does not work or shows files uploading then shows error- never had this problem with Send Now-16 images total size 92MB-largest image 13MB

    Hi Ciaran19,
    Are you sending files from the Adobe Send interface, Adobe Reader, or the Outlook plug-in?
    Have you checked to see whether the files that you're sending appear in the Recent Files/Sent Files list when you're logged on to https://cloud.acrobat.com? (It could be that they're uploading, but not being sent.)
    It would also be worthwhile to send the files in smaller batches, to see whether a particular file or files is problematic, and causing the error.
    Please let us know how it goes. If you're still having trouble, please let us know where you're sending from, and whether you're able to send the files in smaller batches. It would also be helpful to know the exact error message that you're receiving.
    Best,
    Sara

  • Response.Redirect not working after printing CR

    Using Visual Studio 2010 sp1 with Crystal for VS 2010. Web app running as a web application in x86 mode  using .NET 4.0 framework.
    I recently created a CR with a sub-report and it previews and prints just fine.  However, after I PRINT the report, my code behind in the ASPX file is not recognized and thus fails. 
    For example, I created a 'Back' button to redirect the CR aspx back to the calling aspx file and it works just fine if I only view the report.  If I click on the printer icon located on the report viewer toolbar, the button stops working.  In fact, none of the code behind syntax is recognized and the aspx file just does a page_load. 
    I know this code works because it does work if I DON"T print the report:
        protected void btnBack_Click(object sender, EventArgs e)
            Response.Redirect("~/NewCase.aspx");
    I also have a 'Submit' button that changes the data parameters for the report and it works great but after I print the report, it will not work either.   (I've tried to upgrade to sp2 but I get an error with the installation process... so still trying to figure that out.)
        protected void btnSubmit_Click(object sender, EventArgs e)
            CrystalReportViewer1.RefreshReport();
    To summarize,  All the code I listed works fine if I do not try to print the report and just view it.  After I click the printer icon, the code stops being recognized and the aspx page just refreshes. 
    I've searched for help on the web for a couple of days to no avail; so I am thinking it must be some issue with the report viewer. 
    Any help would be greatly appreciated.
    Paul

    Not a problem. Something like what is described in the following should help (from the easiest to the more complicated):
    [1411677 - Blank first page in Visual Studio .NET application using the Crystal Reports DHTML viewer|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313331333633373337%7D.do]
    [1625033 - Page navigation button does not work as required using Crystal Report .NET web application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633323335333033333333%7D.do]
    [1670041 - How to persist Crystal Reports using Cache in a custom .NET web application?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633373330333033343331%7D.do]
    - Ludek

  • Immediate login, custom redirect not working correctly

    I have a page with some conditional regions on it: show if user is logged in, else show something else. That sort of thing.
    This page is a tease to convince users to register so there a prominent "If you're a member, log in here, if not register for free."
    If someone clicks the Register button, they are taken to the registration page along with a url variable to identify the place they've just come from.
    The registration page has an Immediate Login trigger on it - which has always worked without a hitch.
    The registration page also has some conditional redirect triggers attached to the registration insert. The conditional redirect triggers GET the url variable being passed and if the condition is matched, the registration page sends them back where they came from - just like a login function would - registered and now logged in due to the immediate login trigger.
    This has all worked wonderfully until this past weekend when the whole system fell apart.
    For reasons unknown, the immediate login has stopped working. The redirect continues to work but people are correctly returned to the page with the logged in/logged out conditional regions but doing so without getting logged in, so of course they see the same stuff they just saw - stuff telling them to register or login.
    Immediate login continues from every other direction, just this particular set of redirections seems to totally wonk out the person returning from the registration page properly logged in.
    Anyone with any experience with this kind of thing? It's very essential to the way my web operation works.
    I deeply appreciate any interest or advice.

    Nope. This is the strangest thing I've encountered.
    After changing the conditional trigger to AFTER, it worked once. I logged out to test again. Now it's right back to not working. Shut down the browser too.
    As before, the redirect works as it's supposed to but the user gets redirected without being logged in.

  • ACE Redirect not working

    We have a ACE redirect configured on 3 physically seperate ACE modules with the following config. It works on one ACE Module and not on the other 2.
    Capture on the ACE and sniffer gives this error.R [bad tcp cksum 2d41!] ACE sends resets to the client. Anyone run into this issue?
    The software version is   system:    Version A2(1.0a) [build 3.0(0)A2(1.0a)
    rserver redirect Test
      webhost-redirection http://www.test.com
      inservice
    serverfarm redirect Test
      rserver Test
        inservice
    class-map match-any Test
      2 match virtual-address 192.168.10.10 tcp eq www
    policy-map type loadbalance first-match Test
      class class-default
        serverfarm Test
    class Test
        loadbalance vip inservice
        loadbalance policy Test
        loadbalance vip icmp-reply active

    Sorry maybe I didn't explain what I was getting at good enough...
    I guess I'm basically asking if there's potential for asymmetry at the site that's not working.
    For example.
    Say I have a load balanced server. It has two interfaces a "front end" and a "back end".  I manage the server on the backend from my laptop, for which the server has a route.  Now if I try to hit the public VIP of the LB, traffic is routed to the VIP, then to the server, but because the server already has a route to my laptop via the backend, it bypasses the load balancer on the return and replies directly to me, thus putting the flow out of sync and never completing the connection...
    Not saying that's it, but I've had so many asymmetry issues that are tough to figure out that It's usually one of the first things I rule out...
    It's possible if the site that's not working is local to you and the others aren't, this may be a potential issue??

  • SSL redirect not working?

    Hi,
    have anyone been able to get SSL redirect working in ical and address book server?
    In Apple documentation it says "redirecting ssl access redirects request for the http port and sends them to the https port". But it does not seems to work. Connecting to https port is working.
    Bernt
    Message was edited by: kenguru

    Regarding the redirect, I don't really understand why it's not possible. You can edit the non-SSL website in Web and add a 301 for /Wiki to redirect to https://myserver.com/wiki. In fact you can redirect the entire site to SSL - but that is problematic. I can understand why Mavericks server would be designed to automatically use SSL for wiki logins, if it's available. I only looked at redirects because this was not working. Without a redirect or with a redirect - I can login to Wiki via non-SSL or SSL. Where (specifically in which text file) are these redirects created using Server Admin written to? I can't find them in apache2/httpd.conf. Thanks again for your help.

  • c:redirect not working?

    Hi folk,
    I'm new to JSP. We use JSTL to parse XML file at work.
    We use WebSphere and Java 1.4.x.
    It seem the <c:redirect> tag is not working. Someone point out somewhere, that this is a know bug using WebSphere. But I still have doubt.
    I'm more use to PHP and I was wondering if <c:redirect> tag work like the header() function in the sense that NO output should be send before using <c:redirect>?
    Those <c:redirect> work using a HTML header to make the redirection?
    Thank you!

    Most likely no output should be sent AFTER using <c:redirect/>
    This tag is equivalent of sendRedirect(java.lang.String location) method of javax.servlet.http.HttpServletResponse
    http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String) :
    Sends a temporary redirect response to the client using the specified redirect location URL. This method can accept relative URLs; the servlet container will convert the relative URL to an absolute URL before sending the response to the client.
    If the response has already been committed, this method throws an IllegalStateException. After using this method, the response should be considered to be committed and should not be written to.

  • Redirect not working correctly

    Selecting "Redirect" in Mail used to seemlessly pass the email on to a new recipient as if the email was sent from the original sender:
    From: +"original sender's name" <original sender's e-mail>+
    Resent: +"my name" <my e-mail>+
    The only evidence of me as the middleman was an extra field in the header that indicated "resent from: +my name+"
    Now when I Redirect it puts my name under "From:" and leaves the "Reply To:" field empty (which is similar to how "Forward" functions.)
    If I manually copy the original sender's email into the "Reply To:" field, Mail puts my name in the "From" header but the original sender's email address in the "Reply to:" field.
    It looks like this:
    From: +"my name" <original sender's email address>+
    This is very confusing to the recipients because they think I sent the email but when they hit "reply" it goes to the original sender. Dangerous!
    How can I get Redirect to work the way it used to, with all the original sender's info in the From: box?

    I'm not having any success with redirect, but hadn't even considered that gmail might be the culprit. We are using google's mail service for our domain, and I'm also suffering from the redirect-as-forward problem. I receive mailings from multiple mailing lists, and have to redirect them to multiple recipients within my company. Unfortunately, all the messages I pass on look like they are coming from me, and the replies also come to me. It takes time out of my day to have to contact one or the other party, either re-forwarding the message to its intended recipient or contacting the sender and having them manually enter the "to" address. Very frustrating. Solutions sought.

Maybe you are looking for

  • How do I transfer iMovie projects to dvd if I don't have iDVD?

    I compile a year's worth of home movie clips into one DVD every year to distribute to grandparents. I had used my mom's Mac that had iMovie and iDVD but finally bought my own macbook pro so I could do the project from the comfort of my own home. What

  • RPE-01038: Failed to evaluate expression null.

    Hi, gurus! :) Upon executing a process flow, I got the following error message: RPE-01003: An infrastructure condition prevented the request from completing. RPE-01038: Failed to evaluate expression null.  Please modify the expression, redeploy and r

  • Crystal XI

    Is there a way to take a Crystal XI report and open it in Crystal 8.5?

  • Digital Editions in a domain network with roaming profiles.

    Can Digital Editions be used in a Windows domain environment with roaming profiles, such that when jdoe logs into pc1, sets up ADE, and later logs into pc2, the authorization and ebooks follow jdoe from pc1 to pc2?  Thank you!

  • Invalid date error

    Hi, The sales order scenario is this the requested delivery date is todays date, the system confirms the goods the next day for example. Requested delivery date 15.02.2011 confirmed date is 16.02.2011. I have a sales order non standard Cash Sale and