Ios 7.0.2 javascript redirect fails
I have a very simple javascript redirect call that works on iOS 7 and earlier, but fails on iOS 7.0.2. All it does is set windows.location = <some URL>. Has anyone else seen this issue or have a solution for it?
Hi,
I have the same problem here, a critical application stopped working on iOS7 devices.
Any way to redirect client side ? A workaround maybe ?
Thanks and best regards,
Antoine
Similar Messages
-
I have an iPhone 4 and the iOS 4.3.5 download keeps failing. It downloads then I get a message stating that the download was corrupted and couldn't be installed. I've tried it with bitdefender switched off. I've tried it with it in airplane mode. My partner has tried to update their iPhone on a different computer to mine and is also getting the same problem and error message. Help!
That's exactly right. And since you have a MacBook Air (as I do), that means the synching should occur just fine (if you've set it up right in iTunes). In other words, once you actually do the update, the iTunes on your MacBook Air will re-sync your photos back to your iPhone.
Basically, the process is that your iPhone gets backed up, wiped clean, then the new iOS version gets installed, then the backup gets restored. That will restore everything in the article above, which does not include your photos. But the sync process that happens after the iOS installation would restore your photos from iPhoto given you've set it up that way in iTunes.
When you have your iPhone plugged into iTunes, while looking at the iPhone's summary page, click "Photos" on the right side of iTunes to see how you have your sync set up.
Regardless, it sounds like you'll be fine! Your photos will wind up in iPhoto once you place them there. They will be safe there. -
Webmaster tools change of address 301 redirect failed using domain forward
I'm having trouble with webmaster tools recognising our domain name change.
We've recently updated website and done a name change from www.qldtshirt.com.au to www.qtco.com.au. I am using domain forwarding so qldtshirt.com.au forwards to qtco.com.au (aswell has with www.) and every thing works perfectly.
www.qldtshirt.com.au/products/polo-shirts/cool-dry-fabric forwards to:
http://www.qtco.com.au/products/clothing/polo-shirts/cool-dry-fabric
We have about 4000 301 redirects setup in URL Redirects:
/products/business-and-corporate/desk-and-office/100-organic-cotton-pencil-case to
/products/gifts-incentives/desk-and-office/100-organic-cotton-pencil-case
so on and so on....
I've verified all sites in webmaster tools however when change of address from www.qldtshirt.com.au to www.qtco.com.au webmaster tools presents this error:
"301 redirect failed. We detect that the root address of your old site (www.qldtshirt.com.au) does not yet redirect to the root address of your new site (www.qtco.com.au). For more information use the Fetch as Google tool."
It works perfectly fine for the end user, anyone know why and how to fix please?Hi, I have found this same situation. Did you have any luck finding a solution?
Thank you -
SubmitEditData() - redirect fails...
Hi,
I've got a weird error.
In the portlet customization code (JSP) I call the PortletRendererUtil.submitEditData() method. I managed to get it work before, and does work for all my other portlets, but doesn't for the recent one.
Although, all the customization values are sent to and saved by the personalization manager, the browser doesn't get redirected to the edit renderer JSP page. It starts to display a kind of page with the logos etc. on the top of it instead.
This portlet shares the provider with some other customizable portlets. I'd appreciate any ideas how I could track down this issue.
Thanks,
Peter
Snippets of my provider.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?providerDefinition version="2.0"?>
<!DOCTYPE provider [
<!ENTITY virtualRoot "/changeMe/">
<!ENTITY physicalRoot "C:\Change\Me">
]>
<provider class="oracle.portal.provider.v1.http.DefaultProvider">
<session>true</session>
<useOldStyleHeaders>false</useOldStyleHeaders>
<portlet class="oracle.portal.provider.v1.http.DefaultPortlet">
<id>5</id>
<name>Number2Image</name>
<title>Number2Image - JSP portlet</title>
<description>This is a simple JSP portlet converting numbers to images.</d
escription>
<timeout>30</timeout>
<timeoutMessage>JSP number2image portlet example timed out</timeoutMessage
>
<acceptContentType>text/html</acceptContentType>
<showEdit>true</showEdit>
<showEditDefault>false</showEditDefault>
<showDetails>true</showDetails>
<showPreview>true</showPreview>
<hasHelp>true</hasHelp>
<hasAbout>false</hasAbout>
<renderer class="oracle.portal.provider.v1.RenderManager">
<contentType>text/html</contentType>
<appPath>/jspportlet</appPath>
<appRoot>/private/oracle/9iAS_1022/Apache/Apache/htdocs/jportlets/ilt_demo/jsp/</appRoot>
<showPage>number2image.jsp</showPage>
<helpPage>number2image_help.html</helpPage>
<editPage>number2image_edit.jsp</editPage>
</renderer>
<personalizationManager class="oracle.portal.provider.v1.FilePersonalizationManager" >
<dataClass>portlets.demo.jsp.Number2ImagePersonalization</dataClass>
</personalizationManager>
</portlet>
<provider>I have partial page rendering in all pages with af:showOneTab. So, to prove if redirect failure is related to PPR. I picked one page with af:showOneTab and got rid of all components with PPR so that it became PPR free. However, redirecting still fails if user clicks on any other tab of af:showOneTab after session has expired.
If user clicks say on any of the crumbs presented on the page to navigate to parent pages, the redirect succeeds and he is successfully pushed to home page.
Long story short, redirect fails whenever user clicks on any of the af:showOneTab tabs after session has expired no matter if page has or has no PPR components.
I hope I answered your questions.
I know that af:showOneTab uses PPR and that may explain why redirect isn't working, not sure. However, I wish we can have a workaround for this problem.
Any thoughts ?
Thanks
Sam
Message was edited by:
samsam -
Using Firefox 19.0 WIFI logon fails page redirect fails
Attempting to use Firefox at a variety of airports and hotels fails. The initial logon page is displayed but then the following pages which are redirects fail. Usual message is "Page not Found" Using the captive IP address does not work. Various combinations of settings do not work. AP has been associated and an optimum MTU has been determined via ping to the default gateway.
You should not need to disable antivirus to connect.
I assume you are not having Firefox block all redirects. You can check that setting here:
orange Firefox button ''or'' classic Tools menu > Options > Advanced > General > ''uncheck'' "Warn me when websites try to redirect or reload the page"
What are your connection/proxy settings in Firefox? If you choose "Use system proxy settings" then Firefox should use IE's settings. Or if you choose "No proxy" then Firefox should default to your wi-fi connection.
orange Firefox button ''or'' classic Tools menu > Options > Advanced > Network > "Settings" button
Can you think of any add-on changes you might have made since the T-Mobile days? A standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
Help > Restart with Add-ons Disabled
In the dialog, click "Start in Safe Mode."
If you can load sites normally, this points to one of your extensions or custom settings as the problem. -
HT1688 My iOS 7.0.2 update keeps failing!
I keep trying to update round two of the iOS 7 software and it keeps failing, but not giving a reason as to why. I have tried 10 different time all times plugged in and connected to wifi, what is the problem?
Try updating via iTunes.
-
IOS 7.0.6 software update failed
iOS 7.0.6 software update failed.
The same problem was also with the previous two software updates' attempts. What can I do to solve the problem?
Many ThanksYou can try updating using iTunes on the computer, but try this first and let me know how it goes.
1. Restart your device.
2. Disable your Wi-Fi.
3. Turn off your device and keep it off for 5 minutes.
4. Turn your device back on and enable Wi-Fi.
5. Try the download again. -
Passive Authentication redirection fails for WP8.1
The WP is an HTC 8X running OS Version 8.10.14219.341. The Lync client on the phone is running 5.6.1308.0.
I get the following notification/error message that the certificate is not issued from a trusted CA:-
https://twitter.com/shawnharry/status/489872294807089152/photo/1
The Lync client is redirected to ADFS as normal, as pAuth is enabled on the pool/registrar but the ADFS form does not load because of this certificate issue.
The certificate chain is definitely trusted by the phone as when i browse to the sign in page on the ADFS server using IE on the phone there are no certificate prompts and the certificate is shown as trusted:- https://adfsserver.domain.com/adfs/ls/idpinitiatedsignon.htm
(I'm using ADFS 3.0 on Windows 2012 R2)
This problem only presents itself on WP 8.1. Iv tested with Windows 8.1 Lync Windows Store App, iOS 7, and Android KitKat against the same ADFS server and Lync Installation with no issues at all. Ironically
only Windows Mobile presents with this issue. From a device point of view WP 8.1 is up to date as is Lync. There doesn't appear to be any setting in IE that allows me to bypass this erroneous prompt.
Any ideas?Hi scurla,
For WP8 root certificates need to have HTTP URLs in the CRL (Certificate Revocation List). If root certs doesn’t contain these CRL attributes than the certificate won’t be accepted by WP8 and
sign-in would fail.
Currently the WP8/8.1 Lync client requires the ability to locate and access the Certificate Revocation List (CRL) for the Certificate Authority (CA) which issued the server certificate to the
Lync server that it attempts to sign-in to. If the client is unable to validate that the certificate issued to the authenticating server has not been revoked then the client will display a generic error that it is unable to contact the server.
Additionally if the standard Windows Lync 2013 client is installed on a workstation which is not a member of the same Windows domain as the Office Web App server then it will be unable to participate in PowerPoint sharing sessions.
This issue only impact who use the internal CA, as public certificates issued by trusted third-party CAs all provide access to their CRLs by default.
To create a Certificate Revocation List Distribution Point for your internal Certification Authority, please refer to the following article.
http://blogs.technet.com/b/nexthop/archive/2012/12/17/creating-a-certificate-revocation-list-distribution-point-for-your-internal-certification-authority.aspx
A similar case for your reference.
https://social.technet.microsoft.com/Forums/lync/en-US/d7c751fa-599d-4965-842c-39925e773fb0/lync-mobile-with-windows-phone-8?forum=ocsmobility
Best regards,
Eric -
HT4623 iOS 6 update on iphone 5 failed now itunes does not find my phone
I have been seeing some distubing things about this update and this is of course after i have had the current problem. long and the short of it using my MAC i was able to update my ipad no issues but when doing my phone it got most of the way through and then failed to complete. the phone is stuck on the usb/itunes screen and itunes on the mac no longer finds the phone. FYI enven on my PC as a longshot to at least get the phone working it is not recognized there either................
NOW WHAT..................... any and all help welcomeHey mfrouns,
Thanks for the question. It sounds like your iPhone is not recognized in iTunes when connected to your computer. To troubleshoot this issue, see the relevant article for your operating system:
iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/TS1538
iOS: Device not recognized in iTunes for Mac OS X
http://support.apple.com/kb/ts1591
Thanks,
Matt M. -
Wired Hotspot portal redirect fails
I'm working on wired guest access from a 2960-X switch stack running 15.0(2)EX4. The ISE 1.3 policy delivers the access-accept with the redirect URL, but the switch doesn't seem to do anything with it. The client can do DNS resolution, so there is web traffic to redirect. What I get is "Connecting". The ISE can be reached directly from the client, so routing and ACL seem to be OK. It also doesn't make any difference whether the name or the IP address of the ISE policy server is used. Anyone else seen this behavior?
Here's the session info as seen by the switch
EF3211# sh auth sess int gi6/0/12
Interface: GigabitEthernet6/0/12
MAC Address: 28d2.440e.5662
IP Address: Unknown
User-Name: 28-D2-44-0E-56-62
Status: Authz Success
Domain: DATA
Oper host mode: single-host
Oper control dir: both
Authorized By: Authentication Server
Vlan Policy: 648
URL Redirect ACL: Blackhole
URL Redirect: https://DHISE1P2.hitchcock.org:8445/portal/gateway?sessionId=82bd783e000E38FF552FED1B&portal=59c60952-e443-11e4-a2a2-0050568a6a89&action=cwa&type=drw&token=36c5ae30b39dd01e8a6b9852096a3924
Session timeout: N/A
Idle timeout: N/A
Common Session ID: 82BDF8060004560D109E916F
Acct Session ID: 0x00048CA9
Handle: 0xD800088F
Runnable methods list:
Method State
dot1x Failed over
mab Authc Success
The ACL looks like this
Extended IP access list Blackhole
10 permit udp any any eq domain
20 permit tcp any any established
30 permit ip any host 130.189.120.62
40 permit ip any host 130.189.120.63
50 permit icmp any any echo
60 permit icmp any any echo-reply
70 permit udp any eq bootpc any eq bootps
80 deny ip any anyProblem I believe is the Redirect ACL. The ACL isn't used as access control, it's used as a filter to say which traffic is redirected. So you want HTTP and HTTPS traffic to be redirected. Should look more like the following:
deny ip any host <PSN_IP>
permit ip tcp any any eq www 443 8443
deny ip any any
So the Permit is actually saying "redirect this traffic" to ISE for CWA and the deny is saying "dont redirect". The first line is there because there used to be a bug where any traffic towards the ISE box turned into somekind of redirect loop so I've included it just to be sure. -
The problem occurres after the downloading is complete and when its in "Preparing Update" procedure and specfically in its last progress (near the end). Suddenly a message pop ups saying that "Software Update Failed" \n "An error occured downloading iOS 7.1."
I've restarted the update process for the 20 th time!!! and reset my iphone twice to factory settings, but still nothing change, same error occures...
My iPhone specs
Version : 7.0.6 (11B651)
Model : MD235AE/ADid it work for you with iTunes?
I have the same problem with my iPad mini. I have done almost all updates of my iOS devices OTA.
I never update issues before.
Also iPad 2 and iPhone 5 just worked fine.
Only now my iPad mini struggles with the update. Did a factory reset too.
And now have iOS 7.0.2 (11A501) on an iPad Model MD543FD/A.
World prefer OTA instead of iTunes.
Thank you for any help. -
The problem occurres after the downloading is complete and when its in "Preparing Update" procedure and specfically in its last progress (near the end). Suddenly a message pop ups saying that "Software Update Failed" \n "An error occured downloading iOS 7.1."
I've restarted the update process for the 20 th time!!! and reset my iphone twice to factory settings, but still nothing change, same error occures...
My iPhone specs
Version : 7.0.6 (11B651)
Model : MD235AE/ATry updating by using iTunes via a computer.
-
Redirection fails on Oracle10gAS on Solaris 8 - SPARC
Hi all,
Am facing a strange problem, where the serverside redirection is failing on Oracle10gAS installation on Solaris 8 (tried on two setups). Am getting browser "Page cannot be displayed", also tried with a simple "hello world" example, it fails.
The application works fine on Oracle10gAS on Windows & Linux and other App servers like websphere and weblogic.
Are there any configurations to be done OC4J-Apache on Solaris box, apart from the basic installation, for the application to work?
Any help provided would be highly appreciable.The problem got resolved by changing the Apache httpd.conf file property "ServerName". The hostname while installing Solaris was incorrect, which was picked by Apache during Oracle10gAS installation.
ServerName <hostname>
Find the description as given by Apache below for ServerName property:
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
Thanks all for viewing this post :-) -
JSP Redirection fails, from Servlet
Hi I have simple web application, where im doing some java operation in servlet and Req dispatching to JSP page
Most of the the times, on first request i see JSP null pointer exception and in the next request service runs fine.
Below is the error msg
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
map size is :1
java.lang.NullPointerException
at jsp_servlet.__downloaddocument._jspService(__downloaddocument.java:140)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
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:301)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.ge.render.servlets.GenerateReportServlet.doPost(GenerateReportServlet.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Please let me know, if you need source code of the files.
Please help.
_____________________________My JSP Page:_________________________________________
<%@ page contentType="text/html; charset=US-ASCII" pageEncoding="US-ASCII"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="java.util.HashMap"%>
<%@ page import="java.util.Properties"%>
<%@ page import="java.net.HttpURLConnection"%>
<%@ page import="java.net.URL"%>
<html>
<head>
<script type="text/javascript">
function preloader() {
document.getElementById("loading").style.display = "none";
document.getElementById("content").style.display = "block";
//preloader
window.onload = setTimeout(preloader, 60000);
</script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta>
<meta http-equiv="Connection" content="keep-alive"></meta>
<link type="text/css" rel="stylesheet" href="CSS/GridTable.css"/>
</head>
<body>
<table width="100%" height="100%" class="gridtable">
<tr height="80">
<th colspan="2">
<jsp:include page="/common/header.jsp"/>
</th>
</tr>
<tr>
<td>
<div id="loading" align="center" style="display:block">
<img src="images/loader.gif" alt="Loading..."></img><br></br>
<p>
Please wait. Report generation is in progress. <br>
Report generation time depends on number of reports being submitted.
</p>
</div>
<div id="content" align="center" style="display:none">
Report Generation Results.<br></br><br></br>
<table>
<%
Properties props = new Properties();
props=(Properties)session.getAttribute("props");
Properties eProps = new Properties();
eProps=(Properties)session.getAttribute("exeProps");
String name = null;
HashMap<String, String> map= (HashMap<String, String>)request.getAttribute("url");
// HashMap<String, String> Names= (HashMap<String, String>)request.getAttribute("names");
String key=null ;
System.out.println("map size is :"+map.size());
String Customer=null;
if(!(map.isEmpty())){
Iterator keySetIterator =map.keySet().iterator();
while(keySetIterator.hasNext()){
key = keySetIterator.next().toString();
Customer=props.getProperty(key);
if(Customer == null){
Customer=eProps.getProperty(key);
if(map.get(key).toString().equals("ErrorMessage.jsp")){
%>
<tr> <td><b>
<%=Customer%></b>
Report Generation Failed
<a href="<%=map.get(key)%>">click here</a>
to see error. </td></tr>
<%
}else{
%>
<tr>
<td width="55%">
<b>
<%=Customer%></b>
</td>
<td width="25%">Ready</td>
<td width="50%">
<a href="<%=map.get(key)%>" target="_blank">click here</a>
</td>
</tr>
</table>
<%}
}}%>
</div>
<br></br>
<div id="backbutton" align="center">
<a href="LoginSuccess.jsp">Back</a>
</div>
</td>
</tr>
<tr height="40">
<td colspan="2">
<jsp:include page="/common/footer.jsp"/>
</td>
</tr>
</table>
</body>
</html>
________________________Servlet code_______________________________________________
public class GenerateReportServlet extends HttpServlet {
private static final String CONTENT_TYPE = "text/html; charset=windows-1252";
Properties FusionProps=null;
@Override
public void init(ServletConfig config) throws ServletException {
super.init(config);
try{
FusionProps=new Properties();
FusionProps.load(getServletContext().getResourceAsStream("/WEB-INF/Properties/Fusion.properties"));
}catch(Exception e){
e.printStackTrace();
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
String[] list1= request.getParameterValues("custs");
if(list1 == null){
request.setAttribute("msg", "<b><font color=\"red\">Select atleast one ReportID for custome report generation</font><b>");
RequestDispatcher rd =
request.getRequestDispatcher("/LoginSuccess.jsp");
rd.forward(request, response);
else{
try{
GenerateReportDAO gr=new GenerateReportDAO();
HashMap<String, String> cust_urls = new HashMap<String, String>();
HashMap<String, String> url_stats = new HashMap<String, String>();
int count=list1.length;
long starttime=System.nanoTime();
String proxy=FusionProps.getProperty("ProxyHost");
String port=FusionProps.getProperty("ProxyPort");
String RUrl=FusionProps.getProperty("Url");
String RToken=FusionProps.getProperty("xyz");
String Furl=FusionProps.getProperty("SOACReqReceiver");
for(int i = 0; i < count; i++)
String URL = gr.generateReport(list1[i],proxy,port,RUrl,RToken,Furl);
cust_urls.put(list1[i], URL);
if(URL=="ErrorMessage.jsp"){
cust_urls.put(list1[i], URL);
long completeTime=System.nanoTime();
System.out.println("Total Elapsed time "+ (completeTime-starttime) + "NanoSeconds");
request.setAttribute("url", cust_urls);
// request.setAttribute("stats", url_stats);
// request.setAttribute("names", cust_names);
RequestDispatcher rd =
request.getRequestDispatcher("/DownloadDocument.jsp");
rd.forward(request, response);
catch(Exception e){
e.printStackTrace();
request.setAttribute("msg", "Server encountered internal error, Please try again. If error persists contact corporate oracle soa team.");
RequestDispatcher rd =
request.getRequestDispatcher("/ErrorMessage.jsp");
rd.forward(request, response);i have found the class and decompiled it. Pasting the contents below.
I have tried to find something from it. didnt help.
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: __downloaddocument.java
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import weblogic.jsp.internal.jsp.JspFunctionMapper;
import weblogic.servlet.jsp.*;
import weblogic.utils.http.HttpParsing;
public final class __downloaddocument extends JspBase
implements StaleIndicator
public __downloaddocument()
private static void _releaseTags(PageContext pageContext, JspTag t)
while(t != null)
DependencyInjectionHelper.preDestroy(pageContext, t);
if(t instanceof Tag)
Tag tmp = (Tag)t;
t = ((Tag)t).getParent();
try
tmp.release();
catch(Exception exception) { }
} else
t = ((SimpleTag)t).getParent();
public boolean _isStale()
boolean _stale = _staticIsStale((StaleChecker)getServletConfig().getServletContext());
return _stale;
public static boolean _staticIsStale(StaleChecker sci)
return sci.isResourceStale("/DownloadDocument.jsp", 0x1459066fe00L, "10.3.6.0", "US/Eastern");
private static byte[] _getBytes(String block)
try
return block.getBytes(_WL_ORIGINAL_ENCODING);
catch(UnsupportedEncodingException u)
_WL_ENCODED_BYTES_OK = false;
return null;
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
JspTag _activeTag = null;
Object page = this;
PageContext pageContext = JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
response.setHeader("Content-Type", "text/html; charset=US-ASCII");
JspWriter out = pageContext.getOut();
ByteWriter _bw = (ByteWriter)out;
_bw.setInitCharacterEncoding(_WL_ORIGINAL_ENCODING, _WL_ENCODED_BYTES_OK);
JspWriter _originalOut = out;
HttpSession session = request.getSession(true);
try
response.setContentType("text/html; charset=US-ASCII");
_bw.write(_wl_block0Bytes, "\r\n");
_bw.write(_wl_block0Bytes, "\r\n");
_bw.write(_wl_block0Bytes, "\r\n");
_bw.write(_wl_block1Bytes, "\r\n\r\n");
_bw.write(_wl_block0Bytes, "\r\n");
_bw.write(_wl_block2Bytes, "\r\n<html>\r\n <head>\r\n <script type=\"text/javascript\">\r\n function preloader() {\r\n document.getElementById(\"loading\").style.display = \"none\";\r\n document.getElementById(\"content\").style.display = \"block\";\r\n }\r\n //preloader\r\n // window.onload = setTimeout(preloader, 10000);\r\n </script>\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"></meta>\r\n <meta http-equiv=\"Connection\" content=\"keep-alive\"></meta>\r\n <link type=\"text/css\" rel=\"stylesheet\" href=\"CSS/GridTable.css\"/>\r\n </head>\r\n <body>\r\n <table width=\"100%\" height=\"100%\" class=\"gridtable\">\r\n <tr height=\"80\">\r\n <th colspan=\"2\">\r\n ");
String __page = "/common/header.jsp";
String __queryParams[][] = new String[0][];
String __encoding = request.getCharacterEncoding();
if(__encoding == null)
__encoding = "ISO-8859-1";
if(__queryParams.length == 0)
pageContext.include(__page);
else
pageContext.include(HttpParsing.makeURI(__page, __queryParams, __encoding));
_bw.write(_wl_block3Bytes, "\r\n </th>\r\n </tr>\r\n \r\n <tr>\r\n <td>\r\n <div id=\"loading\" align=\"center\" style=\"display:block\">\r\n <img src=\"images/loader.gif\" alt=\"Loading...\" ></img><br>\r\n <p> Please wait. Report generation is in progress. <br>\r\n Report generation time depends on number of reports submitted.</p>\r\n </div>\r\n <div id=\"content\" align=\"center\" style=\"display:none\" >\r\n Report Generation Results.<br><br>\r\n \r\n \r\n ");
Properties props = new Properties();
props = (Properties)session.getAttribute("props");
Properties eProps = new Properties();
eProps = (Properties)session.getAttribute("exeProps");
String name = null;
HashMap map = (HashMap)request.getAttribute("url");
String key = null;
System.out.println((new StringBuilder("map size is :")).append(map.size()).toString());
if(map.size() < 5)
_bw.write(_wl_block4Bytes, "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 60000);\r\n </script>\r\n ");
else
if(map.size() > 5 && map.size() < 10)
_bw.write(_wl_block5Bytes, "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 80000);\r\n </script>\r\n ");
else
if(map.size() > 10)
_bw.write(_wl_block6Bytes, "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 100000);\r\n </script> \r\n ");
String Customer = null;
if(!map.isEmpty())
for(Iterator keySetIterator = map.keySet().iterator(); keySetIterator.hasNext();)
key = keySetIterator.next().toString();
Customer = props.getProperty(key);
if(Customer == null)
Customer = eProps.getProperty(key);
if(((String)map.get(key)).toString().equals("ErrorMessage.jsp"))
_bw.write(_wl_block7Bytes, "\r\n \r\n <b>\r\n ");
out.print(String.valueOf(Customer));
_bw.write(_wl_block8Bytes, "</b>\r\n Report Generation Failed\r\n <a href=\"");
out.print(String.valueOf(map.get(key)));
_bw.write(_wl_block9Bytes, "\">click here</a>\r\n to see error.\r\n \r\n ");
} else
_bw.write(_wl_block10Bytes, "\r\n <table>\r\n <tr> <td width=\"55%\">\r\n <b> ");
out.print(String.valueOf(Customer));
_bw.write(_wl_block11Bytes, "</b> </td><td width=\"25%\">Ready</td>\r\n <td width=\"50%\"><a href=\"");
out.print(String.valueOf(map.get(key)));
_bw.write(_wl_block12Bytes, "\" target=\"_blank\">click here</a></td></tr></table>\r\n ");
_bw.write(_wl_block13Bytes, "\r\n </div>\r\n <br></br>\r\n <div id=\"backbutton\" align=\"center\">\r\n <a href=\"LoginSuccess.jsp\">Back</a>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n <tr height=\"40\">\r\n <td colspan=\"2\">\r\n ");
String __page = "/common/footer.jsp";
String __queryParams[][] = new String[0][];
String __encoding = request.getCharacterEncoding();
if(__encoding == null)
__encoding = "ISO-8859-1";
if(__queryParams.length == 0)
pageContext.include(__page);
else
pageContext.include(HttpParsing.makeURI(__page, __queryParams, __encoding));
_bw.write(_wl_block14Bytes, "\r\n </td>\r\n </tr>\r\n </table>\r\n </body>\r\n</html>");
catch(Throwable __ee)
if(!(__ee instanceof SkipPageException))
for(; out != null && out != _originalOut; out = pageContext.popBody());
_releaseTags(pageContext, _activeTag);
pageContext.handlePageException(__ee);
private static boolean _WL_ENCODED_BYTES_OK = true;
private static final String _WL_ORIGINAL_ENCODING = "US-ASCII".intern();
private static final String _wl_block0 = "\r\n";
private static final byte _wl_block0Bytes[] = _getBytes("\r\n");
private static final String _wl_block1 = "\r\n\r\n";
private static final byte _wl_block1Bytes[] = _getBytes("\r\n\r\n");
private static final String _wl_block2 = "\r\n<html>\r\n <head>\r\n <script type=\"text/javascript\">\r\n function preloader() {\r\n document.getElementById(\"loading\").style.display = \"none\";\r\n document.getElementById(\"content\").style.display = \"block\";\r\n }\r\n //preloader\r\n // window.onload = setTimeout(preloader, 10000);\r\n </script>\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"></meta>\r\n <meta http-equiv=\"Connection\" content=\"keep-alive\"></meta>\r\n <link type=\"text/css\" rel=\"stylesheet\" href=\"CSS/GridTable.css\"/>\r\n </head>\r\n <body>\r\n <table width=\"100%\" height=\"100%\" class=\"gridtable\">\r\n <tr height=\"80\">\r\n <th colspan=\"2\">\r\n ";
private static final byte _wl_block2Bytes[] = _getBytes("\r\n<html>\r\n <head>\r\n <script type=\"text/javascript\">\r\n function preloader() {\r\n document.getElementById(\"loading\").style.display = \"none\";\r\n document.getElementById(\"content\").style.display = \"block\";\r\n }\r\n //preloader\r\n // window.onload = setTimeout(preloader, 10000);\r\n </script>\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"></meta>\r\n <meta http-equiv=\"Connection\" content=\"keep-alive\"></meta>\r\n <link type=\"text/css\" rel=\"stylesheet\" href=\"CSS/GridTable.css\"/>\r\n </head>\r\n <body>\r\n <table width=\"100%\" height=\"100%\" class=\"gridtable\">\r\n <tr height=\"80\">\r\n <th colspan=\"2\">\r\n ");
private static final String _wl_block3 = "\r\n </th>\r\n </tr>\r\n \r\n <tr>\r\n <td>\r\n <div id=\"loading\" align=\"center\" style=\"display:block\">\r\n <img src=\"images/loader.gif\" alt=\"Loading...\" ></img><br>\r\n <p> Please wait. Report generation is in progress. <br>\r\n Report generation time depends on number of reports submitted.</p>\r\n </div>\r\n <div id=\"content\" align=\"center\" style=\"display:none\" >\r\n Report Generation Results.<br><br>\r\n \r\n \r\n ";
private static final byte _wl_block3Bytes[] = _getBytes("\r\n </th>\r\n </tr>\r\n \r\n <tr>\r\n <td>\r\n <div id=\"loading\" align=\"center\" style=\"display:block\">\r\n <img src=\"images/loader.gif\" alt=\"Loading...\" ></img><br>\r\n <p> Please wait. Report generation is in progress. <br>\r\n Report generation time depends on number of reports submitted.</p>\r\n </div>\r\n <div id=\"content\" align=\"center\" style=\"display:none\" >\r\n Report Generation Results.<br><br>\r\n \r\n \r\n ");
private static final String _wl_block4 = "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 60000);\r\n </script>\r\n ";
private static final byte _wl_block4Bytes[] = _getBytes("\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 60000);\r\n </script>\r\n ");
private static final String _wl_block5 = "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 80000);\r\n </script>\r\n ";
private static final byte _wl_block5Bytes[] = _getBytes("\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 80000);\r\n </script>\r\n ");
private static final String _wl_block6 = "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 100000);\r\n </script> \r\n ";
private static final byte _wl_block6Bytes[] = _getBytes("\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 100000);\r\n </script> \r\n ");
private static final String _wl_block7 = "\r\n \r\n <b>\r\n ";
private static final byte _wl_block7Bytes[] = _getBytes("\r\n \r\n <b>\r\n ");
private static final String _wl_block8 = "</b>\r\n Report Generation Failed\r\n <a href=\"";
private static final byte _wl_block8Bytes[] = _getBytes("</b>\r\n Report Generation Failed\r\n <a href=\"");
private static final String _wl_block9 = "\">click here</a>\r\n to see error.\r\n \r\n ";
private static final byte _wl_block9Bytes[] = _getBytes("\">click here</a>\r\n to see error.\r\n \r\n ");
private static final String _wl_block10 = "\r\n <table>\r\n <tr> <td width=\"55%\">\r\n <b> ";
private static final byte _wl_block10Bytes[] = _getBytes("\r\n <table>\r\n <tr> <td width=\"55%\">\r\n <b> ");
private static final String _wl_block11 = "</b> </td><td width=\"25%\">Ready</td>\r\n <td width=\"50%\"><a href=\"";
private static final byte _wl_block11Bytes[] = _getBytes("</b> </td><td width=\"25%\">Ready</td>\r\n <td width=\"50%\"><a href=\"");
private static final String _wl_block12 = "\" target=\"_blank\">click here</a></td></tr></table>\r\n ";
private static final byte _wl_block12Bytes[] = _getBytes("\" target=\"_blank\">click here</a></td></tr></table>\r\n ");
private static final String _wl_block13 = "\r\n </div>\r\n <br></br>\r\n <div id=\"backbutton\" align=\"center\">\r\n <a href=\"LoginSuccess.jsp\">Back</a>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n <tr height=\"40\">\r\n <td colspan=\"2\">\r\n ";
private static final byte _wl_block13Bytes[] = _getBytes("\r\n </div>\r\n <br></br>\r\n <div id=\"backbutton\" align=\"center\">\r\n <a href=\"LoginSuccess.jsp\">Back</a>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n <tr height=\"40\">\r\n <td colspan=\"2\">\r\n ");
private static final String _wl_block14 = "\r\n </td>\r\n </tr>\r\n </table>\r\n </body>\r\n</html>";
private static final byte _wl_block14Bytes[] = _getBytes("\r\n </td>\r\n </tr>\r\n </table>\r\n </body>\r\n</html>");
private static JspFunctionMapper _jspx_fnmap = JspFunctionMapper.getInstance(); -
I tried to update my iPod touch 5th gneration (32GB) to iOS 7 over the air last night at around 19.00 UK time (from the device itself, rather than via itunes on my PC). This was the second attempt after the first (initiated at about 17.57 UK time) gave me an unsuccessful error message after almost completing the download. But now all I have on the software update screen is the 'less than one minute remaining' message. The cogs are rotating in the little icon window but NOTHING ELSE is happening & I cannot get the updating message off. It is now 15.11 UK time the following day & I'm STILL getting the 'less than one minute remaining' message... this is obviously not the case BUT I cannot seem to find any way whatsover of stopping/cancelling the failed software update.
I've tried everything i can think of: shut wi-fi off, signed out then back in to my itunes account, reset the device (long press of home & sleep buttons), power off then back on, & I am at a total loss & becoming incredibly frustrated.
I've managed to update on my iPhone no problem but my ipod seems to be broke!! Please can anyone out htere help me?!? How do I cancel the failed download or re-set it to d/l again??yes I've done the update OTA but why this screen cant go
it keep asking me to connect to itunes and when connecting the I tunes appear a massage
Maybe you are looking for
-
Depreciation for subsequent acquisitions not posted in following month.
Hello Experts, I had a problem with subsequest acquisition - after posting depreciation was not distributed equally during follwing months. As Paul and Markus advised per note 92260, the period control method should has been set on "06"(start of year
-
Reg:How can we show non valuated stock in the system for the paid items?
Hi All, Customer orders 100 boxes and pays to all material.But customers are shipped the required material as and when required.My client requirement is these 100 boxes should show as non valuated stock. How can we show these paid 100 boxes of mate
-
I have this ongoing problem where no games seem to run. It's weird - anything but modern 3d games runs great. Usually I'll open a game, it may or may not show the menus, then crashes. Any thoughts? Is there something common that might be corrupted?
-
How do you sync a cd to your iphone if it is already synced to another computer
I need help syncing my cd to my phone i cant seem to get it to work and im not sure how you can get it to work i would apreciate the help thanks
-
Oracle 11.2.0.4 clinet on Windows 32 bit and Windos 64 bit
I see on technet.oracle.com Oracle 11.2.0.1 clinest avaiable. How do I update to Oracle 11.2.0.4. Is there a patchset to upgrade to Oracle 11.2.0.4 (is patch same for client and server). Apprecaite any insight